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 


CEServer with Lua script

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

Joined: 18 Aug 2021
Posts: 2

PostPosted: Wed Aug 18, 2021 3:19 pm    Post subject: CEServer with Lua script Reply with quote

I have searched for documentation connecting to ceserver by lua script, but nothing.

I tried
Code:

print(connectToCEServer("192.168.1.14","52736"))
for pid,name in pairs(getProcessList()) do
   print(string.format("%x - %s", pid,name))
end

It works. It showed list processes, but when I use
Code:

openProcess("com.android.browser")

It show error: Undefined lua error
When I tried run with wrong process name, it does not happened error.
Did I miss something? And Where I can found a tutorial for writing, reading memory with lua + ceserver? Thanks
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Wed Aug 18, 2021 5:16 pm    Post subject: Reply with quote

see if you can filter out the processid and then do openProcess(pid)
_________________
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
xdznlmt
How do I cheat?
Reputation: 0

Joined: 18 Aug 2021
Posts: 2

PostPosted: Wed Aug 18, 2021 11:22 pm    Post subject: Reply with quote

Thanks. openProcess works well now.
But, I cannot use readInteger / writeInteger (I don't see any logs in ceserver). Or does it have to use other functions?
Right now I can only use getProcessList()

And, is there any sdk / way to connect to ceserver and write memory, read memory without using lua / CE client?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Thu Aug 19, 2021 12:02 am    Post subject: Reply with quote

i don't think read and write show logs as that would make things too slow

no sdk, but you can likely look at the ceserver source and figure out how the communication works

_________________
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
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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