Created
December 28, 2016 17:13
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
================== | |
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