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 


how to read or write Binary&Binary(x->y) with lua src

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
cancandodo
How do I cheat?
Reputation: 0

Joined: 09 Mar 2012
Posts: 7

PostPosted: Tue Nov 07, 2017 9:42 pm    Post subject: how to read or write Binary&Binary(x->y) with lua src Reply with quote

how to read or write Binary&Binary(x->y) with lua srcipt?


1.jpg
 Description:
 Filesize:  78.26 KB
 Viewed:  624 Time(s)

1.jpg


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 342

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

PostPosted: Wed Nov 08, 2017 2:17 am    Post subject: Reply with quote

use the memoryrecord object and read/write the Value property
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Back to top
View user's profile Send private message MSN Messenger
Zanzer
I post too much
Reputation: 120

Joined: 09 Jun 2013
Posts: 3260

PostPosted: Wed Nov 08, 2017 7:12 pm    Post subject: Reply with quote

Code:
writeBytes(address, readBytes(address, 1) | 0x8)
Back to top
View user's profile Send private message
cancandodo
How do I cheat?
Reputation: 0

Joined: 09 Mar 2012
Posts: 7

PostPosted: Wed Nov 08, 2017 7:36 pm    Post subject: Reply with quote

Zanzer wrote:
Code:
writeBytes(address, readBytes(address, 1) | 0x8)


this is write code

how to read?
readbytes(address,1)|0x8 ?
Back to top
View user's profile Send private message
ParkourPenguin
Grandmaster Cheater Supreme
Reputation: 54

Joined: 06 Jul 2014
Posts: 1815
Location: Arcadian Suburbia

PostPosted: Wed Nov 08, 2017 9:26 pm    Post subject: Reply with quote

Code:
function readBits(address, startBit, size)
  return readQword(address) >> startBit & (1 << size) - 1
end

_________________
I don't know where I'm going, but I'll figure it out when I get there.
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 Lua Scripting 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