[ COLLECTION OF 0.3.7 - 0.*.* OFFSETS ]

Like before on the 0.3z version, here you can share updated offset's / structures / infos about samp 0.3.7 RC's.

SAMP_INFO_OFFSET - Tested (0.3.7-RC1) (0x688)
Code:
"samp.dll"+0x215B40
Code:
SAMP_INFO_OFFSET + 0x3C8 = RakClientInterface PTR

SAMP_CHAT_INFO_OFFSET - Tested (0.3.7-RC1) (0x688)
Code:
"samp.dll"+0x215B2C
Code:
"samp.dll"+0x62C10 = FUNC_ADDTOCHATWND

cmon kye i'm tired :(

Packet ID's (by 0x688):
Code:
ID_AUTH_KEY = 12
ID_PLAYER_SYNC = 207
ID_AIM_SYNC = 203
ID_VEHICLE_SYNC = 200
ID_STATS_UPDATE = 205
ID_BULLET_SYNC = 206

Structures / Structs
SAMP_INFO - Tested (0.3.7-RC1) (povargek)
Code:
struct stSAMP
{
#pragma pack( 1 )
   uint8_t               byteUnk[0x20];
   char               szIP[257];
   char               szHostname[255];
   void               *unk1;
   uint32_t            ulPort;
   uint32_t            ulMapIcons[99];
   uint32_t            ulConnectTick; // not tested
   int                  iLanMode; // not tested
   int                  iGameState;
   void               *unk3;
   struct stSampSettings   *pSettings;
   void               *pRakClientInterface;
   struct stSAMPPools      *pPools;
};


INFO: You can use them to reverse structs, as there was never a real change in structs after rc's.
 

povargek

Member
Joined
Feb 9, 2014
Messages
9
Reaction score
0
RC1
struct stSAMP
{
#pragma pack( 1 )
uint8_t byteUnk[0x20];
char szIP[257];
char szHostname[255];
void *unk1;
uint32_t ulPort;
uint32_t ulMapIcons[99];
uint32_t ulConnectTick; // not tested
int iLanMode; // not tested
int iGameState;
void *unk3;
struct stSampSettings *pSettings;
void *pRakClientInterface;
struct stSAMPPools *pPools;
};

на, бери
 

0x_

Wtf I'm not new....
Staff member
Administrator
Joined
Feb 18, 2013
Messages
1,123
Reaction score
174
povargek link said:
RC1
struct stSAMP
{
#pragma pack( 1 )
uint8_t byteUnk[0x20];
char szIP[257];
char szHostname[255];
void *unk1;
uint32_t ulPort;
uint32_t ulMapIcons[99];
uint32_t ulConnectTick; // not tested
int iLanMode; // not tested
int iGameState;
void *unk3;
struct stSampSettings *pSettings;
void *pRakClientInterface;
struct stSAMPPools *pPools;
};

на, бери
Thanks for contribution.
 

P3ti

Active member
Joined
Feb 15, 2014
Messages
66
Reaction score
3
[0.3.7 RC1]
SAMP_CHAT_INPUT_INFO_OFFSET = samp.dll + 0x215B30;
SAMP_KILL_INFO_OFFSET = samp.dll + 0x215B34
SAMP_MISC_INFO = samp.dll + 0x215B54

FUNC_ADDCLIENTCMD = samp.dll + 0x646A0
FUNC_RESTARTGAME = samp.dll + 0x9620
FUNC_SAY = samp.dll + 0x5020
FUNC_SENDCMD = samp.dll + 0x64830
FUNC_GAMETEXT = samp.dll + 0x99FA0
FUNC_SPAWN = samp.dll + 0x36A0
FUNC_REQUEST_SPAWN = samp.dll + 0x35F0
FUNC_SENDINTERIOR = samp.dll + 0x4F70
FUNC_SETSPECIALACTION = samp.dll + 0x2C90
FUNC_TOGGLECURSOR = samp.dll + 0x99A10
FUNC_CURSORUNLOCKACTORCAM = samp.dll + 0x998F0
FUNC_CNETGAMEDESTRUCTOR = samp.dll + 0x8980

