Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Onslaught and Vehicle CTF Forces Player Model regardless of settings. #5

Open
CaptNGage opened this issue Jul 5, 2020 · 2 comments

Comments

@CaptNGage
Copy link

Hiya. I'm glad to see this project still being maintained! Although there has been some issues I've encountered on my own.

Regardless of any server/client setup I can find. Your own player model gets forced to another. This issue only seems to happen in Onslaught, VCTF. Possibly any gamemode with vehicles involved. I'm not sure if it's intended or not.

@CaptNGage
Copy link
Author

An amendment to above. I've also noticed performance degradation overtime, as you play on maps with vehicles involved. Seems fine for the first few minutes but after awhile, especially on Onslaught. The framerate trickles down to low frames.

@zenakuten
Copy link
Contributor

zenakuten commented Sep 1, 2022

This is the culprit of the performance degradation. It also causes the server to crash given enough time or players/bots entering vehicles. I believe it is ultimately a memory leak.

     function DriverEnteredVehicle(Vehicle V, Pawn P)
     {
        SpawnCollisionCopy(V);

        if( NextMutator != none )
            NextMutator.DriverEnteredVehicle(V, P);
     }

Shouldn't the copy be removed when the player exits the vehicle? What about when the vehicle dies?

I wasn't sure how to resolve it so I removed this function in my local version, with the caveat that NewNet features don't work on vehicles. You have to led your target like there was no ping compensation. That's OK though, vehicles are big and slow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants