Skip to content

Instantly share code, notes, and snippets.

View LuxXx's full-sized avatar

David LuxXx

View GitHub Profile
@LuxXx
LuxXx / ts_mesh.c
Last active December 28, 2016 17:02
Urban Terror 4.1 Wallhack - Add r_wallhack and r_md3wh to cvars - R_AddMD3Surfaces in tr_mesh.c - Written in 2012
/*
=================
R_AddMD3Surfaces
=================
*/
void R_AddMD3Surfaces( trRefEntity_t *ent ) {
int i;
md3Header_t *header = NULL;
@LuxXx
LuxXx / tr_shader.c
Created December 28, 2016 17:05
Urban Terror 4.1 Scope Removal - Add r_ScopeRemoval to cvars - RE_RegisterShader in tr_shader.c - Written in 2012
/*
====================
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 December 28, 2016 17:13
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;
@LuxXx
LuxXx / dropbox_leak_search.js
Created January 20, 2017 20:23
Crawls through the dropbox leak files and searches your query
// 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 / ninja.js
Created January 8, 2017 13:48
ninjaize your name
const chars = {
a: 'ka',
b: 'zu',
c: 'mi',
d: 'te',
e: 'ku',
f: 'lu',
g: 'ji',
h: 'ri',
i: 'ki',
@LuxXx
LuxXx / nostamina.c
Created February 14, 2017 13:20
urban terror no stamina hack 4.1 version, late 2011
//////////////////////////////////////////////////
// IN "VM_LoadQVM" OBEN
//////////////////////////////////////////////////
cvar_t *sv_keineStamina;
//////////////////////////////////////////////////
// ÜBER "VM_LoadQVM"
//////////////////////////////////////////////////
/*================= VMhook_KeineStamina ================= */
#define SPRINTOFFSET 0x103C8
@LuxXx
LuxXx / injector.ahk
Created February 14, 2017 13:38
An x86 ASM Injector for SA:MP in AutoHotKey
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 February 14, 2017 15:27
SAMP ASM DUMP
[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 February 14, 2017 15:27
SAMP DrawNames ASM DUMP
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 February 14, 2017 15:30
An x86 ASM Injector for SA:MP in AutoHotKey, 0.3.7 Version
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)