Skip to content

Instantly share code, notes, and snippets.

@LuxXx
Created December 28, 2016 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LuxXx/7ce3da40f37729daf9af5fcd716ce413 to your computer and use it in GitHub Desktop.
Save LuxXx/7ce3da40f37729daf9af5fcd716ce413 to your computer and use it in GitHub Desktop.
Urban Terror 4.1 Scope Removal - Add r_ScopeRemoval to cvars - RE_RegisterShader in tr_shader.c - Written in 2012 Urban Terror 4.1 GUID Spoofer - Add DontUpdateGUID as qboolean return if DontUpdateGUID is true in CL_UpdateGUID, use AddCommand - written in 2012
/*
==================
CL_SetGUID_f
==================
*/
void CL_SetGUID_f( void ) {
if (cls.state != CA_ACTIVE) {
if ( Cmd_Argc() != 2 ) {
Com_Printf( "usage: setguid <guid> - Greets LuxXx\n");
return;
}
char *guid;
guid = Cmd_Argv(1);
if (!SV_ApproveGuid(guid)) {
Com_Printf( "No valid GUID - Greets LuxXx\n");
return;
}
Cvar_Set( "cl_guid", guid );
DontUpdateGUID = qtrue;
Com_Printf( "Injected new GUID sucessfully, GUID won't update during this session\n");
Com_Printf( "Greets LuxXx\n");
}
else {
Com_Printf ("Connected to a server. Try again in main menu\n");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment