Troubles with server split

Ommi

New Member
Reaction score
7
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:

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
 

Sevion

The DIY Ninja
Reaction score
413
It is most likely caused by Memory Leaks. If you don't know what Memory Leaks are go to the links specified by Mr. Tutorial. Memory Leaks are very pesky. They can ruin very fun maps. You can either be lazy and use Leak Checker made by I'm_On_56k or you can go through and learn a thing or two about removing leaks, which is recommended as then you can catch things that Leak Checker doesn't.
 

Mr.Tutorial

Hard in the Paint.
Reaction score
42
Yeah, I quote what Sevion said but with addition. It's harder to keep leak checking triggers than to just learn the memory leaks and fix them yourself. My advice to you is to read every step of those tutorials and follow along the path to greatness :eek: :p

Anyways, good luck!

Mr.Tutorial
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> It is most likely caused by Memory Leaks

Unlikely.
A couple points is not enough, and definitely not after just a couple minutes.



"win and lose" should be part of the trigger that also counts those kills.
 

Sevion

The DIY Ninja
Reaction score
413
Those are just triggers he thinks have leaks. Not all of them. It is possible he's running a loop for 10 every 1 second that leaks :rolleyes: We can't be 100% sure unless he shows us all of his triggers.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top