Strange error


(~Shady~) #1

hi all im compiling my mod and testing it alone: no problems
Then a friend connect and he always got lag and is flying in the air with player model:|

I’ve tried it with other players etc but wont work…
here a screenshot:

Hope you know something

ps. console say this: unknown cmd userinfo

but it says on every client the one who worked to…[/img]


(Jaquboss) #2

sorry have no idea
make sure you didn’t change any shared structs ( playerState_t entitityState_t ) and that you didn’t do anything really weird
edit: I’ve got an error on localhost, listen server, that i have had connection interrupted and ping 999 ( lol on own server you are hosting :expressionless: )
the reason was weird bitpacking used for ps->persistant


(~Shady~) #3

hmm oke… i still dont know how to get it but i will look at those structs… thanks jaquboss and for everyone else post your answers pls!


(nUllSkillZ) #4

If you have changed only small parts of the source may be you can post it.


(~Shady~) #5

no i’ve changed more: i added: tripmines,shrubbot and i was buzy with drawing kill stats under spawntime etc… soo im now trying to dump those thinks and watch if it works without :wink:


(~Shady~) #6

hmm just bounched on something
bani sad;

The engine does not truncate oversize servercommands. trap_SendServerCommand() to a client of over 1022 bytes will crash the client.

i thought this could be it soo i will search on that to


(Jaquboss) #7

check for something like
trap_SendClientCommand( “userinfo” );