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

[Crash] my map get crash :C

Status
Not open for further replies.
Level 3
Joined
Jun 13, 2010
Messages
43
Map crash problem have to dealt with experience in WE.
You seem to hesitate to release a copy of your map to find out the real cause of the problem from your map which can be really difficult to help since you wasn't able to specific information of the crash.

There are few reason it may cause.since 4.9c vex may cause bug and even crash
Model Corruption relate with triggers or cinematic uses texture don't exist anymore.
Map corruption
Missing path on the terrain when it couldn't find location using trigger spells out of the map. Crash
Trigger crash gets troublesome. You need to know what changes u done each version and test.
Check if the crash happens periodically and rectify the trigger had u recent change. either be leak or bad lined with protection optimize script
Or you are using Deprotected map that doesn't belong to yours :ogre_haosis:
 
Level 8
Joined
Apr 1, 2011
Messages
91
when i use this skill cause lagg

  • Light Protect
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Light Protect
    • Actions
      • Set LightProtect_Caster = (Triggering unit)
      • Set LightProtect_objetives = (Facing of LightProtect_Caster)
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • Set LightProtect_objetives = (LightProtect_objetives + 50.00)
          • Set LightProtect_Position = (Position of LightProtect_Caster)
          • Unit - Create 1 Dummy for (Owner of LightProtect_Caster) at LightProtect_Position facing LightProtect_objetives degrees
          • Unit - Set level of Light Protect (Dummy) for (Last created unit) to (Level of Light Protect for LightProtect_Caster)
          • Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave (LightProtect_Position offset by 250.00 towards LightProtect_objetives degrees)
          • Unit - Add a 0.30 second Generic expiration timer to (Last created unit)
          • Custom script: call RemoveLocation(udg_LightProtect_Position)
      • Set LightProtect_Caster = No unit
maybe there is a problem with this?
 
Why do you guys keep searching for leaks always?
His map CRASHES, its not about leaks.

I suppose he uses a move trigger out of map bounds or a trigger that repeats itself infinitely. Most common reason for crashes with unexperienced mappers.

Leaks can cause crash, yes I agree that infinite loop also can do that too.


ArOn, did you have any trigger that loops (repeatedly used, other than Skills, I.E every 0.05 seconds or whatever)?
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
1. make backup of map, you need this to fix the map later.
2. delete all triggers in map. If the map still crashes when testing then it clearly is not trigger related and must be a bad object editor value.
3. if 2 still crashes, then start deleting object editor data until the crash stops. Find the entry that causes the crash and work on fixing it.
4. if 2 did not crash, then it is a trigger. Look for triggers that run when the crash happens and work on fixing them. Running some trigger code during initialization (eg initializing a global to a quest) will cause the map to crash while loading.
5. after finding the problem and fixing it, go back to your backed up version of the map and apply it there. This will mean no progress is lost.
 
1. make backup of map, you need this to fix the map later.
2. delete all triggers in map. If the map still crashes when testing then it clearly is not trigger related and must be a bad object editor value.
3. if 2 still crashes, then start deleting object editor data until the crash stops. Find the entry that causes the crash and work on fixing it.
4. if 2 did not crash, then it is a trigger. Look for triggers that run when the crash happens and work on fixing them. Running some trigger code during initialization (eg initializing a global to a quest) will cause the map to crash while loading.
5. after finding the problem and fixing it, go back to your backed up version of the map and apply it there. This will mean no progress is lost.
Already told him. He seems to be too lazy to do that.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
already remove all objects in the editor and not get crash
If you removed all object editor data (triggers were not touched and were left in) and the crash went away then clearly it is a problem with one or more object editor entries having bad values.

It is very easy to make bad values unintentionally in the object editor. The most recent example I found was incorrect usage of dependency equivalences. This manifested itself as a crash when a unit was selected. It took me ages to find that the crash was caused by one of the distant (not even direct) upgrades of one of the buildings the unit could build.

Some crashes will happen in game, others can happen during map initialization.

I have not all day :/
Neither do we as it is your map, not ours. If you tested more regularly and made backups this problem could have been avoided without having to perform time intensive debugging.
 
Level 8
Joined
Apr 1, 2011
Messages
91
I already save it with jassnewgenpack5
also I already play for an hour and my map not get error
I'm not sure if it was solved with that save jassnewgenpack5

I will continue testing tomorrow...
and sorry for my bad english :C

EDIT: still crash T_T
for: Dr Super Good => if i send you my map unprotected, you can check where is the problem?
I spent hours looking for the explanation of the problem and can not find it :C
 
Last edited:
Level 16
Joined
Jul 31, 2012
Messages
2,217
I already save it with jassnewgenpack5
also I already play for an hour and my map not get error
I'm not sure if it was solved with that save jassnewgenpack5

I will continue testing tomorrow...
and sorry for my bad english :C

EDIT: still crash T_T
for: Dr Super Good => if i send you my map unprotected, you can check where is the problem?
I spent hours looking for the explanation of the problem and can not find it :C

If you say you do not have all time, I do
You can post your map unprotected and i will try to solve it
Btw don't worry if you think i'm gonna make your map mine, i have already 3 maps i'm working on no need for another one :p
 
I have not all day :/
Seriously, why are you asking for help if you are not willing to move a finger to fix the problem?
All I can say is: if you can't afford the time to debug your map yourself, don't even make one.

Anyways, I'm out of this thread. I'm just wasting my time here if TO is too lazy to do the dirty work and expect others to do it for him.
 
Level 8
Joined
Apr 1, 2011
Messages
91
Seriously, why are you asking for help if you are not willing to move a finger to fix the problem?
All I can say is: if you can't afford the time to debug your map yourself, don't even make one.

Anyways, I'm out of this thread. I'm just wasting my time here if TO is too lazy to do the dirty work and expect others to do it for him.

I spent hours looking for the problem and i can't to solve anything :(
 
Status
Not open for further replies.
Top