Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[C] Reading Pointers IS FUCKING COOL I'M GOING TO STAB YOU
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
FirePhoenix
Grandmaster Cheater
Reputation: 0

Joined: 22 Jan 2008
Posts: 575

PostPosted: Mon Mar 02, 2009 7:38 pm    Post subject: Reply with quote

Wow, looks like really complex functions to a noob like me, anyways thanks for sharing your idea. Very Happy
_________________
Currently learning C++. You can't stop me babe!!!
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Mon Mar 02, 2009 7:46 pm    Post subject: Reply with quote

So this basically reads a pointer and checks the memory right?
No need to flame if i'm wrong...
Back to top
View user's profile Send private message
nwongfeiying
Grandmaster Cheater
Reputation: 2

Joined: 25 Jun 2007
Posts: 695

PostPosted: Mon Mar 02, 2009 8:56 pm    Post subject: Reply with quote

It looks cool and now to find out use for [or rather how to use] it.
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Mon Mar 02, 2009 9:15 pm    Post subject: Reply with quote

nwongfeiying wrote:
It looks cool and now to find out use for [or rather how to use] it.


Yes, because there wasn't an example posted or anything. Confused
Back to top
View user's profile Send private message
nwongfeiying
Grandmaster Cheater
Reputation: 2

Joined: 25 Jun 2007
Posts: 695

PostPosted: Mon Mar 02, 2009 9:25 pm    Post subject: Reply with quote

No, I mean like how I would use it in my code. I know I'm going to need it down the line somewhere, but just don't know where yet.
Back to top
View user's profile Send private message
iNoobHacker
Advanced Cheater
Reputation: 0

Joined: 05 Nov 2006
Posts: 99

PostPosted: Mon Mar 02, 2009 10:18 pm    Post subject: Reply with quote

nwongfeiying wrote:
No, I mean like how I would use it in my code. I know I'm going to need it down the line somewhere, but just don't know where yet.

Flyte wrote:
nwongfeiying wrote:
It looks cool and now to find out use for [or rather how to use] it.


Yes, because there wasn't an example posted or anything. Confused

Neutral Neutral Neutral

_________________
"Two things are infinite: the universe and human stupidity, but I'm still not sure about the first one."
Back to top
View user's profile Send private message
nwongfeiying
Grandmaster Cheater
Reputation: 2

Joined: 25 Jun 2007
Posts: 695

PostPosted: Mon Mar 02, 2009 10:37 pm    Post subject: Reply with quote

You seem to be missing the point. I can see that he posted an example, but I don't need to read pointers in my current applications because my current applications are simple. All they do is utilize sockets and whatnot.
Back to top
View user's profile Send private message
SXGuy
I post too much
Reputation: 0

Joined: 19 Sep 2006
Posts: 3551

PostPosted: Tue Mar 03, 2009 3:07 am    Post subject: Reply with quote

0xDEADBEEF lol love it.
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Tue Mar 03, 2009 5:17 am    Post subject: Reply with quote

This looks like the one from spawn's Trainer source that everyone downloaded and started making trainers to rep whore.
Back to top
View user's profile Send private message
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Tue Mar 03, 2009 5:21 am    Post subject: Reply with quote

Rot1 wrote:
This looks like the one from spawn's Trainer source that everyone downloaded and started making trainers to rep whore.


That's where it's from... trolling
Back to top
View user's profile Send private message MSN Messenger
nwongfeiying
Grandmaster Cheater
Reputation: 2

Joined: 25 Jun 2007
Posts: 695

PostPosted: Tue Mar 03, 2009 5:53 pm    Post subject: Reply with quote

/rage because noz3001 trolled me.
Back to top
View user's profile Send private message
BanMe
Master Cheater
Reputation: 0

Joined: 29 Nov 2005
Posts: 375
Location: Farmington NH, USA

PostPosted: Tue Mar 03, 2009 6:20 pm    Post subject: Reply with quote

the methodology is execellent and the code is easy to understand Great job Irwin .. here a very simple write to go along with it.. CREDITS to Irwin here to.. cause its just a simple mod of like 3 lines of code..


Code:

BOOL _WritePointer(__in ULONG ulValue, __in LPCVOID lpcvBase, ...)
{
  ULONG_PTR ulTemp;
  va_list   pArguments;
  BOOL      bRET;
  int       iOffset;

  __try {
    ulTemp = (ULONG_PTR)lpcvBase;
    va_start(pArguments, lpcvBase);
    while ((iOffset = va_arg(pArguments, int)) != 0x7ffff000)
      ulTemp = *(ULONG_PTR*)((*(ULONG_PTR*)ulTemp) + iOffset);
    va_end(pArguments);
    *ulTemp = ulValue;
    bRET = TRUE;
  }
  __except(EXCEPTION_EXECUTE_HANDLER) {
    bRET = FALSE;
  }

  return bRET;
}
Back to top
View user's profile Send private message MSN Messenger
nog_lorp
Grandmaster Cheater
Reputation: 0

Joined: 26 Feb 2006
Posts: 743

PostPosted: Thu Mar 05, 2009 5:37 am    Post subject: Reply with quote

But, it fails when my I need to use an offset of -559038737! Wink
_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish
Back to top
View user's profile Send private message
nog_lorp
Grandmaster Cheater
Reputation: 0

Joined: 26 Feb 2006
Posts: 743

PostPosted: Wed Mar 18, 2009 9:45 pm    Post subject: Reply with quote

Of course Very Happy.

But it is still true Wink stdargs were badly designed Sad

_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish
Back to top
View user's profile Send private message
kitterz
Grandmaster Cheater Supreme
Reputation: 0

Joined: 24 Dec 2007
Posts: 1268

PostPosted: Wed Mar 18, 2009 10:00 pm    Post subject: Reply with quote

Looks good
_________________
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites