Spawn Issues
#1

I would like to ask, What is the best method to spawn player the fastest way? I'm having delay for about 10 seconds when the player spawns, and it is longer for hosted server where 5 people spawns at the same time. I'll tell you how im spawning the player, can you tell me if it is customary to do so.
Untill spawn steps:
1) When player connects it checks for any bans & reseting his PlayerInfo & any other variables.
2) If player passes OnPlayerConnect, He will get register/login dialogs OnPlayerRequestClass.
3) Lets say this lag most apear after login, but this issue also apear for the register dialog (because im using the same stuff pretty much) so after login complete im loading his weapons & basic stats, then using SetSpawnInfo and Spawning the player.
4) Everything okay, and now for the real issue: OnPlayerSpawn will execute the SpawnChar stock which give the player his stats from y_ini file which loaded already. after clicking continue with password at the login dialog, it takes about 8 seconds to spawn and sometimes it crashes. I'm alone at local host and this is happening to me and im having quite serious Rig.
Also internet is not an issue. Now you guys maybe know anything that can make it faster? the reason im giving the player his stats onplayerspawn is because after he spawns he must gotopos old x,y,z.
Reply


Messages In This Thread
Spawn Issues - by maximthepain - 28.03.2015, 13:39
Re: Spawn Issues - by Loot - 28.03.2015, 18:46
Re: Spawn Issues - by DaniceMcHarley - 28.03.2015, 18:50
Re: Spawn Issues - by maximthepain - 28.03.2015, 20:38
Re: Spawn Issues - by maximthepain - 29.03.2015, 09:57

Forum Jump:


Users browsing this thread: 1 Guest(s)