The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

๐Ÿ–ผ๏ธ Enhanced bot using memory reads

Started by Greyman ยท Jan 16, 2015

85 replies1,439,089 views
Jan 18, 2015#41

@Greyman, Thanks ๐Ÿ™‚ yeah i've decided to switch to Andy on this. but i was retarted and didn't run ceserver outside the emulator, once i did it with cmd it all just came together. ๐Ÿ™‚ good work by you Sir!.

Eh? CEServer should be run on the emulator, not on the host OS.

Jan 18, 2015#42

@Greyman No i meant i used terminal emu on the actual emulator instead of using adb shell from cmd.

Jan 18, 2015#43

@Greyman No i meant i used terminal emu on the actual emulator instead of using adb shell from cmd.

Oh ok, that's peculiar. I run all of my stuff using adb shell, you just have to make sure you run 'su' first before running the server. Whatever works for you though!

Jan 18, 2015#44

@Greyman, Yes i ran su ๐Ÿ™‚ I don't have that much experience with Andy emulator so glad i learned this ๐Ÿ˜› You said you have written a client in C#.Net ? are you connecting to the ceserver on the emulator to do base dumps ? i've started writing a bot in c# already and would be epic if i can get co ords from memory instead of using aforge and getPixel lol

Jan 18, 2015#45

@Greyman, Yes i ran su ๐Ÿ™‚ I don't have that much experience with Andy emulator so glad i learned this ๐Ÿ˜› You said you have written a client in C#.Net ? are you connecting to the ceserver on the emulator to do base dumps ? i've started writing a bot in c# already and would be epic if i can get co ords from memory instead of using aforge and getPixel lol

I've written a client in C#/.NET against a slightly modified CEServer, yes. The protocol Dark Byte came up with is very simple, and there's only a handful of request/response types that require implementation for this kind of work.

What I've got is fairly primitive and the code will need some serious refactoring down the road, but the focus for now is to just get things up and running. I'm most productive in C#/.NET, so the time it took to write the CE client (and some custom memory search functions etc) is more than made up for with the increased productivity for the rest of the bot code.

Jan 18, 2015#46

yup mr.Greyman i hooked into client what's next? ๐Ÿ™‚

Jan 18, 2015#47

@Greyman, Agreed. However this means that this bot wil only be working on rooted devices ? as ceserver wil need to be running client side ? or are you planning on a client side bot ?

Jan 18, 2015#48

@Greyman do you perhaps have a link where Dark Byte discussed the protocol you are referring to ?

Jan 18, 2015#49

@Greyman, Agreed. However this means that this bot wil only be working on rooted devices ? as ceserver wil need to be running client side ? or are you planning on a client side bot ?

It's technically possible to run ceserver (or something like it, at least) as non-root, but you'd have to substantially change the way it works. That's on my to-do list, but is very low on the priority queue.

  1. Working bot
  2. Everything else

๐Ÿ˜›

Jan 18, 2015#50

yup mr.Greyman i hooked into client what's next? ๐Ÿ™‚

Sent you an email ๐Ÿ™‚

Got something to add?

Log in to post a reply.

Join the conversation