• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Reasons for game split

Status
Not open for further replies.
Level 4
Joined
Nov 22, 2006
Messages
28
I updated my map with some new features and now after 3-4 minutes most players lag out within seconds (no "waiting for host"). What´s the most likely reason?

I don´t use cinematics and i´m quite sure there are no trigger loops. Also i tried to avoid leaks und game-time waiting. It´s a maul and the problems won´t accur with only 5-6 players. Is there a list of reasons for a server split or a program to test the map?
 
Level 4
Joined
Nov 22, 2006
Messages
28
There are 3 major changes, i´m not sure if any of this can cause a server split.

A creep teleport system
If a creep wants to attack or is just standing around for some time the game makes it "mechnical". A 0,5s periodic trigger picks such units and teleports them to the nearest suitable place towards the next waypoint. That trigger does nothing if there are no creeps waiting for teleport. Dead units and units without an waypoint (stored as the costum value) are not picked.

A zoom system
Every 2 seconds the game picks every player and sets the camera distance and angle to the chosen values. Can this cause a split?

Floating text
I added some floating text to show towers with kills or if you receive money (i used the advanced triggers in WEU).


There are no other periodic triggers faster than 1s and no cinematics during the game. Before that changes the map worked perfect. Next thing i´ll try is to disable the zoom and creep teleport. Maybe it will also help not to use Vex´s map optimizer, but that´s not a real option for bnet. The map size and loading time are way to high without.

If there´s a list with all functions that can cause a server split than give me a link. I´m quite sure i´ve done something reeealllyyy stupid and wasted hours of mapping :(
 
Level 4
Joined
Nov 22, 2006
Messages
28
Ok, i testet some more. It´s none of the bit new features wich means it´s some little nasty change i made. Also i searched the script for GetLocalPlayer(), but i never used it. Also there are no units with huge stats on the map.

The problem: After about 3 minutes the game starts to lag. People get "waiting for host" and finally most of them disconnect. It´s only during creeps are on the map but i have about 300 triggers (yeah, big map...) so i´m still looking for the right one. Because it splits only with 8 or more players it´s not easy to test.

And i still don´t know what i´m looking for. There are 100 possible things that can cause a split if you search some forums :(
 
Level 5
Joined
May 21, 2006
Messages
174
Well, I bet you didn't make all those 300 triggers since the last update.
So, it must be something that you've added since.

I still think one of the easiest solutions is to disable 50% of the latest trigger/changes and continue to do so until you've narrowed down the problem to a single trigger/change.
 
Status
Not open for further replies.
Top