Jer- Posted July 16, 2006 Share Posted July 16, 2006 HotkeySet("{HOME}","_end") Func _end() Exit 0 EndFunc WinMinimizeAll() $var1 = 0 $var2 = 0 $var3 = 0 $var4 = 0 $var5 = 0 Sleep(3000) Sleep(225) Mouseclick("left",612,516,1,3) Sleep(6500) Sleep(36) Mouseclick("left",787,548,1,3) Sleep(3400) Sleep(75) Mouseclick("left",587,361,1,3) Sleep(3000) Send("{ENTER}") Sleep(30000) Send("{ENTER}") Sleep(1250) Send("hey") Sleep(3000) Send("{ENTER}") Sleep(3000) Send("{ESC DOWN}") Sleep(50) Send("{ESC UP}") Sleep(50) Send("{UP DOWN}") Sleep(50) Send("{UP UP}") Sleep(350) Send("{ENTER}") Sleep(60000) Its use: joins random game, types what I sellected "hey" then exits Link to comment Share on other sites More sharing options...
Nomad Posted July 16, 2006 Share Posted July 16, 2006 (edited) expandcollapse popupHotkeySet("{HOME}","_end") Func _end() Exit 0 EndFunc WinMinimizeAll() While 1 $var1 = 0 $var2 = 0 $var3 = 0 $var4 = 0 $var5 = 0 Sleep(3000) Sleep(225) Mouseclick("left",612,516,1,3) Sleep(6500) Sleep(36) Mouseclick("left",787,548,1,3) Sleep(3400) Sleep(75) Mouseclick("left",587,361,1,3) Sleep(3000) Send("{ENTER}") Sleep(30000) Send("{ENTER}") Sleep(1250) Send("hey") Sleep(3000) Send("{ENTER}") Sleep(3000) Send("{ESC DOWN}") Sleep(50) Send("{ESC UP}") Sleep(50) Send("{UP DOWN}") Sleep(50) Send("{UP UP}") Sleep(350) Send("{ENTER}") Sleep(60000) WEndLike this? I don't know exactly what you want to run continuously. Nomad Edited July 16, 2006 by Nomad Link to comment Share on other sites More sharing options...
Jer- Posted July 16, 2006 Author Share Posted July 16, 2006 what i want to loop is the whole script from mouseclick to the last line Link to comment Share on other sites More sharing options...
Nomad Posted July 16, 2006 Share Posted July 16, 2006 what i want to loop is the whole script from mouseclick to the last line Then move the "While 1" to the line just above the mouseclick. Link to comment Share on other sites More sharing options...
Jer- Posted July 16, 2006 Author Share Posted July 16, 2006 so far its working, is there a way, i notice you play diablo 2. to have it join games with a specific word in it such as baal or chant? Link to comment Share on other sites More sharing options...
Nomad Posted July 16, 2006 Share Posted July 16, 2006 so far its working, is there a way, i notice you play diablo 2. to have it join games with a specific word in it such as baal or chant?Actually, I played for years, but haven't played in a couple months. If you mean to follow friends into games when they join/create games with baal or chant in the name, yeah. It would take a lot of work to do this though, and I've never really tried. But you'd need a OCR tailored to scan the specific area of the screen as well as recognize the font the game name is displayed as. There are several other small details as well. It will require a high level of AutoIt scripting skills to create a script which is 100% reliable.If you are new to AutoIt, which I'm guessing you are, I would start off with some easier things until you get to know AutoIt a little better. You can't go straight to racing in NASCAR when you haven't ever driven a car, if you know what I mean. Whether you are going to attempt this or not, I suggest searching the forums for examples of anything you plan to do. It will give you some idea of how to structure your scripts and also of some of the functions available that you might want/need to use.Nomad Link to comment Share on other sites More sharing options...
Paulie Posted July 16, 2006 Share Posted July 16, 2006 so far its working, is there a way, i notice you play diablo 2. to have it join games with a specific word in it such as baal or chant?In addition to what nomad said,D2 doesn't take kindly to bots of any kind as far as i know, so i wouldn't take the time to find and develop an OCR (optical character recongnizer) capable of understanding a game name, folowing it down the game list window should it move, and joining it, only to have D2s cheat/bot blocker stop it and ban your account is like throwing away time Link to comment Share on other sites More sharing options...
Jer- Posted July 16, 2006 Author Share Posted July 16, 2006 autoit is supposedly undetectable, havent been banned for mmbot and ive used forever which uses autoit Link to comment Share on other sites More sharing options...
Paulie Posted July 16, 2006 Share Posted July 16, 2006 autoit is supposedly undetectable, havent been banned for mmbot and ive used forever which uses autoitis it luck, or is the bot just to simple to be worth bblocking?I once made a gold bot in autoit for d2, i was funny, because i would join a game and run it and it would drop 1000 piles of 1 gold stupid, but fun to do just to annoy people, it filled up half of the rogue encampment Link to comment Share on other sites More sharing options...
Jer- Posted July 16, 2006 Author Share Posted July 16, 2006 HotkeySet("{HOME}","_end") Func _end() Exit 0 EndFunc WinMinimizeAll() $var1 = 0 $var2 = 0 $var3 = 0 $var4 = 0 $var5 = 0 While 1 Sleep(3000) Sleep(225) Mouseclick("left",612,516,1,3) Sleep(6500) Sleep(36) Mouseclick("left",787,548,1,3) Sleep(3400) Sleep(75) Mouseclick("left",587,361,1,3) Sleep(3000) Send("{ENTER}") Sleep(50000) Send("{ENTER}") Sleep(1250) Send("Insert Spam Here) Sleep(3000) Send("{ENTER}") Sleep(1500) Send("{ENTER}") Sleep(1250) Send("Insert Spam 2") Sleep(3000) Send("{ENTER}") Sleep(1500) Send("{ENTER}") Sleep(1250) Send("Insert Spam 3") Sleep(3000) Send("{ENTER}") Sleep(60000) Send("{ESC DOWN}") Sleep(500) Send("{ESC UP}") Sleep(500) Send("{UP DOWN}") Sleep(500) Send("{UP UP}") Sleep(350) Send("{ENTER}") WEnd Theres the script completed Requirements: D2loader 1.11b with -res800 added to path 1 more question before its fully done, how do i put it to have a run/pause button because once i load that it starts auto Link to comment Share on other sites More sharing options...
Nomad Posted July 16, 2006 Share Posted July 16, 2006 autoit is supposedly undetectable, havent been banned for mmbot and ive used forever which uses autoitNothing is undetectable indefinately. Warden, the anti-cheat program for D2, is a real beast when it comes to detecting cheats. I'm not saying that MMBot has been detected, which it likely has, but when Battle.net starts banning, they do it all at once. You might end up getting a ban for a program that you haven't used in 3 months just because you were tagged when you were using it and it took that long before they got around to banning everyone using it.AutoIt is "mostly" undetectable on Battle.net, depending on how it is used. But once Battle.net becomes aware of any cheat, it's no longer undetectable because they will know exactly how to locate it when it's being used. One method is to simply scan your task manager for the process name, which Warden can, and does do. Register the process as a service you say? Even services have their own task manager. This is merely one method of detection.For the most part, Battle.net doesn't care about programs that don't have a direct impact on their servers, and that don't give players a huge advantage over the legit players. D2Loader has been detectable for a very long time, but I've yet to hear of a ban over it. I even used it for years. But just try to hack their servers and see how fast you get banned.. and likely in the Defendant's seat in a courtroom. Anyway, if you try to make a bot to do what you want, I doubt you'll get banned over that. Also, unless a lot of people start using it, Battle.net will probably not even know it exists considering what it would be doing. I don't claim to know everything about Battle.net, but I know what I've seen over the years, and I know what I've done personally. Unless you're going to be manipulating the game code or severely lagging their servers, you'll likely have nothing to worry about.Nomad Link to comment Share on other sites More sharing options...
Paulie Posted July 16, 2006 Share Posted July 16, 2006 *Nomads post here*QFTnote: too long to duplicate, but all true Link to comment Share on other sites More sharing options...
Paulie Posted July 16, 2006 Share Posted July 16, 2006 (edited) 1 more question before its fully done, how do i put it to have a run/pause button because once i load that it starts autoPlease use code boxes when posting scriptswith run/pause hotkeys:CODEHotkeySet("{END}","_end")HotKeySet("{Home}", "RunScript")HotKeySet("{PAUSE}","PauseScript")Global $onWhile 1Sleep(500)WendFunc _end()Exit 0EndFuncFunc PauseScript()$on=0EndFuncFunc RunScript()$on=1WinMinimizeAll()$var1 = 0$var2 = 0$var3 = 0$var4 = 0$var5 = 0While 1If $on = 1thenSleep(3000)Sleep(225)Mouseclick("left",612,516,1,3)Sleep(6500)Sleep(36)Mouseclick("left",787,548,1,3)Sleep(3400)Sleep(75)Mouseclick("left",587,361,1,3)Sleep(3000)Send("{ENTER}")Sleep(50000)Send("{ENTER}")Sleep(1250)Send("Insert Spam Here)Sleep(3000)Send("{ENTER}")Sleep(1500)Send("{ENTER}")Sleep(1250)Send("Insert Spam 2")Sleep(3000)Send("{ENTER}")Sleep(1500)Send("{ENTER}")Sleep(1250)Send("Insert Spam 3")Sleep(3000)Send("{ENTER}")Sleep(60000)Send("{ESC DOWN}")Sleep(500)Send("{ESC UP}")Sleep(500)Send("{UP DOWN}")Sleep(500)Send("{UP UP}")Sleep(350)Send("{ENTER}")endifWEndEndFuncNot testedbut it should workNote: does not auto start, have to push home to run it and end quits Edited July 16, 2006 by Paulie 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