• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Trigger malfunction/turns itself off?

Status
Not open for further replies.
Level 5
Joined
Aug 11, 2008
Messages
86
For some strange reason one of the most important triggers on my current map turns itself off/refuse to work...
Everything seems to be just fine with the trigger and it used to work. Just one day when I was gonna test my map, it refused to work.

The trigger is one of my "starting triggers," which is supposed to react when a unit enters a region. However when a unit does enter the region, nothing happends.

The trigger is simply suppose to create a multiboard, move the unit and set a couple of variables.

As I said before, the trigger used to work great, and I hadn't changed anything when it started failing... :vw_wtf:
 
Level 5
Joined
Aug 11, 2008
Messages
86
sure, but haven't posted triggers here before, so kinda unsure how to..? :xxd:
would a picture suffice? Although one screenshot wouldn't be enough to show all the actions..
 
Level 5
Joined
Aug 11, 2008
Messages
86
oh, thank you very much! I'll give it a try...
Here's the entire thing (and yes, it is in fact the longest trigger in the map and the trigger including most actions, I have ever made.. :bored:

  • Chosen Hero
    • Events
      • Unit - A unit enters Selected Hero Region <gen>
    • Conditions
    • Actions
      • Set Hero_Player[(Player number of (Owner of (Triggering unit)))] = (Triggering unit)
      • If ((Owner of (Triggering unit)) Equal to Player 1 (Red)) then do (Set Name_of_Player[(Player number of (Owner of (Triggering unit)))] = (|c00FF0303 + ((Name of (Owner of (Triggering unit))) + |r))) else do (Do nothing)
      • If ((Owner of (Triggering unit)) Equal to Player 2 (Blue)) then do (Set Name_of_Player[(Player number of (Owner of (Triggering unit)))] = (|c000042FF + ((Name of (Owner of (Triggering unit))) + |r))) else do (Do nothing)
      • If ((Owner of (Triggering unit)) Equal to Player 3 (Teal)) then do (Set Name_of_Player[(Player number of (Owner of (Triggering unit)))] = (|c001CE6B9 + ((Name of (Owner of (Triggering unit))) + |r))) else do (Do nothing)
      • If ((Owner of (Triggering unit)) Equal to Player 4 (Purple)) then do (Set Name_of_Player[(Player number of (Owner of (Triggering unit)))] = (|c00540081 + ((Name of (Owner of (Triggering unit))) + |r))) else do (Do nothing)
      • If ((Owner of (Triggering unit)) Equal to Player 5 (Yellow)) then do (Set Name_of_Player[(Player number of (Owner of (Triggering unit)))] = (|c00FFFC01 + ((Name of (Owner of (Triggering unit))) + |r))) else do (Do nothing)
      • If ((Owner of (Triggering unit)) Equal to Player 6 (Orange)) then do (Set Name_of_Player[(Player number of (Owner of (Triggering unit)))] = (|c00fEBA0E + ((Name of (Owner of (Triggering unit))) + |r))) else do (Do nothing)
      • Trigger - Add to Display Damage <gen> the event (Unit - (Triggering unit) Takes damage)
      • Selection - Clear selection for (Owner of (Triggering unit))
      • Cinematic - Disable user control for (All players matching ((Owner of (Triggering unit)) Equal to (Matching player)))
      • Visibility - Create an initially Disabled visibility modifier for (Owner of (Triggering unit)) emitting Black mask across Select Hero Region <gen>
      • Unit - Pause (Triggering unit)
      • Unit - Move (Triggering unit) instantly to (Center of Spawn Selected Heroes <gen>), facing 270.00 degrees
      • Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)) of type Hero Selector (invisible)) and do (Unit - Remove (Picked unit) from the game)
      • Wait 0.10 seconds
      • Camera - Reset camera for (Owner of (Triggering unit)) to standard game-view over 0.00 seconds
      • Camera - Lock camera target for (Owner of (Triggering unit)) to (Triggering unit), offset by (0.00, 0.00) using Default rotation
      • Game - Display to (All players matching ((Owner of (Triggering unit)) Equal to (Matching player))) for 20.00 seconds the text: |cffffcc00Welcome t...
      • Wait 0.01 seconds
      • Camera - Apply Selected Hero1 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
      • Wait 1.00 seconds
      • Camera - Apply Selected Hero2 <gen> for (Owner of (Triggering unit)) over 3.00 seconds
      • Wait 3.00 seconds
      • Cinematic - Enable user control for (All players matching ((Owner of (Triggering unit)) Equal to (Matching player)))
      • Camera - Lock camera target for (Owner of (Triggering unit)) to (Triggering unit), offset by (0.00, 0.00) using Default rotation
      • Unit - Unpause (Triggering unit)
      • Selection - Select (Triggering unit) for (Owner of (Triggering unit))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Owner of (Triggering unit)) Equal to Player 1 (Red)
        • Then - Actions
          • Custom script: if GetLocalPlayer() == Player(0) then
          • Multiboard - Create a multiboard with 4 columns and 4 rows, titled Name_of_Player[(Player number of (Owner of (Triggering unit)))]
          • Set Multiboard[(Player number of (Owner of (Triggering unit)))] = (Last created multiboard)
          • Multiboard - Hide Multiboard[(Player number of (Owner of (Triggering unit)))]
          • Multiboard - Show Multiboard[(Player number of (Owner of (Triggering unit)))]
          • Custom script: endif
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Owner of (Triggering unit)) Equal to Player 2 (Blue)
        • Then - Actions
          • Custom script: if GetLocalPlayer() == Player(1) then
          • Multiboard - Create a multiboard with 4 columns and 4 rows, titled Name_of_Player[(Player number of (Owner of (Triggering unit)))]
          • Set Multiboard[(Player number of (Owner of (Triggering unit)))] = (Last created multiboard)
          • Multiboard - Hide Multiboard[(Player number of (Owner of (Triggering unit)))]
          • Multiboard - Show Multiboard[(Player number of (Owner of (Triggering unit)))]
          • Custom script: endif
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Owner of (Triggering unit)) Equal to Player 3 (Teal)
        • Then - Actions
          • Custom script: if GetLocalPlayer() == Player(2) then
          • Multiboard - Create a multiboard with 4 columns and 4 rows, titled Name_of_Player[(Player number of (Owner of (Triggering unit)))]
          • Set Multiboard[(Player number of (Owner of (Triggering unit)))] = (Last created multiboard)
          • Multiboard - Hide Multiboard[(Player number of (Owner of (Triggering unit)))]
          • Multiboard - Show Multiboard[(Player number of (Owner of (Triggering unit)))]
          • Custom script: endif
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Owner of (Triggering unit)) Equal to Player 4 (Purple)
        • Then - Actions
          • Custom script: if GetLocalPlayer() == Player(3) then
          • Multiboard - Create a multiboard with 4 columns and 4 rows, titled Name_of_Player[(Player number of (Owner of (Triggering unit)))]
          • Set Multiboard[(Player number of (Owner of (Triggering unit)))] = (Last created multiboard)
          • Multiboard - Hide Multiboard[(Player number of (Owner of (Triggering unit)))]
          • Multiboard - Show Multiboard[(Player number of (Owner of (Triggering unit)))]
          • Custom script: endif
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Owner of (Triggering unit)) Equal to Player 5 (Yellow)
        • Then - Actions
          • Custom script: if GetLocalPlayer() == Player(4) then
          • Multiboard - Create a multiboard with 4 columns and 4 rows, titled Name_of_Player[(Player number of (Owner of (Triggering unit)))]
          • Set Multiboard[(Player number of (Owner of (Triggering unit)))] = (Last created multiboard)
          • Multiboard - Hide Multiboard[(Player number of (Owner of (Triggering unit)))]
          • Multiboard - Show Multiboard[(Player number of (Owner of (Triggering unit)))]
          • Custom script: endif
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Owner of (Triggering unit)) Equal to Player 6 (Orange)
        • Then - Actions
          • Custom script: if GetLocalPlayer() == Player(5) then
          • Multiboard - Create a multiboard with 4 columns and 4 rows, titled Name_of_Player[(Player number of (Owner of (Triggering unit)))]
          • Set Multiboard[(Player number of (Owner of (Triggering unit)))] = (Last created multiboard)
          • Multiboard - Hide Multiboard[(Player number of (Owner of (Triggering unit)))]
          • Multiboard - Show Multiboard[(Player number of (Owner of (Triggering unit)))]
          • Custom script: endif
        • Else - Actions
          • Do nothing
      • Wait 1.00 seconds
      • Multiboard - Set the display style for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 0, row 0 to Show text and Show icons
      • Multiboard - Set the text for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 1, row 1 to ((String(Hours_Played)) + h)
      • Multiboard - Set the width for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 1, row 1 to 3.20% of the total screen width
      • Multiboard - Set the text for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 1 to ((String(Minutes_Played)) + m)
      • Multiboard - Set the width for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 1 to 3.20% of the total screen width
      • Multiboard - Set the text for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 3, row 1 to ((String(Seconds_Played)) + s)
      • Multiboard - Set the width for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 3, row 1 to 3.20% of the total screen width
      • Multiboard - Set the text for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 4, row 1 to (|c0096FF96 + Planes of hope|r)
      • Multiboard - Set the width for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 4, row 1 to 14.00% of the total screen width
      • Multiboard - Set the display style for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 0, row 1 to Show text and Hide icons
      • Multiboard - Set the text for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 1, row 2 to |cffb61503Hero Kill...
      • Multiboard - Set the width for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 1, row 2 to 7.00% of the total screen width
      • Multiboard - Set the icon for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 1, row 2 to ReplaceableTextures\PassiveButtons\PASBTNCleavingAttack.blp
      • Multiboard - Set the display style for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 1, row 2 to Show text and Show icons
      • Multiboard - Set the text for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 2 to (String(TotalHeroKills[(Player number of (Owner of (Triggering unit)))]))
      • Multiboard - Set the display style for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 2 to Show text and Hide icons
      • Multiboard - Set the width for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 2 to 4.00% of the total screen width
      • Multiboard - Set the text for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 3, row 2 to |cff004080Hero Deat...
      • Multiboard - Set the width for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 3, row 2 to 8.50% of the total screen width
      • Multiboard - Set the icon for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 3, row 2 to ReplaceableTextures\PassiveButtons\PASBTNGenericSpellImmunity.blp
      • Multiboard - Set the display style for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 3, row 2 to Show text and Show icons
      • Multiboard - Set the text for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 4, row 2 to (String(TotalHeroDeaths[(Player number of (Owner of (Triggering unit)))]))
      • Multiboard - Set the display style for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 4, row 2 to Show text and Hide icons
      • Multiboard - Set the width for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 4, row 2 to 4.00% of the total screen width
      • Multiboard - Set the text for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 1, row 3 to |cffb61503Arena Win...
      • Multiboard - Set the width for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 1, row 3 to 8.20% of the total screen width
      • Multiboard - Set the icon for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 1, row 3 to ReplaceableTextures\PassiveButtons\PASBTNUnholyAura.blp
      • Multiboard - Set the display style for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 1, row 3 to Show text and Show icons
      • Multiboard - Set the text for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 3 to (String(TotalArenaWins[(Player number of (Owner of (Triggering unit)))]))
      • Multiboard - Set the display style for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 3 to Show text and Hide icons
      • Multiboard - Set the width for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 3 to 4.00% of the total screen width
      • Multiboard - Set the text for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 3, row 3 to |cff004080Arena Los...
      • Multiboard - Set the width for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 3, row 3 to 9.00% of the total screen width
      • Multiboard - Set the icon for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 3, row 3 to ReplaceableTextures\PassiveButtons\PASBTNStormHammer.blp
      • Multiboard - Set the display style for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 3, row 3 to Show text and Show icons
      • Multiboard - Set the text for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 4, row 3 to (String(TotalArenaLosses[(Player number of (Owner of (Triggering unit)))]))
      • Multiboard - Set the display style for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 4, row 3 to Show text and Hide icons
      • Multiboard - Set the width for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 4, row 3 to 4.00% of the total screen width
      • Multiboard - Set the text for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 1, row 4 to Party:
      • Multiboard - Set the width for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 1, row 4 to 6.00% of the total screen width
      • Multiboard - Set the icon for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 1, row 4 to ReplaceableTextures\WorldEditUI\Editor-MultipleUnits.blp
      • Multiboard - Set the display style for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 4 to Show text and Show icons
      • Multiboard - Set the display style for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 3, row 4 to Hide text and Hide icons
      • Multiboard - Set the display style for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 4, row 4 to Hide text and Hide icons
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Triggering unit)) Equal to Crusader
        • Then - Actions
          • Multiboard - Set the icon for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 4 to ReplaceableTextures\CommandButtons\BTNGarithos.blp
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Triggering unit)) Equal to Archmage
        • Then - Actions
          • Multiboard - Set the icon for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 4 to ReplaceableTextures\CommandButtons\BTNBanditMage.blp
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Triggering unit)) Equal to High Priest
        • Then - Actions
          • Multiboard - Set the icon for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 4 to ReplaceableTextures\CommandButtons\BTNHeroPaladin.blp
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Triggering unit)) Equal to Juggernaut
        • Then - Actions
          • Multiboard - Set the icon for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 4 to ReplaceableTextures\CommandButtons\BTNBanditLord.blp
          • Hero - Create |cff696969Training Katana|r and give it to (Triggering unit)
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Triggering unit)) Equal to Necromancer
        • Then - Actions
          • Multiboard - Set the icon for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 4 to ReplaceableTextures\CommandButtons\BTNSkeletonWarrior.blp
          • Hero - Create |cff696969Training Katana of Agility|r and give it to (Triggering unit)
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Triggering unit)) Equal to Ranger
        • Then - Actions
          • Multiboard - Set the icon for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 4 to ReplaceableTextures\CommandButtons\BTNBeastMaster.blp
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Triggering unit)) Equal to Rogue
        • Then - Actions
          • Multiboard - Set the icon for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 4 to ReplaceableTextures\CommandButtons\BTNPeasant.blp
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Triggering unit)) Equal to Seeker
        • Then - Actions
          • Multiboard - Set the icon for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 4 to ReplaceableTextures\CommandButtons\BTNSkeletalOrcChampion.blp
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Triggering unit)) Equal to Warlock
        • Then - Actions
          • Multiboard - Set the icon for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 4 to ReplaceableTextures\CommandButtons\BTNSkeletonMage.blp
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Triggering unit)) Equal to Warlord
        • Then - Actions
          • Multiboard - Set the icon for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 4 to ReplaceableTextures\CommandButtons\BTNKnight.blp
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Triggering unit)) Equal to Zealot
        • Then - Actions
          • Multiboard - Set the icon for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 4 to ReplaceableTextures\CommandButtons\BTNSkeletonArcher.blp
        • Else - Actions
          • Do nothing
      • Multiboard - Set the width for Multiboard[(Player number of (Owner of (Triggering unit)))] item in column 2, row 4 to 13.00% of the total screen width
      • Multiboard - Minimize Multiboard[(Player number of (Owner of (Triggering unit)))]
      • Set Row_in_party[(Player number of (Owner of (Triggering unit)))] = 4
      • Trigger - Turn on Update Heroes health <gen>
      • Unit - Create 1 Backpack for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
      • Set Backpack[(Player number of (Owner of (Triggering unit)))] = (Last created unit)
      • Unit - Create 1 Bag for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
      • Set Bag[(Player number of (Owner of (Triggering unit)))] = (Last created unit)
 
