| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Anden100 Grandmaster Cheater
 
 ![]() Reputation: 0 
 Joined: 20 Apr 2007
 Posts: 668
 
 
 | 
			
				|  Posted: Thu Jan 29, 2009 8:19 am    Post subject: |   |  
				| 
 |  
				|  	  | 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 |  | 
	
		|  | 
	
		| hcavolsdsadgadsg I'm a spammer
 
 ![]() Reputation: 26 
 Joined: 11 Jun 2007
 Posts: 5801
 
 
 | 
			
				|  Posted: Thu Jan 29, 2009 10:42 am    Post subject: |   |  
				| 
 |  
				| A vector could be fine... |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Anden100 Grandmaster Cheater
 
 ![]() Reputation: 0 
 Joined: 20 Apr 2007
 Posts: 668
 
 
 | 
			
				|  Posted: Thu Jan 29, 2009 12:19 pm    Post subject: |   |  
				| 
 |  
				|  	  | slovach wrote: |  	  | A vector could be fine... | 
 Anything better?
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| tombana Master Cheater
 
 ![]() Reputation: 2 
 Joined: 14 Jun 2007
 Posts: 456
 Location: The Netherlands
 
 | 
			
				|  Posted: Thu Jan 29, 2009 12:59 pm    Post subject: |   |  
				| 
 |  
				|  	  | 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 |  | 
	
		|  | 
	
		| hcavolsdsadgadsg I'm a spammer
 
 ![]() Reputation: 26 
 Joined: 11 Jun 2007
 Posts: 5801
 
 
 | 
			
				|  Posted: Thu Jan 29, 2009 1:43 pm    Post subject: |   |  
				| 
 |  
				|  	  | 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 |  | 
	
		|  | 
	
		| Anden100 Grandmaster Cheater
 
 ![]() Reputation: 0 
 Joined: 20 Apr 2007
 Posts: 668
 
 
 | 
			
				|  Posted: Mon Mar 16, 2009 4:52 am    Post subject: |   |  
				| 
 |  
				|  	  | 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
   
 -Gravedig, v2 released-
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| nwongfeiying Grandmaster Cheater
 
 ![]() Reputation: 2 
 Joined: 25 Jun 2007
 Posts: 695
 
 
 | 
			
				|  Posted: Mon Mar 16, 2009 5:35 am    Post subject: |   |  
				| 
 |  
				| It looks nices and you should show me your GUI code sometime. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Anden100 Grandmaster Cheater
 
 ![]() Reputation: 0 
 Joined: 20 Apr 2007
 Posts: 668
 
 
 | 
			
				|  Posted: Mon Mar 16, 2009 6:20 am    Post subject: |   |  
				| 
 |  
				|  	  | 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 |  | 
	
		|  | 
	
		| nwongfeiying Grandmaster Cheater
 
 ![]() Reputation: 2 
 Joined: 25 Jun 2007
 Posts: 695
 
 
 | 
			
				|  Posted: Mon Mar 16, 2009 9:50 am    Post subject: |   |  
				| 
 |  
				| I'll google it then. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Anden100 Grandmaster Cheater
 
 ![]() Reputation: 0 
 Joined: 20 Apr 2007
 Posts: 668
 
 
 | 
			
				|  Posted: Mon Mar 16, 2009 10:59 am    Post subject: |   |  
				| 
 |  
				|  	  | 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 |  | 
	
		|  | 
	
		| nwongfeiying Grandmaster Cheater
 
 ![]() Reputation: 2 
 Joined: 25 Jun 2007
 Posts: 695
 
 
 | 
			
				|  Posted: Mon Mar 16, 2009 12:41 pm    Post subject: |   |  
				| 
 |  
				| The link is broken just to let you know. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Anden100 Grandmaster Cheater
 
 ![]() Reputation: 0 
 Joined: 20 Apr 2007
 Posts: 668
 
 
 | 
			
				|  Posted: Mon Mar 16, 2009 1:52 pm    Post subject: |   |  
				| 
 |  
				| Baah, i downloaded it a long time ago, so i didnt bother testing it O.o |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| nwongfeiying Grandmaster Cheater
 
 ![]() Reputation: 2 
 Joined: 25 Jun 2007
 Posts: 695
 
 
 | 
			
				|  Posted: Mon Mar 16, 2009 2:22 pm    Post subject: |   |  
				| 
 |  
				| When I'm done with my other projects, I'll ask lurc for it. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Jistin How do I cheat?
 
 ![]() Reputation: 0 
 Joined: 07 Jul 2011
 Posts: 2
 
 
 | 
			
				|  Posted: Thu Jul 07, 2011 6:25 am    Post subject: |   |  
				| 
 |  
				| how to download ?? |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| besimbicer Newbie cheater
 
 ![]() Reputation: 0 
 Joined: 13 Jan 2008
 Posts: 12
 
 
 | 
			
				|  Posted: Wed Jul 27, 2011 1:53 am    Post subject: |   |  
				| 
 |  
				| please open source and download link thanks |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |