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

You Wouldn't Believe that I Have an Error

HOT
broken avatar :(
Created 10 years ago
by Croomer555
0 Members and 1 Guest are viewing this topic.
6,829 views
broken avatar :(
×
broken avatar :(
Location: usSouth Carolina
Date Registered: 8 June 2014
Last active: 8 years ago
Posts
72
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
I am not a Krusty Krab
Signature
When in doubt while mapping, listen to an album of Pink Floyd and watch your ideas flow.
×
Croomer555's Groups
Croomer555's Contact & Social LinksCroomer555
Ok so its been this same error every time. A compiling error, curses to line 3322. Now if you check the forums frequently than you'll know that this is around my 5th post in a in a span of a few days. By saying this that doesn't mean put in a position of spam accusation. I thought, despite all of my previous posts, and giving the forum a break, after around 8 hours trying to solve one error leading to another, I'd just go ahead and post this. Now without further delay, I present the star of this episode, COMPILING ERROR LINE 3322!

http://imgur.com/lisoVx5

http://imgur.com/Vj9vhfK
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
Location: usSouth Carolina
Date Registered: 8 June 2014
Last active: 8 years ago
Posts
72
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
I am not a Krusty Krab
×
Croomer555's Groups
Croomer555's Contact & Social LinksCroomer555
Where did you get that zombie_spawner.gsc from? It is not stock. Did you edit it yourself?

Its Harrys scripts that came with his perks
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 3 years ago
Posts
5,544
Respect
6,646Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
Signature
If Java had true garbage collection, most programs would delete themselves upon execution.
×
treminaor's Groups
UGX Administrator
UGX Team Member
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
There's an extra ')' on line 3220 which is causing the error


Code Snippet
Plaintext
level.DLC3.riserZombiesInActiveZonesOnly) <- remove that )
broken avatar :(
×
broken avatar :(
Location: usSouth Carolina
Date Registered: 8 June 2014
Last active: 8 years ago
Posts
72
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
I am not a Krusty Krab
×
Croomer555's Groups
Croomer555's Contact & Social LinksCroomer555
There's an extra ')' on line 3220 which is causing the error
(Image removed from quote.)

Code Snippet
Plaintext
level.DLC3.riserZombiesInActiveZonesOnly) <- remove that )