Level 13
Joined
Sep 13, 2010
Messages
550
Problem is at GetLocalPlayer()-s so multiboards will not really work. Needs optimization as well. Use debug messages to track your trigger. If you can post the map too because that is "VVVVEERY" long :eekani: and pretty difficult to help...
 
Level 5
Joined
Aug 11, 2008
Messages
86
Just discovered that some of the other triggers on the map works. Two of the triggers that have an event - player types message..etc seems to be working, as well as the 3rd person camera system.. so the starting trigger seems to be the only problem (as I can see)..
 
Level 9
Joined
Jul 23, 2008
Messages
261
That's an unecessarly complicated multiboard in my opinion :S
Uhm, you haven't tried to remove "Player" leaks have you? Since most "player" actions does not leak, and if you try to remove one, all your triggers may or may not fuck up <.<
Anyhow, I think I can fix the problem by making multiple triggers instead of one big pile X)
Tell me if geries can't fix it :O

EDIT:
Also, what do you want your multiboard to display? I could just copy one of my own ones i've made for my own maps if you wanna.
It displays players Lvl, hero kills and deaths.
 
Level 5
Joined
Aug 11, 2008
Messages
86
The idea is to give each player his own unique multiboard, which displays his own heroes kills, deaths, arena wins, arena losses, what region he is currently in and everyone who's in his party.
I believe geries has fixed the multiboard, however, my map is still bugged, and it would seem that my map simply has way too many triggers, or at least that seems to be whats wrong. Too many doodads and triggers, and that they cause latency, making the triggers not work properly, or that I have as mentioned, too many triggers. And I've been recommended Jass, but I don't know anything about Jass, so I kinda can't just convert to Jass, also I don't have the time to learn Jass.
And I've tried making 3-4 separate triggers, but the problem still won't go away.. The triggers simply refuse to work :S

If you believe you can fix the problem, I'll be more than happy to send u the map as well. I'm dying to get this problem off my hands so I can continue my map and test some stuff.
 
Level 9
Joined
Jul 23, 2008
Messages
261
@Znoopy
If you get latency, that CANT be because you have to many triggers. My own map, TFS, contains atleast a hundred triggers or something, it does not lagg. Have you fixed the leaks? otherwise, there's your problem.
Jass isn't better in any way, unless you want to do something really complicated...
YOU must have messed something up without noticing :p
(I've done so before)
Take a good look at all your triggers and check if you've missed something :p

Also, if you wanna, I can take a look at em anyways ^^
 
Level 5
Joined
Aug 11, 2008
Messages
86
:con:hmmm.. Then it must be the incredibly large amount of doodads causing the latency?

I'll pm u the map then, hope u can find the problem, and thanks a lot! :thumbs_up:
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,198
Do make sure that you are not using too many GUI globals. Each GUI global creates an initializer code which if enough will cause an oplimit crash of the initializer thread (resulting in triggers never getting initialized and so not working).

The most common cause of this is using the array size field as it runs code for each index. As WC3 uses dynamic arrays it is also pointless. If you have multiple arrays of "size" 8000 it will easilly cause this problem.
 
Level 5
Joined
Aug 11, 2008
Messages
86
I use the getlocalplayer custom script to create a multiboard for every player, so that each player gets a multiboard of his own.

I've used it again sometimes because I was messin' around trying to fix the bug, obviously I didn't fix it though, but all the stuff i've tested is still on the map.. :p

And instead of having do nothing, should I leave those areas blank..?

ok, I'll try that then, but do u think such a simple think could fix the entire problem..?

PS! for those downloading the map, I'm using NewGen WE due to my great doodad use.. :p
 
Status
Not open for further replies.
Top