Map causes WC3 to exit

D

DraGooN001

Guest
Hello, up until recently, a map I was working on was fine whenever I selected a unit. However, the map now causes one to outright exit WC3 whenever certain units/buildings are selected. Right now, there are only two Altar-based buildings that cause this problem.

If there is additional information needed, I'll try to answer as much as I can as soon as possible.
 
D

DraGooN001

Guest
Hmm... Well, I turned off all of my most recently applied/editted triggers and tried running the map again. Selecting the Altars still caused the map to close down.

If it helps at all, none of my triggers have an event "When a unit is selected" or whatever it may be, and most of my triggers are made in the GUI. I'm using stuff like If/Then/Else and For(Integer A/B). But as far as I know, it's not possible to do something like a "while" loop in the GUI, so I don't know how I may be making an infinite loop.
 
D

DraGooN001

Guest
Zakyath said:
It should come up a list with errors then, try to change the files... but what do I know, I'm just a dumb swede :nuts:
Nope, no error messages.

AceHart said:
Any unknown abilities on your Altars?
No, just Select Unit and Invulnerable(Neutral). I did try removing my more recent Heroes from the Altars, in case those were causing the problem, but that didn't help either. I did edit Select Unit and it's area sizes, but I don't know why that would be causing the problems.

Heko said:
you cant click it in WE or in game play?
I can't click the Altars during gameplay, or else WC3 closes itself.
 

Jazradel

Helping people do more by doing less.
Reaction score
102
It definetly sounds like your running an infinate loop. And it can happen if you have For Every Integer from 1 to -10.
 

Jazradel

Helping people do more by doing less.
Reaction score
102
There is no other way to crash Warcraft without getting an error message. Even stacking Spellbooks inside Spellbooks or Orb of Lightning inside Orb of Lighting.
 
D

DraGooN001

Guest
Zakyath said:
Look on the files, maybe you find some cute stuff <3 <3
Specifically which files? If you're referring to the text files in *\Warcraft III\Errors, the files are from before I even started working on the map.

Jazradel said:
It definetly sounds like your running an infinate loop. And it can happen if you have For Every Integer from 1 to -10.
Hmm... well I looked over the triggers again, and whenever I was using a For(Integer A) Loop, I made it go from 1 to 6 (for Hero inventories) or from 1 to 12 (for each Player #).
 

Jazradel

Helping people do more by doing less.
Reaction score
102
No that doesn't sound like crash material. I don't supose your doing the other stuff I have there or something is happening at the exact same time you select the altar?
 
D

DraGooN001

Guest
Jazradel said:
No that doesn't sound like crash material. I don't supose your doing the other stuff I have there or something is happening at the exact same time you select the altar?
Nope, I don't have anything else running. And it's specifically those two Altars as well; I can select other Altars and hire Heroes out of them and continue the game as is.

Zakyath said:
The files? The units, I mean... what an bad explanation of me... <3 <3
Nope, my units are all using known abilities.
 

Jazradel

Helping people do more by doing less.
Reaction score
102
Alright then, copy your altars to another map and try them, then post that map up here.
 
D

DraGooN001

Guest
@ Jazradel: Actually, this may seem lazy and informal, but would you mind me sending the map to you via email? I moved the Altars to a new map, removed any units from it which were specific to my map, and I was able to click on said Altars just fine.

So I'm guessing the problem most likely lies with one of my Heroes that I made hireable at the Altar (like Zakyath said), but everything else worked up till now. But I guess I'm not experienced enough with the World Editor, since I can't tell what's wrong :(
 

phyrex1an

Staff Member and irregular helper
Reaction score
447
There is an very easy way to se if it is a trigger error or an object editor error:
Disable ALL triggers in the map. Test. If it still crashes it is in the object editor, else it is in a trigger.

If it is in a trigger it is in one of those who are triggered when you select the unit.

If it is in the object editor it is either the altar itself or one of the heroes inside.
Or one of the spells that the heroes has, or one of the units that the spell summon, ect.
 
D

DraGooN001

Guest
Zakyath said:
Well, it may be a trigger (?) why don't you put it up (the triggers)?
Well, cause there's a lot of them. They're not fantastically big or anything, but I suppose I can try posting them up later. Also, I use the Code tag to indicate a trigger, right?
 
D

DraGooN001

Guest
Haha, phyrex1an gave me a good idea.

So I tried disabling all the triggers, then ran the map. When I selected the problematic Altars, WC3 closed itself.

So apparently it's one of the Heroes in the Altars.

So I removed all the Heroes from the Altars, and I was able to click on them during the game.

Then I added in two specific Heroes back into the Altars, and my problem appeared again for both Altars.

Okay, so let's see: In my map, I have two Heroes that have Ultimates based off of Metamorphosis, the Dark Stalker and the Swordsman. These two are the problematic Heroes. They both have abilities which activate triggers, but I don't think that's the problem.

Because the two Heroes have a Meta based Ultimate and have five different copies of themselves for their Ultimate, I've made it so that each of the Heroes have "Equivalent Dependencies" with their level 1 version, level 2 version, up to level 5 version of themselves.

I suppose that's not a good idea?
 

phyrex1an

Staff Member and irregular helper
Reaction score
447
DraGooN001 said:
I suppose that's not a good idea?

Depends: Has the 'Level' units Equivalent Dependencies to the base unit? If so remove that. The base unit should have Equivalent Dependencies with all the level units, the level units should have that field empty.

Look at the real Demon Hunter for reference.
 
D

DraGooN001

Guest
phyrex1an said:
Depends: Has the 'Level' units Equivalent Dependencies to the base unit? If so remove that. The base unit should have Equivalent Dependencies with all the level units, the level units should have that field empty.

Look at the real Demon Hunter for reference.
Oh... so that was it o_O' I suppose that might cause a loop.

The base Heroes have Equivalent Dependency with the level Heroes, and the level Heroes have Equivalent Dependency with their respective base Heroes.

Thnx much ^_^
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • 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 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