TalkingIngame menu

Posts 1–15 of 97 · Page 1 of 7
Ingame menu
today i will make another release

now you can have in game menu with ingame message boxes

now pick one of these two options:

 
Iam a real coder

Perform these steps:
1- download the files from attachments
2- include main.h file in your project
3- in your hack thread, create a CMenu member (like CMenu* pMenu
4- give it a name using new (pMenu = new CMenu("myname"))
5- loop until pMenu->Ready() returns true
6- pass the correct pointers to the menu here they are for CFNA as 10/5/2012:
Code:
pMenu->MessageFunc = CShell + 0x84570;
	pMenu->VisibleState = CShell + 0x37DB44;
	pMenu->PTC = CShell + 0x35AC34;
7- create options group and terminate it with null .. like this one:
Code:
char* optOffOn[] = {"Off", "On", NULL};
8- create value holders
9- call pMenu->AddItem(name, optiongroup, optionholder)
10- in while(1) of for(; add a pMenu->Nav()


 
Iam a leecher
Perform these steps:
1- download files from attachments
2- use this source code:
Code:
#include <windows.h>
#include "menu.h"

DWORD WINAPI menu(LPVOID lpParam)
{
	//Create the new menu
	CMenu* pMenu = new CMenu("giniyat101");

	//Wait until we are ready
	do
	{
		Sleep(100);
	} while (!pMenu->Ready());

	//CShell base address
	DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");

	//Pass the pointers to the menu
	pMenu->MessageFunc = CShell + 0x84570;
	pMenu->VisibleState = CShell + 0x37DB44;
	pMenu->PTC = CShell + 0x35AC34;

	//Our options
	//MUST TERMINATE WITH NULL!!!
	char* optOffOn[] = {"Off", "On", NULL};

	//variables to store current state
	DWORD noreload = 0;
	DWORD nochange = 0;
	DWORD wallhack = 0;

	//Add some items
	pMenu->AddItem("No reload", optOffOn, &noreload);
	pMenu->AddItem("No change", optOffOn, &nochange);
	pMenu->AddItem("Wall hack", optOffOn, &wallhack);

	//Lets begin memory hacks
	while (1)
	{
		DWORD pWeaponMgr = *(DWORD*)(CShell+0xAB2940);
		if (pWeaponMgr)
		{
			for (int i=0; i<650; i++)
			{
				DWORD pWeapon = *(DWORD*)(pWeaponMgr+i*4);
				if (pWeapon)
				{
					if (noreload)
						*(FLOAT*)(pWeapon+0x26C4) = 100.0f;
					else
						*(FLOAT*)(pWeapon+0x26C4) = 1.0f;

					if (nochange)
						*(FLOAT*)(pWeapon+0x26C8) = 100.0f;
					else
						*(FLOAT*)(pWeapon+0x26C8) = 1.0f;
				}
			}
		}

		if (wallhack)
			memcpy((VOID*)0x6CE76C, "\x00\x00\x00\x00\x00\x00", 6);
		else
			memcpy((VOID*)0x6CE76C, "\x01\x01\x01\x01\x01\x01", 6);

		//Must place in a while(1)
		pMenu->Nav();

		Sleep(100);
	}
}

BOOL WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
{
	if (dwReason == DLL_PROCESS_ATTACH)
	{
		DisableThreadLibraryCalls(hDll);
		CreateThread(NULL, NULL, menu, NULL, NULL, NULL);
	}
}


VS:
https://www.virustotal.com/file/ad3c...is/1336645422/
http://virusscan.jotti.org/en/scanre...a49731c917c7de

hope all of you (coders and leechers) like it
please rate!
menu.rar2 KB · 1,114 downloads Scanning…
Could you still add two virusscans please?
Quote Originally Posted by Ravallo View Post
Could you still add two virusscans please?
done
/2short
Quote Originally Posted by giniyat101 View Post
done
/2short
Okidoki, approved.
To all: post back results!
can you show the menu with a screen? please`?
Quote Originally Posted by [G]a[M]e[R] View Post
can you show the menu with a screen? please`?
Quote Originally Posted by Genkidesu View Post
@Ryuzaki2 Don't forget credits me
Code:
#define ID_MSG  0x1D
#define ID_NOR  0x17
#define ID_AFK  0x47

pMenu->MessageFunc = CShell + 0x7FF30;
pMenu->VisibleState = CShell + 0x38AC04;
pMenu->PTC = CShell + 0x35EC54;
omg you know everything!
Quote Originally Posted by Genkidesu View Post
thats a new look.. wont work with alot of features but it is a cool idea to show previous and next item

@[G]a[M]e[R]
try the leecher codes with your own base

@Ryuzaki2
i can confirm Genkidesu's first answer
but i cant confirm the pointers
pm me cfph's cshell so i check myself

@ everyone
someone noticed the extra feature.. the afkbot?

activate by pressing its hotkey (default f2) and click mouse without moving it
deactivate by pressing insert twice and click back button

and for those who like downloading using without thanks link:
stop doing it and press thanks now!



using dakr54's weapon text XD.

on topic, thanks @giniyat101 i'll try your now.
Thanks for this it would be perfect for my next release a birthday special

Edit:
@giniyat101 I just checked the menu.h and I saw this line:

Code:
//never saw them changed but you will need to change them for CFPH
#define ID_MSG  0x1C
#define ID_NOR  0x16
#define ID_AFK  0x37
How can I find them in PH? And about the Visible State pointer how can I find it? Never saw that pointer before
Quote Originally Posted by Ryuzaki2 View Post
Thanks for this it would be perfect for my next release a birthday special

Edit:
@giniyat101 I just checked the menu.h and I saw this line:

Code:
//never saw them changed but you will need to change them for CFPH
#define ID_MSG  0x1C
#define ID_NOR  0x16
#define ID_AFK  0x37
How can I find them in PH? And about the Visible State pointer how can I find it? Never saw that pointer before
@Ryuzaki2 Don't forget credits me
Code:
#define ID_MSG  0x1D
#define ID_NOR  0x17
#define ID_AFK  0x47

pMenu->MessageFunc = CShell + 0x7FF30;
pMenu->VisibleState = CShell + 0x38AC04;
pMenu->PTC = CShell + 0x35EC54;
Quote Originally Posted by Genkidesu View Post
@Ryuzaki2 Don't forget credits me
Code:
#define ID_MSG  0x1D
#define ID_NOR  0x17
#define ID_AFK  0x47

pMenu->MessageFunc = CShell + 0x7FF30;
pMenu->VisibleState = CShell + 0x38AC04;
pMenu->PTC = CShell + 0x35EC54;
Oh god thanks!!! BTW, how did you find the visiblestate?

Anyway, thanks I will put you in the credits (even though not sure if I will release anymore)
i c&p and dont work idk why :|
no work ;S on Crossfire Brazil
Posts 1–15 of 97 · Page 1 of 7

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?