UTComp icon indicating copy to clipboard operation
UTComp copied to clipboard

Onslaught and Vehicle CTF Forces Player Model regardless of settings.

Open CaptNGage opened this issue 4 years ago • 2 comments

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 avatar Jul 05 '20 19:07 CaptNGage

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.

CaptNGage avatar Jul 06 '20 03:07 CaptNGage

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.

zenakuten avatar Sep 01 '22 00:09 zenakuten