Steve080 Posted April 30, 2007 Share Posted April 30, 2007 Hello all. Lately I have been very interested in making a bot for a MMO I play called Anarchy Online. It's an almost 6 year old game and there is virtually zero bots out there for it. I'm not sure since it is so old if it would be easier or actually harder to code a bot for it. I 'think' I know the basics of bot creation. I have to make some system to move around, Target creatures, Kill them, heal up accordingly then continue on. However I have NO idea how to go about this. The areas where this bot would be used is in an instanced 'mission' These are randomly generated so that is probably going to be more difficult to figure out how to move around in. The plus side though is I wouldn't have to worry about detection from other players / wandering into too high creatures etc. So can anyone clue me in as where to get started? Link to comment Share on other sites More sharing options...
Generator Posted April 30, 2007 Share Posted April 30, 2007 Hello all. Lately I have been very interested in making a bot for a MMO I play called Anarchy Online. It's an almost 6 year old game and there is virtually zero bots out there for it. I'm not sure since it is so old if it would be easier or actually harder to code a bot for it. I 'think' I know the basics of bot creation. I have to make some system to move around, Target creatures, Kill them, heal up accordingly then continue on. However I have NO idea how to go about this.The areas where this bot would be used is in an instanced 'mission' These are randomly generated so that is probably going to be more difficult to figure out how to move around in. The plus side though is I wouldn't have to worry about detection from other players / wandering into too high creatures etc.So can anyone clue me in as where to get started? Do this game have sort of like a anti-cheat program along with it? Link to comment Share on other sites More sharing options...
Steve080 Posted April 30, 2007 Author Share Posted April 30, 2007 Do this game have sort of like a anti-cheat program along with it?If you mean like WoW has warden, I'm not sure about that. It wasn't a very popular game and the programmers often take the "easy way out" So I highly doubt it does. Link to comment Share on other sites More sharing options...
Generator Posted April 30, 2007 Share Posted April 30, 2007 If you mean like WoW has warden, I'm not sure about that. It wasn't a very popular game and the programmers often take the "easy way out" So I highly doubt it does.Use Send() in the game to test it if it works. Link to comment Share on other sites More sharing options...
Steve080 Posted April 30, 2007 Author Share Posted April 30, 2007 Use Send() in the game to test it if it works.All that does is show me saying Send() in chat Link to comment Share on other sites More sharing options...
Generator Posted April 30, 2007 Share Posted April 30, 2007 All that does is show me saying Send() in chat I am saying use Send() to send keystroke to the game, see if it works. If it doesn't don't bother, if it does tell me I will help you with further stuff. Link to comment Share on other sites More sharing options...
Steve080 Posted April 30, 2007 Author Share Posted April 30, 2007 I am saying use Send() to send keystroke to the game, see if it works. If it doesn't don't bother, if it does tell me I will help you with further stuff.Ah yes, it works just fine. Link to comment Share on other sites More sharing options...
Generator Posted April 30, 2007 Share Posted April 30, 2007 Ah yes, it works just fine.Use the Autoit Recorder to record your movement in a loop, then test it out. Try on your own first. If you have any problem just post here. Link to comment Share on other sites More sharing options...
Steve080 Posted April 30, 2007 Author Share Posted April 30, 2007 Use the Autoit Recorder to record your movement in a loop, then test it out. Try on your own first. If you have any problem just post here.Where would i find the recorder? I did a search and couldn't find it. Link to comment Share on other sites More sharing options...
Generator Posted April 30, 2007 Share Posted April 30, 2007 (edited) Where would i find the recorder? I did a search and couldn't find it.Install Scite and you will find it in Tools.Edit: I think it comes with autoit too. Edited April 30, 2007 by Generator Link to comment Share on other sites More sharing options...
jokke Posted April 30, 2007 Share Posted April 30, 2007 First off you need all updates on you char with all map tools, direction, npc's and so on, then you can create a bot witch pixelreads the mapwindow. Then you split the map into blocks and do fail searching every block. The targeting, killing, healing wont be the problem. The movement system is the pain inn the a**. Then when not inn mission you use F9? (Location button) to know where you are by creating a log for location messages. ( This is how you are able to catch new missions. ) UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt. Link to comment Share on other sites More sharing options...
Steve080 Posted April 30, 2007 Author Share Posted April 30, 2007 First off you need all updates on you char with all map tools, direction, npc's and so on, then you can create a bot witch pixelreads the mapwindow.Then you split the map into blocks and do fail searching every block.The targeting, killing, healing wont be the problem. The movement system is the pain inn the a**.Then when not inn mission you use F9? (Location button) to know where you are by creating a log for location messages. ( This is how you are able to catch new missions. )Wow never thought of using the map like that, thanks for that tip Link to comment Share on other sites More sharing options...
Steve080 Posted May 1, 2007 Author Share Posted May 1, 2007 Ok I've started trying to code a system that scans the ingame HP bar for red pixels. I'm going to have it broken down into 10 search blocks indicating 10% hp 20% hp etc. I started with a simple pixelgetcolor and a Send() function, but I can't get it to do anything. Here is what I have coded: Sleep ( 5000 ) $hp = PixelGetcolor( 170, 917 ) If $hp = 16724480 Then Send( "{ 1 down }" ) Sleep( 15 ) Send( "{ 1 up }" ) EndIf Link to comment Share on other sites More sharing options...
Generator Posted May 1, 2007 Share Posted May 1, 2007 (edited) Ok I've started trying to code a system that scans the ingame HP bar for red pixels. I'm going to have it broken down into 10 search blocks indicating 10% hp 20% hp etc. I started with a simple pixelgetcolor and a Send() function, but I can't get it to do anything. Here is what I have coded: Sleep ( 5000 ) $hp = PixelGetcolor( 170, 917 ) If $hp = 16724480 Then Send( "{ 1 down }" ) Sleep( 15 ) Send( "{ 1 up }" ) EndIfTry this to just test out HP func: While 1 $HP=PixcelGetColor(170,917) If $HP= 16724480 Then Send( "{ 1 down }" ) Sleep( 15 ) Send( "{ 1 up }" ) Else Sleep(2500) EndIf Sleep(1500) WEnd Edited May 1, 2007 by Generator Link to comment Share on other sites More sharing options...
Steve080 Posted May 1, 2007 Author Share Posted May 1, 2007 (edited) Hmm I tried Your code and it still didn't budge. So I changed the Send to move forward button instead of 1, and it worked. The things I tell it to Send doesn't seem to do what it normally does ingame, for instance if I tell it to send "SPACE" it will open up a bunch of the game windows instead of jumping. Edited May 1, 2007 by Steve080 Link to comment Share on other sites More sharing options...
Generator Posted May 1, 2007 Share Posted May 1, 2007 Hmm I tried Your code and it still didn't budge. So I changed the Send to move forward button instead of 1, and it worked.You have syntax error in Send func then, read the help file and make sure.Or you can just use Send and see if it works. Instead of Keydown and up which is general used in game. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now