PDA

View Full Version : Superjump unlimited stamina In C++



wouter11
05-08-2008, 11:29 AM
Hi,

I'm new here in C++ so I might need a little help:).
I wanna make superjump and unlimited stamina can someone tell me how to do that. I can give him a lot of addies:). (included OPK for VIP dunnow of it works).

Greets Wouter

masterboy
05-08-2008, 12:16 PM
{
WritePointerFloat(0x13773A0,28C,1120403456);
} // Stamina




{
WritePointerFloat(0x13773A0,178,2000);
} // SuperJump


2000 can also be 1000 or 3000 or what u want

Both needs to be in a timer and u need a WritePointerFloat Function.

ganglyman21
05-08-2008, 12:18 PM
Here is a Stamina function. You can alter it slightly to do super jump.



void Stamina()
{
memory()
int player=0xPLAYERPOINTER;
int stamina=0x28C;
int value1=1120403456;
long maddy;

ReadProcessMemory(hProcess, (LPVOID*)(DWORD) player, &maddy, sizeof(maddy), NULL);

stam = maddy + stamina;

WriteProcessMemory(hProcess, (LPVOID*)(DWORD) stam, &value1, sizeof(value1), NULL);
}

sailerboy
05-08-2008, 07:52 PM
make sure you have a ; after memory


void Stamina()
{
memory();
int player=0xPLAYERPOINTER;
int stamina=0x28C;
int value1=1120403456;
long maddy;

ReadProcessMemory(hProcess, (LPVOID*)(DWORD) player, &maddy, sizeof(maddy), NULL);

stam = maddy + stamina;

WriteProcessMemory(hProcess, (LPVOID*)(DWORD) stam, &value1, sizeof(value1), NULL);
}
Me likes pointing out other peoples mistakes!

wouter11
05-09-2008, 05:15 AM
Hi guys thnx for helping I'm a little bit further now:).

But I've got still a few errors:S. This is my code:

void CHackDlg::OnSuperjump()
{
SetTimer(FIRSTTIMER, 1, NULL);
}

void CHackDlg::OnUnlimitedStamina()
{
SetTimer(SECONDTIMER, 1, NULL);
}

void CHackDlg::OnTimer(UINT nIDEvent)
{
switch(nIDEvent)
{
case FIRSTTIMER:
{
{
WritePointerFloat(0x13773A0,178,2000);
} // SuperJump
}
break; // end of a case

case SECONDTIMER:
{
WritePointerFloat(0x13773A0,28C,1120403456);
} // Stamina
break;
}
CDialog::OnTimer(nIDEvent);
}

(I've add the timers to resources.H)
These are my errors:

E:\Program Files\Microsoft Visual Studio\MyProjects\Hack\HackDlg.cpp(222) : error C2059: syntax error : 'bad suffix on number'

E:\Program Files\Microsoft Visual Studio\MyProjects\Hack\HackDlg.cpp(222) : error C2146: syntax error : missing ')' before identifier 'C'

E:\Program Files\Microsoft Visual Studio\MyProjects\Hack\HackDlg.cpp(222) : error C2660: 'WritePointerFloat' : function does not take 2 parameters

E:\Program Files\Microsoft Visual Studio\MyProjects\Hack\HackDlg.cpp(222) : error C2059: syntax error : ')'

Please help me with fixing this...

If its fixed I will pm you guys a lot of addresses:D.

Greets Wouter

masterboy
05-09-2008, 07:25 AM
Next time code your source...



void CHackDlg::OnTimer(UINT nIDEvent)
{
switch(nIDEvent)
{
case FIRSTTIMER:

{
WritePointerFloat(0x13773A0,178,2000);
} // SuperJump

break;

case SECONDTIMER:
{
WritePointerFloat(0x13773A0,28C,1120403456);
} // Stamina
break;
// end of a case
}
CDialog::OnTimer(nIDEvent);
}



That come first and u had 2 times { and end of case comes when u made your last timer not with your first timer


void CHackDlg::OnSuperjump()
{
SetTimer(FIRSTTIMER, 1, NULL);
}

void CHackDlg::OnUnlimitedStamina()
{
SetTimer(SECONDTIMER, 1, NULL);
}


This comes second and now compile it...tell me if u get errors/warnings

ruthlessx287
05-09-2008, 09:06 AM
theres no download for it where is it at

sailerboy
05-09-2008, 10:05 AM
Do you have a writepointerfloat function? if not, then use my revised stamina function, and just put in the address.

sh00ter999
05-10-2008, 05:11 AM
Can no1 post a whole explaination of what to do ?
I also get 5 Errrors....

Where Should i put this ? :


void Stamina()
{
memory();
int player=0xPLAYERPOINTER;
int stamina=0x28C;
int value1=1120403456;
long maddy;

ReadProcessMemory(hProcess, (LPVOID*)(DWORD) player, &maddy, sizeof(maddy), NULL);

stam = maddy + stamina;

WriteProcessMemory(hProcess, (LPVOID*)(DWORD) stam, &value1, sizeof(value1), NULL);
}



Or maybe some1 could write sth like an tut what i have to do

sailerboy
05-10-2008, 02:02 PM
OMG! Go Directaly to the nearest book store and buy a C++ programing book. Do not past go. Do not collect $200.

ganglyman21
05-11-2008, 04:29 AM
make sure you have a ; after memory


void Stamina()
{
memory();
int player=0xPLAYERPOINTER;
int stamina=0x28C;
int value1=1120403456;
long maddy;

ReadProcessMemory(hProcess, (LPVOID*)(DWORD) player, &maddy, sizeof(maddy), NULL);

stam = maddy + stamina;

WriteProcessMemory(hProcess, (LPVOID*)(DWORD) stam, &value1, sizeof(value1), NULL);
}
Me likes pointing out other peoples mistakes!

Did type it from memory cut me some slack lol.

This would need to go at the top somewhere andd in a timer you literally type:

Stamina();
Then when the timer is activated it'll frezze stamina.