View previous topic :: View next topic |
Author |
Message |
Loset Cheater Reputation: 0
Joined: 18 Apr 2015 Posts: 34
|
Posted: Sat Apr 18, 2015 9:45 pm Post subject: copy value from another address to this one? |
|
|
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 |
|
|
ulysse31 Master Cheater Reputation: 2
Joined: 19 Mar 2015 Posts: 324 Location: Paris
|
Posted: Sat Apr 18, 2015 9:54 pm Post subject: |
|
|
You can do this with LUA script |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Sat Apr 18, 2015 9:57 pm Post subject: |
|
|
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
let the char y hotkey set the value to:
let the char z hotkey set the value to:
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 |
|
|
Loset Cheater Reputation: 0
Joined: 18 Apr 2015 Posts: 34
|
Posted: Sat Apr 18, 2015 10:27 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
|
Back to top |
|
|
Loset Cheater Reputation: 0
Joined: 18 Apr 2015 Posts: 34
|
Posted: Sun Apr 19, 2015 8:33 am Post subject: |
|
|
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 |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sun Apr 19, 2015 8:54 pm Post subject: |
|
|
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 |
|
|
|