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 


Memory Scanner v2 released!
Goto page Previous  1, 2, 3  Next
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming -> Binaries
View previous topic :: View next topic  
Author Message
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Thu Jan 29, 2009 8:19 am    Post subject: Reply with quote

rapion124 wrote:
You shouldn't do that. You should have the function fill an array with the found addresses. After the scan is done, display the array.

I know, i've done that in my new version, that will be released when i finished the GUI...
Just one thing that annoys me, is how i should store it, in some way that i can modify the size of the array while im looping, and all i know about is a simple int val[500]...
Would a vector be good in this case?
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Thu Jan 29, 2009 10:42 am    Post subject: Reply with quote

A vector could be fine...
Back to top
View user's profile Send private message
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Thu Jan 29, 2009 12:19 pm    Post subject: Reply with quote

slovach wrote:
A vector could be fine...

Anything better?
Back to top
View user's profile Send private message
tombana
Master Cheater
Reputation: 2

Joined: 14 Jun 2007
Posts: 456
Location: The Netherlands

PostPosted: Thu Jan 29, 2009 12:59 pm    Post subject: Reply with quote

Anden100 wrote:
slovach wrote:
A vector could be fine...

Anything better?

I don't know that much about vectors, but what I do know that they first reserve an amount of memory, and every time it needs more it will allocate more. There's also a member function ('reserve' or something like that) that will reserve some space so it doesn't have to keep allocating new memory. So when you scan and you expect a lot of results, it's probably good to enlarge(reserve space) the vector first so it doesn't have to do a lot of allocations.
(But I'm not experienced with vectors so I could be wrong)
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Thu Jan 29, 2009 1:43 pm    Post subject: Reply with quote

Anden100 wrote:
slovach wrote:
A vector could be fine...

Anything better?


Allocate the memory, and free it yourself if you are so inclined.

C++'s new / delete.
C's malloc / realloc / free.
Win32's HeapAlloc / HeapRealloc / HeapFree.

use whatever you want
Back to top
View user's profile Send private message
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Mon Mar 16, 2009 4:52 am    Post subject: Reply with quote

slovach wrote:
Anden100 wrote:
slovach wrote:
A vector could be fine...

Anything better?


Allocate the memory, and free it yourself if you are so inclined.

C++'s new / delete.
C's malloc / realloc / free.
Win32's HeapAlloc / HeapRealloc / HeapFree.

use whatever you want


None of them O.o, im just using a binary file now Wink

-Gravedig, v2 released-
Back to top
View user's profile Send private message
nwongfeiying
Grandmaster Cheater
Reputation: 2

Joined: 25 Jun 2007
Posts: 695

PostPosted: Mon Mar 16, 2009 5:35 am    Post subject: Reply with quote

It looks nices and you should show me your GUI code sometime.
Back to top
View user's profile Send private message
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Mon Mar 16, 2009 6:20 am    Post subject: Reply with quote

nwongfeiying wrote:
It looks nices and you should show me your GUI code sometime.


There is templates all over..., its as simple as it gets o.o
Back to top
View user's profile Send private message
nwongfeiying
Grandmaster Cheater
Reputation: 2

Joined: 25 Jun 2007
Posts: 695

PostPosted: Mon Mar 16, 2009 9:50 am    Post subject: Reply with quote

I'll google it then.
Back to top
View user's profile Send private message
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Mon Mar 16, 2009 10:59 am    Post subject: Reply with quote

nwongfeiying wrote:
I'll google it then.

Ill release the source at GC sometime
Untill then, check out this WindowTemplate (by lurc)
Back to top
View user's profile Send private message
nwongfeiying
Grandmaster Cheater
Reputation: 2

Joined: 25 Jun 2007
Posts: 695

PostPosted: Mon Mar 16, 2009 12:41 pm    Post subject: Reply with quote

The link is broken just to let you know.
Back to top
View user's profile Send private message
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Mon Mar 16, 2009 1:52 pm    Post subject: Reply with quote

Baah, i downloaded it a long time ago, so i didnt bother testing it O.o
Back to top
View user's profile Send private message
nwongfeiying
Grandmaster Cheater
Reputation: 2

Joined: 25 Jun 2007
Posts: 695

PostPosted: Mon Mar 16, 2009 2:22 pm    Post subject: Reply with quote

When I'm done with my other projects, I'll ask lurc for it.
Back to top
View user's profile Send private message
Jistin
How do I cheat?
Reputation: 0

Joined: 07 Jul 2011
Posts: 2

PostPosted: Thu Jul 07, 2011 6:25 am    Post subject: Reply with quote

how to download ??
Back to top
View user's profile Send private message
besimbicer
Newbie cheater
Reputation: 0

Joined: 13 Jan 2008
Posts: 12

PostPosted: Wed Jul 27, 2011 1:53 am    Post subject: Reply with quote

please open source and download link thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming -> Binaries All times are GMT - 6 Hours
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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