RemoveBuildingForPlayer - crash if player reconnects
#1

OK, so this is very weird. I have placed on OnPlayerConnect the function to remove the buildings for players. If a player loses connection and reconnects, that player's game will either crash or freeze. I did a lot of tests with this and still the game got stuck. I called the function once on OnPlayerSpawn but that still crashed me after I 'gmxed' the server. I also used a timer for this, but it gave me the same result. Moreover, I ran the function only one time for each player, meaning the first time the player connects, but the second time of connection, the server doesn't remove the objects.

PS: There are at least 600 objects that get removed.
Reply


Messages In This Thread
RemoveBuildingForPlayer - crash if player reconnects - by Dr.Einstein - 03.01.2014, 04:41
Re: RemoveBuildingForPlayer - crash if player reconnects - by Excelize - 03.01.2014, 05:33
Re: RemoveBuildingForPlayer - crash if player reconnects - by ikey07 - 03.01.2014, 10:03
AW: RemoveBuildingForPlayer - crash if player reconnects - by BigETI - 03.01.2014, 12:57
Re: RemoveBuildingForPlayer - crash if player reconnects - by Pottus - 03.01.2014, 16:21
Re: RemoveBuildingForPlayer - crash if player reconnects - by Dr.Einstein - 03.01.2014, 18:59
Re: RemoveBuildingForPlayer - crash if player reconnects - by DaRk_RaiN - 04.01.2014, 18:50
Re: RemoveBuildingForPlayer - crash if player reconnects - by ikey07 - 04.01.2014, 20:17
Re: RemoveBuildingForPlayer - crash if player reconnects - by Pottus - 04.01.2014, 21:27
Re: RemoveBuildingForPlayer - crash if player reconnects - by rt-2 - 15.05.2017, 12:41
Re: RemoveBuildingForPlayer - crash if player reconnects - by Spmn - 15.05.2017, 15:39
Re: RemoveBuildingForPlayer - crash if player reconnects - by rt-2 - 16.05.2017, 12:24
Re: RemoveBuildingForPlayer - crash if player reconnects - by Spmn - 16.05.2017, 19:07
Re: RemoveBuildingForPlayer - crash if player reconnects - by NaS - 17.05.2017, 16:11
Re: RemoveBuildingForPlayer - crash if player reconnects - by Spmn - 17.05.2017, 19:09
Re: RemoveBuildingForPlayer - crash if player reconnects - by rt-2 - 18.05.2017, 00:54
Re: RemoveBuildingForPlayer - crash if player reconnects - by Romz - 06.10.2017, 02:19
Re: RemoveBuildingForPlayer - crash if player reconnects - by ][Noname][ - 06.10.2017, 13:31
Re: RemoveBuildingForPlayer - crash if player reconnects - by rt-2 - 02.12.2018, 19:52

Forum Jump:


Users browsing this thread: 1 Guest(s)