SAMP_ONFOOTSENDRATE = samp.dll + 0xE9098
SAMP_INCARSENDRATE = samp.dll + 0xE909C
SAMP_AIMSENDRATE = samp.dll + 0xE90A0

SAMP_DISABLE_NAMETAGS = samp.dll + 0x6F070
SAMP_DISABLE_NAMETAGS_HP = samp.dll + 0x6DF60

FUNC_DEATH = samp.dll + 0x4E10
FUNC_ENCRYPT_PORT = samp.dll + 0x1A970
 

0x815

Member
Joined
May 18, 2014
Messages
6
Reaction score
0
Adresses of 0.3.7 RC 2  :trollface:
Code:
Address of FUNC_SAMP_SHOWDIALOG: samp.dll+6a5e0
Address of FUNC_SAMP_ADDTOCHATWND: samp.dll+63720
Address of FUNC_PRINTCHAT: samp.dll+63210
Address of FUNC_SAMP_PLAYAUDIOSTR: samp.dll+61f90
Address of FUNC_SAMP_STOPAUDIOSTR: samp.dll+61b90
Address of FUNC_SAMP_SENDCMD: samp.dll+64e50
Address of FUNC_SAMP_SENDSAY: samp.dll+5260
Address of FUNC_SAMP_SHOWGAMETEXT: samp.dll+9a660
Address of FUNC_UPDATESCOREBOARD: samp.dll+fc4b0000
Address of ADDR_SAMP_CHATMSG_PTR: samp.dll+217bbc
Address of SAMP_INFO_OFFSET: samp.dll+217bd0
Address of ADDR_SAMP_INCHAT_PTR: samp.dll+217be4
Address of ADDR_SAMP_SHOWDLG_PTR: samp.dll+217b90
 

0x_

Wtf I'm not new....
Staff member
Administrator
Joined
Feb 18, 2013
Messages
1,123
Reaction score
174
RakClientInterface just changed to SAMP_INFO_OFFSET + 0x3C9 required it real quick so yes.
 

0x815

Member
Joined
May 18, 2014
Messages
6
Reaction score
0
And here the Adresses of 0.3.7 RC 3 ^^
Code:
Address of FUNC_SAMP_SHOWDIALOG: samp.dll+fc5e0000
Address of FUNC_SAMP_ADDTOCHATWND: samp.dll+63710
Address of FUNC_PRINTCHAT: samp.dll+63200
Address of FUNC_SAMP_PLAYAUDIOSTR: samp.dll+61f80
Address of FUNC_SAMP_STOPAUDIOSTR: samp.dll+61b80
Address of FUNC_SAMP_SENDCMD: samp.dll+64e50
Address of FUNC_SAMP_SENDSAY: samp.dll+5250
Address of FUNC_SAMP_SHOWGAMETEXT: samp.dll+9af40
Address of FUNC_UPDATESCOREBOARD: samp.dll+fc5e0000
Address of ADDR_SAMP_CHATMSG_PTR: samp.dll+2180cc
Address of SAMP_INFO_OFFSET: samp.dll+2180e0
Address of ADDR_SAMP_INCHAT_PTR: samp.dll+2180f4
Address of ADDR_SAMP_SHOWDLG_PTR: samp.dll+2180a0
 

0x17BD

Member
Joined
Apr 29, 2014
Messages
6
Reaction score
0
Code:
#define SAMP_CHAT_INFO_OFFSET						0x21A0E4
#define SAMP_CHAT_INPUT_INFO_OFFSET					0x21A0E8
#define SAMP_KILL_INFO_OFFSET						0x21A0EC
#define SAMP_INFO_OFFSET							0x21A0F8
#define SAMP_MISC_INFO								0x21A10C
#define SAMP_SCOREBOARD_INFO						0x21A0B4
#define SAMP_COLOR_OFFSET							0x216378
#define SAMP_DRAWING_DISTANCE						0xD3DCC

#define SAMP_DRAWTEXTLABELS							0x71471
#define SAMP_ONFOOTSENDRATE							0xEC0A8
#define SAMP_INCARSENDRATE							0xEC0AC
#define SAMP_AIMSENDRATE							0xEC0B0

#define SAMP_FUNC_ADDTOCHATWND						0x64010
#define SAMP_FUNC_SPAWN								0x3AD0
#define SAMP_FUNC_REQUEST_SPAWN						0x3A20
#define SAMP_FUNC_REQUEST_CLASS						0x56A0
#define SAMP_FUNC_DEATH								0x55E0
#define SAMP_FUNC_SETSPECIALACTION					0x30C0
#define SAMP_FUNC_SAY								0x57F0
#define SAMP_FUNC_SENDCMD							0x65C60
#define SAMP_FUNC_ADDCLIENTCMD						0x65AD0
#define SAMP_FUNC_NAMECHANGE						0xB290
#define SAMP_FUNC_RESTARTGAME						0xA060
#define SAMP_FUNC_ENCRYPT_PORT						0x1BC20
#define SAMP_FUNC_TOGGLECURSOR						0x9BD30
#define SAMP_FUNC_CURSORUNLOCKACTORCAM				0x9BC10
#define SAMP_FUNC_UPDATESCOREBOARDDATA				0x8A10
#define SAMP_FUNC_CNETGAMEDESTRUCTOR				0x9380
#define SAMP_FUNC_SENDINTERIOR						0x5740

#define SAMP_HOOKENTER_STATECHANGE					0x12B82
#define SAMP_HOOKENTER_HANDLE_RPC					0x3743D
#define SAMP_HOOKENTER_HANDLE_RPC2					0x373C9
#define SAMP_HOOKENTER_CNETGAME_DESTR				0xB2893
#define SAMP_HOOKENTER_CNETGAME_DESTR2				0xB3A32
#define SAMP_HOOKEXIT_ANTICARJACK					0x12B93
#define SAMP_HOOKEXIT_HANDLE_RPC					0x37443
#define SAMP_HOOKEXIT_HANDLE_RPC2					0x37451

#define SAMP_PATCH_DISABLE_NAMETAGS					0x70D40
#define SAMP_PATCH_DISABLE_NAMETAGS_HP				0x6FC30
#define SAMP_PATCH_SKIPSENDINTERIOR					0x7668
#define SAMP_PATCH_SCOREBOARDTOGGLEON				0x6AA10
#define SAMP_PATCH_SCOREBOARDTOGGLEONKEYLOCK		0x6AD30
#define SAMP_PATCH_CHATINPUTADJUST_Y				0x63FE6
#define SAMP_PATCH_CHATINPUTADJUST_X				0x65855
#define SAMP_PATCH_NOCARCOLORRESETTING				0xB0DE0
credits go to FYP
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
dialog_info - 0x21A0B8
dialog_func - 0x6B9C0

These are not tested yet.
 

0x815

Member
Joined
May 18, 2014
Messages
6
Reaction score
0
Somebody have the adress for Username? I don't find the fucking adress  :bawww:
 

0x_

Wtf I'm not new....
Staff member
Administrator
Joined
Feb 18, 2013
Messages
1,123
Reaction score
174
Suchty112 link said:
Somebody have the adress for Username? I don't find the fucking adress  :bawww:
https://github.com/BlastHackNet/mod_s0beit_sa/blob/master/src/samp.h#L631
you can easily generate an offset from that
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
For sampPatches

