[HELP] Need 0.3.DL Offsets

Aimbot.exe

Active member
Joined
Aug 21, 2017
Messages
50
Reaction score
18
Hi, does someone has these offsets for 0.3.DL (C++):
SAMP_INFO_OFFSET
SAMP_DIALOG_INFO
HOOK_CLOSEDIALOG
 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,113
Solutions
5
Reaction score
878
Location
Lithuania
Last edited:

0x32789

Expert
Joined
May 26, 2014
Messages
849
Reaction score
51
Location
LongForgotten <-> 0x32789
All those offsets you can find in s0biet 0.3DL source. With this you can create a RakNet hook aswell, it's not hard to achieve.
Make a dll, add all samp.h structs or the ones needed, get the address for SAMP_INFO_OFFSET and there use it to initialize whatever you want.
SAMP_INFO_OFFSET contains a pointer to stSAMP where you have pointer to the RakClient.
all is in s0biet source.
 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,113
Solutions
5
Reaction score
878
Location
Lithuania
All those offsets you can find in s0biet 0.3DL source. With this you can create a RakNet hook aswell, it's not hard to achieve.
Make a dll, add all samp.h structs or the ones needed, get the address for SAMP_INFO_OFFSET and there use it to initialize whatever you want.
SAMP_INFO_OFFSET contains a pointer to stSAMP where you have pointer to the RakClient.
all is in s0biet source.
I already send him all to discord.
 

drkhooker

New member
Joined
Jul 25, 2018
Messages
1
Reaction score
0

dphome

Well-known member
Joined
Mar 21, 2020
Messages
456
Solutions
9
Reaction score
165
Location
Poland
Hi, does someone has these offsets for 0.3.DL (C++):
SAMP_INFO_OFFSET
SAMP_DIALOG_INFO
HOOK_CLOSEDIALOG
PHP:
#define SAMP_DIALOG_INFO_OFFSET                        0x2AC9E0
#define SAMP_DIALOG_CLOSE                            0x700D0
void CloseCurrentDialogWithButton(int Button)
{
    if (g_SAMP && g_Dialog && g_Dialog->iIsActive) {
        void* dialogObj = *(void **)(g_dwSAMP_Addr + SAMP_DIALOG_INFO_OFFSET);
        void(__thiscall* dialogClose)(void*, int) = reinterpret_cast<void(__thiscall*)(void*, int)>(g_dwSAMP_Addr + SAMP_DIALOG_CLOSE);
        dialogClose(dialogObj, Button);
    }
}
 

dphome

Well-known member
Joined
Mar 21, 2020
Messages
456
Solutions
9
Reaction score
165
Location
Poland
samp.h
PHP:
extern struct stScoreboardInfo                    *g_Scoreboard;
extern struct stDialogInfo                        *g_Dialog;
samp.cpp
PHP:
stScoreboardInfo                *g_Scoreboard = nullptr;
stDialogInfo                    *g_Dialog = nullptr;
proxyIDirect3DDevice9.cpp
PHP:
g_Scoreboard = stGetScoreboardInfo();
if ( isBadPtr_writeAny(g_Scoreboard, sizeof(stScoreboardInfo)) )
return;

g_Dialog = stGetDialogInfo();
if (isBadPtr_writeAny(g_Dialog, sizeof(stDialogInfo)))
return;
samp.h
PHP:
struct stServerPresets
{
    uint8_t byteCJWalk;
    int m_iDeathDropMoney;
    float    fWorldBoundaries[4];
    bool m_bAllowWeapons;
    float    fGravity;
    uint8_t byteDisableInteriorEnterExits;
    uint32_t ulVehicleFriendlyFire;
    bool m_byteHoldTime;
      bool m_bInstagib;
      bool m_bZoneNames;
      bool m_byteFriendlyFire;
    int        iClassesAvailable;
    float    fNameTagsDistance;
    bool m_bManualVehicleEngineAndLight;
    uint8_t byteWorldTime_Hour;
    uint8_t byteWorldTime_Minute;
    uint8_t byteWeather;
    uint8_t byteNoNametagsBehindWalls;
    int iPlayerMarkersMode;
    float    fGlobalChatRadiusLimit;
    uint8_t byteShowNameTags;
     bool m_bLimitGlobalChatRadius;
};

struct stDialogInfo
{
    IDirect3DDevice9    *m_pD3DDevice;
    int    iTextPoxX;
    int    iTextPoxY;
    uint32_t    uiDialogSizeX;
    uint32_t    uiDialogSizeY;
    int    iBtnOffsetX;
    int    iBtnOffsetY;
    class _CDXUTDialog                        *pDialog;
    class _CDXUTListBox                        *pList;
    class _CDXUTIMEEditBox                        *pEditBox;
    int    iIsActive;
    int    iType;
    uint32_t    DialogID;
    char        *pText;
    uint32_t    uiTextWidth;
    uint32_t    uiTextHeight;
    char        szCaption[65];
    int        bServerside;
};
samp.h
PHP:
struct stScoreboardInfo                            *stGetScoreboardInfo(void);
struct stDialogInfo                                *stGetDialogInfo(void);
samp.cpp
PHP:
struct stScoreboardInfo *stGetScoreboardInfo(void)
{
    return GetSAMPPtrInfo<stScoreboardInfo *>(SAMP_SCOREBOARD_INFO);
}

struct stDialogInfo *stGetDialogInfo(void)
{
    return GetSAMPPtrInfo<stDialogInfo *>(SAMP_DIALOG_INFO_OFFSET);
}
samp.h
PHP:
#define SAMP_SCOREBOARD_INFO                        0x2AC9DC
#define SAMP_DIALOG_INFO_OFFSET                        0x2AC9E0
#define SAMP_DIALOG_CLOSE                            0x700D0
 
Top