[ 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.
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
GangZoneDestroy = 0x19770
SetPlayerArmedWeapon = 0x15530
EnablePlayerCameraTarget = 0xBC00 RPC id 170 // newly added in 0.3.7
PlayAudioStreamForPlayer = 0x19990
StopAudioStreamForPlayer = 0x147E0
SetPlayerShopName = 0x14540

SetPlayerSkillLevel = 0xC6A0
RemovePlayerFromVehicle = 0x146E0
PlayCrimeReportForPlayer = 0x15720
SetPlayerWantedLevel = 0x192C0
SetPlayerAmmo = 0x17250
SetVehicleZAngle = 0x163D0
SetVehicleParamsForPlayer = 0x164B0
 

0x_

Wtf I'm not new....
Administrator
Joined
Feb 18, 2013
Messages
1,118
Reaction score
166
Code:
SAMP_INFO + 0x20 = szIP (size 257)
SAMP_INFO + 0x121 = szHostname (size 259)
SAMP_INFO + 0x225 = ulPort
SAMP_INFO + 0x229 = ulMapIcons (size 100)
SAMP_INFO + 0x3B9 = iLanMode
SAMP_INFO + 0x3BD = iGameState
SAMP_INFO + 0x3C1 = ulConnecTick
SAMP_INFO + 0x3C5 = pSettings
SAMP_INFO + 0x3C9 = pRakClientInterface
SAMP_INFO + 0x3CD = pPools
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
SetWorldTime = 0xBFB0
SetGravity = 0x17310
EnableStuntBonusForPlayer = 0x14440
LinkVehicleToInterior = 0x16580
SetPlayerVelocity = 0x14F30
SetPlayerPosFindZ = 0x15A90
AttachObjectToPlayer = 0x18CE0
ShowPlayerNameTagForPlayer = 0x18460
 

0x_

Wtf I'm not new....
Administrator
Joined
Feb 18, 2013
Messages
1,118
Reaction score
166
Code:
SAMP_INFO_PTR + SAMP_SETTINGS_PTR + 0x0 = byteCJWalk
SAMP_INFO_PTR + SAMP_SETTINGS_PTR + 0x16 = fGravity
SAMP_INFO_PTR + SAMP_SETTINGS_PTR + 0x1A = byteDisableInteriorEnterExits
SAMP_INFO_PTR + SAMP_SETTINGS_PTR + 0x1B = ulVehicleFriendlyFire
SAMP_INFO_PTR + SAMP_SETTINGS_PTR + 0x23 = iClassesAvailable
SAMP_INFO_PTR + SAMP_SETTINGS_PTR + 0x27 = fNameTagsDistance
SAMP_INFO_PTR + SAMP_SETTINGS_PTR + 0x2C = byteWorldTime_Hour
SAMP_INFO_PTR + SAMP_SETTINGS_PTR + 0x2D = byteWorldTime_Minute
SAMP_INFO_PTR + SAMP_SETTINGS_PTR + 0x2E = byteWeather
SAMP_INFO_PTR + SAMP_SETTINGS_PTR + 0x2F = byteNoNametagsBehindWalls
SAMP_INFO_PTR + SAMP_SETTINGS_PTR + 0x30 = bytePlayerMarkersMode
SAMP_INFO_PTR + SAMP_SETTINGS_PTR + 0x34 = fGlobalChatRadiusLimit
SAMP_INFO_PTR + SAMP_SETTINGS_PTR + 0x38 = byteShowNameTags

//these are from the .3.7 structs just converted to offsets with my 1337 skill h4xor convert0r
 

Pinii

Active member
Joined
Sep 18, 2013
Messages
126
Reaction score
0
:celeral_spitting:
How can I use this in a cleo/s0b ? :stoned:
 

rottentwinkie

Moderator
Moderator
Joined
Apr 4, 2014
Messages
608
Reaction score
1
Pinii link said:
:celeral_spitting:
How can I use this in a cleo/s0b ? :stoned:

Code:
if 0AA2: 1@ = "samp.dll"
then
    1@ += [Get ur offset here]
    0AA5: call 1@ num_param 1 pop 0 0@
end
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
TogglePlayerSpectating = 0x18990
PlayerSpectatePlayer = 0x18A40
PlayerSpectateVehicle = 0x18B20

InterpolateCameraPos = 0x16740
RemoveCarComponent = 0x18C00
SetVehicleVelocity = 0x15030

SetGravity = 0x17310
AttachTrailer = 0x17490

Onfoot data - 0x4D10
 

uwe1337

Active member
Joined
Feb 4, 2014
Messages
36
Reaction score
0
Code:
#define SAMP_CMP "00E8000085D27408508B"

SAMP_CMP for 0.3.7 RC 1 ?  :eek:h_stop_it_u:
 

Xpeedo

Member
Joined
Jul 21, 2015
Messages
15
Reaction score
8
Location
Los Santos
pShakeScreenTimer:
"samp.dll"+0x21A0E0->-0x6E
"samp.dll"+0x21A10C->0x8->0x2CA
 

Scriptery

Member
Joined
May 3, 2015
Messages
15
Reaction score
0
Xpeedo said:
pShakeScreenTimer

"samp.dll" +21A0E0->-6E
citer fals.


samp.dll:
0x21A0E4 -> chat info
0x21A0E8 -> chat info input
0xEC0A8 -> on foot send rate
0xEC0AC -> in car send rate
0xEC0B0 -> aim send rate
0x3EC0 -> req spawn to server
0x56A0 -> req class
0x55E0 -> death func
0x57F0 -> say, used for type msg in chat
0x65C60 -> for cmds
0x5740 -> send interior
0x70D40 -> nicknames tags
0x6FC30 -> health tag

work 100%
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
Found some for 0.3.7-R2 - > http://forum.sa-mp.com/showthread.php?t=641818

Code:
FUNC_SAMP_SHOWDIALOG: samp.dll+fc480000
FUNC_SAMP_ADDTOCHATWND: samp.dll+645f0
FUNC_PRINTCHAT: samp.dll+640e0
FUNC_SAMP_PLAYAUDIOSTR: samp.dll+62e70
FUNC_SAMP_STOPAUDIOSTR: samp.dll+62a70
FUNC_SAMP_SENDCMD: samp.dll+65d30
FUNC_SAMP_SENDSAY: samp.dll+57e0
FUNC_SAMP_SHOWGAMETEXT: samp.dll+9c370
FUNC_UPDATESCOREBOARD: samp.dll+8a20
 

0x_

Wtf I'm not new....
Administrator
Joined
Feb 18, 2013
Messages
1,118
Reaction score
166
Code:
CGame::ToggleCursor                             =samp.dll+0x9BDD0
CLocalPlayer::SendWastedNotification            =samp.dll+0x055E0
CVehiclePool::NotifyVehicleDeath                =samp.dll+0x1B820
CCmdWindow::SendToServer                        =samp.dll+0x65D30
CNetGame::Packet_AimSync                        =samp.dll+0x09750
CNetGame::Packet_VehicleSync                    =samp.dll+0x0A510
RequestScoreboardUpdate                         =samp.dll+0x08A20
CChatWindow::AddToChatWindowBuffer              =samp.dll+0x640E0
CCmdWindow::Enable                              =samp.dll+0x658B0
HandleRPCPacket                                 =samp.dll+0x373D0
RakClient::Receive                              =samp.dll+0x31260
RakPeer::RunUpdateCycle                         =samp.dll+0x3DA40
CChatWindow::AddDebugMessage                    =samp.dll+0x645F0
CChatWindow::AddInfoMessage                     =samp.dll+0x64570
CPlayerBars::Begin                              =samp.dll+0x690A0
CVehicle::UpdateDamageStatus                    =samp.dll+0xB1740
RakPeer::Receiv	                                =samp.dll+0x3D5C0
RakPeer::Send                                   =samp.dll+0x389C0
ReceiveIgnoreRPC                                =samp.dll+0x3CE80
ShowDialog                                      =samp.dll+0x6BA70
CVehiclePool::FindIDFromGtaPtr                  =samp.dll+0x1B182
Code:
CLASS_SCOREBOARD = samp.dll+0x21A0BC
CLASS_CMDWINDOW = samp.dll+0x21A0F0
CLASS_CPLAYERBARS = samp.dll+0x12C934
CLASS_CDIALOGSMTH = samp.dll+0x21A0B8
CLASS_CNETGAME = samp.dll+0x21A100

0.3.7-R2 useless IK but fkutoo
 

0x_

Wtf I'm not new....
Administrator
Joined
Feb 18, 2013
Messages
1,118
Reaction score
166
SAMP 0.3.8 RC stuff to sniff on the new stuff:


Code:
HandleRPCPacket = samp.dll+0x38C50
RakClient::Recieve = samp.dll+0x32AE0
RakPeer::RunUpdateCycle = samp.dll+0x3F2C0
RakPeer::Send = samp.dll+0x3A240

CNetGame = samp.dll+0x26D184
RakClientInterface = CNetGame+0x18
 

HowEnCokkien

Well-known member
Joined
Jul 9, 2017
Messages
307
Reaction score
9
0x688 said:
SAMP 0.3.8 stuff to sniff on the new stuff:


Code:
HandleRPCPacket = samp.dll+0x38C50
RakClient::Recieve = samp.dll+0x32AE0
RakPeer::RunUpdateCycle = samp.dll+0x3F2C0
RakPeer::Send = samp.dll+0x3A240

CNetGame = samp.dll+0x26D184
RakClientInterface = CNetGame+0x18

0.3.8? wat  :surprised:
 
D

Deleted member 34507

Guest
HowEnCokkien said:
0x688 said:
SAMP 0.3.8 stuff to sniff on the new stuff:


Code:
HandleRPCPacket = samp.dll+0x38C50
RakClient::Recieve = samp.dll+0x32AE0
RakPeer::RunUpdateCycle = samp.dll+0x3F2C0
RakPeer::Send = samp.dll+0x3A240

CNetGame = samp.dll+0x26D184
RakClientInterface = CNetGame+0x18

0.3.8? wat  :surprised:
http://forum.sa-mp.com/showthread.php?t=644105
 
Top