You are viewing our Forum Archives. To view or take place in current topics click here.
I need Some codes For tu8 mw2 mod menu
Posted:

I need Some codes For tu8 mw2 mod menuPosted:

BabbyCakesLobbys
  • Challenger
Status: Offline
Joined: Apr 07, 201311Year Member
Posts: 157
Reputation Power: 6
Status: Offline
Joined: Apr 07, 201311Year Member
Posts: 157
Reputation Power: 6
I need some codes For tu8 mw2 mod menu

Anyone haves Tu8 The dpad controls C++
And Some More other codes i can have

PS anyone who helps me get 5 Rep on TTG And Credits in the menu When i Done it

Thanks who help me
#2. Posted:
The-Rev
  • Rising Star
Status: Offline
Joined: Jul 27, 201212Year Member
Posts: 783
Reputation Power: 44
Status: Offline
Joined: Jul 27, 201212Year Member
Posts: 783
Reputation Power: 44
If it's client sided dpad monitoring you want, here ya go:

 // these defines are for pressing the button, you can monitor on release as well
#define BUTTON_A                  "n 25"
#define BUTTON_B                  "n 23"
#define BUTTON_X                  "n 11"
#define BUTTON_Y                  "n 28"
#define BUTTON_RS                "n 3"
#define BUTTON_LS                "n 9"
#define BUTTON_RB                "n 5"
#define BUTTON_LB                "n 7"
#define BUTTON_RT                "n 1"
#define BUTTON_LT                "n 13"
#define BUTTON_DPADUP            "n 16"
#define BUTTON_DPADDOWN          "n 18"
#define BUTTON_DPADLEFT          "n 19"
#define BUTTON_DPADRIGHT          "n 21"
#define BUTTON_BACK              "n 30"
#define BUTTON_START              "n 27"
 
typedef VOID (__cdecl * SV_Cmd_TokenizeString_t)(const char * text_in);
SV_Cmd_TokenizeString_t SV_Cmd_TokenizeString = (SV_Cmd_TokenizeString_t)0x82225348;
 
typedef VOID (__cdecl * ClientCommand_t)(DWORD clientIndex);
ClientCommand_t ClientCommand = (ClientCommand_t)0x821DC638;
 
typedef VOID (__cdecl * SV_Cmd_EndTokenizedString_t)();
SV_Cmd_EndTokenizedString_t SV_Cmd_EndTokenizedString = (SV_Cmd_EndTokenizedString_t)0x82225368;
 
VOID SV_ExecuteClientCommandHook(DWORD cl, const char * s, bool clientOK, bool)
{
DWORD clientIndex = (cl - *(int *)0x83623B98) / 0x97F80;
SV_Cmd_TokenizeString(s);
ClientCommand(clientIndex);
SV_Cmd_EndTokenizedString();
if (!memcmp(s, BUTTON_DPADRIGHT, 4))
{
// dpad right pressed (you can do this with all buttons)
}
}
 
VOID SetupHook()
{
PatchInJump((DWORD*)0x822531C8, (DWORD)SV_ExecuteClientCommandHook, FALSE);
}


Credits to Droseum20
#3. Posted:
XeXBenqz
  • Resident Elite
Status: Offline
Joined: Jun 26, 201311Year Member
Posts: 243
Reputation Power: 9
Status: Offline
Joined: Jun 26, 201311Year Member
Posts: 243
Reputation Power: 9
www . se7ensins . com /forums/threads/tu8-managed-code-list-post-codes-sources-here-c-and-c.922574/

Delete spaces.. all you need is there
Have Fun
#4. Posted:
BabbyCakesLobbys
  • Challenger
Status: Offline
Joined: Apr 07, 201311Year Member
Posts: 157
Reputation Power: 6
Status: Offline
Joined: Apr 07, 201311Year Member
Posts: 157
Reputation Power: 6
XeXBenqz wrote www . se7ensins . com /forums/threads/tu8-managed-code-list-post-codes-sources-here-c-and-c.922574/

Delete spaces.. all you need is there
Have Fun

i know about them codes benqz thanks anyway
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.