Problem on server restart
#1

Alright, so I'm scripting my own server from scratch, and I've gotten pretty far in so far. However, I've come across a problem where if I shut down the server, then restart it - and the user hasn't restarted their client, then they login and spawn with the CJ skin automatically. I was wondering if there'd be any way to stop this kind of bug through scripting?

I've narrowed down the problem a bit. When the person logs in, SpawnPlayer is called on them, however, this doesn't launch the OnPlayerSpawn callback. What's up with that?

In addition to this, when I manually call my extension to the SpawnPlayer function (SpawnPlayerEx) - which usually sets their skin - their skin is not set, instead it remains CJ.
Reply


Messages In This Thread
Problem on server restart - by TaMeD - 08.11.2011, 08:44
Re: Problem on server restart - by =WoR=G4M3Ov3r - 08.11.2011, 09:06
Re: Problem on server restart - by TaMeD - 08.11.2011, 09:07
Re: Problem on server restart - by =WoR=G4M3Ov3r - 08.11.2011, 09:10
Re: Problem on server restart - by TaMeD - 08.11.2011, 09:12
Re: Problem on server restart - by =WoR=G4M3Ov3r - 08.11.2011, 09:16
Re: Problem on server restart - by TaMeD - 08.11.2011, 09:18
Re: Problem on server restart - by =WoR=G4M3Ov3r - 08.11.2011, 09:20
Re: Problem on server restart - by TaMeD - 08.11.2011, 09:28
Re: Problem on server restart - by TaMeD - 09.11.2011, 01:22

Forum Jump:


Users browsing this thread: 2 Guest(s)