View previous topic :: View next topic |
Author |
Message |
Enksx1 Newbie cheater Reputation: 0
Joined: 21 Jun 2016 Posts: 14 Location: United States
|
Posted: Mon Aug 29, 2016 6:57 am Post subject: Player Coordinates Cheat |
|
|
Hi guys. I'm currently making a Player-Coordinate cheat in NFS MostWanted 2012. What I want to do is troll some other cheaters in the game by having my in-game coordinates locking on to theirs so anywhere they go, my coordinates are locked on and I move with them aswell. The problem is, is the trainer part, i've already got the addresses and stuff needed.. Is there any type of lua commands/lines that will change a value when a current one is changed? or some kind of script that I can make?
Thanks .
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Mon Aug 29, 2016 5:47 pm Post subject: |
|
|
Since your skills seem rather limited...
Code: | if mytimer == nil then
mytimer = createTimer(nil, false)
end
mytimer.Interval = 1
mytimer.OnTimer = function(timer)
writeBytes("[pointer+to]+mine", readBytes("[pointer+to]+theirs", 12))
end
mytimer.Enabled = true |
|
|
Back to top |
|
|
Enksx1 Newbie cheater Reputation: 0
Joined: 21 Jun 2016 Posts: 14 Location: United States
|
Posted: Tue Aug 30, 2016 5:45 am Post subject: |
|
|
Problem is, using anything as "write" in this game specifically, crashes it. Had a problem with this last time, so it would need to be something like "getMemoryRecordByDescription".
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Tue Aug 30, 2016 6:10 pm Post subject: |
|
|
Maybe I'm wrong, but I don't think setting a table entry's value is any different from calling the Lua write methods.
But if you must...
Code: | local list = getAddressList()
list.getMemoryRecordByDescription("My X").Value = list.getMemoryRecordByDescription("Their X").Value |
|
|
Back to top |
|
|
Enksx1 Newbie cheater Reputation: 0
Joined: 21 Jun 2016 Posts: 14 Location: United States
|
Posted: Wed Aug 31, 2016 1:54 pm Post subject: |
|
|
Cool, this works . Much thanks dude
|
|
Back to top |
|
|
LastExceed Expert Cheater Reputation: 1
Joined: 05 Nov 2014 Posts: 130
|
Posted: Thu Sep 01, 2016 10:57 am Post subject: |
|
|
I had this idea before for other games, but never figured out how to pull it off. How do you get the addresses for another players coordinates?
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Thu Sep 01, 2016 3:50 pm Post subject: |
|
|
It's usually available through the exact same instruction that's accessing the player's coordinates.
|
|
Back to top |
|
|
|