SA:MP Addresses and such.

Just a lil dump for me and other people ;)

Anti Carjack (0x688):
Code:
samp.dll + 0x12AE0 set first 3 bytes to 0xC2 0x08 0x08 or
NOP 5 bytes from samp.dll + 0x12B77.



Disable Chat Rendering (0x688):
Code:
samp.dll + 0x64230 set first byte to 0xC3


Chat Stuff (0x688):
Code:
samp.dll + 0x21A0E4 = chatclass ptr 
chatclass + 0x132 = array of chat "messages" (a struct containing various informations)
thoughts:
the array has a total size of 25286 bytes if we take now an internal limit from the rendering loop (100) and divide it the sum is 252 bytes = one entry has 252 bytes (0xFC)

Code:
Not finished struct:
struct chatmsg
{
	int unk; //0x0
	char unk1[28]; //0x4 
	char msg[144]; //0x20 
	char unk3[64]; //0xB0 
	int sometype; //0xF0 
	DWORD color; //0xF4 
	DWORD unkColor; //0xF8 

};//Size=0xFC
 

0x_

Wtf I'm not new....
Administrator
Joined
Feb 18, 2013
Messages
1,116
Reaction score
167
Disable Chat Rendering (0x688):
Code:
samp.dll + 0x64230 set first byte to 0xC3


Chat Stuff (0x688):
Code:
samp.dll + 0x21A0E4 = chatclass ptr 
chatclass + 0x132 = array of chat "messages" (a struct containing various informations)
thoughts:
the array has a total size of 25286 bytes if we take now an internal limit from the rendering loop (100) and divide it the sum is 252 bytes = one entry has 252 bytes (0xFC)

Code:
Not finished struct:
struct chatmsg
{
	int unk; //0x0
	char unk1[28]; //0x4 
	char msg[144]; //0x20 
	char unk3[64]; //0xB0 
	int sometype; //0xF0 
	DWORD color; //0xF4 
	DWORD unkColor; //0xF8 

};//Size=0xFC

Why I am doing this?
 
Top