• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

[Crash] Can you help here?

Status
Not open for further replies.
Hey I was working on my map the other day and when saved and tested in wc3 it is displaying this crash error:
fgggg.jpg

(however yo ucan edit it in editor)
Every other mao is running fine so i guess th problem is in the map, but can't figuire what it is. I tried by deleting all doodads. THen disabling some triggers. I checked of units are exceeding maximum limit. Maybe it's an imported file?
 
Last edited:
Level 24
Joined
Aug 1, 2013
Messages
4,657
When is the error displayed exactly?

When you save the map?
Before you test the map?
While the map is loading (loading bar)?
Just after the map has finished loading?
Or on another moment?

(I suppose you have an infinite loop in OE but could be something else.)
 
Level 24
Joined
Aug 1, 2013
Messages
4,657
Does it crash on normal maps as well?
If so, it is a problem with your editor and you have to reinstall WE and maybe WC as well.

If not, then you have an infinite loop in your object editor.
In your object editor there are certain fields that can cause infinite loops making WC3 run the same thing over and over again and eventually crash.

One of these examples is upgrading a structure to itself.
(To another structure that upgrades into the first as well.)
Or spellbooks that have itself in it (same as structures can also be via other spellbooks).

There was also one about upgrades but I cant remember.

Save the map and save the map then under a new name (old one is backup).
Delete a few objects in the terrain editor (preplaced units etc) and test each time to see what units have caused the crash.
If the whole map is empty, then you have to remove the objects until you found it.
(It is ofcourse rediculous to remove everything one by one and testing each time so removing stuff like 50 by 50 and when you know in what 50 stuff your crash is, then you can go into a more in-depth search.)
 
Level 24
Joined
Aug 1, 2013
Messages
4,657
Ok.... here it comes.
Hold your breath.


You have used the normal Arcane Vault as default building to sell your items.
That Arcane Vault sells an item called "Orb of Fire".
The "Text - Tooltip - Extended (utub)" of that Orb of Fire contains "<AIfb,DataA1>"
which refers to 'DataA1' of the object 'AIfb'.
Object 'AIfb' is the ability "Item Attack Fire Bonus".
So this will directly load the data from that item and place that value inside that tooltip.

However... here is your problem.
When creating custom data, your editor does not look if the rawcode of your new object is already used.
What happened is that you probably created another object using the same rawcode and it tries to load 'DataA1' from that object.
Now that that other object doesnt have an 'DataA1', it crashes the game as soon as your Arcane Vault is placed on the map.

I couldnt find the second object that had that rawcode, but the easiest solution is to find your "Orb of Fire" item in the Miscellaneous folder and replace "<AIfb,DataA1>" with "5" (which is the default value which you also use there).
 
Level 12
Joined
Jan 6, 2015
Messages
750
wieltol said:
ok.... Here it comes.
Hold your breath.


You have used the normal arcane vault as default building to sell your items.
That arcane vault sells an item called "orb of fire".
The "text - tooltip - extended (utub)" of that orb of fire contains "<aifb,dataa1>"
which refers to 'dataa1' of the object 'aifb'.
Object 'aifb' is the ability "item attack fire bonus".
So this will directly load the data from that item and place that value inside that tooltip.

However... Here is your problem.
When creating custom data, your editor does not look if the rawcode of your new object is already used.
What happened is that you probably created another object using the same rawcode and it tries to load 'dataa1' from that object.
Now that that other object doesnt have an 'dataa1', it crashes the game as soon as your arcane vault is placed on the map.

I couldnt find the second object that had that rawcode, but the easiest solution is to find your "orb of fire" item in the miscellaneous folder and replace "<aifb,dataa1>" with "5" (which is the default value which you also use there).

wow !!!!
 
Status
Not open for further replies.
Top