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

Map Crash

Status
Not open for further replies.
Level 18
Joined
May 11, 2012
Messages
2,103
I think I found the cause of a crash. Too many triggers run at the same time.
I have more triggers that runs every 1.00 seconds. COuld that cause it?
Like, he instantly must run 2 or more triggers at exactly same time.
Shoud I not use like that or every periodic change to a little bit bigger interval?
 
Level 14
Joined
Dec 12, 2012
Messages
1,007
1 question. Can using too much DDS cause crash?
I'm using Physical DDS from lookin_for_help. And I noticed when I imported his System, something started to screw my map hmm..

What do you mean with using too much DDS? :D

Post your OnDamage triggers then I will take a look at them but the system itself can't cause a crash if you use it right.
 
Level 18
Joined
May 11, 2012
Messages
2,103
also, when I imported your DDS, all my is alive and is dead conditions are being ignored... In every spell, and everywhere else...
idk why so... why

one example: I suicide myself
  • Buy Tome Loop 1
    • Events
      • Time - Every 0.30 seconds of game time
    • Conditions
    • Actions
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units owned by BuyTome_Player[1] matching ((((Matching unit) is A Hero) Equal to True) and (((Matching unit) is paused) Equal to False))) 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
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (BuyTome_Player[1] Current gold) Greater than or equal to 50000
                • Then - Actions
                  • Hero - Create |cFFFFFF00Tome of Knowledge and give it to (Picked unit)
                  • Player - Add -50000 to BuyTome_Player[1] Current gold
                • Else - Actions
                  • Trigger - Turn off (This trigger)
            • Else - Actions
here the game goes on with the trigger like there's no condition... and it should do else. SO it must do nothing -.-
 
Level 18
Joined
May 11, 2012
Messages
2,103
What do you mean with using too much DDS? :D

Post your OnDamage triggers then I will take a look at them but the system itself can't cause a crash if you use it right.

I mean, using many triggers with event damageEventTrigger.

u do know that when the trigger is turned off it still runs the rest of its actions right ?
if u want it to stop actions then do a skip remaining actions action instead.

You didn't look at the trigg correctly. If a unit is Alive, then do next ITE. If it isn't do else which is nothing.
And yes, I knew the trigger finishes it's actions...
 
Last edited by a moderator:
You didn't look at the trigg correctly. If a unit is Alive, then do next ITE. If it isn't do else which is nothing.
And yes, I knew the trigger finishes it's actions...

ik this. still the same thing tho if the unit is alive then it runs the turn off trigger. it will still continue onto the next unit in the group.

also dont double post.
 
Level 14
Joined
Dec 12, 2012
Messages
1,007
also, when I imported your DDS, all my is alive and is dead conditions are being ignored... In every spell, and everywhere else...
idk why so... why

one example: I suicide myself

1.) At first you say your map crashes, now a condition is not working... so what is the problem now?

2.) I tested the posted trigger and it works (of course) without any problems with the DDS.

3.) Post your OnDamage triggers or send me your map.
 
Level 18
Joined
May 11, 2012
Messages
2,103
1.) At first you say your map crashes, now a condition is not working... so what is the problem now?

2.) I tested the posted trigger and it works (of course) without any problems with the DDS.

3.) Post your OnDamage triggers or send me your map.

both* :D
NOTE: don't think I blame your DDS now for my map failures, but I think your dds is causing it. If not, this all is a big joke (someone is screwing with me xD)
 
Level 10
Joined
Dec 15, 2012
Messages
650
I think that's not the problem to cause fatal error.
Question:
How/When your game crash ?

exp :
*If your game crash when you cast a spell, then check spell triggers.
*If your game crash when your units entered a region, then check triggers that has "Unit - A unit Enters region" event.
 
Status
Not open for further replies.
Top