Post: Game crashes after injecting GSC on PC?!
01-06-2016, 12:00 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I'm trying to code a GSC Menu using the Africanized v1 Menu Base. However, I must've did something, (event though GSC Studio says there are no syntax errors), because when I load a custom gameafter injecting, it says this:
    

**** 1 script error(s):
**** Unresolved external : "€GSC

" with 0 parameters in "maps/mp/_imcsx_gsc_studio.gsc" at lines 1,1 ****



Any help would be appreciated.

You must login or register to view this content.
(adsbygoogle = window.adsbygoogle || []).push({});
01-09-2016, 10:04 PM #2
Okay. Thanks for nothing, I guess :cry:
01-10-2016, 12:46 PM #3
Patrick
League Champion
Originally posted by evilgamer1337 View Post
Okay. Thanks for nothing, I guess :cry:


Does this happen with any gsc menu you inject or just the one you are making?
01-10-2016, 10:09 PM #4
BullyWiiPlaza
Climbing up the ladder
You're supposed to code carefully and inject often. That way, you can easily pin-point script errors. I don't get why people come here to cry about script errors and all they say is something like
    I gud a script error pl0x halp
and expect a helpful answer. Nobody can foretell what you did wrong so you need to at least explain as detailed as possible what you did. Most of the time, the problem then becomes self-explanatory.
01-16-2016, 02:14 PM #5
Originally posted by BullyWiiPlaza View Post
You're supposed to code carefully and inject often. That way, you can easily pin-point script errors. I don't get why people come here to cry about script errors and all they say is something like
    I gud a script error pl0x halp
and expect a helpful answer. Nobody can foretell what you did wrong so you need to at least explain as detailed as possible what you did. Most of the time, the problem then becomes self-explanatory.


Sorry, I didn't know. Plus, I have no clue what that error means. I've tried googling it, but apparently nobody else has had this error before. I think I remember the problem occurring when I put God Mode into line 251. As soon as I figure out this problem I'm having with GeForce Experience, I'll go on BO2 and see if that's the case
01-16-2016, 02:38 PM #6
BullyWiiPlaza
Climbing up the ladder
Originally posted by evilgamer1337 View Post
Sorry, I didn't know. Plus, I have no clue what that error means. I've tried googling it, but apparently nobody else has had this error before. I think I remember the problem occurring when I put God Mode into line 251. As soon as I figure out this problem I'm having with GeForce Experience, I'll go on BO2 and see if that's the case

The error messages aren't helpful. All it tells you is that you fucked up so be careful.
01-16-2016, 04:38 PM #7
Originally posted by BullyWiiPlaza View Post
The error messages aren't helpful. All it tells you is that you fucked up so be careful.


Alright. i found the problem, but I don't know what's triggering the message. I also remembered I had to put a pastebin link in because I forgot XD

You must login or register to view this content.
It's because of the noclip in lines 253 & 975. I don't know what I did wrong, but I do know that there aren't any syntax errors. Got any clue as to what is causing the error?
01-16-2016, 04:45 PM #8
BullyWiiPlaza
Climbing up the ladder
This is wrong:
    self add_option("Usual Mods", "Unlimited Ammo", ::self thread unlimited_ammo());
self add_option("Usual Mods", "Noclip", ::self thread Noclip());

It should be something like:
    self add_option("Usual Mods", "Unlimited Ammo", ::unlimited_ammo);
self add_option("Usual Mods", "Noclip", ::noclip);
01-18-2016, 06:08 PM #9
Originally posted by BullyWiiPlaza View Post
This is wrong:
    self add_option("Usual Mods", "Unlimited Ammo", ::self thread unlimited_ammo());
self add_option("Usual Mods", "Noclip", ::self thread Noclip());

It should be something like:
    self add_option("Usual Mods", "Unlimited Ammo", ::unlimited_ammo);
self add_option("Usual Mods", "Noclip", ::noclip);


I have just finished trying your suggestion. I was able to load into the game, but the toggle for noclip was not working. I was unable to shut it off, unless I died. I was able to fix it by changing this:
Originally posted by another user
Noclip()
{
self endon("stop_noclip");
self.originObj = spawn( "script_origin", self.origin, 1 );
self.originObj.angles = self.angles;
self playerlinkto( self.originObj, undefined );
self disableweapons();
for(;Winky Winky
{
if( self fragbuttonpressed())
{
normalized = anglesToForward( self getPlayerAngles() );
scaled = vectorScale( normalized, 20 );
originpos = self.origin + scaled;
self.originObj.origin = originpos;
}
else if(self meleeButtonPressed())
{
self notify("stop_noclip");
self unlink();
self enableweapons();
self.originObj delete();
}

wait .05;
}
}


to this:
Originally posted by another user
Noclip()
{
self endon(self meleeButtonPressed());
self.originObj = spawn( "script_origin", self.origin, 1 );
self.originObj.angles = self.angles;
self playerlinkto( self.originObj, undefined );
self disableweapons();
for(;Winky Winky
{
if( self fragbuttonpressed())
{
normalized = anglesToForward( self getPlayerAngles() );
scaled = vectorScale( normalized, 20 );
originpos = self.origin + scaled;
self.originObj.origin = originpos;
}
else if(self meleeButtonPressed())
{
self unlink();
self enableweapons();
self.originObj delete();
}

wait .05;
}
}


I don't know why the 'self notify("stop_noclip")' wasn't working.
01-18-2016, 06:23 PM #10
BullyWiiPlaza
Climbing up the ladder
You're straight clueless on how to code in GSC, better read some beginners guides first:
You must login or register to view this content.
You must login or register to view this content.

The 2nd link is especially useful to see how to write toggles for example.

Either way, your first code was almost right. You just have to run the notify() as the very last statement in the disabling part of it:
    else if(self meleeButtonPressed())
{
self unlink();
self enableweapons();
self.originObj delete();
self notify("stop_noclip");
}

Why? When it notifies, it will exit the function so the lines of code below are not executed at all.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo