Map Crashing at 20% Load

ZiggyMcjoney

Data editor?! AAAHHHHH!
Reaction score
95
I understand that when you get to around 20% of the loading bar the game runs the map initialization triggers. Well, in the latest version of my map the loading bar reaches 20%, stays there for a fairly long time and then crashes WC3. The more recent version of my map does not have this problem, and I have not altered the map initialization trigger at all between the two versions.

Does anyone know what else could cause a problem like this? This is extremely frustrating.

Thanks for any help.
 

rover2341

Is riding a roller coaster...Wee!
Reaction score
113
prehaps a (at 0 seconds trigger) starts and it divides by zero, appearing that it crash's before it finishes loading.

Edit*

Try this. If possible turn off or remove them. and see if it starts. if thats the case, then you know where your problem is at.
 

ZiggyMcjoney

Data editor?! AAAHHHHH!
Reaction score
95
prehaps a (at 0 seconds trigger) starts and it divides by zero, appearing that it crash's before it finishes loading.

Edit*

Try this. If possible turn off or remove them. and see if it starts. if thats the case, then you know where your problem is at.

Already tried turning off the map init trigger and it still doesn't work. I'll try with some of the 0.00 second ones.

EDIT: I changed the map initialization trigger to trigger off 0.00 seconds of game time. The load bar then paused for quite a long time at that map initialization point, but then proceeded. It's not really necessary to have that trigger at map initialization so it's all good if I keep it that way. However I'd still like to know why the hell that was happening =\.

EDIT 2: Ok, nevermind, it's still happening. After turning off all 3 triggers that run at map init/0.00/0.01 seconds of game time, the map loaded. Turning them off individually still crashed the map. How big does a map initialization trigger have to be for it to crash the game? =\

EDIT 3: OKAY. Now I have turned off ALL THREE triggers and the map still crashes. What the hell is going on -_-
 

istar

New Member
Reaction score
31
erm... perhaps the problem is not there then... well best way is slowly disable each trigger till it works and narrow down the faulty one(s)
i know of a map with over 20k lines of pure custom script, it loads slow like damn but it didnt crash, so i pretty sure the game can handle
depends on your comp too though
 

ZiggyMcjoney

Data editor?! AAAHHHHH!
Reaction score
95
erm... perhaps the problem is not there then... well best way is slowly disable each trigger till it works and narrow down the faulty one(s)
i know of a map with over 20k lines of pure custom script, it loads slow like damn but it didnt crash, so i pretty sure the game can handle
depends on your comp too though

My comps definitely good enough :p.

I resorted to going back to an earlier version and redoing the changes I made. Thanks anyway :).
 

lindenkron

You can change this now in User CP
Reaction score
102
My comps definitely good enough :p.

I resorted to going back to an earlier version and redoing the changes I made. Thanks anyway :).

If you turned all triggers off, it could seem like your map might be corrupted. Had the same, except that my triggers just stopped functioning at all, and it didn't show an error :(.

Also had to start over. Good luck though,
-Lindenkron
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> The load bar then paused for quite a long time

Sounds like an endless loop...


> How big does a map initialization trigger have to be for it to crash the game?

About one line.
Like "Unit - Create 1 Footman at (Center of <region>) for Player 1 (Red) facing Default

And some trigger like:
Event:
- A unit enters <region>
Conditions:
Actions:
- Unit - Create 1 Footman at (Position of (Triggering unit)) for (Owner of (Triggering unit)) facing Default
 

Kahiera

Active Member
Reaction score
9
like istar said, the best thing to do would probably to try each trigger to find the faulty one. what i think would be best, is to test each trigger before you progress. it is better to work on one thing at a time, make sure that it works perfectly, than do a bunch at once, then find an error, not knowing what you did to cause it.
 

Cheekything

TH.net Regular
Reaction score
5
You may be calling a unit that you have deleted, you should check that your not trying to call a random unit.

As if it doesn't exist it'll just try to kill itself >.>
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/
  • The Helper The Helper:
    I think we need to add something to the bottom of the front page that shows the Headline News forum that has a link to go to the News Forum Index so people can see there is more news. Do you guys see what I am saying, lets say you read all the articles on the front page and you get to the end and it just ends, no kind of link for MOAR!

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top