anti-crash
Posted: Wed Jul 27, 2005 7:28 pm
A couple of you might have noticed a new type of crash going around that doesnt require anything at all, no custom, jsut a simply one-line console command.
dm_playermodel allied_SAS_fps
any fps model used as a playermodel would crash the server, because the server cant do it's little animation spree it usually does at spawn, because an fps model doesnt have those anims. i tried a fix for the server which added the normal animations to the fps model; server doesnt crash but all the clients without the fix do, since thye went through the same deal.
so the only other option left would be some code either in server config or map script checking to see if players have a _fps in their playermodel and change it to a valid one.
BOTTOM LINE:
is it possible to cycle through all the clients and check their playermodels before the animations are set and the server would crash?
more specifically, is the playermodel a field in the player class?
dm_playermodel allied_SAS_fps
any fps model used as a playermodel would crash the server, because the server cant do it's little animation spree it usually does at spawn, because an fps model doesnt have those anims. i tried a fix for the server which added the normal animations to the fps model; server doesnt crash but all the clients without the fix do, since thye went through the same deal.
so the only other option left would be some code either in server config or map script checking to see if players have a _fps in their playermodel and change it to a valid one.
BOTTOM LINE:
is it possible to cycle through all the clients and check their playermodels before the animations are set and the server would crash?
more specifically, is the playermodel a field in the player class?