pac3 icon indicating copy to clipboard operation
pac3 copied to clipboard

PAC3 Outfit Lags when UTime is installed

Open notthisoneguy opened this issue 6 years ago • 14 comments

The PAC3 Outfits are lagging behind during movement and glitch out sometimes.

I tried it with a couple of friends on my own dedicated server. When ULX is installed, everyone's PAC3 Outfit is lagging behind the player. For oneself their own outfit behaved totally normal, but everyone else was lagging around.

When I removed ULX from my server that issue completely vanished. Everything was working fine. No lagging PAC3 Outfits.

notthisoneguy avatar Mar 01 '19 00:03 notthisoneguy

Wonder if it's a hook ordering thing.

thegrb93 avatar Mar 01 '19 01:03 thegrb93

Did it got fixed yet?

ghost avatar Jul 09 '19 16:07 ghost

Not pac's issue.

thegrb93 avatar Jul 09 '19 16:07 thegrb93

https://github.com/TeamUlysses/ulx/issues/152

thegrb93 avatar Jul 09 '19 16:07 thegrb93

Guess I'll leave it open so users know not to use ULX with Pac3. They ain't gonna fix it

thegrb93 avatar Jul 09 '19 17:07 thegrb93

Try getting rid of all the ulx modules and see if it helps. Just delete each lua file in lua/ulx/modules. We can isolate the issue by removing different pieces of ULX.

thegrb93 avatar Jul 09 '19 17:07 thegrb93

Found this thread after #250 .

Good lord. Super frustrating this has no solution because there's no better admin addon.

samcadams avatar Jul 11 '19 03:07 samcadams

I'll debug it now

thegrb93 avatar Jul 11 '19 03:07 thegrb93

I wasn't able to reproduce it with singleplayer or listen-server. If one of you are able, let me know how, or if you have a dedicated server and are willing to debug for me, then I'll be willing to help find the problem.

thegrb93 avatar Jul 11 '19 03:07 thegrb93

I'll do it once I'm home. Have to work 2 more hours and then drive home another 2 hours. Me and a friend have much experience with it so I will ask him to record this on video while we are doing this.

ghost avatar Jul 11 '19 12:07 ghost

Ok, the first thing I would test is removing ulx entirely, but leaving ulib installed. If the problem occurs still after that, then it can be narrowed down to ulib. Otherwise, remove the ulx modules one by one from ulx/lua/ulx/module. I haven't tested to see which ones are needed for ulx to work but hopefully it is as its name implies. If the problem still occurs then we've narrowed it down to the core ulx, but if it stops occuring after removing a module then we know which module is causing it.

thegrb93 avatar Jul 11 '19 14:07 thegrb93

Alright, after a long night and hours of investigation, my friend and me came to conclusion that UTime is the reason for PAC3 outfits to lag behind. If you use everything but UTime, PAC3 works fine. Also, the PAC3 outfit lags only affect the playermodel and the Half-Life 2 Jeep. Everything else is fine and it only affects the other player, for yourself your own PAC3 outfit doesn't lag. It only affects other players.

ghost avatar Jul 12 '19 00:07 ghost

So its the same issue as https://github.com/CapsAdmin/pac3/issues/250 and https://github.com/CapsAdmin/pac3/issues/300

thegrb93 avatar Jul 12 '19 01:07 thegrb93

https://github.com/CapsAdmin/pac3/issues/894

thegrb93 avatar Nov 15 '20 23:11 thegrb93