Skip to content

Instantly share code, notes, and snippets.

Avatar

David LuxXx

View GitHub Profile
@LuxXx
LuxXx / ts_mesh.c
Last active Dec 28, 2016
Urban Terror 4.1 Wallhack - Add r_wallhack and r_md3wh to cvars - R_AddMD3Surfaces in tr_mesh.c - Written in 2012
View ts_mesh.c
/*
=================
R_AddMD3Surfaces
=================
*/
void R_AddMD3Surfaces( trRefEntity_t *ent ) {
int i;
md3Header_t *header = NULL;
@LuxXx
LuxXx / tr_shader.c
Created Dec 28, 2016
Urban Terror 4.1 Scope Removal - Add r_ScopeRemoval to cvars - RE_RegisterShader in tr_shader.c - Written in 2012
View tr_shader.c
/*
====================
RE_RegisterShader
This is the exported shader entry point for the rest of the system
It will always return an index that will be valid.
This should really only be used for explicit shaders, because there is no
way to ask for different implicit lighting modes (vertex, lightmap, etc)
====================
@LuxXx
LuxXx / cl_main.c
Created Dec 28, 2016
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
View cl_main.c
/*
==================
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;
@LuxXx
LuxXx / ninja.js
Created Jan 8, 2017
ninjaize your name
View ninja.js
const chars = {
a: 'ka',
b: 'zu',
c: 'mi',
d: 'te',
e: 'ku',
f: 'lu',
g: 'ji',
h: 'ri',
i: 'ki',
@LuxXx
LuxXx / dropbox_leak_search.js
Created Jan 20, 2017
Crawls through the dropbox leak files and searches your query
View dropbox_leak_search.js
// Install line-by-line via npm i line-by-line
// I wanted to crawl through the dropbox leak on my own
// Therefore I wrote these lines to check it
// Keep in mind that you need the corresponding leaked files in this directory
let LineByLineReader = require('line-by-line');
['sha1', 'sha2', 'bf_1', 'bf_2'].forEach((o) => {
new LineByLineReader(o + '.txt').on('line', searchmail);
});
@LuxXx
LuxXx / nostamina.c
Created Feb 14, 2017
urban terror no stamina hack 4.1 version, late 2011
View nostamina.c
//////////////////////////////////////////////////
// IN "VM_LoadQVM" OBEN
//////////////////////////////////////////////////
cvar_t *sv_keineStamina;
//////////////////////////////////////////////////
// ÜBER "VM_LoadQVM"
//////////////////////////////////////////////////
/*================= VMhook_KeineStamina ================= */
#define SPRINTOFFSET 0x103C8
@LuxXx
LuxXx / injector.ahk
Created Feb 14, 2017
An x86 ASM Injector for SA:MP in AutoHotKey
View injector.ahk
Gui, Show, x50 y50 h250 w500, SA:MP ASM Injector by David_Luchs
Gui, Add, Text,, Press F11 ingame to inject or restore a ASMCodeObject
#include SAMP.ahk
#SingleInstance, Force
global windowNameOfSAMP := "GTA:SA:MP"
global nameOfSAMPDLL := "samp.dll"
global ASMCodeObject := {} ; easily add new cheats here
global sampDLL := GetAdressOfDLLByWindowName(windowNameOfSAMP, nameOfSAMPDLL)
@LuxXx
LuxXx / samp.asm
Created Feb 14, 2017
SAMP ASM DUMP
View samp.asm
[samp.dll+ADDR_SAMP_CHATMSG_PTR] + 11 = chatlog path
samp.dll+212A68 + 125 -> TimeStamp
samp.dll+2120E8 = DebugMode
samp.dll+212A6C + C = timestamp
See names through walls
samp.dll+86903 - 38 4A 2F - cmp [edx+2F],cl
samp.dll+86906 - 74 4B - je samp.dll+86953
samp.dll+86908 - D9 40 14 - fld dword ptr [eax+14] // nop this
@LuxXx
LuxXx / samp_drawnames.asm
Created Feb 14, 2017
SAMP DrawNames ASM DUMP
View samp_drawnames.asm
samp.dll+86770 >/$ 55 PUSH EBP ; drawNames
samp.dll+86771 |. 8BEC MOV EBP,ESP
samp.dll+86773 |. 83E4 F8 AND ESP,FFFFFFF8
samp.dll+86776 |. 83EC 08 SUB ESP,8
samp.dll+86779 |. A1 802A2110 MOV EAX,DWORD PTR DS:[10212A80] ; LOAD SAMP_INFO
samp.dll+8677E |. 85C0 TEST EAX,EAX
samp.dll+86780 |. 53 PUSH EBX
samp.dll+86781 |. 55 PUSH EBP
samp.dll+86782 |. 56 PUSH ESI
samp.dll+86783 |. 57 PUSH EDI
@LuxXx
LuxXx / injector_037.ahk
Created Feb 14, 2017
An x86 ASM Injector for SA:MP in AutoHotKey, 0.3.7 Version
View injector_037.ahk
Gui, Show, x50 y50 h250 w500, SA:MP ASM Injector by David_Luchs
Gui, Add, Text,, Press F11 ingame to inject or restore a ASMCodeObject
#include SAMP.ahk
#SingleInstance, Force
global windowNameOfSAMP := "GTA:SA:MP"
global nameOfSAMPDLL := "samp.dll"
global ASMCodeObject := {} ; easily add new cheats here
global sampDLL := GetAdressOfDLLByWindowName(windowNameOfSAMP, nameOfSAMPDLL)