SendTime = 0xCFE0
SetPlayerCameraLookingAt = 0x161C0
InitGame = 0xD710
ShowGameText = 0x15F40
SetPlayerCameraPos = 0x160F0
SetPlayerInterior = 0x16050
SetPlayerPos = 0x15970
SetPlayerFacingAngle = 0x16BF0
RequestSpawn = 0xD150
ToggleClock = 0xC5C0
RequestClass = 0xD080
UpdateScorePingsandIPs = 0xD490
InitGame = 0xD710
GangZoneCreate = 0x19650
TextDrawSetString = 0x19540
SetPlayerColor = 0x15E50
SetPlayerAttachedObject = 0x155E0
ShowTextDraw = 0x19360
ClickTextDraw = 0x19C20
SetPlayerSkin = 0x15860
SetPlayerTeam = 0x15D60
WorldVehicleAdd = 0xB850
PlaySound = 0x16980
TextDrawHideForPlayer = 0x19490
SendClientMessage = 0xC050
SetPlayerWorldBounds = 0x16A60
SetPlayerHealth = 0x15BA0
ResetPlayerWeapons = 0x14790
GivePlayerWeapon = 0x16C90
ShowPlayerDialog = 0xCBB0
GangZoneFlash = 0x19820
WorldVehicleRemove = 0xDF70
GangZoneStopFlash = 0x198E0
 

0x_

Wtf I'm not new....
Staff member
Administrator
Joined
Feb 18, 2013
Messages
1,123
Reaction score
174
0x688 link said:
Like before on the 0.3z version, here you can share updated offset's / structures / infos about samp
SHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARE
SHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARE
NOT ASK. NOT FUCKING ASK.
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
SetPlayerMapIcon = 0x16DE0
ResetPlayerMoney = 0x14780
GivePlayerMoney = 0x16B50
CreateObject = 0x17980
ServerJoin = 0xCDA0
SetPlayerAnimation = 0x16FA0
Create3DTextLabel = 0xC7D0
CreatePickup = 0xC140
SetCameraBehindPlayer = 0x14770
SetRaceCheckpoint = 0xD330
Update3DTextLabel = 0xC980
DestroyPickup = 0xC200
PutPlayerInVehicle = 0x15C50
WorldPlayerAdd = 0xDBB0
DisableRaceCheckpoint = 0xB790
WorldPlayerRemove = 0xDEA0
TogglePlayerControllable = 0x168E0
InitMenu = 0x18EA0
ShowMenu = 0x19160

RemoveBuildingForPlayer = 0x19B00
DeathMessage = 0x1A290
WorldPlayerDeath = 0xDDE0
Chat = 0xEEA0
DestroyObject = 0x18260
SetPlayerFightingStyle = 0x14E30
SetPlayerTime = 0xC4E0
SetSpawnInfo = 0x14640
SetObjectPos = 0x18050
SetObjectRot = 0x18160
MoveObject = 0x18540
StopObject = 0x186F0
SetObjectMaterial = 0x17CE0
SetVehicleParamsEx = 0x16C90
ServerQuit = 0xCF20
SetVehicleHealth = 0x173B0
DamageVehicle = 0xE240
ScmEvent = 0xC340
SetVehiclePos = 0x162C0

SetPlayerSpecialAction = 0x14D80
ClearAnimation = 0x14C70
 

Till527

Member
Joined
Dec 28, 2013
Messages
15
Reaction score
0
somebody have
SAMP_INFO_OFFSET+0x3D5 = SA:MP Settings // Nametag Distance = +0x27 || Show Nametags = +0x38 || Line Of Sight Check = +0x2F
for 0.3.7?
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
EnterVehicle = 0xE650
SetNumberPlate = 0x18870
CreateExplosion = 0x18350
SetPlayerDrunkLevel = 0x15490
SetPlayerArmour = 0x171A0
SetPlayerName = 0x1A4F0
RemovePlayerMapIcon = 0x16F00
SetWeather = 0xC430
 
Top