• 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.

A difficult situation.. need help.

Status
Not open for further replies.
I cant find the solution and I have asked all my friends and other smart mapmakers... my last resort before I give up on this is you guys... I really hope you can find a solution.

The problem is everyone but the host d/c's in my map and there is no explanation why at the moment... but it happens right at the first second of game time so I guessed map init but I was wrong it would appear because I turned the triggers off and tried it again and again.

The only thing left I know and think that is possible is map corruption meaning have to restart on a new map.

Please help me confirm or figure out what the situation and solution is.

I would greatly appreciate this as well I will credit anyone that helps in my map. I usually don't appear often or ask much unless I am really stuck on a really awesome project... :goblin_cry:
 

Attachments

  • Reincarnation.w3x
    943.5 KB · Views: 38
Level 21
Joined
Mar 27, 2012
Messages
3,232
I'd say that your map is an awful mess in the triggering section.
  • RobotNHumanF
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
      • ((Attacking unit) belongs to an ally of (Owner of (Triggering unit))) Equal to True
      • (Hero level of (Triggering unit)) Greater than 15
      • (Hero level of (Attacking unit)) Greater than 15
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Attacking unit)) Equal to Human - Female
          • (Unit-type of (Attacking unit)) Equal to Human - Male
          • (Unit-type of (Attacking unit)) Equal to Robot
          • (Unit-type of (Attacking unit)) Equal to Zombie
          • (Unit-type of (Triggering unit)) Equal to Human - Female
          • (Unit-type of (Triggering unit)) Equal to Human - Male
          • (Unit-type of (Triggering unit)) Equal to Robot
          • (Unit-type of (Triggering unit)) Equal to Zombie
        • Then - Actions
          • Unit - Create 1 Brave Chick C+O for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
          • Unit - Create 1 Garene O+H/Female for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
          • Unit - Create 1 Ogre O+O for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
          • Unit - Create 1 Reanimated Orka Z+O for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
          • Unit - Create 1 Rex O+H/Male for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
          • Unit - Create 1 Wombat R+O for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
          • Unit - Create 1 Brave Chick C+O for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing (Facing of (Attacking unit)) degrees
          • Unit - Create 1 Garene O+H/Female for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing (Facing of (Attacking unit)) degrees
          • Unit - Create 1 Ogre O+O for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing (Facing of (Attacking unit)) degrees
          • Unit - Create 1 Reanimated Orka Z+O for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing (Facing of (Attacking unit)) degrees
          • Unit - Create 1 Rex O+H/Male for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing (Facing of (Attacking unit)) degrees
          • Unit - Create 1 Wombat R+O for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing (Facing of (Attacking unit)) degrees
          • Unit - Create 1 Arthur Z+H/Male for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
          • Unit - Create 1 Fanged Beast Z+C for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
          • Unit - Create 1 Morgana Z+H/Female for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
          • Unit - Create 1 Predator Z+R for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
          • Unit - Create 1 Arthur Z+H/Male for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing (Facing of (Attacking unit)) degrees
          • Unit - Create 1 Fanged Beast Z+C for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing (Facing of (Attacking unit)) degrees
          • Unit - Create 1 Morgana Z+H/Female for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing (Facing of (Attacking unit)) degrees
          • Unit - Create 1 Predator Z+R for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing (Facing of (Attacking unit)) degrees
          • Unit - Create 1 Chicken Fish C+F for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
          • Unit - Create 1 Fish Face Z+F for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
          • Unit - Create 1 Mechhanical Monster R+F for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
          • Unit - Create 1 Naga - Male / F+H(Female for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
          • Unit - Create 1 Naga - Male / F+H(Male for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
          • Unit - Create 1 Shark O+F for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
          • Unit - Create 1 Chicken Fish C+F for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing (Facing of (Attacking unit)) degrees
          • Unit - Create 1 Fish Face Z+F for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing (Facing of (Attacking unit)) degrees
          • Unit - Create 1 Mechhanical Monster R+F for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing (Facing of (Attacking unit)) degrees
          • Unit - Create 1 Naga - Male / F+H(Female for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing (Facing of (Attacking unit)) degrees
          • Unit - Create 1 Naga - Male / F+H(Male for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing (Facing of (Attacking unit)) degrees
          • Unit - Create 1 Shark O+F for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing (Facing of (Attacking unit)) degrees
        • Else - Actions
I have no idea why you even create 32 units every time a unit is attacked
 
o yes, that.... yeah ignore that one. that isn't the issue as well I forgot to fix it. all the triggers that are fuse triggers... when a unit hits another to make a better unit. I know those aren't bad or causing the crash. It's anything that is above the third Comment.

It's Untitled Trigger 009 and above if the disconnect is being caused by code.
 
Level 21
Joined
Mar 27, 2012
Messages
3,232
Pointless and can cause issues.
  • Untitled Trigger 009
    • Events
      • Map initialization
    • Conditions
      • Multiple ConditionsOr - Any (Conditions) are true
        • Conditions
          • (Player 7 (Green) controller) Equal to (==) User
          • (Player 8 (Pink) controller) Equal to (==) User
    • Actions
      • Game - Victory Player 7 (Green) (Skip dialogs, Skip scores)
      • Game - Victory Player 8 (Pink) (Skip dialogs, Skip scores)
Also, did you turn off all triggers when testing? If not, then you can't say what is causing the d/c.
The only sure way to find out which trigger is causing it is first disabling them all and then enabling 1 by 1, while testing after each enabled trigger.
 
Hey Dat-C3.

So if I understood correctly, your friends disconnect at the beginning even if you disable the trigger that runs on initialization? That seems a bit odd.

When I tested using multisession, I did not experience a disconnect. For "Untitled Trigger 001", try changing the event to "Time - Time elapsed is 0.00 seconds" instead of Map Initialization. I remember reading something about the issues of checking player slot status/controller on map initialization. Sadly I couldn't reproduce the issue so I never was able to fully test it.

You should do the same thing for "Untitled Trigger 009" (the one Xonok posted). Or remove it or w/e.

Now, you may also want to try disabling this:
  • Camera - Set the camera bounds for (Picked player) to Region 001 <gen>
Or remove it. Just to be safe. I don't believe camera bounds desync but since it is a local function, you may want to remove it to remove the risk of it causing anything.

Some miscellaneous questions for my own info:
(1) Are you playing on battle.net or LAN?
(2) What kind of error message do the other players receive when they are disconnected? Does it just say "Disconnected from game"? Or does it immediately boot them?

Good luck. I hope these changes will resolve your issue. Whether they do or don't, please report back with the results! :)
 
To Hell Master - Yes it can cause a crash, but that is not the reason for the d/c as well nobody has done that yet as well I am going to fix it eventually. And your most likely right.

To Xonok - It can cause issue's which I have fixed for the event with Time elapsed, but it is not pointless... It stops bot abusers. Yes I turned off all triggers that ran from init/0 to 10 minutes. I can say it doesn't look like triggers are causing the stupid d/c. I have double-checked my triggers, and I even turned them all off while people still d/c'd when map was fully black..

To PurgeandFire - Thank you so much for checking up on this purge. I really appreciate it. Yes it is odd which means it isn't my init triggers sadly. You couldn't reproduce the error? May I suggest testing in BNet or with another player? I did change the events for UT 001, and it still d/c's as well I think your right it can cause issues, but in this case.. it wasn't the reason. Yes I also changed it for UT 009.
I have disabled the cam bounds thing too, I didn't know it was a local. Cool... learn new things every day :) .

Reply to 1 : Yes I am playing on BNet however I think it'd still do the same for LAN.
Reply to 2 : What one of my testers/friends said. "I just dced, it said i was disconnected and threw a box in my face."

Report successful. Solution not discovered. Error still at large.

As I have said.. I think it is corruption within the MPQ or map somehow... Happens sometimes I hear to random innocent people who love to mapmake. :(
 
Level 30
Joined
Nov 29, 2012
Messages
6,637
To Hell Master - Yes it can cause a crash, but that is not the reason for the d/c as well nobody has done that yet as well I am going to fix it eventually. And your most likely right.

To Xonok - It can cause issue's which I have fixed for the event with Time elapsed, but it is not pointless... It stops bot abusers. Yes I turned off all triggers that ran from init/0 to 10 minutes. I can say it doesn't look like triggers are causing the stupid d/c. I have double-checked my triggers, and I even turned them all off while people still d/c'd when map was fully black..

To PurgeandFire - Thank you so much for checking up on this purge. I really appreciate it. Yes it is odd which means it isn't my init triggers sadly. You couldn't reproduce the error? May I suggest testing in BNet or with another player? I did change the events for UT 001, and it still d/c's as well I think your right it can cause issues, but in this case.. it wasn't the reason. Yes I also changed it for UT 009.
I have disabled the cam bounds thing too, I didn't know it was a local. Cool... learn new things every day :) .

Reply to 1 : Yes I am playing on BNet however I think it'd still do the same for LAN.
Reply to 2 : What one of my testers/friends said. "I just dced, it said i was disconnected and threw a box in my face."

Report successful. Solution not discovered. Error still at large.

As I have said.. I think it is corruption within the MPQ or map somehow... Happens sometimes I hear to random innocent people who love to mapmake. :(

A corrupted MPQ is also a valid reason, we dont know but maybe the player you are playing with has some corrupted files in its MPQ that reacted with your map and deetects a unit that is corrupted.

But mostly likely its in the trigger because I didnt experience fatal error through MPQ except when putting units in the World Editor that are corrupted in MPQ.
 
Interesting.

I think you should find a dedicated testing partner and find out the source.

This is the best way to do it:
  • First disable all triggers. Then run it on battle.net or whatever and see if it desyncs. If it still does, then skip all the following steps and post what happened. This means it may be unrelated to triggers.
  • If it does not desync, then that means it is having to do with the triggers. You should disable them in batches. You already have some comments ------ splitting up some of the triggers, so you can try disabling the triggers above the first comment line.
  • If it does not desync, then that is where the problem is. If it still desyncs, then disable the next batch of triggers.

If you can find out which "batch" of triggers is causing the issue, we can probably find the culprit. I recommend this batch method opposed to trigger-by-trigger, because I doubt any friend, as kind as they are, would be willing to test it for every trigger (unless you have two copies of TFT/RoC).

Good luck, I'll try to keep looking for any possible means of desyncs.
 
Level 21
Joined
Mar 27, 2012
Messages
3,232
To Xonok - It can cause issue's which I have fixed for the event with Time elapsed, but it is not pointless... It stops bot abusers. Yes I turned off all triggers that ran from init/0 to 10 minutes. I can say it doesn't look like triggers are causing the stupid d/c. I have double-checked my triggers, and I even turned them all off while people still d/c'd when map was fully black..

Actually the reason why I find it pointless is elsewhere. It's quite possible to change the mapscript to remove this trigger, if anyone really wants to.
People that know how to properly manage a bot often also know how to make maps do what they want. (and if they don't they can find someone who does)
It's literally one line that has to be deleted to make that trigger nonexistant.
 
To Xonok - Yes, but look at blizzard's spam filter.... people spent extra time to make them spam bots. Basically all I am doing is making it harder for that person. Besides I still have ways to protect my map even with the removed hex editor method.

To PurgeandFire - I had 9 dedicated testers for the last three days working on this issue.
I have already done all of what you said remember? It does not help and it still causes desync's even without code/triggers. Thank you though.

And yes they were willing to test every trigger :)
 
Level 5
Joined
May 6, 2013
Messages
125
Well, that is a lot of spawning and leaks. This can really cause crash I think. And your trigger aren't simplified. I think some can be still simplified.

I highly doubt that leaks have the ability to cause desyncs. Maybe if you manage to trick the agent for one player only and corrupt a handle it might, but i don't see a way to do that without the return bug.
Besides, the trigger doesn't even leak at all. I guess humanity yet needs to find a way to make that block of conditions evaluate to true. (Unless, maybe, a hermaphrodite zombiefied human-robot mix attacks another one of said species)

No, really, am i kind of blind right now? I mean, wouldn't you notice if a trigger that creates 25 units doesn't fire?
 
I am wondering if anyone can save the map with their editor then put it back here to see if that can fix it? Because nobody's been able to reproduce it as well... could it be me... my hosting? Though I had a friend host and it still did it.

Here you go. I've saved it in my editor and attached it below.
 

Attachments

  • Reincarnation (1).w3x
    943.5 KB · Views: 206
Thank you PurgeandFire, will test it when my friends get online.

Again I appreciate how much your trying to help as everyone else who is trying in this thread. :)

EDIT:
It seems like the issue has been resolved.... but I need to test with 2 more people before I can say for sure...

If this has worked, thank you so much PurgeandFire... if it was just luck and the problem is still here. thank you anyways :)

EDIT:
It has worked so far... thank you so much =)
 
Last edited:
Status
Not open for further replies.
Top