I'll try to make myself sound like I'm not completely ignorant of scripting (which I am,) on line 3320 there are two parts of that line that say the same thing, (isDefined(level.DLC3.riserZombiesInActiveZonesOnly) (first one,) and level.DLC3.riserZombiesInActiveZonesOnly) (second one.) I'm sure you can tell I don't for a living. I'm guessing its the first one but i want to be sure because I have a personal rep to screw stuff up.
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 3 years ago
Posts
5,544
Respect
6,646Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
×
treminaor's Groups
UGX Administrator
UGX Team Member
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
I'll try to make myself sound like I'm not completely ignorant of scripting (which I am,) on line 3320 there are two parts of that line that say the same thing, (isDefined(level.DLC3.riserZombiesInActiveZonesOnly) (first one,) and level.DLC3.riserZombiesInActiveZonesOnly) (second one.) I'm sure you can tell I don't for a living. I'm guessing its the first one but i want to be sure because I have a personal rep to screw stuff up.
The second instance of it is what I'm talking about. In the middle of the line.
broken avatar :(
×
broken avatar :(
Location: usSouth Carolina
Date Registered: 8 June 2014
Last active: 8 years ago
Posts
72
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
I am not a Krusty Krab
×
Croomer555's Groups
Croomer555's Contact & Social LinksCroomer555
I'll try to make myself sound like I'm not completely ignorant of scripting (which I am,) on line 3320 there are two parts of that line that say the same thing, (isDefined(level.DLC3.riserZombiesInActiveZonesOnly) (first one,) and level.DLC3.riserZombiesInActiveZonesOnly) (second one.) I'm sure you can tell I don't for a living. I'm guessing its the first one but i want to be sure because I have a personal rep to screw stuff up.

I'm sure you can tell I don't script for a living. Thats what I meant to say.

Double Post Merge: January 31, 2016, 02:21:22 am
The second instance of it is what I'm talking about. In the middle of the line.

OK thank you very much that worked. But a new error has been born.

http://imgur.com/Cu0q051
Last Edit: January 31, 2016, 02:21:22 am by Croomer555
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 10 years ago
Posts
2,789
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
Signature
Let's keep this thread on topic from here on in. -DBZ

+1 to off-topic reply -DBZ

lmao. Too funny.

Goliath Script Placer: http://ugx-mods.com/forum/index.php/topic,11234.msg125257/topicseen.html#new

"...Christ, people. Learn C, instead of just stringing random characters
together until it compiles (with warnings)..."

-Linus Torvalds
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
OK thank you very much that worked. But a new error has been born.

http://imgur.com/Cu0q051

Enable developer and post a new screenshot of the error in console.
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 6 years ago
Posts
6,875
Respect
Forum Rank
Immortal
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
I'll try to make myself sound like I'm not completely ignorant of scripting (which I am,) on line 3320 there are two parts of that line that say the same thing, (isDefined(level.DLC3.riserZombiesInActiveZonesOnly) (first one,) and level.DLC3.riserZombiesInActiveZonesOnly) (second one.) I'm sure you can tell I don't for a living. I'm guessing its the first one but i want to be sure because I have a personal rep to screw stuff up.
if you were curious as to why there are two, one is checking that variable exists at all, the other checks for if its true or false

its best to check its defined first, otherwise you can get the wrong result ;)
broken avatar :(
×
broken avatar :(
Location: usSouth Carolina
Date Registered: 8 June 2014
Last active: 8 years ago
Posts
72
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
I am not a Krusty Krab
×
Croomer555's Groups
Croomer555's Contact & Social LinksCroomer555
Enable developer and post a new screenshot of the error in console.

OK never mind that error randomly disappeared. But the old one showed up on the console again.
http://imgur.com/YqdGcQ7

I don't know whats wrong, doesn't a syntax error mean something like a misplaced period, or something like that.
Its still line 3322. I haven't gotten rid of Harry's scripts so I could take the one I have now out and place his in. I really hope I can get this resolved today.

This is a link to the download of my console: https://www.sendspace.com/file/bnhmzs

Another picture of line 3322: http://imgur.com/ILTD60i

Is this correct: http://imgur.com/aPZkFl7
broken avatar :(
×
broken avatar :(
Location: esMadrid
Date Registered: 27 March 2015
Last active: 5 years ago
Posts
371
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
JIGGLYPUFF used SING! YOU fell asleep!
Signature
×
Soy-Yo's Groups
Soy-Yo's Contact & Social LinksSoy-yoElCerdoRey
OK never mind that error randomly disappeared. But the old one showed up on the console again.
http://imgur.com/YqdGcQ7

I don't know whats wrong, doesn't a syntax error mean something like a misplaced period, or something like that.
Its still line 3322. I haven't gotten rid of Harry's scripts so I could take the one I have now out and place his in. I really hope I can get this resolved today.
Code Snippet
Plaintext
if((isDefined(level.DLC3
You have another extra "(". Remove the first one, just after "if".
broken avatar :(
×
broken avatar :(
Location: usSouth Carolina
Date Registered: 8 June 2014
Last active: 8 years ago
Posts
72
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
I am not a Krusty Krab
×
Croomer555's Groups
Croomer555's Contact & Social LinksCroomer555
Code Snippet
Plaintext
if((isDefined(level.DLC3
You have another extra "(". Remove the first one, just after "if".

OK so I did that and I still get the same error. I have no idea whats wrong.
I'll post the link to my script again: http://imgur.com/oTrG2HK
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 10 years ago
Posts
2,789
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
OK so I did that and I still get the same error. I have no idea whats wrong.
I'll post the link to my script again: http://imgur.com/oTrG2HK

Did you compile the map/mod again? That looks right...
broken avatar :(
×
broken avatar :(
Location: usSouth Carolina
Date Registered: 8 June 2014
Last active: 8 years ago
Posts
72
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
I am not a Krusty Krab
×
Croomer555's Groups
Croomer555's Contact & Social LinksCroomer555
Did you compile the map/mod again? That looks right...

I have been compiling and building the mod. Even after you said that I compiled and built the mod and got the same error when I ran it. Does anybody use Harry's perks and have working risers. This all started cause my risers never worked. Maybe I could use somebody's _zombiemode_spawner.gsc, I know its wrong to ask but I'm super desperate.
broken avatar :(
×
broken avatar :(
Location: esMadrid
Date Registered: 27 March 2015
Last active: 5 years ago
Posts
371
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
JIGGLYPUFF used SING! YOU fell asleep!
×
Soy-Yo's Groups
Soy-Yo's Contact & Social LinksSoy-yoElCerdoRey
I have been compiling and building the mod. Even after you said that I compiled and built the mod and got the same error when I ran it. Does anybody use Harry's perks and have working risers. This all started cause my risers never worked. Maybe I could use somebody's _zombiemode_spawner.gsc, I know its wrong to ask but I'm super desperate.
Actually I use Harry's perks and that line doesn't look like that. But it can be another version, don't know.
It looks like this in mine and works perfectly:
Code Snippet
Plaintext
// JMA - this is used in swamp to only spawn risers in active player zones
if( IsDefined( level.zombie_rise_spawners ) )
But, as daedra says, the code looks right. You can even see the red mark on the parenthesis, which tells you where they start and where they finish.
Marked as best answer by Croomer555 10 years ago
broken avatar :(
×
broken avatar :(
Location: usSouth Carolina
Date Registered: 8 June 2014
Last active: 8 years ago
Posts
72
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
I am not a Krusty Krab
×
Croomer555's Groups
Croomer555's Contact & Social LinksCroomer555
Actually I use Harry's perks and that line doesn't look like that. But it can be another version, don't know.
It looks like this in mine and works perfectly:
Code Snippet
Plaintext
// JMA - this is used in swamp to only spawn risers in active player zones
if( IsDefined( level.zombie_rise_spawners ) )
But, as daedra says, the code looks right. You can even see the red mark on the parenthesis, which tells you where they start and where they finish.

OK so do you use risers in your map. I had no trouble with scripts when I didn't have risers.

 
Loading ...