| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| dny4pvp Newbie cheater
 
 ![]() Reputation: 0 
 Joined: 01 Aug 2022
 Posts: 10
 
 
 | 
			
				|  Posted: Fri Aug 16, 2024 5:58 am    Post subject: [Question] Transfer Value (Pointer 1 to Pointer 2) |   |  
				| 
 |  
				| Hello, today I am faced with a small problem that I absolutely cannot handle alone, and I want your help because I am sure that most of you are competent and understand my frustration of several hours of torment. In the first phase, let me briefly explain, I want to auto-transfer the value of pointer 1 to pointer 2 through a LUA or Auto-Assembly script.
 
 This is the picture with the cheat table showing POINTER 1 and POINTER 2
 I specify that after each restart of the application the values are different from those in (Value)
 
 This picture is from the first pointer, including offsets, I specify that the values on the right side change the same after every restart of the application
 
 And the last picture is from pointer 2
 
 I want to link to something from the pictures, I don't want a debugger or other complications. Do you think there is something that can help me?
 You are definitely wonderful people to understand everything.
 
 Thank you very much, I am waiting for some advice from you.
 
 P.S : Do you understand the order of the pictures, because I saw that [img] with the link does not work.
 
 
 
 
 
	
		
	 
		| Description: |  |  
		| Filesize: | 57.1 KB |  
		| Viewed: | 2237 Time(s) |  
		| 
  
 
 |  
 
 
	
		
	 
		| Description: |  |  
		| Filesize: | 62.87 KB |  
		| Viewed: | 2237 Time(s) |  
		| 
  
 
 |  
 
 
	
		
	 
		| Description: |  |  
		| Filesize: | 21.99 KB |  
		| Viewed: | 2237 Time(s) |  
		| 
  
 
 |  
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Dark Byte Site Admin
 
  Reputation: 470 
 Joined: 09 May 2003
 Posts: 25807
 Location: The netherlands
 
 | 
			
				|  Posted: Fri Aug 16, 2024 6:23 am    Post subject: |   |  
				| 
 |  
				| freeze "Copy Here" and then change it's value to 
 
 in lua it'd be something like:
 
  	  | Code: |  	  | AddressList['Copy Here'].Active=true
 AddressList['Copy Here'].Value='(Base Address)'
 
 | 
 _________________
 
 Do not ask me about online cheats. I don't know any and wont help finding them.
 Like my help? Join me on Patreon so i can keep helping
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Emya Newbie cheater
 
 ![]() Reputation: 0 
 Joined: 28 Jul 2024
 Posts: 14
 
 
 | 
			
				|  Posted: Fri Aug 16, 2024 9:35 am    Post subject: asm |   |  
				| 
 |  
				| push eax push esi
 mov eax,[Pegasus2.exe+01384C8C]
 mov esi,eax
 mov eax,[eax+B0]
 mov eax,[eax+08]
 mov eax,[eax+04]
 mov eax,[eax+00]
 mov eax,[eax+14]
 mov eax,[eax+08]
 
 mov esi,[esi+9C]
 mov esi,[esi+08]
 mov esi,[esi+04]
 mov esi,[esi+08]
 mov esi,[esi+00]
 mov esi,[esi+14]
 mov [esi+08],eax
 pop esi
 pop eax
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| dny4pvp Newbie cheater
 
 ![]() Reputation: 0 
 Joined: 01 Aug 2022
 Posts: 10
 
 
 | 
			
				|  Posted: Fri Aug 16, 2024 12:34 pm    Post subject: |   |  
				| 
 |  
				| So instead of the base address, I put the address from the pointer with the offsets? 
 
  	  | Dark Byte wrote: |  	  | freeze "Copy Here" and then change it's value to 
 
 in lua it'd be something like:
 
  	  | Code: |  	  | AddressList['Copy Here'].Active=true
 AddressList['Copy Here'].Value='(Base Address)'
 
 | 
 | 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| ParkourPenguin I post too much
 
  Reputation: 152 
 Joined: 06 Jul 2014
 Posts: 4706
 
 
 | 
			
				|  Posted: Fri Aug 16, 2024 12:40 pm    Post subject: |   |  
				| 
 |  
				| No, Base Address is the description of the other memory record 	  | dny4pvp wrote: |  	  | So instead of the base address, I put the address from the pointer with the offsets? | 
 _________________
 
 I don't know where I'm going, but I'll figure it out when I get there. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| dny4pvp Newbie cheater
 
 ![]() Reputation: 0 
 Joined: 01 Aug 2022
 Posts: 10
 
 
 | 
			
				|  Posted: Fri Aug 16, 2024 8:07 pm    Post subject: |   |  
				| 
 |  
				| The only version that works is that of DarkByte with LUA, do you think I still have a chance to hope for auto-assembly? Thank you very much for your help and sorry for the trouble! |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| ParkourPenguin I post too much
 
  Reputation: 152 
 Joined: 06 Jul 2014
 Posts: 4706
 
 
 | 
			
				|  Posted: Fri Aug 16, 2024 9:19 pm    Post subject: |   |  
				| 
 |  
				| If you want a script you can toggle on/off, you can use Lua in AA: 
  	  | Code: |  	  | {$lua} if syntaxcheck then return end
 
 local m = AddressList["Pointer 2"]
 
 [ENABLE]
 m.Active = true
 m.Value = "(Pointer 1)"
 
 [DISABLE]
 m.Active = false
 | 
 
 If you don't want to use Lua, why? You could create a thread in the target process, but that seems like more work than it's worth
 Here's a basic template of how to use createthread in AA:
 https://forum.cheatengine.org/viewtopic.php?t=619046
 _________________
 
 I don't know where I'm going, but I'll figure it out when I get there. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |