Posts: 150
Threads: 4
Joined: Jun 2006
Reputation:
0
I have found that if you remove many objects at once from a player who already has the same objects removed, it can cause problems with players lagging / crashing. You are doing this if you're calling all of your removals in all of these places.
We remove additional objects from players when the server is online (so not just on server start). Originally I used to just have a filterscript with the removals in and reload it, but this was not working out because of what I described above (objects being re-removed for a player).
I have implemented a very simple queue system for removals, which means each object is only ever removed for a player once when he is online. This seems to have solved all of the issues players were experiencing.
Posts: 35
Threads: 15
Joined: Aug 2013
Reputation:
0
You made a variable to know when he was first connected, and you checked with that variable?
EDIT: If so, i tried something similar i made a variable wich checks when the player is first spawned, if the variable is 0 in onplayerrequestclass/onplayerrequestspawn/ongamemodeinit it continues with the removal of objects...
Posts: 35
Threads: 15
Joined: Aug 2013
Reputation:
0
i dont get it man, i need a solution to this :/..