UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

bad syntax HELP!!!!

broken avatar :(
Created 10 years ago
by brumaghin
0 Members and 1 Guest are viewing this topic.
4,651 views
broken avatar :(
×
broken avatar :(
Location: usNY
Date Registered: 13 January 2014
Last active: 6 years ago
Posts
21
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
brumaghin's Groups
brumaghin's Contact & Social Links
   when i run my map it says
bad syntax
maps/_zombiemode_weapons.gsc line 915
if( isDefined( endon_notify ) )

Any HELP would be appreciated!!!!!
broken avatar :(
×
broken avatar :(
Location: usYork, SC
Date Registered: 30 March 2013
Last active: 10 years ago
Posts
24
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Coder
Signature
PROxFTW
×
blackbird431's Groups
blackbird431's Contact & Social Linksiso4lif3PROxFTWPROxFTWJTAGxHACKER
Well, from what I see, it is the endon_notify. If it is a function you are using put endon_notify(), if it isn't make sure it is equal to a value above the if statement. Like this.
Function - if(isDefined(endon_notify()))
Value - endon_notify = Value;
if(isDefined(endon_notify))
Otherwise if it isn't one of those reasons, then maybe because it isn't a function or already made statement in waw.
If you need help with doing what you want let me know and I can try to help.
broken avatar :(
×
broken avatar :(
Location: usNY
Date Registered: 13 January 2014
Last active: 6 years ago
Posts
21
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
brumaghin's Groups
brumaghin's Contact & Social Links
http://imgur.com/UavOIfn

Here is  a picture of the problem
BTW whenever there is a problem it is always on line 915 idk why?
broken avatar :(
×
broken avatar :(
Location: usYork, SC
Date Registered: 30 March 2013
Last active: 10 years ago
Posts
24
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Coder
×
blackbird431's Groups
blackbird431's Contact & Social Linksiso4lif3PROxFTWPROxFTWJTAGxHACKER
If you have tried deleting the line if you could throw the code in pastebin, and I can check it over, and if I don't see an error from there, then maybe, you may wanna try a new _zombiemode_weapons.gsc, or hopefully see if someone else can help if you dont want a new _zombiemode_weapons.gsc, but try to put the code in a pastebin and let me see if I can see anything wrong first.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 12 March 2013
Last active: 6 years ago
Posts
36
Respect
Forum Rank
Legless Crawler
Primary Group
Community Mapper Elite
My Groups
More
My Contact & Social Links
More
Signature
×
ZCTxCHAOSx's Groups
Community Mapper Elite Has shown excellence and experience in the area of custom mapping in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
ZCTxCHAOSx's Contact & Social LinksZCTxCHAOSxthexchaos420x
According to what I see you have an extra open bracket "{" in your script.  However to be sure the exact error, before launching your map type:

developer 1
developer_script 1
devmap yourmapname

Unless you have already done so, this will more accurately pinipoint your problem.  Most times its not even in the script it shows at first, but a typo or extra bracket elsewhere.
broken avatar :(
×
broken avatar :(
Location: usNY
Date Registered: 13 January 2014
Last active: 6 years ago
Posts
21
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
brumaghin's Groups
brumaghin's Contact & Social Links
http://pastebin.com/HgbSMmYN
_zombiemode_weapons.gsc
broken avatar :(
×
broken avatar :(
Location: usYork, SC
Date Registered: 30 March 2013
Last active: 10 years ago
Posts
24
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Coder
×
blackbird431's Groups
blackbird431's Contact & Social Linksiso4lif3PROxFTWPROxFTWJTAGxHACKER
Okay, I see what you did wrong.
Edit: Sorry I keep making a mistake, got it this time hopefully
Change line 912 to 938 with this piece of code
912 being a { hopefully and line 938 being a } hopefully
Code Snippet
Plaintext
decide_hide_show_chest_hint( endon_notify )
{
if( isDefined( endon_notify ) )
{
self endon( endon_notify );
}

while( true )
{
players = get_players();
for( i = 0; i < players.size; i++ )
{
// chest_user defined if someone bought a weapon spin, false when chest closed
if ( (IsDefined(self.chest_user) && players[i] != self.chest_user ) ||
!players[i] can_buy_weapon() )
{
self SetInvisibleToPlayer( players[i], true );
}
else
{
self SetInvisibleToPlayer( players[i], false );
}
}
wait( 0.1 );
}
}
Last Edit: January 21, 2014, 11:46:05 pm by blackbird431
broken avatar :(
×
broken avatar :(
Location: usNY
Date Registered: 13 January 2014
Last active: 6 years ago
Posts
21
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
brumaghin's Groups
brumaghin's Contact & Social Links
it show the same error i originally had.
and its on line 915 still any reason for that line always messing up?
broken avatar :(
×
broken avatar :(
Location: usYork, SC
Date Registered: 30 March 2013
Last active: 10 years ago
Posts
24
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Coder
×
blackbird431's Groups
blackbird431's Contact & Social Linksiso4lif3PROxFTWPROxFTWJTAGxHACKER
Try what ZCTxChaosx said, and if you have tried then I don't know, there shouldn't be an error on that line if you did as I said correctly. But like ZCT said it could be elsewhere, but causing it on that line.
broken avatar :(
×
broken avatar :(
Location: usNY
Date Registered: 13 January 2014
Last active: 6 years ago
Posts
21
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
brumaghin's Groups
brumaghin's Contact & Social Links
well the mod tools has a backup _zombiemode_weapons.gsc should i delete the other one and try it

and before i even did this i deleted a line in _zombiemode_utility.gsc but i put it back would that affect anything
broken avatar :(
×
broken avatar :(
Location: usYork, SC
Date Registered: 30 March 2013
Last active: 10 years ago
Posts
24
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Coder
×
blackbird431's Groups
blackbird431's Contact & Social Linksiso4lif3PROxFTWPROxFTWJTAGxHACKER
Yah, try the back up, but no to deleting a line from _zombiemode_utility, based on what I can think of would not cause an error like that, but testing a new _zombiemode_weapons and that not working would be the _zombiemode_utility, but try the back up before you do anything else.
broken avatar :(
×
broken avatar :(
Location: usNY
Date Registered: 13 January 2014
Last active: 6 years ago
Posts
21
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
brumaghin's Groups
brumaghin's Contact & Social Links
http://imgur.com/QT1q4L3
i think that error fixed itself but this one popped up now

 
Loading ...