My Map is crashing wc3 on PCs

Legacyspy

New Member
Reaction score
19
Desync problem (was: Server Split Help)

1st, unless I'm mistaken my new thread regarding my game crashing, was merged with my thread on my game server splitting.

The game that had problems w/ splitting was survivors of lordaeron.

The game that crashes is survivors of lordaeron 2. It was made from scratch
and does not server split. Please ignore everything before post #28 as none of that is relevant to this problem.


The current problem is that the map uploaded in post #41 is causing wc3 to fatal error.

Not every game, but a fair amount of them.

I can not isolate it to any specific incident.

However, people who are running OS X do not crash.
As far as I know only people running vista or xp.
 

UndeadDragon

Super Moderator
Reaction score
447
Have you used GetLocalPlayer( ) in the map? That's one common way to cause server splits if not used correctly.

Also, check for endless loops or bad leaks.

Endless loops with leaks in can be even worse :p
 

Legacyspy

New Member
Reaction score
19
Im pretty sure I've fixed all the leaks, I could be doing something wrong though so I will upload my triggers later.

The reason I don't think it leaks is because:
1. It only splits once
2. It doesn't lag as the game goes on.
 

Romek

Super Moderator
Reaction score
963
Do you use JASS?
Do you use the GUI action "Pan Camera as Necessary"? (This can cause Desyncs)
 

thewrongvine

The Evolved Panda Commandant
Reaction score
506
1) Legacyspy, remember me from b.net? :D Nice to meet you on thehelper.

2) Well, maybe there's something in the game not everyone has. The triggers might have a slight error where it requires everything, so if something is missing, it might bug...
 

Romek

Super Moderator
Reaction score
963
2) Well, maybe there's something in the game not everyone has.
"Not everyone has"
That's what happens with "GetLocalPlayer"
You could just ask that.. Like most of us xD

The trigger has a slight error where it require everything
...Yeah... :rolleyes:

----
Anyway, Legacyspy, answer my questions :D
 

Legacyspy

New Member
Reaction score
19
Theres no get local player, No Pan Camera
Almost every trigger is gui.
The only jass is for a save and load system.

I have a lot of triggers that fire on unit is attacked or periodically every seconds or couple of seconds, could this be the problem?
This is quite frustrating.
I can't upload my map because its 2 large.
I can't even upload just the exported triggers because they are so large.
 

Cheesy

some fucker
Reaction score
95
Could be due to infinite loops. Check to make sure you don't have anything like this.

Code:
Trigger 1
Events
(Triggering Unit) takes damage
Conditions
Actions
Deal 1 damage to (Triggering Unit)
 

Flare

Stops copies me!
Reaction score
662
Infinite loops don't cause desyncs, they cause crashes

Are you using any terrain deformations? I've had problems with them causing desyncs before. Other than that, I can't think of anything that would cause desyncs (since you've already said you aren't using GetLocalPlayer and Pan Camera)

Sounds to me like you got some leaks.

Why do so many people associate leaks with server splits... They cause lag, but I've never once seen leaks cause splits (and I have made some REALLY leaky spells in the past).
 

Draphoelix

It's not the wintercold that's killing me
Reaction score
132
and I have made some REALLY leaky spells in the past).

I'll keep that in mind before using your spells :p

Ontopic: Since the server split causes at the beginning, check for triggers that are being triggered in the start?
 

Romek

Super Moderator
Reaction score
963
Does it just randomly desync or only after you've done something in particular?

Could you post the triggers which fire periodically or whenever something happens which could've caused the desync?
 

Legacyspy

New Member
Reaction score
19
When ever a trigger fires I have it message me with the trigger's name, then when ever a game server splits I go back through and look at which trigger fired before I got the "so and so has left the game" message.

But I have not been able to correlate it to any one specific trigger.

the trigger data was to large for me to upload as a .wtg so I changed the file name to .w3x.

If you change it back to .wtg and import it into a map you should be able to understand it even though object data is missing.
 

FireBladesX

Eating my wings!
Reaction score
123
Hey!
Is the problem you?

I'm just saying this because once I was playing a DotA and the server split, and I think it was because the host (who I knew) has some wierd stuff going on with his computer. Have you tried it when you're not the host?
 

Legacyspy

New Member
Reaction score
19
One of the things that has been bugging me is that it only splits once per game.

Anyways I really need some help here guys.
 

s3rius

Linux is only free if your time is worthless.
Reaction score
130
I have exactly the same problem with my map and have no idea for the cause, but if we have the same problem I can tell you it's nothing about GetLocalPlayer or Pan Camera as necessary.
Try another test of your map and ask the players in which language their WC3 is. I've noticed that, when my game splits, it always separates players by language. If that happens to you too you're pretty screwed.
The only good idea I had to locate the cause was to turn of more and more triggers until the split doesn't happen anymore, but until now it was of no use.
I'll look through your triggers and try to find a similarity to mine. If I find something I'll tell you.

PS: Quick thought. Did this split in your map also occur before patch 1.22?
 

Legacyspy

New Member
Reaction score
19
The split occurred before 1.22.

I have a lot of triggers that fire when a unit is attacked or on a timer/periodically every 1-2 seconds.

Could the split be caused by just to many triggers occurring at once?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      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