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.
 
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.
 
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.
 
It definetly sounds like your running an infinate loop. And it can happen if you have For Every Integer from 1 to -10.
 
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.
 
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 #).
 
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?
 
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.
 
Alright then, copy your altars to another map and try them, then post that map up here.
 
@ 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 :(
 
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.
 
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?
 
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?
 
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.
 
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.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good

      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