Unnamed trigger keeps appearing, can't run map

dianamod27

Member
Reaction score
1
I don't know how this happened, but a while ago, my trigger editor displayed a trigger with no name (which the editor usually won't allow), which I couldn't delete or modify in any way.
I exited the world editor and reopened it; the trigger was gone.

I tried to test the map but it wouldn't work, and JassHelper showed me the error was that this unnamed trigger still existed in the script, so I extracted the war3map.j, removed the initialisation of the trigger and its function, and imported the file again, which allowed me to run the map again. However, everytime I save, the bad script gets rewritten and the map won't work again. The object manager's summary also says I have 149 triggers while the triggers tab only displays 148.

So I guess what I need to know is which file I have to edit to remove any instance of that trigger (which might be hard to find since it has no name), considering there must still be remnants of it to be rewritten each time I save. I have actually found a thread (here) that describes exactly the same problem, but as far as I can tell it wasn't resolved.
 
wtg file stores the triggers. Documentation.
Will have hard times to read it without a proper program. Too lazy to write one on my own though, would take me 1 or 2 days. Guess you could use a hex editor to find it, the order in which it appears in your .j file may be a hint where to search for it. Else you might want to inject a program removing nameless triggers (worldedit.exe+0x1b31a1 is were i do it, war3map.j allready exists at this point and the blizzard syntax checker didnt parse it yet), or if jasshelper supports it (dont know, never used it), maybe try catching it within a /* */ commentary
 
Tried a few different things; actually copying over each trigger was the only thing that worked. I had tried looking in the .wtg file before and even with the link Midna posted I couldn't get it to work.
Thanks for the help.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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 The Helper:
    I would like to see it again like Ghan had it the first time with pagination though - without the pagination that view will not work but with pagination it just might...
  • The Helper The Helper:
    This drink recipe I have had more than a few times back in the day! Mind Eraser https://www.thehelper.net/threads/cocktail-mind-eraser.194720/
  • The Helper The Helper:
    Happy Thursday!
  • Ghan Ghan:
    I'm not so sure, there's still a lot of Thursday left for it to become unhappy.
    +3
  • The Helper The Helper:
    still a few hours
  • The Helper The Helper:
    Its Friday!!!!
    +1
  • Ghan Ghan:
    Thursday 7/10 would Thursday again
    +3

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top