Post: Call of Duty 4: Addresses, Offsets, Structs And Scripts
07-24-2016, 07:53 PM #1
TheGreenPlanet
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({}); Hi NGU! I had a plan of creating an SPRX menu for COD4 but I couldn't get the Eboot to load my SPRX file, therefore I'm realising everything I've done so far.

TOC: 0x6C6988:

Structures:

cg_s - 10B50100
centity - 10B50110
ClientActive - 122A4D84


Addresses:

    
0x015100 - AimTarget_GetTagPos
0x015270 - AimTarget_IsTargetVisible
0x08E198 - CL_DrawText
0x07A898 - CL_DrawStretchPicPhysical
0x164A00 - Com_GetClientDObj
0x0475D0 - CG_DObjGetWorldTagPos
0x15EC18 - CBuf_AddText
0x1D4E48 - Dvar_GetString
0x1D4F10 - Dvar_GetBool
0x1D6E10 - Dvar_GetInt
0x11DC18 - G_TraceCapsule
0x089928 - Key_IsDown
0x3076F8 - Material_RegisterHandle
0x30FA18 - R_AddCmdDrawStretchPicFlipST
0x30F158 - R_AddCmdDrawStretchPic
0x30DF20 - R_AddCmdDrawText
0x30F660 - R_AddCmdDrawStretchPicRotateXY
0x2F6C60 - R_RegisterFont
0x0B2958 - ScrPlace_ApplyRect
0x17F2B8 - SL_ConvertToString
0x1A0788 - SV_ExecuteClientCommand
0x157F30 - Trace_GetEntityHitId
0x1E0C80 - va



Scripts:

Buttons

enum Buttons
{
Cross = 1,
Circle = 2,
Square = 3,
Triangle = 4,
L1 = 5,
R1 = 6,
Start = 14,
Select = 15,
L3 = 16,
R3 = 17,
L2 = 18,
R2 = 19,
DPAD_UP = 22,
DPAD_DOWN = 23,
DPAD_LEFT = 24,
DPAD_RIGHT = 25,
};

bool Button(int Button)
{
opd_s Key_IsDown_t = { 0x89928, TOC };
bool(*Key_IsDown)(int client, int button) = (bool(*)(int, int))&Key_IsDown_t;
return Key_IsDown(0, Button);
}

End Game

char buffer[0x100];
sprintf(buffer, "cmd mr %i %i %s", *(int*)(0x1A078Cool Man (aka Tustin), -1, "endround"); //You can also use Sv_ServerID (0x6C7F7Cool Man (aka Tustin)
cBuf_Addtext(0, buffer);

Spoof Team

char buffer[0x100];
sprintf(buffer, "cmd mr %i %i %s", *(int*)(0x1A078Cool Man (aka Tustin), 3, "axis"); //You can also use Sv_ServerID (0x6C7F7Cool Man (aka Tustin)
cBuf_Addtext(0, buffer);



Credits:
Me (TheGreenPlanet)


NOTE: Non of the following Addresses nor Scripts has been tested, but they should work 8-).
Last edited by TheGreenPlanet ; 08-13-2016 at 09:24 PM.

The following 4 users say thank you to TheGreenPlanet for this useful post:

K51, MemoryPointers, TheFallen, VenoxCoding
01-24-2017, 06:03 PM #11
K51
Haxor!
Originally posted by TheGreenPlanet View Post
Hi NGU! I had a plan of creating an SPRX menu for COD4 but I couldn't get the Eboot to load my SPRX file, therefore I'm realising everything I've done so far.

TOC: 0x6C6988:

Structures:

cg_s - 10B50100
centity - 10B50110
ClientActive - 122A4D84


Addresses:

    
0x015100 - AimTarget_GetTagPos
0x015270 - AimTarget_IsTargetVisible
0x08E198 - CL_DrawText
0x07A898 - CL_DrawStretchPicPhysical
0x164A00 - Com_GetClientDObj
0x0475D0 - CG_DObjGetWorldTagPos
0x15EC18 - CBuf_AddText
0x1D4E48 - Dvar_GetString
0x1D4F10 - Dvar_GetBool
0x1D6E10 - Dvar_GetInt
0x11DC18 - G_TraceCapsule
0x089928 - Key_IsDown
0x3076F8 - Material_RegisterHandle
0x30FA18 - R_AddCmdDrawStretchPicFlipST
0x30F158 - R_AddCmdDrawStretchPic
0x30DF20 - R_AddCmdDrawText
0x30F660 - R_AddCmdDrawStretchPicRotateXY
0x2F6C60 - R_RegisterFont
0x0B2958 - ScrPlace_ApplyRect
0x17F2B8 - SL_ConvertToString
0x1A0788 - SV_ExecuteClientCommand
0x157F30 - Trace_GetEntityHitId
0x1E0C80 - va



Scripts:

Buttons

enum Buttons
{
Cross = 1,
Circle = 2,
Square = 3,
Triangle = 4,
L1 = 5,
R1 = 6,
Start = 14,
Select = 15,
L3 = 16,
R3 = 17,
L2 = 18,
R2 = 19,
DPAD_UP = 22,
DPAD_DOWN = 23,
DPAD_LEFT = 24,
DPAD_RIGHT = 25,
};

bool Button(int Button)
{
opd_s Key_IsDown_t = { 0x89928, TOC };
bool(*Key_IsDown)(int client, int button) = (bool(*)(int, int))&Key_IsDown_t;
return Key_IsDown(0, Button);
}

End Game

char buffer[0x100];
sprintf(buffer, "cmd mr %i %i %s", *(int*)(0x1A078Cool Man (aka Tustin), -1, "endround"); //You can also use Sv_ServerID (0x6C7F7Cool Man (aka Tustin)
cBuf_Addtext(0, buffer);

Spoof Team

char buffer[0x100];
sprintf(buffer, "cmd mr %i %i %s", *(int*)(0x1A078Cool Man (aka Tustin), 3, "axis"); //You can also use Sv_ServerID (0x6C7F7Cool Man (aka Tustin)
cBuf_Addtext(0, buffer);



Credits:
Me (TheGreenPlanet)


NOTE: Non of the following Addresses nor Scripts has been tested, but they should work 8-).


i am 98% Sure That Your Structures are Wrong lol
01-26-2017, 07:34 PM #12
TheGreenPlanet
Do a barrel roll!
Originally posted by Thomas View Post
i am 98% Sure That Your Structures are Wrong lol


Yes i know, i havent updated the thread since ill be releasing my nonhost menu in like 2 weeks from now with silent aim, esp etc xD
01-26-2017, 10:05 PM #13
K51
Haxor!
Originally posted by TheGreenPlanet View Post
Yes i know, i havent updated the thread since ill be releasing my nonhost menu in like 2 weeks from now with silent aim, esp etc xD


haha alright, gotta skype sir?
01-26-2017, 11:25 PM #14
TheGreenPlanet
Do a barrel roll!
Originally posted by Thomas View Post
haha alright, gotta skype sir?


Skype: TheGreenPlanet (the one with the green planet xD)
07-02-2017, 06:14 AM #15
dxbv
Gobble
nice
tool
07-02-2017, 06:14 AM #16
dxbv
Gobble
huuuuuuhui
07-02-2017, 06:15 AM #17
dxbv
Gobble
niiiiiiiice tooooooooool

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo