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 


Player Coordinates Cheat

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Enksx1
Newbie cheater
Reputation: 0

Joined: 21 Jun 2016
Posts: 14
Location: United States

PostPosted: Mon Aug 29, 2016 6:57 am    Post subject: Player Coordinates Cheat Reply with quote

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
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Mon Aug 29, 2016 5:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Enksx1
Newbie cheater
Reputation: 0

Joined: 21 Jun 2016
Posts: 14
Location: United States

PostPosted: Tue Aug 30, 2016 5:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Tue Aug 30, 2016 6:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Enksx1
Newbie cheater
Reputation: 0

Joined: 21 Jun 2016
Posts: 14
Location: United States

PostPosted: Wed Aug 31, 2016 1:54 pm    Post subject: Reply with quote

Cool, this works . Much thanks dude
Back to top
View user's profile Send private message
LastExceed
Expert Cheater
Reputation: 1

Joined: 05 Nov 2014
Posts: 130

PostPosted: Thu Sep 01, 2016 10:57 am    Post subject: Reply with quote

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
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Thu Sep 01, 2016 3:50 pm    Post subject: Reply with quote

It's usually available through the exact same instruction that's accessing the player's coordinates.
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