Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 17:23

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Question] Memory based bot. How to start?

Discussion on [Question] Memory based bot. How to start? within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old 08/26/2012, 10:45   #16
 
elite*gold: 20
Join Date: Aug 2005
Posts: 1,734
Received Thanks: 1,001
I found one project that I've done for memory related things (actual functionality). It's a DLL project so you would need to inject it to conquer.exe with some other program. It doesn't have much comments but it's shouldn't be that complicated. :P This code is however pretty outdated (1.5 years) so it won't work straight on.
Attached Files
File Type: rar dllmain.rar (2.0 KB, 47 views)
tanelipe is offline  
Thanks
1 User
Old 08/26/2012, 12:36   #17
 
elite*gold: 0
Join Date: Jul 2011
Posts: 82
Received Thanks: 12
Oh oh, that sounds like C++ source code! Very nice haha!

I will take a look, try to understand something. Thanks for your code!

itachi26 is offline  
Old 08/26/2012, 13:04   #18
 
*M*'s Avatar
 
elite*gold: 0
Join Date: Apr 2007
Posts: 950
Received Thanks: 2,410
Depending how complex you want it, you could just make the bot inside the client if you get proficient enough at ASM. At the end of the executable, and throughout the exe too there is dead code and free space. In this space you can make codecaves that you reroute the program flow to, execute your own code, then direct it back. It's probably the most fun thing I enjoy about reversing.

When I was playing I managed to squeeze in a basic bot that read the moblist for monsters listed in the chat box & attacked them, and pressed f1 if hp went below 500. That was about as far as I got but if I pushed on and found the free space, I could probably make a reasonably featured bot.
I've deleted my CO folder but I might still have the exe for you to look at, I will have a proper search once I manage to pull myself away from GuildWars 2 haha.

Also, I learned from leena's & other similar ollydbg tutorials, then just started using the knowledge in many different executables & figuring things out. Tuts4you & OpenRCE are great knowledge bases.
*M* is offline  
Old 08/26/2012, 13:36   #19
 
elite*gold: 0
Join Date: Jul 2011
Posts: 82
Received Thanks: 12
That's amazing... Really....

But WTF, a bot in ASM?! I'm crying while coding in C++, and you want me to code a bot into the .EXE, and in ASM?!
Seriously, I didn't start learning anything about ASM at the moment, I'm struggling with programming bases in C++ and my spare time is going away... That being said, I'm very curious to see how did you do, to make your bot in ASM, you must be strong.

Same picture for you (as the above) haha!
itachi26 is offline  
Old 08/26/2012, 14:10   #20
 
*M*'s Avatar
 
elite*gold: 0
Join Date: Apr 2007
Posts: 950
Received Thanks: 2,410
You'd be surprised how easy it can be, when you write a bot in c++ or whatever your language of choice is you have to write you have to write a fair bit of code to even establish the base of your app, In asm you can just write small snippets of code so in some ways it's much easier, and since you're inside the exe, the data's all there and you don't have to worry about half the stuff you need for a standalone app, I'm pretty lazy so it works for me.
*M* is offline  
Old 08/26/2012, 15:37   #21
 
elite*gold: 0
Join Date: Jul 2011
Posts: 82
Received Thanks: 12
I'll have to work my ASM knowledge, seriously... Haha!

Well, thanks for your replies, all of you are helping me a lot. Now I should start to learn/read and doing some test, or I'll never get further...
itachi26 is offline  
Old 08/29/2012, 10:06   #22
 
Nitroxide3's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 103
Received Thanks: 251
Quote:
Originally Posted by IAmHawtness View Post
is most likely some of the best reversing tutorials you'll find on the Internet.
This made my day.
Nitroxide3 is offline  
Old 08/29/2012, 10:54   #23
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
Quote:
Originally Posted by Nitroxide3 View Post
This made my day.
Please provide better ones then
IAmHawtness is offline  
Thanks
1 User
Old 08/29/2012, 16:55   #24
 
elite*gold: 20
Join Date: Aug 2005
Posts: 1,734
Received Thanks: 1,001
Here's a link to another set of reversing tutorials I found. I have not personally read through them, yet, so I don't know the quality but they seem to be appreciated.



P.S I find Lena's tutorials to be rather good when starting reversing.
tanelipe is offline  
Old 08/30/2012, 16:58   #25
 
elite*gold: 20
Join Date: Aug 2005
Posts: 1,734
Received Thanks: 1,001
*BUMP*

Out of curiosity I have downloaded the newest conquer client and updated the little project I sent you earlier. It's working currently. Please note that it only logs the packets and doesn't modify them in any way.

Hooking the send was easy since the packets are created on your client. I took a look at the server source posted by InfamousNoone to get the packet types (much easier this way to be honest).

Receiving was almost the same, I looked for 0x423 packet type being received and from there on I just had to find a good place to re-route the traffic to my functions :P (This took around 40-60 minutes~)

