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 Lua Unicode Help?

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

Joined: 13 May 2016
Posts: 5

PostPosted: Thu Jul 07, 2016 2:25 am    Post subject: Cheat Engine Lua Unicode Help? Reply with quote

function CEButton3Click(sender)
openProcess("RocketLeague.exe")

fromString="Boost_Sparkles.Boost_Sparkles"
toString="B o o s t _ A l p h a R e w a r d . B o o s t _ A l p h a R e w a r d "

ms=createMemScan()

-- "+W*X-C" means a checked writable checkbox, a grey execute and a unchecked copy on write. The default of the CE gui (adjust if needed. Empty means all)
ms.firstScan(soExactValue, vtString, rtRounded, fromString, '', 0,0xffffffffffffffff, "+W*X-C", fsmNotAligned, 1, true, true, true, true) --last true means case sensitive
ms.waitTillDone()

fl=createFoundList(ms)
fl.initialize()
--print(fl.Count)

for i=0,fl.Count-1 do
writeString(fl.Address[0], toString)
end

fl.deinitialize()
fl.destroy()

ms.destroy()
end
How would I have the ToString be Written in unicode? when I execute this is doesnt have the 00 hex gaps, how would I have it write with that?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Thu Jul 07, 2016 3:20 am    Post subject: Reply with quote

writeString(fl.Address[0], toString, true)
_________________
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
View user's profile Send private message MSN Messenger
DakotaWebber
How do I cheat?
Reputation: 0

Joined: 13 May 2016
Posts: 5

PostPosted: Thu Jul 07, 2016 3:44 am    Post subject: Reply with quote

Thank you Smile
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