"Unexpected: _"

Nudl9

New Member
Reaction score
13
This is an unexpected error...
4jvuo8.jpg

What do i do to fix this?
 
You can't have a '_' at the end of a variable. Make it gg_trg instead of gg_trg_. I think.
 
Well yeah i noticed the error and all, but i cant find where the script is, thats the main problem :S
I think its an initz script for the map itself...
 
You gave a GUI trigger no name (if possible), didn't you? Try giving it a simple name, like 'a'.
 
No, ah shit im not able to do anything about this, not even by using normal World Editor... fuck newgen has fucked up my map! :(
 
You're saying that NewGen has created a trigger page on its own? This is serious business. Perhaps you should reinstall NewGen.
 
I think newgen has created an empty trigger below the main initializations trigger (which is below all the triggers i've made).

edit: Ok i'll try that Exide

edit: Still doesnt work with Newgen, but it removed most errors with normal WE cept for one
 
You could try opening your map with an mpq editor and find your map's script file (a .j file, can't remember the name) and then find and delete it there.
 
Would you mind uploading the map?
 
Would you mind uploading the map?
I'd rather wait with uploading the map here, i'll try fix it with MPQmaster first.
So far i've removed the " _", but im not sure how to import back the .j file into the map with the MPQ or replace it.

edit: Ok how do i save the map with MPQmaster now?
 
I'd rather wait with uploading the map here, i'll try fix it with MPQmaster first.
So far i've removed the " _", but im not sure how to import back the .j file into the map with the MPQ or replace it.

edit: Ok how do i save the map with MPQmaster now?

File > Save?
 
Maybe it saves when you move things around automatically.
So all you need to do is add the file, then close?
 
I did change the script now, closed the file and opened the map.
When saving the map the error is still there...
 
so that mean w/e setting you attempted to use is no adding a line of script to the map
well i suggest trying to make a new map and save it

so if A it saves fine its your indiviual map then i suggest ether Aa Uploading the map so we can se if we can help you or Ab transfering the stuff from that map to a new map and see if the error persists


or B it errors in wich something is messed up with the editor and then i suggest the easiest would be to unistall JNGP and reinstall
 
Got this error when i have too many lines of code or too many function calls such as "GetRandomInt" .. Don't know what to do.
Help us out!
 
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

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top