again C++

Discussions About Anything Civilized, Hacking or Not

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

again C++

Postby JB Gzn » Sun Mar 16, 2008 3:01 pm

lol i'm very nooby in C++
so i think this is totally wrong
i wanted to make a pointer.
i made this LoL:
int main()
{
int *a = (int*)0x341e6ccc, b = *a+0x1f8, c = b+0xc, d = c+0x2d4;
}
this is No reload pointer btw
later on in a hack i wrote:
int *offset12 = (int*)0xd;
*offset12 = 255;
i couldn't write d; in the first rule, which gave me an error, but this one crashes the game when i press the hotkey i assigned to it >.>
Image
ImageImage

famous wrote:What's worth the price is always worth the fight


famous wrote:Every second counts cause there's no second try
User avatar
JB Gzn
Pro++
 
Posts: 1985
Joined: Sun Jan 27, 2008 7:56 pm
Location: Unknown, please use a pointer.

Postby mezzo » Mon Mar 17, 2008 12:55 am

it's a good idea to ALWAYS set your pointers to NUL, before assigning
them a value... otherwise borked PC :p
- No thanks, I already have a penguin -
User avatar
mezzo
El Mariachi
 
Posts: 739
Joined: Mon Apr 30, 2007 10:27 pm
Location: Antwerp

Postby JB Gzn » Mon Mar 17, 2008 1:53 am

mezzo wrote:it's a good idea to ALWAYS set your pointers to NUL, before assigning
them a value... otherwise borked PC :p


the script above i just made with an already existing script( from C++ tuts i made it) and the pointer part is my wide imagination,
so how would i set it to nul?
Image
ImageImage

famous wrote:What's worth the price is always worth the fight


famous wrote:Every second counts cause there's no second try
User avatar
JB Gzn
Pro++
 
Posts: 1985
Joined: Sun Jan 27, 2008 7:56 pm
Location: Unknown, please use a pointer.


Return to Social/Unrelated

Who is online

Users browsing this forum: No registered users and 0 guests