wc3 freezing with this trigger (with 7+ players only)

Razed

New Member
Reaction score
44
My map can be played from 2 to 8 players. And I got this trigger...

Code:
First Vote Round Ends
    Events
        Time - Start_Timer expires
    Conditions
    Actions
        Countdown Timer - Destroy Start_Timer_Window
        Player Group - Pick every player in (All players controlled by a User player) and do (Dialog - Hide VotingDialog for (Picked player))
        Multiboard - Destroy Multiboard_Voting
        Set Max_Vote_Number = (Max(HolyCounter, (Max(NatureCounter, (Max(FireCounter, FrostCounter))))))
        Set Draw_Counter = 0
        Wait 0.01 seconds
        If (Max_Vote_Number Equal to HolyCounter) then do (Set Draw_Counter = (Draw_Counter + 1)) else do (Do nothing)
        If (Max_Vote_Number Equal to NatureCounter) then do (Set Draw_Counter = (Draw_Counter + 1)) else do (Do nothing)
        If (Max_Vote_Number Equal to FireCounter) then do (Set Draw_Counter = (Draw_Counter + 1)) else do (Do nothing)
        If (Max_Vote_Number Equal to FrostCounter) then do (Set Draw_Counter = (Draw_Counter + 1)) else do (Do nothing)
        Wait 1.00 seconds
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((HolyCounter Greater than NatureCounter) and (HolyCounter Greater than FireCounter)) and (HolyCounter Greater than FrostCounter)
            Then - Actions
                Trigger - Run START Holy Level <gen> (checking conditions)
                Set Current_Level = Holy Revive 1 <gen>
                Set HolyCounter = 0
                Set NatureCounter = 0
                Set FireCounter = 0
                Set FrostCounter = 0
                Wait 1.00 seconds
                Game - Display to (All players controlled by a User player) for 6.00 seconds the text: The area of |cffFFF...
                Wait 2.00 seconds
                Trigger - Run Display System <gen> (ignoring conditions)
                Trigger - Run Voting System Revive <gen> (ignoring conditions)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((NatureCounter Greater than HolyCounter) and (NatureCounter Greater than FireCounter)) and (NatureCounter Greater than FrostCounter)
            Then - Actions
                Set Current_Level = Nature Revive 1 <gen>
                Set HolyCounter = 0
                Set NatureCounter = 0
                Set FireCounter = 0
                Set FrostCounter = 0
                Wait 1.00 seconds
                Game - Display to (All players controlled by a User player) for 6.00 seconds the text: The area of |cff4CC...
                Wait 2.00 seconds
                Trigger - Run Display System <gen> (ignoring conditions)
                Trigger - Run Voting System Revive <gen> (ignoring conditions)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((FireCounter Greater than HolyCounter) and (FireCounter Greater than NatureCounter)) and (FireCounter Greater than FrostCounter)
            Then - Actions
                Set Current_Level = Fire Revive 1 <gen>
                Set HolyCounter = 0
                Set NatureCounter = 0
                Set FireCounter = 0
                Set FrostCounter = 0
                Wait 1.00 seconds
                Game - Display to (All players controlled by a User player) for 6.00 seconds the text: The area of |cffF62...
                Wait 2.00 seconds
                Trigger - Run Display System <gen> (ignoring conditions)
                Trigger - Run Voting System Revive <gen> (ignoring conditions)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((FrostCounter Greater than HolyCounter) and (FrostCounter Greater than NatureCounter)) and (FrostCounter Greater than FireCounter)
            Then - Actions
                Set Current_Level = Frost Revive 1 <gen>
                Set HolyCounter = 0
                Set NatureCounter = 0
                Set FireCounter = 0
                Set FrostCounter = 0
                Wait 1.00 seconds
                Game - Display to (All players controlled by a User player) for 6.00 seconds the text: The area of |cff79B...
                Wait 2.00 seconds
                Trigger - Run Display System <gen> (ignoring conditions)
                Trigger - Run Voting System Revive <gen> (ignoring conditions)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Draw_Counter Greater than 1
            Then - Actions
                Set HolyCounter = 0
                Set NatureCounter = 0
                Set FireCounter = 0
                Set FrostCounter = 0
                Wait 1.00 seconds
                Game - Display to (All players controlled by a User player) for 6.00 seconds the text: It's a draw, please...
                Wait 2.00 seconds
                Trigger - Run Multiboard First Round <gen> (ignoring conditions)
                Trigger - Run First Vote Round <gen> (ignoring conditions)
            Else - Actions

This trigger is the follow-up from triggers of a dialog voting (as you can see there are 4 areas to vote for).

Anyways, when I play solo, or with 2, 3, 4 players nothing strange happens and you just go to the next area (talking about holy atm). But I just tested it again, 5 min ago with 8 players. And it just freezes as soon as the Start_Timer expires.

Hmm, perhaps something in this trigger is causing it? Or it's just something I'm not aware off... Some help would be nice.
 

WolfieeifloW

WEHZ Helper
Reaction score
372
I was just saying, sorry for trying to help?
I said that because it's happened to me before where timers have screwed up because of waits;
Multiple units going at the same time and waits made my timer screw up, AKA non-MUI.

EDIT: And even though I explained why my post has to do with the problem, AceHart still -rep's me for 10 rep;
And he'll probably delete this edit and -rep me again for like 100 rep, just to abuse his powers...
Sigh...
Just when I thought this was a fair and just community.
Didn't know explaining why your post was related to the problem was a bad thing to do :confused: ?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top