Need advice

05/24/2013 15:36 yttuncel#1
Hello everybody,

Up until now I was writing pixel bots for the mmorpgs I have been playing, but today I decided to learn memory reading and writing a bot that interprets its surrounding environment. The best place to seek help is elitepvpers to me, so here I am.

I know little bit about C++ and Java (I know this one better in fact, I did write some applications for my Android phone) and Assembly (this one is limited to 8051 instructions, however I know the thing generally, registers, stack, etc. so I think I can handle what I will come across). However I want to expand my knowledge because I know I will need to use a significant amount of C++/C#. The first thing I am asking from you guys is a good tutorial about handling with the memory with C (since the topics are generally in German, I can not understand what is asked, so I do not know if similar requests were made). The second thing I need help is finding the pointers/offsets of the particular game I am playing/working on. The last thing I need is a good C documentation (it may be a book, a website, a Video, an ebook..).

I am looking forward to your replies. I appreciate any help.
Thank you.
05/29/2013 15:15 OldschoolKid#2
If you want to write mmorpg bots, you should start with manipulating tcp/udp packages. I'm no bot programmer, but when I made a short travel into bot programming, this was the first point to start for me.
You'll also need an in-depth look into Sockets.
05/29/2013 16:30 Padmak#3
Not necessarily, it depends on the client. If the client is built on a much simpler script language, like Python, it may be much more effective if you just start manipulating these

Padmak
05/29/2013 18:19 Hiris#4
Quote:
Originally Posted by Padmak View Post
Not necessarily, it depends on the client. If the client is built on a much simpler script language, like Python, it may be much more effective if you just start manipulating these

Padmak
Why Python? Because in Metin2 some referenced text strings are easy to find with debugger?
05/29/2013 21:06 dready#5
Guess Padmak meant, most of the time its worth it to simply hijack allready included parser. Example, in Eve Online, which is mostly written in phyton, simply hijack it and you can manipulate everything with much less effort.
05/30/2013 09:33 Padmak#6
That's exactly what I meant.
The backend of a lot of clients is written in some high-level languages, like C/C++ but the interface and the logic behind every action is implemented in some sort of scripting language. Most likely one similar to the already mentioned Python or maybe Lua (WoW)
So I think it's much faster to get some experience in writing bots instead of being forced to learn disassembling and such low-level "shit"
I prefer manipulating these script-implementations, most of the time they are really easy to use ... :D

I think i got OldschoolKid's post wrong, he may have said you should start looking for the functions in the network-functions, so you can then trace back to your needed functions. I wouldn't recommend manipulating the packets directly, usually that's a bit complicated for a beginner

Padmak