hi pple
i am playing a 3D game now and i wanted to learn how to make a bot. It seems quite interesting after i had read some bot related articles, but the depth of the details were all way too deep. Well, at least its deep for me, as a newbie who know only basic programming of C/C++/java.
Hope someone would enlighten me on the following questions :
1) Which programming language should i use for making a game bot?
2) How do i make the bot send as keyboard/mouse signals so that i can bypass GameGuard/Xtrap?
3) How do i identify the monster inside the game? By finding the name of the monster or by finding the pixel or perhaps by addresses?
I want to start it simple. Just being able to bypass the anti-cheating software, search for the monster in the game and kill it. I know there are macros applications out there, but most(or all?) of em will be blocked by
the anti-cheating software and i wanted to create my own .exe.
Please pardon me if i asked any n00b questions. I might have missed out the online guides out there, please let me know if there is any that suits the current situation.
Thanks in advance :)
[Help] Making a bot
Started by ahs3ng, Mar 09 2008 03:25 PM
8 replies to this topic
#1
Posted 09 March 2008 - 03:25 PM
#2
Posted 10 March 2008 - 06:32 AM
Step one: figure out which game you want to mod (and make a bot for)
Step two: read through all modding material to said game. This will answer your questions 1, 2 and 3.
Step three: make your bot.
Step two: read through all modding material to said game. This will answer your questions 1, 2 and 3.
Step three: make your bot.
http://iki.fi/sol - my schtuphh
#3
Posted 10 March 2008 - 08:39 AM
I would use something logical or a scripting language. Prolog for example works very well with almost all famous languages. Python ist another good choice. To bypass anti-cheating software just look at the specifications of what they are doing to detect cheaters. It's a piece of cake to fool them after that. If no documentation is out, try to reverse-engineer a little. An address map of the program will definetely help you out, since anti-cheat software is normally quite simple. How you identify the monster depends on your game. I would raycast from the bot's position to locate nearby monsters. And no, not every existent script gets detected by anti-cheat. Less than 1/3 actually does, because anti-cheat is usually extremely non-adaptive.
#4
Posted 10 March 2008 - 03:51 PM
o.O some questions:
1) How do i get an address map of the game? Any available tools out there? Using the address, i could identify the monster?
2) Whats raycast? * I read up on this already. Its awesome, gave me some new ideas. Thanks Mihail121!
3) How about driver level bot? Meaning using mouse to do all the stuff for you. Example, make the cursor move within the square/screen and upon detecting changes(the hp bar of the object appear on top of the object upon mouse over). Click on the object and check the name of the object at specific area(usually middle top for game). If name matches with monster list(might be a data file which the program extract from), move the mouse to the skill bar, click on the skill icons and stop when the monster die(might be checking on back on the hp bar of the monster at specific place like middle top of the screen)
Sorry, thats a long one. Couldn't find any basic guide or tutorial on this. I found quite a handful of bot article, but the things they explain are too advance for me. IMO, practicals are the fastest as you do and learn.
Thanks for all the replies! :)
1) How do i get an address map of the game? Any available tools out there? Using the address, i could identify the monster?
2) Whats raycast? * I read up on this already. Its awesome, gave me some new ideas. Thanks Mihail121!
3) How about driver level bot? Meaning using mouse to do all the stuff for you. Example, make the cursor move within the square/screen and upon detecting changes(the hp bar of the object appear on top of the object upon mouse over). Click on the object and check the name of the object at specific area(usually middle top for game). If name matches with monster list(might be a data file which the program extract from), move the mouse to the skill bar, click on the skill icons and stop when the monster die(might be checking on back on the hp bar of the monster at specific place like middle top of the screen)
Sorry, thats a long one. Couldn't find any basic guide or tutorial on this. I found quite a handful of bot article, but the things they explain are too advance for me. IMO, practicals are the fastest as you do and learn.
Thanks for all the replies! :)
#5
Posted 10 March 2008 - 08:40 PM
1. Not address map of the game... address map of the anti-cheat stuff. You monitor all addresses (variables) over some time and in some situations (such as loading some cheat program) to locate, what the program is doing to detect cheats. Using this information you can fool the anti-cheat software. As I said, the address map should be the only thing you need on this quest, since anti-cheat programs are generally simple and small. Once again, this will help you deploy your ... uhh... cheat, without getting noticed.
2. (solved :))
3. Oh, this is easy but a lot of work. It will require some sort of image recognition technique - not a generall one of course, something simple yet effective! As for the drivers, they are also quite simple to fool and manipulate, if you're allowed to access them of course. Reading some specifications will help you out. You might hook up an external demon, that generates events or something like that. Be creative!
Hope that helps, basically everything's easy, just keep reading and asking questions!
2. (solved :))
3. Oh, this is easy but a lot of work. It will require some sort of image recognition technique - not a generall one of course, something simple yet effective! As for the drivers, they are also quite simple to fool and manipulate, if you're allowed to access them of course. Reading some specifications will help you out. You might hook up an external demon, that generates events or something like that. Be creative!
Hope that helps, basically everything's easy, just keep reading and asking questions!
#6
Posted 11 March 2008 - 03:23 AM
Cool! Thank!
Between the specifications you referring to is python's APIs/libraries? i decided to start using python. I think i will have to read guides/tutorials as i move on. Any good guides/tutorials to recommend?
Between the specifications you referring to is python's APIs/libraries? i decided to start using python. I think i will have to read guides/tutorials as i move on. Any good guides/tutorials to recommend?
#7
Posted 11 March 2008 - 06:42 AM
IWannaMakeAFreeMMORPG said:
hmmm? a bot? what do you mean by a (BOT)? are you a hacker or something (im soo sorry if im being mean but bots are used for cheaters and hacking) sorry
Many MMORPGs do consider it cheating though. (Eternal Lands being the exception.)
I think that you may have a misconception of what a hacker is. Here is what I consider to be a hacker: 1. Someone who breaks into software (debuggers/decompilers etc..) either with malicious intent or more commonly with the intent to change it to suit their needs. (This is often done with game engines, but not necessarily using those means.) 2. Someone who breaks into computer networks/systems with malicious intent.
More formally, here is the definition from The American Heritage Dictionary of The English Language:
"hacker n. informal 1. One who is proficient at using or programming a computer; a computer buff. 2. One who uses programming skills to gain illegal access to a computer network or file. 3. One who enthusiastically pursues a game or sport: a weekend tennis hacker."
#8
Posted 11 March 2008 - 08:30 AM
Thanks onyxthedog for the explanation!
Definite im not a hacker :)
Im just trying to learn new things by making use of my curiosity and interests. Like making a bot for a game, it motivates me. Everything will be much simple with a goal ^^
Definite im not a hacker :)
Im just trying to learn new things by making use of my curiosity and interests. Like making a bot for a game, it motivates me. Everything will be much simple with a goal ^^
#9
Posted 11 March 2008 - 08:34 AM
Also you could call any automated task a "bot", although it is more commonly called a macro. Also for all we know he might want to make an AIM bot or a chat bot that will speak to you when you have no one else to talk to in game. It could also be a "training opponent", in other words helps you get better by playing with you when no one else will. So see bots are not all bad!
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











