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

Script Runtime Error! Help!

broken avatar :(
Created 10 years ago
by Qwerty157
0 Members and 1 Guest are viewing this topic.
8,467 views
broken avatar :(
×
broken avatar :(
Location: ca
Date Registered: 26 March 2016
Last active: 8 years ago
Posts
1
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
My Contact & Social Links
More
×
Qwerty157's Groups
Qwerty157's Contact & Social LinksJunkerbot123qwerty157428qwerty15742
I'm currently making my first zombies map, however, I keep getting a "script runtime error" whenever I try to compile and run my level.  :-\ This is what the error says exactly: Error, script runtime error, (see console for details), size cannot be applied to undefined. I checked the console and this was the only notable point that I found: ******* script runtime error******* size cannot be applied to undefined: (file 'maps/_utility.gsc', line 5761) self.spawn_functions[ self.spawn_functions.size ] = func;
This never happened until I added zombies, a volume (zone), and pathnodes. I checked over the keys and values  for the zombies and the volume countless times now, and everything seems to be the way it should. I'm no scripter and I assure you that I haven't messed with the console at all, so the problem must originate from something in the radiant regarding the zombies, the volume, or the pathnodes. Does anyone have some sort of solution to this issue? Because I can't make out any of this script gibberish  :P
broken avatar :(
×
broken avatar :(
Location: au
Date Registered: 27 April 2016
Last active: 10 years ago
Posts
1
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
ElectricK-Chiken's Contact & Social Links
hey i just had the same problem.

i shrunk my zone ( volume )
deleted a zombie spawner
and added some pathnodes that i had forgotten to put in

then my game worked, not sure what did it but hope it helps.
broken avatar :(
×
broken avatar :(
Location: usPennyslvania, United States
Date Registered: 25 October 2015
Last active: 9 years ago
Posts
63
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Just a gamer and modding novice...
Signature
"All life's a Transformers movie; no one knows what's going on. " - Sounder 2015
Have you added in a trigger zone for your map with targetname "playable_area?" Have you activated your zone in your map_name.gsc? Does your volume contain kvps for target and targetname and have kvp script_noteworthy = player_zone? Are your zombie spawners linked to your player zone? Do you have a grid light volume surrounding your map?
broken avatar :(
×
broken avatar :(
Location: gbNewport
Date Registered: 2 November 2014
Last active: 4 years ago
Posts
1,265
Respect
Forum Rank
Zombie Colossus
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Embrace the Darkness
×
Tim Smith's Groups
Tim Smith's Contact & Social LinksTimSmithtimsmith90THEREALBaDBoY17My clan Website
^ most of the thing you said is un-needed. And won't be causing any problems.
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

Not a clue on this one. Can you send me a link to your map via PM or something? It would make finding the issue a lot faster.


and please, ignore everyone who tells you that those errors don't matter, they absolutely do.

^ most of the thing you said is un-needed. And won't be causing any problems.


And you know that how exactly?
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 2 years ago
Posts
3,997
Respect
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Mapper Has released one or more maps to the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Code Snippet
Plaintext
******* script runtime error******* size cannot be applied to undefined: (file 'maps/_utility.gsc', line 5761) self.spawn_functions[ self.spawn_functions.size ] = func; 

Did you apply some kind of size KVP on a spawner or something?
broken avatar :(
×
broken avatar :(
Location: gbNewport
Date Registered: 2 November 2014
Last active: 4 years ago
Posts
1,265
Respect
Forum Rank
Zombie Colossus
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Embrace the Darkness
×
Tim Smith's Groups
Tim Smith's Contact & Social LinksTimSmithtimsmith90THEREALBaDBoY17My clan Website
@DD i said un-needed. Playable area is for drops. If i kept it. It won't cause any errors. And if i removed it. Also it won't cause anything. Lets keep this on-topic
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
@DD i said un-needed. Playable area is for drops. If i kept it. It won't cause any errors. And if i removed it. Also it won't cause anything. Lets keep this on-topic

Its been awhile, but I don't remember ever getting a runtime error for not having the playable area. It'll just drop powerups wherever the zombie dies, which is OK.

This looks like missing/bad KVPs to me. Spawn function(s) would be something that would typically be associated with a spawner/AI.
Last Edit: May 02, 2016, 02:06:17 pm by daedra descent

 
Loading ...