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 


Cheat Engine Forum Index
PostGo back to topic
mgr.inz.Player
I post too much
Reputation: 218
Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sat Jun 02, 2012 8:15 pm    Post subject: bitwiseLUAoperations

Plugin adds bitwise operations on numbers - int32 or int64.

Functions so far:
dobitwiseAND(value1, value2)
dobitwiseOR(value1, value2)
dobitwiseXOR(value1, value2)

Usage:
Code:
--example1
val1 = 0x00ff
val2 = 0xff01

print(string.format('%X',  dobitwiseAND(val1,val2)  ))
print(string.format('%X',  dobitwiseOR(val1,val2)   ))
print(string.format('%X',  dobitwiseXOR(val1,val2)  ))

--example2
Value = 0x4444
Mask = 0xFFC0

Value = dobitwiseAND(Value, Mask)
print(string.format('%X',Value))

--example3
OtherValue = 12345432
OtherValue = dobitwiseXOR(OtherValue, OtherValue)  -- clear all bits
print(OtherValue)



Download 32bit:
http://dl.dropbox.com/u/63264075/bitwiseLUAoperations.dll

Download 64bit:
http://cheatengine.org/temp/bitwiseLUAoperations-64.rar

Source:
http://dl.dropbox.com/u/63264075/bitwiseLUAoperations.rar
_________________
Dark Souls II Item Swap and Item List
My Borderlands2 tables

Recent CheatEngine builds
Back to top
View user's profile Send private message MSN Messenger
Post reviews:   Approve 1
Author Review
Dark Byte
Review: Approve
Post reference:
ReviewPosted: Sat Jun 02, 2012 8:50 pm


Back to top
View user's profile Send private message MSN Messenger
Display:  
Cheat Engine Forum Index


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites