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 


copy value from another address to this one?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Loset
Cheater
Reputation: 0

Joined: 18 Apr 2015
Posts: 34

PostPosted: Sat Apr 18, 2015 9:45 pm    Post subject: copy value from another address to this one? Reply with quote

trying to do waypoint teleportation in gta v..
after trying stuff all day I finally found character xyz pointers and waypoint x and z

now how can I make like a hotkey that when I press for example Insert
it will change my character x and z to the waypoint x and z ?
Back to top
View user's profile Send private message
ulysse31
Master Cheater
Reputation: 2

Joined: 19 Mar 2015
Posts: 324
Location: Paris

PostPosted: Sat Apr 18, 2015 9:54 pm    Post subject: Reply with quote

You can do this with LUA script
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Sat Apr 18, 2015 9:57 pm    Post subject: Reply with quote

do a code injection on a routine that reads out your position and in there check if a key is down and if so, synchronize the positions

or
add waypoint x,y and z pointers/addresses to the table (name them wp_x, wp_y and wp_z)
and add char x, y and z pointers to the table

assign a "set value" hotkey to char x, y and z, using the same key combination every time. (e.g ctrl+t )
let the char x hotkey set the value to
Code:

(wp_x)


let the char y hotkey set the value to:
Code:

(wp_y)


let the char z hotkey set the value to:
Code:

(wp_z)


And yes, lua works too

_________________
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
View user's profile Send private message MSN Messenger
Loset
Cheater
Reputation: 0

Joined: 18 Apr 2015
Posts: 34

PostPosted: Sat Apr 18, 2015 10:27 pm    Post subject: Reply with quote

thanks !! Dark Byte that realy helped with the hotkeys.. but I have a problem

when I press Insert it teleports me to waypoint.. the problem is..

that it seems it only works when I alt-tab to cheat-engine..

I mean sometimes when I alt-tab.. the pointer value of my x,y,z of character is ????? then I alt-tab again and suddenly I see the values in cheat engine and only then I can teleport again

Edit ! never mind.. found out I used wrong pointer to base my results on.. I had few results of the Y coord in the pointer scan and that one was just fuked up when I alt-tab but when I switched to a different pointer they all work now Very Happy
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sun Apr 19, 2015 12:43 am    Post subject: Reply with quote

Or just download my table...
http://forum.cheatengine.org/viewtopic.php?p=5589173#5589173
Back to top
View user's profile Send private message
Loset
Cheater
Reputation: 0

Joined: 18 Apr 2015
Posts: 34

PostPosted: Sun Apr 19, 2015 8:33 am    Post subject: Reply with quote

I have a new problem now..

there are 2 sets of xyz in the game

1 just for show
and 1 is real..

I want to be able to move the fake one however I want as it gives me indication of where my player will be after teleport without actually teleporting so I dont die..


so I tried doing like
(self)+10 in the set hotkey.. and that didnt work =/ what are my alternatives?
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sun Apr 19, 2015 8:54 pm    Post subject: Reply with quote

Not sure which method you used to build your address.

If it's AA, there's a hotkey action to "Increase value with".
So add the X, Y, and Z addresses to the table and give each a hotkey to increase/decrease as desired.

If it's Lua, then create a new script that uses:
Code:
writeFloat(address, readFloat(address) + 10.0)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
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