Hi guys, i really need your help!
I made a map named: "10 Hero's Siege ULTIMATE", which is an edit of the original 10 Hero's Siege map.
So now about my problem:
At the beginning, when all the users starts to pick up their chosen heroes, all the players gets DC from the game at the same moment .
My Friend Who is Kind of pro in WE told me that its a server split which caused by a memory leak.
So I send him the map, and he checked the triggers and he didn't find any problem.
Here are the triggers which are connected to the heroes picks (and i am not sure that those triggers are the ones who causing the problems):
Any ideas what causing this problem?
I made a map named: "10 Hero's Siege ULTIMATE", which is an edit of the original 10 Hero's Siege map.
So now about my problem:
At the beginning, when all the users starts to pick up their chosen heroes, all the players gets DC from the game at the same moment .
My Friend Who is Kind of pro in WE told me that its a server split which caused by a memory leak.
So I send him the map, and he checked the triggers and he didn't find any problem.
Here are the triggers which are connected to the heroes picks (and i am not sure that those triggers are the ones who causing the problems):
Code:
Manual Hero Pick
Events
Unit - A unit Sells a unit
Conditions
((Sold unit) is A Hero) Equal to True
Actions
Game - Display to (All players) the text: (((Name of (Owner of (Sold unit))) + has chosen ) + (Name of (Sold unit)))
Hero - Create Ankh of Reincarnation and give it to (Sold unit)
Hero - Create Scroll of Town Portal and give it to (Sold unit)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Make (Unit-type of (Sold unit)) Unavailable for training/construction by (Picked player)
Code:
Move Heroes
Events
Unit - A unit enters First Region <gen>
Conditions
((Entering unit) is A Hero) Equal to True
Actions
Wait 0.30 seconds
Selection - Select (Entering unit) for (Owner of (Triggering unit))
Set TempPoint = (Random point in Hero Spawn <gen>)
Unit - Move (Entering unit) instantly to TempPoint
Camera - Pan camera as necessary for (Owner of (Triggering unit)) to TempPoint over 0.00 seconds
Custom script: call RemoveLocation(udg_TempPoint)
Wait 0.30 seconds
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units in First Region <gen> owned by (Owner of (Triggering unit))) and do (Unit - Remove (Picked unit) from the game)
Set Heroes[(Player number of (Owner of (Triggering unit)))] = (Triggering unit)
Any ideas what causing this problem?