UGX-Mods

Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: EAT13 on April 30, 2015, 04:30:15 pm

Title: compile error
Post by: EAT13 on April 30, 2015, 04:30:15 pm
when i complied my map i get this

Error:
******* Server script compile error *******
Error: unknown function: (file 'mods/_the_firston.gsc', line 1)
Title: Re: compile error
Post by: BluntStuffy on April 30, 2015, 04:35:37 pm
it's most likely WaW being a douchbag, since it's saying line 1 and there should be include's there.. Occasionally waw just 'make's up' random error's that arent really there.. Did you try loading again?
Otherwise that .gsc might be propperly wrong, maybe you can post it then?
Title: Re: compile error
Post by: EAT13 on April 30, 2015, 04:39:35 pm
i did try loading it again and still the same thing

Double Post Merge: April 30, 2015, 04:42:51 pm
it's most likely WaW being a douchbag, since it's saying line 1 and there should be include's there.. Occasionally waw just 'make's up' random error's that arent really there.. Did you try loading again?
Otherwise that .gsc might be propperly wrong, maybe you can post it then?

this is what it comes up (https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.gyazo.com%2F7a0d441b4ee9baee514f082a1153f5e6.png&hash=175bf7a902e71b18f707292da831a63f7e3aa44d)
Title: Re: compile error
Post by: BluntStuffy on April 30, 2015, 04:50:31 pm
 ??? That's a new one, lol..
Not sure tbh, did you add any custom scripts or have been changing stuff in the scripts recently?
Did the map run before, or is this the first time you're trying to launch it?
Title: Re: compile error
Post by: EAT13 on April 30, 2015, 04:52:10 pm
??? That's a new one, lol..
Not sure tbh, did you add any custom scripts or have been changing stuff in the scripts recently?
Did the map run before, or is this the first time you're trying to launch it?

everything was running fine with everything i had in it
Title: Re: compile error
Post by: BluntStuffy on April 30, 2015, 05:02:31 pm
something must have changed, if it's Always giving the same error maybe post the script causing the error here so someone can check it out.
Title: Re: compile error
Post by: EAT13 on April 30, 2015, 05:05:27 pm
something must have changed, if it's Always giving the same error maybe post the script causing the error here so someone can check it out.

now i cant load any map
Title: Re: compile error
Post by: BluntStuffy on April 30, 2015, 05:14:53 pm
now i cant load any map

Euhm, it's getting a bit weird.. Have no clue tbh..
Does it give the same error for all maps?
Did you accidently place an edited script in raw maybe?
Are you trying to run the maps in developer?
Title: Re: compile error
Post by: EAT13 on April 30, 2015, 05:22:07 pm
Euhm, it's getting a bit weird.. Have no clue tbh..
Does it give the same error for all maps?
Did you accidently place an edited script in raw maybe?
Are you trying to run the maps in developer?

yes it does this for all maps
idk i reinstalled the mod tools
i did with out it once and then i did
Title: Re: compile error
Post by: MakeCents on April 30, 2015, 07:39:32 pm
I got that error with my hudhintstring script when i tried to pass a

Code Snippet
Plaintext
&"ZOMBIE_WEAPON_......"
rather than passing it a string, "weapon something". It seems it didn't like the hud SetText being set that way...? Not really helpful unless you are using my script or recently were doing something with huds or localized strings...
Title: Re: compile error
Post by: EAT13 on April 30, 2015, 08:02:15 pm
I got that error with my hudhintstring script when i tried to pass a

Code Snippet
Plaintext
&"ZOMBIE_WEAPON_......"
rather than passing it a string, "weapon something". It seems it didn't like the hud SetText being set that way...? Not really helpful unless you are using my script or recently were doing something with huds or localized strings...

 what files you think cause this?
Title: Re: compile error
Post by: codmoddd1234 on May 01, 2015, 08:55:31 pm
Error: unknown function: (file 'mods/_the_firston.gsc', line 1)
Is "firston" the name of your map or a script that you have added?
if its the mapname I would just make a new script placer map and paste your current .map into it. Its faster than chasing an error in some cases.
If its a custom script then it should be in your mods/mapname/maps folder not in the base mods folder. Check that you threaded it correctly.
also check your "appdata" downloaded mods folder as it might have been moved during compile and isn't being deleted when u recompile.
If its in the base appdata.folder it gets loaded with every mod you launch.