EDIT: The code isn't much commented so feel free to ask any questions
Attached Files
File Type: rar ConquerMemory.rar (13.5 KB, 56 views)
tanelipe is offline  
Thanks
3 Users
Old 08/30/2012, 17:23   #26
 
elite*gold: 0
Join Date: Jul 2011
Posts: 82
Received Thanks: 12
Quote:
(This took around 40-60 minutes~)
Guess that it's normal to don't find it after ten minutes of searching (my case) now... Haha !

Seriously, that's very cool you work put in it, I keep developing my game and learning C++, but I'm a noob so your code is very complicated for me. I won't be able to understand your code for the moment, but keep in mind your explanations and your source code for later.

Thanks again, it will be very useful for me!
itachi26 is offline  
Old 08/31/2012, 02:37   #27
 
tkblackbelt's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
Also check out they have some asm and reversing videos.
tkblackbelt is offline  
Thanks
3 Users
Old 08/31/2012, 14:17   #28
 
elite*gold: 0
Join Date: Jul 2011
Posts: 82
Received Thanks: 12
Thank you for the youtube channel, I'll favorite that link also!

Thanks for all who replied and gave me so much informations. You're so cool!
itachi26 is offline  
Old 09/02/2012, 08:52   #29
 
Silent-Death's Avatar
 
elite*gold: 0
Join Date: Jan 2006
Posts: 1,055
Received Thanks: 296
Quote:
Originally Posted by tkblackbelt View Post
Also check out they have some asm and reversing videos.
i hate watching video tutorials on programming, it`s like watching flies ****.. 58 minutes of that dude's distorted voice, wow, that`s the poor man's xanax..
Silent-Death is offline  
Thanks
1 User
Old 10/24/2012, 21:57   #30
 
elite*gold: 0
Join Date: Jul 2011
Posts: 82
Received Thanks: 12
Hello, back for new adventures.

I up that topic because I need an answer to my question, then I'll be able to keep my project workin'. The fact is, I don't have lots of time to code, so I don't have lots of time to make tests... I really hope that someone will help me...

I know how to find pointers with C.E. and how to reach statics adresses with my programm but the thing is, let's say that life points's static adress is : 0x45ABE698. That means that when I lunch one conquer, I'll just have to take a look there and I'll have my number of life points. But, what about two lunched conquer clients? They can't use the same static adress, no?

Any helps will be much appreciated! Thanks a lot!
itachi26 is offline  
Reply


Similar Threads Similar Threads
Both Proxy and Memory Based are Detectable now!!
07/02/2012 - CO2 Programming - 22 Replies
I thought only memory based program can be detected by the new anti bot but also including the proxy. I manage to fixed my proxy last night and I was jumping for happiness until my noob got a 1day banned. Damn their anti bot can detect both proxy and memory based program now. Probably because my proxy used some hooking on bypassing the client. Did anybody who has a private proxy also have same problem with me?
[SkillerSluwt]Memory based bot.
05/30/2009 - CO2 Bots & Macros - 140 Replies
SkillerSluwt What is SkillerSluwt? SkillerSluwt is a memory based bot, to put it simple, you can bot on an account without the need that client needs to have focus. SkillerSluwt has a range of skills that can be leveled with a click of a button, while you play on another account, sleep, eat breakfast or make love to your wife, or all at the same time for all i care. SkillerSluwt is easy to use, blonde proof, and moron free. SkillerSluwt is no racist, this Sluwt does what you want,...
[Soon to be released] Memory based skill lvler.
01/25/2009 - Conquer Online 2 - 12 Replies
Thread title says it all, last couple of days i have been working on a memory based bot, and it is almost done aswell. I post this thread so it can be discussed, this bot will work on a client that does not need to be on top, just like a bot is supposed to be. It will only support 1 client, and i myself think thats enough for a skill lvl bot. Want more? post your reasons and give good feedback. here's a screenshot everything you see works except for the XP skill lvler, still gotto...
memory based bot
08/17/2008 - Guild Wars - 28 Replies
hi hab nur ne kurze frage: und zwar ist es möglich, wenn man 2 accs hat einen memory based zB monk folis farmen lässt, und den anderen "normale" bot hfff farmen lässt? mit dem multi client kann ich schonma 2x guild wars starten, aber will sicher gehen, dass wenn ich mir nen 2ten bot kaufe, der auch keine probleme mit dem anderen bot macht.. ty schonma für die antworten:) MfG
Pattern based memory Search ?
12/26/2006 - General Coding - 3 Replies
Is there any tool that allows to search for patterns in memory ? All I tried (TSearch / Cheatengine) only allow you to search for one value or a fixed array of bytes. But I need a tool that lets me search for patterns, like XX XX 00 00 XX XX 00 00 while XX can be 00 to FF etc ?



All times are GMT +1. The time now is 17:23.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.