Server split in my map, HELP ME!!!

SaMmM

Member
Reaction score
4
Umm... like the game splits into 2 different games.

For example: Red, blue, teal, yellow are in the same game.
Then when it server split.

Red and blue same game.

Teal and yellow same game.

They exsist in different games.
 

Cohadar

master of fugue
Reaction score
209
Ok man listen up.
Server splitting is not a joke, here is how you fix it:

Track it down:
Play a game, and when the game desyncs quit the game and save replay.
Do this a couple of times.

Most desyncs happen because of bugged spells,
so make sure you check who casted a spell when game desynced.

Also the most common desyncing spells are the ones with waits inside them.
Waits are bad, don't use waits if you don't have to.

For example:

BAD:
Code:
CreateLeaderBoard
    Events
    Conditions
    Actions
        Wait 1.00 seconds
        Leaderboard - Create a leaderboard for (All allies of Player 1 (Red)) titled Kills
        Player Group - Pick every player in (All allies of Player 1 (Red)) and do (Leaderboard - Add (Picked player) to (Last created leaderboard) with label (Name of (Picked player)) and value 0)
        Leaderboard - Remove Player 11 (Dark Green) from (Last created leaderboard)
        Leaderboard - Sort (Last created leaderboard) by Value in Descending order
        Leaderboard - Show (Last created leaderboard)

GOOD:
Code:
CreateLeaderBoard
    Events
        Time - Elapsed game time is 1.00 seconds
    Conditions
    Actions
        Leaderboard - Create a leaderboard for (All allies of Player 1 (Red)) titled Kills
        Player Group - Pick every player in (All allies of Player 1 (Red)) and do (Leaderboard - Add (Picked player) to (Last created leaderboard) with label (Name of (Picked player)) and value 0)
        Leaderboard - Remove Player 11 (Dark Green) from (Last created leaderboard)
        Leaderboard - Sort (Last created leaderboard) by Value in Descending order
        Leaderboard - Show (Last created leaderboard)

This is also a total stupidity:
Code:
Die
    Events
        Unit - A unit owned by Player 12 (Brown) Dies
    Conditions
    Actions
        Player - Add 1 to (Owner of (Killing unit)) Current lumber
        Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to ((Owner of (Killing unit)) Total lumber gathered)
        Leaderboard - Sort (Last created leaderboard) by Value in Descending order
        Wait 5.00 seconds
        Unit - Remove (Triggering unit) from the game

Do it like this:
Code:
Die
    Events
        Unit - A unit owned by Player 12 (Brown) Dies
    Conditions
    Actions
        Player - Add 1 to (Owner of (Killing unit)) Current lumber
        Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to ((Owner of (Killing unit)) Total lumber gathered)
        Leaderboard - Sort (Last created leaderboard) by Value in Descending order

And instead of removing the units go to:
Advanced->Gameplay Constants->BoneDecayTime
ans change it from 88 to 5 sec.
 

Magentix

if (OP.statement == false) postCount++;
Reaction score
107

Sim

Forum Administrator
Staff member
Reaction score
534
I didn't check your map but a common function that causes desyncs is "Pan Camera as necessary for player". Make sure you do not use this one. Instead, use simply "Pan Camera for player".
 

hell_knight

Playing WoW
Reaction score
126
Funny how you always start thumping people into the ground :)

I believe I read this somewhere while ago , but Im pretty sure it was from someone that I would respect and is NOT a idiot. I don't know maybe too many memory leaks will lag the persons computer really badly cause him to lag / dc but probaly not a split.

Like everyone said above , pan neccasty for player / get local player
Will cause desyncs if used improperly.
 

Cohadar

master of fugue
Reaction score
209
but Im pretty sure it was from someone that I would respect and is NOT a idiot.

Well who ever it was, (s)he was wrong.

Just because someone is respectful does not mean they know all info on the world, and does not mean that they never speak boolshit.

Take me for example....
 

duyen

New Member
Reaction score
214
Why is your map a .rar

Not to mention it's protected so we won't be able to track the problem anyways... Maybe post all the triggers?
 

SaMmM

Member
Reaction score
4
The upload website won't allow me to upload warcraft maps file type.

Does any1 know where can i upload it?

I unprotected it for u guys to help me check.
 

Drunken_God

Hopes to get back into Mapmaking with SC2 :)
Reaction score
106
The upload website won't allow me to upload warcraft maps file type.

Does any1 know where can i upload it?

I unprotected it for u guys to help me check.

upload it here in this forum:
scroll down while posint a new reply then press manage attachements
 

Romek

Super Moderator
Reaction score
964
Well who ever it was, (s)he was wrong.

Just because someone is respectful does not mean they know all info on the world, and does not mean that they never speak boolshit.

Take me for example....

...You're calling yourself respectful?
I doubt many people respect you. (Judging by the way you're acting in this topic)

And as for the problem, Do the replay thing. You'll at least find when the server split is happening...
 

Cohadar

master of fugue
Reaction score
209
And you are..?

EDIT: ----------------------
I think I found server split
It is in trigger Die under Attacker category

Code:
Die
    Events
        Unit - A unit owned by Player 12 (Brown) Dies
    Conditions
    Actions
        Player - Add 1 to (Owner of (Killing unit)) Current lumber
        Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to ((Owner of (Killing unit)) Total lumber gathered)
        Leaderboard - Sort (Last created leaderboard) by Value in Descending order
        Wait 5.00 seconds   // <===== REMOVE THIS LINE
        Unit - Remove (Triggering unit) from the game // <===== AND THIS LINE

Then go to Advanced -> Gameplay Constants -> Decay Time (sec) - Bones and set it from 88 to 3.

-------------------
You should also remove that wait in Vision trigger under Debug category.

-------------------
The whole anti-team category is totally idiotic and should be removed completely.
put this instead:
Code:
Prevent Betraying
    Events
        Unit - A unit Is attacked
    Conditions
        (Attacked unit) Equal to Fortress 0000 <gen>
        (Owner of (Attacking unit)) Not equal to Player 12 (Brown)
    Actions
        Unit - Order (Attacking unit) to Stop
 

ManyTimes

I'm so lonesome I could cry...
Reaction score
293
Code:
Wait 5.00 seconds   // <===== REMOVE THIS LINE
        Unit - Remove (Triggering unit) from the game // <===== AND THIS LINE
If that causes the server split, call me ...whatever

Some things I did not like:
Code:
Actions
    For each (Integer A) from 1 to 50, do (If (((Triggering unit) has (Item being manipulated)) Equal to True) then do (Hero - Order (Triggering unit) to use (Item being manipulated)) else do (Do nothing))
Why not just change the ability to add X INT/STR/AGI instead of doing a loop like that?

The triggers: Give Money, YOU LOSE, YOU WIN, use a loop next time.

The trigger "nt", I did not like it at all...

As cohadar already said, the whole anti-team category...

The empty folder "other stuff", remove it? or was there something "secret" you did not want to show us?

Last tip; add everything, add all heroes/gold to all players/wood/items/ computer creeps/cheese... so you can control, when each trigger will fire. Then do one thing at a time, having a friend of you inside the game, checking whenever he drops. If he drops, you know where it is, if he does not drop, try do a "beta test", get several people in, and test! :)

Last Last tip; have "game display text: 1/2/3/4...." to yourself, in each trigger (all the unsecure ones), so when you watch the replay, it will be easier to detect...

Have fun!

Edit; do you got a replay and not sure whats happening? upload it? :)

Edit2; Cohadar :p
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +1
  • V-SNES V-SNES:
    Happy Friday!
    +1

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top