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

Triggers Disabling Problem

Status
Not open for further replies.
Level 2
Joined
Apr 2, 2013
Messages
10
I have a problem to which I can't find a plausible explanation. Sometimes, when I change something in the trigger editor, usually when I make a system, thus, longer triggers, all triggers stop working. But not always, it also happens when I make shorter ones. I think it is linked to the trigger editor because of what I stated above.

I need an answer as to why this happens and when exactly. What really bugs me is that it doesn't always occur.

The map has 8 MB, a lot of imported models, triggers and variables. I don't think that the size(s) could cause this issue. All triggers are enabled, and none of them have code problems that could cause them to stop working.

I use JassNewGenPackv5e, mainly because the amount of doodads used are over the limit that the normal world editor has.

Any help would be appreciated. Thank you.
 
Level 30
Joined
Nov 29, 2012
Messages
6,637
I could not give you an acceptable solution here but maybe there is something wrong with your wc3 mostly in the MPQ. A file maybe is broken, not totally broken but causes malfunctions sometimes. I could not tell you what file it is because I actually have no clue but this might be a possible reason though.
 
Level 2
Joined
Apr 2, 2013
Messages
10
I could not give you an acceptable solution here but maybe there is something wrong with your wc3 mostly in the MPQ. A file maybe is broken, not totally broken but causes malfunctions sometimes. I could not tell you what file it is because I actually have no clue but this might be a possible reason though.

I thought of that and tried to edit the map on two different computers, now it may be that the world editor on both computers has the same problem. But it is strange, because it started doing so out of a sudden.
 
yes, well, here's a simple disorder :
  • Disorder
    • Events
    • Conditions
    • Actions
      • Unit - Kill (Last created unit)
      • Unit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
why? because it kills nothing, Last Created Unit is is null, thus it's either create a unit or don't run at all.
it seems his triggers are far more complicated, that's why he need to show the trigger causing the trigger error.
 
Level 2
Joined
Apr 2, 2013
Messages
10
it seems you hit Operation (OP) Limit or you make trigger disorder, mind show the trigger which makes the problem?

The problem is, I do not know which trigger causes the problem. I could PM the map to you to have a look at it if you want. But I warn you, there are a lot of triggers.

Edit
I think I have some problems such as the one you showed me that I most likely missed.
 
Level 2
Joined
Apr 2, 2013
Messages
10
Have a look at ths thread about OP Limit: OP LIMIT

It might help you and yes, I am still having chances that it can be the OP Limit that is the problem.

All right, I think the OP Limit was indeed the problem. I had some really big arrays, some of them even had 1000, even though I didn't get to that number, and I probably hit the limit. And I also changed looping actions at map initialization putting an event with "Time Elapsed" instead. I copied a system from the version that I couldn't fix by changing what I said above to an earlier version to which the changes had the expected effect, and it does work.

Thank you for the help to the both of you who replied, if anything else like this happens I will write here.
 
Status
Not open for further replies.
Top