What is needed to code a MMORPG bot?

Started by
8 comments, last by dmreichard 17 years, 3 months ago
I would like a suggestion on where to start Ultimately, what I want to end up doing is to code a bot for a mmorpg game I play. Not sure exactly what is needed to accomplish this, but I am just looking for a good place to start. I know a bit of C and have a book on it, I am about half the way into it. I'm assuming I will need to learn something to do with networking. Point me in the right direction and I'll get crackin' ;) PS: Sorry if this is the wrong forum for this kind of stuff.
Advertisement
The suggestion is to forget about it.

The reasons in short are:

* It smells too much like cheating of some sort, that it shouldn't be supported in a/any game community. So I don't expect you to get much help.

* If you had known atleast slightly enough about what you should know to accomplish this, you would have mentioned the name of the game and/or whether it is open-source.

And if you would know that much about the subject and what it means, you would have known "where to start" yourself. :)


Anyway, if you still are interested, you should probably tell people what game it is if you would like to hear a description how such a thing would be done - IF those people find it ethically sound to do so.
Quote:Original post by Rhijaen
I would like a suggestion on where to start


Ask permission from the game developers. Then, they'll be able to help you out more than anyone else.


If the game supports MOD'ing bots then there should be code out there you could GOOGLE search for. Many games have protection code to scramble the network packets if its a competitive game where many people would wish to cheat.


Google 'packet sniffer' to find programs to intercept packets, but be ready for the packets to be hard to decypher (even if not encrypted).


--------------------------------------------[size="1"]Ratings are Opinion, not Fact
Reasons that you are NOT going to get any help:

1. This is no cheating forum
2. This is all about coding/etc forum
3. Coders don't like cheaters
4. Only people with low IQ make these things...and say its amusing.
5. What else?

p.s If you want to learn how to do this learn c++...
Quote:Original post by mehrdadr
Reasons that you are NOT going to get any help:

1. This is no cheating forum
2. This is all about coding/etc forum
3. Coders don't like cheaters
4. Only people with low IQ make these things...and say its amusing.
5. What else?

p.s If you want to learn how to do this learn c++...



Actually, reverse engineering is a very interesting study and can actually help you improve the security of your own code. Although C++ helps, you are going to need a good understanding of assembly language. And when it comes to online games, you would probably want a packet sniffer too on top of your disassembler.

Here is the deal though.. depending on the MMORPG, more than likely they have safeguards in place that will make it very difficult for you to reverse engineer the client to your liking. Not to mention I wouldn't advise it anyhow, because you will end up taking away the fun from others playing the game. BUT as I said before, on other, simple programs it can be very interesting to study reverse engineering.
You don't necessarily need a packet sniffer or assembly knowledge. For playing the game, yes, it would help, but I'm going to assume you just want to get rid of the tedious portions of the MMORPG.

This still won't be legal, and will get you banned most likely, and don't ask for code, as I won't provide it.

But write up a macro program or hook into the program, and have the computer issue keyboard and mouse commands. There, you're done.
Quote:Original post by Nytegard
You don't necessarily need a packet sniffer or assembly knowledge. For playing the game, yes, it would help, but I'm going to assume you just want to get rid of the tedious portions of the MMORPG.

This still won't be legal, and will get you banned most likely, and don't ask for code, as I won't provide it.

But write up a macro program or hook into the program, and have the computer issue keyboard and mouse commands. There, you're done.


That works for games like Runescape but not really, say, EQ or WoW.

As an added note, a topic you might be interested in studying is dll injection. This is what is used when someone is aimbotting on CounterStrike.

Remember though that I'm not encouraging you to actually DO it. But it is still an interesting subject, at least to me. It can also be used for non-malicious purposes.
Quote:Original post by dmreichard
Quote:Original post by Nytegard
You don't necessarily need a packet sniffer or assembly knowledge. For playing the game, yes, it would help, but I'm going to assume you just want to get rid of the tedious portions of the MMORPG.

This still won't be legal, and will get you banned most likely, and don't ask for code, as I won't provide it.

But write up a macro program or hook into the program, and have the computer issue keyboard and mouse commands. There, you're done.


That works for games like Runescape but not really, say, EQ or WoW.


Well, the macro program would work, because you're technically not invading their program, thus there is no recourse Blizzard or Sony could take against you, because there is no way they could legally prove it. But this will only help stuff that doesn't involve interaction with other entities, which is definately considered cheating. While macroing is cheating, it's extremely common in games, and won't really threaten another persons experience.

Although, it might be a worthwhile challenge if you could create a bot that other people actually think is a real person. But that involves topics way too advanced for this forum.
Quote:Original post by Nytegard

Well, the macro program would work, because you're technically not invading their program, thus there is no recourse Blizzard or Sony could take against you, because there is no way they could legally prove it. But this will only help stuff that doesn't involve interaction with other entities, which is definately considered cheating. While macroing is cheating, it's extremely common in games, and won't really threaten another persons experience.

Although, it might be a worthwhile challenge if you could create a bot that other people actually think is a real person. But that involves topics way too advanced for this forum.


Ah yes I see what you are getting at. Actually it was interesting, EQII implemented a system for creating your own macros to make some tasks easier. They also have a very easy to use system for modding the UI to your own liking. You could essentially create a button that "auto-tradeskills" for you. (EQ players will know what I'm talking about). But Sony and the community as a whole is generally very good at catching those types of people, since it's not so easy to catch random tradeskill events that way which damage you. [grin]

This topic is closed to new replies.

Advertisement