You are viewing our Forum Archives. To view or take place in current topics click here.
[MW2] DLL Mod Menu Creator [Project]
Posted:
[MW2] DLL Mod Menu Creator [Project]Posted:
Status: Offline
Joined: Dec 08, 201013Year Member
Posts: 931
Reputation Power: 40
Status: Offline
Joined: Dec 08, 201013Year Member
Posts: 931
Reputation Power: 40
hey guys im back with a new computer so i will be hard at work making a program
heres a sepc for you texh heads
anyway my program is a mw2 DLL mod menu creator heres a preview of the things i have finished bare in mind its a hours work as ive been sorting new pc out.
Pictures
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
Heres an output of what i typed
Credit to james for base
heres a sepc for you texh heads
PRODUCT NEW! Fabro i5 3470
PRICE 419.00
CPU: NEW! Intel Core i5 3470 Included
Operating System: Windows 8 (64-bit) Included
Motherboard: NEW! Gigabyte H61MA-D2V Included
RAM: 8GB DDR3 1333mhz (1x8GB) Included
Hard Drive: 1TB S-ATAIII 6.0Gb/s 12.30
Optical Drive: 22x DVDRW DL S-ATA Included
Graphics card: NVIDIA GeForce GT 630 1GB 18.20
Sound card: Onboard 7.1 Audio Included
Case: Xigmatek Asgard 15.80
PSU: NEW! 550W Corsair VS 23.40
Warranty: 3 Year SureCare Warranty Included
Subtotal: 488.70
Less discounts used: (-1.00)
Shipping Charges: 15.00
=====================
Total: 502.70
anyway my program is a mw2 DLL mod menu creator heres a preview of the things i have finished bare in mind its a hours work as ive been sorting new pc out.
Pictures
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
Heres an output of what i typed
#include "stdafx.h"
#include <stdio.h>
#include <string>
#include <xbox.h>
#include <xbox.h>
using std::string;
typedef void (*SV_GameSendServerCommand_t)(int clientNum, int type, const char *text);
SV_GameSendServerCommand_t SV = (SV_GameSendServerCommand_t)0x82254940;
typedef void (*SetModel_t)(int Client, const char *modelName);
SetModel_t SetModel = (SetModel_t)0x8220D310;
typedef int (*Key_IsDown)(int ClientNum, int ButtonEnum);
Key_IsDown Key_Down = (Key_IsDown)0x82141308;
typedef float (*Dvar_GetFloat_t)(const char* Dvar);
Dvar_GetFloat_t Dvar_GetFloat = (Dvar_GetFloat_t)0x8229F028;
typedef const char* (*Dvar_GetString_t)(const char* Dvar);
Dvar_GetString_t Dvar_GetString = (Dvar_GetString_t)0x8229F118;
typedef bool (*Dvar_GetBool_t)(const char *dvarName);
Dvar_GetBool_t Dvar_GetBool = (Dvar_GetBool_t)0x8229EF58;
typedef void (*Console_t)(int LocalClientNum, const char *Command);
Console_t Console = (Console_t)0x82224A28;
typedef int (*Dvar_GetInt_t)(const char* Dvar);
Dvar_GetInt_t Dvar_GetInt = (Dvar_GetInt_t)0x8229EFC0;
typedef void (*CG_BoldGameMessage)(int LocalClientNum, const char *Message);
CG_BoldGameMessage GameMessage = (CG_BoldGameMessage)0x821071F0;
typedef void (*CG_GameMessage)(int LocalClientNum, const char *Message);
CG_GameMessage Message = (CG_GameMessage)0x821071D0;
typedef void (*G_GivePlayerWeapon)(unsigned int pPS, int iWeaponIndex, int Camo, int Akimbo);
G_GivePlayerWeapon giveweap = (G_GivePlayerWeapon)0x82210BC8;
typedef int (*G_GetWeaponIndexForName)(const char *name);
G_GetWeaponIndexForName GetWeaponIndex = (G_GetWeaponIndexForName)0x82210640;
typedef void (*giveAmmo_t)(int clientEntity, unsigned int weaponIndex, char weaponModel, int count, int fillClip);
giveAmmo_t giveAmmo = (giveAmmo_t)0x821E1F90;
typedef void (*BG_TakePlayerWeapon)(unsigned int pPS, unsigned int weaponIndex,int takeAwayAmmo);
BG_TakePlayerWeapon TakeWeap = (BG_TakePlayerWeapon)0x82210A28;
typedef unsigned int (*BG_GetViewmodelWeaponIndex)(unsigned int pPS);
BG_GetViewmodelWeaponIndex GetViewmodelWeaponIndex = (BG_GetViewmodelWeaponIndex)0x820E23C8;
typedef int (*LocalizeText_t)(const char* Text);
LocalizeText_t LocalizeText = (LocalizeText_t)0x8220C838;
typedef int (*CacheElem_t)(int ClientNum, int Team);
CacheElem_t CacheElem = (CacheElem_t)0x821DF9C0;
typedef int (*GetMaterialIndex_t)(const char* Material);
GetMaterialIndex_t GetMaterialIndex = (GetMaterialIndex_t)0x8220C9F8;
int Scroll[18], MenuType[18], Freeze[18],
Shader[18], Select[18],
Text1[18], Text2[18], Text3[18], Text4[18], Text5[18], Text6[18], Text7[18], Text8[18], Text9[18], Text10[18],
Loaded = 0;
bool MenuOpen[18], ResetValues = false;
int gEntity(int client)
{
return (0x82F03600 + (client * 0x280));
}
int WeaponEntity(int ClientIndex)
{
return(0x830CBF80 + (ClientIndex * 0x3700));
}
typedef enum OffsetsAndValues
{
RS = 0x400,
LS = 0x200200,
RT = 0x100,
LT = 0x8080000,
RB = 0x400000,
LB = 0x800000,
X = 0x2000,
A = 0x40000,
CROUCHED = 0x20000,
PRONED = 0x10000,
elem = 0x821DF9C0,
xOffset = 0x08,
yOffset = 0x04,
textOffset = 0x84,
fontOffset = 0x28,
fontSizeOffset = 0x14,
colorOffset = 0x34,
relativeOffset = 0x2c,
widthOffset = 0x48,
heightOffset = 0x44,
shaderOffset = 0x4C,
alignOffset = 0x30,
GlowColor = 0x8C
};
void SwitchToWeap(int Client, const char *Weapon, int WeaponIndex = 0)
{
if(WeaponIndex == 0)
{
char buffer[100];
sprintf(buffer,"a %i", GetWeaponIndex(Weapon));
SV(Client, 1, buffer);
}
else
{
char buffer[100];
sprintf(buffer,"a %i", WeaponIndex);
SV(Client, 1, buffer);
}
}
void GiveWeapon(int client, const char* Weapon, bool akimbo, bool GiveAmmo, bool SwitchToWeapon)
{
giveweap(WeaponEntity(client), GetWeaponIndex(Weapon), 0, akimbo);
if(SwitchToWeapon){SwitchToWeap(client, Weapon);}
if(GiveAmmo){giveAmmo(gEntity(client), GetWeaponIndex(Weapon), 0, 999, 1);}
}
void DelElem(int ElemOffset)
{
*(float *)(ElemOffset + xOffset) = 1500;
}
void DelText(int i)
{
DelElem(Text1[i]);
DelElem(Text2[i]);
DelElem(Text3[i]);
DelElem(Text4[i]);
DelElem(Text5[i]);
DelElem(Text6[i]);
DelElem(Text7[i]);
DelElem(Text8[i]);
DelElem(Text9[i]);
DelElem(Text10[i]);
}
void setIcon(int ElemAddress, int Width, int Height, float x, float y, int align, int R = 0, int G = 0, int B = 0, int A = 255)
{
*(int *)ElemAddress = 0x04;
*(int *)(ElemAddress + relativeOffset) = 0x05;
*(int *)(ElemAddress + relativeOffset - 4) = 0x06;
*(int *)(ElemAddress + shaderOffset) = GetMaterialIndex("white");
*(int *)(ElemAddress + heightOffset) = Height;
*(int *)(ElemAddress + widthOffset) = Width;
*(int *)(ElemAddress + alignOffset) = align;
*(int *)(ElemAddress + textOffset + 0x4) = 0;
*(float *)(ElemAddress + xOffset) = x;
*(float *)(ElemAddress + yOffset) = y;
*(byte *)(ElemAddress + colorOffset + 3) = A;
*(byte *)(ElemAddress + colorOffset + 2) = B;
*(byte *)(ElemAddress + colorOffset + 1) = G;
*(byte *)(ElemAddress + colorOffset) = R;
}
float Location(int Scroll)
{
Scroll--;
return(97 + (Scroll * 21.55));
}
int _Buttons(int client)
{
return (*(int *)(0x830CF3AD + (client * 0x3700)));
}
struct XenonUserData
{
int signInState;
char name[0x20];
}
typedef DWORD (*plAyerState_t)(int clientNum);
plAyerState_t plAyerState = (plAyerState_t)0x821E66A8;
char CurrentGamertag[18][15];
int Host;
XenonUserData * xenonUserData = (XenonUserData *)0x838BA820;
int _GetHost()
{
int HostIndex;
for( int clientID = 0; clientID < 18; clientID++)
if(!strcmp(xenonUserData[0].name,CurrentGamertag[clientID]))
HostIndex = clientID;
printf("Host is [Client %i] (%s)
",HostIndex,xenonUserData[0].name);
Host = HostIndex;
return HostIndex;
}
int _GetClients()
{ DWORD ps;
for( int clientID = 0; clientID < 18; clientID++)
{
ps = plAyerState(clientID);
ps += 0x44;
strcpy(CurrentGamertag[clientID], (char*)ps);
if(CurrentGamertag[clientID] == "")
{
sprintf(CurrentGamertag[clientID],"No Client %iDWORD WINAPI Newsbar(LPVOID)
{
for(;;)
{
if(Dvar_GetBool("cl_ingame"))
{
if(Loaded == 1)
{
Host = _GetClients();
for(int i = 0; i<18; i++)
{
setIcon(ScrollShader[i],"white", 1000, 37, 380, 420, 1, 0, 0, 0, 255, 0);
setText(ScrollText[i], "Offcial Lobby Staff: BLU3-'s DLL Mod Menu Creator :PBLU3-^1<=>www.youtube.com/dwayne806^1<=>
Credit to james for base
Last edited by Sheperdebops ; edited 2 times in total
#2. Posted:
Status: Offline
Joined: Oct 15, 201211Year Member
Posts: 563
Reputation Power: 23
Status: Offline
Joined: Oct 15, 201211Year Member
Posts: 563
Reputation Power: 23
This gonna be for PC orrr?? !
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Jan 26, 201212Year Member
Posts: 499
Reputation Power: 19
Status: Offline
Joined: Jan 26, 201212Year Member
Posts: 499
Reputation Power: 19
Nice post. Good luck with your menu.
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Dec 08, 201013Year Member
Posts: 931
Reputation Power: 40
Status: Offline
Joined: Dec 08, 201013Year Member
Posts: 931
Reputation Power: 40
TheBrendanDavis wrote This gonna be for PC orrr?? !no its a dll for xbox 360?
i was just saying ive been away as i got a new pc
- 0useful
- 0not useful
#5. Posted:
Status: Offline
Joined: Oct 15, 201211Year Member
Posts: 563
Reputation Power: 23
Status: Offline
Joined: Oct 15, 201211Year Member
Posts: 563
Reputation Power: 23
BLU3- wroteTheBrendanDavis wrote This gonna be for PC orrr?? !no its a dll for xbox 360?
i was just saying ive been away as i got a new pc
Just making sure! When will it be released etc.?
- 0useful
- 0not useful
#6. Posted:
Status: Offline
Joined: Jul 29, 201112Year Member
Posts: 1,237
Reputation Power: 114
Status: Offline
Joined: Jul 29, 201112Year Member
Posts: 1,237
Reputation Power: 114
thats for jtags mw2 hope this will get released it will be sick
- 0useful
- 0not useful
#7. Posted:
Status: Offline
Joined: Dec 08, 201013Year Member
Posts: 931
Reputation Power: 40
Status: Offline
Joined: Dec 08, 201013Year Member
Posts: 931
Reputation Power: 40
TheBrendanDavis wroteBLU3- wroteTheBrendanDavis wrote This gonna be for PC orrr?? !no its a dll for xbox 360?
i was just saying ive been away as i got a new pc
Just making sure! When will it be released etc.?
depends on when i finish problem is i do a lot of college work at the minute so yeah
- 1useful
- 0not useful
#8. Posted:
Status: Offline
Joined: Jun 01, 201310Year Member
Posts: 355
Reputation Power: 17
Status: Offline
Joined: Jun 01, 201310Year Member
Posts: 355
Reputation Power: 17
wat what is this bro?
can you post links and not IMg things
can you post links and not IMg things
- 0useful
- 0not useful
#9. Posted:
Status: Offline
Joined: Dec 08, 201013Year Member
Posts: 931
Reputation Power: 40
Status: Offline
Joined: Dec 08, 201013Year Member
Posts: 931
Reputation Power: 40
Adon360 wrote wat what is this bro?
can you post links and not IMg things
basically in makes you a tu8 mod menu to how you want it, im gonna add in later versions more customization
- 0useful
- 0not useful
#10. Posted:
Status: Offline
Joined: Apr 13, 201212Year Member
Posts: 628
Reputation Power: 36
OMG I have one of these in the making, might aswell not bother now ...
- 1useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.