DWORD ADR_Unlammo = *(DWORD*)(0x9F1B24); //Define Unlimited ammo adress
DWORD dwPlayer = *(DWORD*)(0x9F1BAC); //Define PlayerPtr adress
struct unlammo //Define struct name
{
void Patch(); //Define Patch
void Restore(); //Define Restore
DWORD dwPtr; //Define dwPtr (where we will store our value in)
__int64 haslogged; //Define haslogged (where we will switch)
}; unlammo *cAmmo; //Makes the struct usable as cAmmo->
void unlammo::Patch() //Define the Patch
{
if(dwPlayer != 0) //If our PlayerPtr is active (if we are ingame)
{
if(haslogged == 0) //And haslogged is not true (0)
{
unlammo::dwPtr = *(DWORD*)(ADR_Unlammo); //We will store our Unlimited Ammo value in the dwPtr (what we declared in our struct)
haslogged = 1; //Haslogged is true (1)
}
*(DWORD*)(ADR_Unlammo) = 0; //We will turn on our Unlammo
}
}
void unlammo::Restore() //Define the Restore
{
if(dwPlayer != 0) //if our PlayerPtr is active (if we are ingame)
{
*(DWORD*)(ADR_Unlammo) = unlammo::dwPtr; //We will restore the original value of the Unlimited Ammo
}
}
How to use:
Code:
if(Unlammo==1) //If Unlammo is true (1) then
{
if(GetAsyncKeyState(VK_ESCAPE)) //If we get the Escape Key then (ex. we exit a game)
{
cAmmo->Restore(); //We restore the original value
}else if(dwServer != 0) //Or if our ServerPtr is active (we are outgame)
{
cAmmo->Restore(); //We restore the original value
}
cAmmo->Patch(); //We enable our patch (Unlimited Ammo) will be on
if(Unlammo==0) //If Unlammo is false (0) then
{
cAmmo->Restore(); //We restore the original value
}
}
WTB Flyff Source code snippets 04/01/2012 - Flyff Trading - 0 Replies Hellow I posted this because I wanted to buy a fix scroll of unbinding.Which removes soul-link of an item.If you have its code snippets PM me.Don't sell me a code which is release because all of them are not working.I wanted to buy a fix one and a non-buggy code
Payment:via Paypal
[Autoit] Youtube Code Snippets 07/29/2011 - AutoIt - 5 Replies Tag Zusammen.
Wie wohl die meisten von euch mitbekommen haben, bieten derzeit sehr viele User hier sogenannte Youtube Services an, bei denen man Abos, Likes, Dislikes etc. kaufen kann.
Doch wer wirklich Erfolg haben will, braucht natürlich viele Abonnenten und Likes, was per Hand Tage dauern würde.
Deshalb werden hier in letzter Zeit immer mehr Youtube Bots verkauft.
Was, wie ich finde, ein ziemliche Abzocke ist, da das meist nur sehr schlechte Bots sind, die lediglich den Internet...
Some Code-Snippets[PSERVER] 07/15/2011 - Kal Hacks, Bots, Cheats & Exploits - 17 Replies This is the code of the hack which Fremo released..
I got new methods so I dont need this anymore & maybe it'll help some people...
G31 Adult Skill
if(comboBox4->Text=="Panther'crit'")
{
KC->Chat(255," Panther Skill ON");
KC->Threads=1;
KC->lasttime = timeGetTime()-15000;
}
else if(comboBox4->Text=="Tiger'otp'")
[Release] Code Snippets Manager 01/21/2011 - Coding Releases - 0 Replies Code Snippets Manager
http://upit.cc/images/1d47d78e.jpg
Hab mich heute mal rangesetzt, und einen kleinen Manager für
Code-Snippets(Code-Fetzen) gecodet, da ich alles sortiert
in einer Anwendung wollte.
Da es sicherlich jemand nützlich finden wird, lad ich es hier mal hoch.