So my map is finally ready, but now I have a new problem to work on, when the game has been running for few mins a huge server split happens, usealy just leaves me and 1 - 3 other people..
I have absolutly no idea about these server splits or trigger leaks so if anyone wants to link me to some awsome guides to that, that would be just great.
Now to the triggers Im worried about possible leaks or bugs in:
atleast these 3 would make the most sence to me to have some kind of a bug or a leak in them
If you dont find anything and I dont find anything in my map after searching for some guides Ill probly just post the map here so some of you experts can take a closer look ;D
I have absolutly no idea about these server splits or trigger leaks so if anyone wants to link me to some awsome guides to that, that would be just great.
Now to the triggers Im worried about possible leaks or bugs in:
Code:
win n lose
Events
Unit - A unit Dies
Conditions
IntegerKill[(Player number of (Owner of (Killing unit)))] Equal to 30
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Killing unit)) Equal to (Picked player)
Then - Actions
Game - Victory (Picked player) (Show dialogs, Show scores)
Else - Actions
Game - Defeat (Picked player) with the message: l2p newbie
Code:
Gold drop
Events
Unit - A unit Dies
Conditions
((Triggering unit) is A Hero) Equal to True
((Killing unit) is A Hero) Equal to True
Actions
Set Integerdie[(Player number of (Owner of (Dying unit)))] = (Integerdie[(Player number of (Owner of (Dying unit)))] + 1)
For each (Integer A) from 0 to Integerdie[(Player number of (Owner of (Dying unit)))], do (Actions)
Loop - Actions
Item - Create Gold Coins at (Position of (Killing unit))
Code:
Leaderboard score
Events
Unit - A unit Dies
Conditions
((Killing unit) is A Hero) Equal to True
((Dying unit) is A Hero) Equal to True
Actions
Game - Display to (All players) the text: (((Name of (Owner of (Killing unit))) + Just oblivirated ) + (Name of (Owner of (Dying unit))))
Set Player_Kills[(Player number of (Owner of (Killing unit)))] = (Player_Kills[(Player number of (Owner of (Killing unit)))] + 1)
Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to Player_Kills[(Player number of (Owner of (Killing unit)))]
Leaderboard - Sort (Last created leaderboard) by Value in Descending order
atleast these 3 would make the most sence to me to have some kind of a bug or a leak in them
If you dont find anything and I dont find anything in my map after searching for some guides Ill probly just post the map here so some of you experts can take a closer look ;D