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

[Trigger] Computer crashes testing feature.

Status
Not open for further replies.
Level 12
Joined
Jan 25, 2017
Messages
213
Hmm... my computer crashes a lot whenever I test a new feature of my map. I'm not sure but I think it's to do with one of the periodical triggers I edited. But my computer has been getting a lot of crashes of 'DPC Watchdog Violation' blue death screens so it may be to do with my drivers... (even though I've checked and they all say up to date).

But- regardless- my computer will invariably freeze when testing out a new feature. I'll post the trigger I think is the issue it may be another recently edited one- or else I used a OE value/ability that I didn't know causes crashes.

  • Build carrion
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to 1 Build carrion
    • Actions
      • Set packup = (Target point of ability being cast)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Terrain pathing at packup of type Buildability is off) Equal to False
        • Then - Actions
          • Item - Remove (Item carried by (Triggering unit) of type Carcass)
          • Unit - Create 1 Carcass for Neutral Hostile at packup facing (Random real number between 0.00 and 360.00) degrees
          • Unit Group - Add (Last created unit) to CarrionGroup
          • Animation - Play (Last created unit)'s birth animation
          • Trigger - Turn on Lure Loop <gen>
        • Else - Actions
      • Custom script: call RemoveLocation(udg_packup)
  • Lure Loop
    • Events
      • Time - Every 3.00 seconds of game time
    • Conditions
    • Actions
      • Set LoopCheck = 0
      • Unit Group - Pick every unit in CarrionGroup and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) is alive) Equal to True
            • Then - Actions
              • Set TempUnit3 = (Picked unit)
              • Set LoopCheck = (LoopCheck + 1)
              • Set point = (Position of TempUnit3)
              • Custom script: set bj_wantDestroyGroup = true
              • Unit Group - Pick every unit in (Units within 2000.00 of point) and do (Actions)
                • Loop - Actions
                  • Set TempUnit2 = (Picked unit)
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Unit-type of TempUnit2) Equal to Vulture
                    • Then - Actions
                      • Unit - Order TempUnit2 to Attack-Move To point
                    • Else - Actions
              • Custom script: call RemoveLocation(udg_point)
            • Else - Actions
              • Unit Group - Remove (Picked unit) from CarrionGroup
      • For each (Integer var_Int) from 1 to 10, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (hay[var_Int] is alive) Equal to True
            • Then - Actions
              • Set LoopCheck = (LoopCheck + 1)
              • Set point = (Position of hay[var_Int])
              • Custom script: set bj_wantDestroyGroup = true
              • Unit Group - Pick every unit in (Units within (800.00 + (Hay_Real[(Player number of (Triggering player))] x 200.00)) of point) and do (Actions)
                • Loop - Actions
                  • Set TempUnit3 = (Picked unit)
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • Or - Any (Conditions) are true
                        • Conditions
                          • (Unit-type of TempUnit3) Equal to Goat
                          • (Unit-type of TempUnit3) Equal to Goat (Male)
                          • (Unit-type of TempUnit3) Equal to Baby Goat
                    • Then - Actions
                      • Unit - Order TempUnit3 to Move To point
                    • Else - Actions
              • Custom script: call RemoveLocation(udg_point)
            • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • LoopCheck Equal to 0
        • Then - Actions
          • Trigger - Turn off (This trigger)
        • Else - Actions
The last part used to work fine in the past (I think I only edited the real range value) and the first part is completely new.
 

Dr Super Good

Spell Reviewer
Level 65
Joined
Jan 18, 2005
Messages
27,290
If the OS is still responsive (Alt+Ctrl+Delete works) and you are on a multi core processor and on a operating system more modern than XP then it is a problem with Warcraft III running your map. Such problems could include game engine bugs being encountered, bad values for some JASS native calls, bad object data values or even an infinite trigger loop.

If the OS becomes unresponsive at random times, the screen goes blank or starts to show garbage then that points towards defective hardware, likely the GPU. If your computer out right turns off when playing that points towards a defective PSU.
 
Status
Not open for further replies.
Top