gamepin126 Posted October 2, 2006 Share Posted October 2, 2006 (edited) A forum I go to just installed a forum rpg, and it's extremely easy to bot, just click or submit IE forms. I chose the former and I'm having trouble when I have to attack something more than once. I usually 1hit it, but sometimes I don't and this causes the script to stall until I manually correct it.http://www.bwhacks.com/forums/inferno.php?do=Battle = forum rpgIt'd probably work fine if "If WinActive("BWHacks - Your Current Battle - Mozilla Firefox") Then" part worked, but it doesn't for some reason. Any idea why it doesn't?$z = 0 While 1 If $z = 100 Then MsgBox(0, "", "100 cycles completed.") $z = 0 EndIf ToolTip($z , 300, 0) ;~ MsgBox(0, "", "Cycle complete. Repeat?") WinWaitActive("BWHacks - Viewing All Battles - Mozilla Firefox") Sleep(500) MouseClick("left", 905, 251) WinWaitActive("BWHacks - Creating Battle - Mozilla Firefox") Sleep(500) ;~ MouseClick("left", 760, 562);monster drop down menu ;~ Sleep(100) ;~ MouseClick("left", 755, 601);Monster select: Gollum Clone Sleep(100) MouseClick("left", 706, 759) ; click create battle button WinWaitActive("BWHacks - Your Current Battle - Mozilla Firefox") Sleep(500) MouseClick("left", 520, 550);weapon dropdown Sleep(100) MouseClick("left", 520, 608);weapon select Sleep(100) MouseClick("left", 743, 651);ATTACK! Sleep(1000) If WinActive("BWHacks - Your Current Battle - Mozilla Firefox") Then MouseClick("left", 743, 651);ATTACK! EndIf WinWaitActive("BWHacks - Battle Won! - Mozilla Firefox") Sleep(500) MouseClick("left", 735, 543) $z = $z + 1 WEnd Edited October 2, 2006 by gamepin126 Link to comment Share on other sites More sharing options...
AceLoc Posted October 2, 2006 Share Posted October 2, 2006 no idea but you could try: $z = 0 While 1 If $z = 100 Then MsgBox(0, "", "100 cycles completed.") $z = 0 EndIf ToolTip($z , 300, 0) ;~ MsgBox(0, "", "Cycle complete. Repeat?") WinWaitActive("BWHacks - Viewing All Battles") Sleep(500) MouseClick("left", 905, 251) WinWaitActive("BWHacks - Creating Battle") Sleep(500) ;~ MouseClick("left", 760, 562);monster drop down menu ;~ Sleep(100) ;~ MouseClick("left", 755, 601);Monster select: Gollum Clone Sleep(100) MouseClick("left", 706, 759) ; click create battle button WinWaitActive("BWHacks - Your Current Battle") Sleep(500) MouseClick("left", 520, 550);weapon dropdown Sleep(100) MouseClick("left", 520, 608);weapon select Sleep(100) MouseClick("left", 743, 651);ATTACK! Sleep(1000) If WinActive("BWHacks - Your Current Battle") Then MouseClick("left", 743, 651);ATTACK! EndIf WinWaitActive("BWHacks - Battle Won") Sleep(500) MouseClick("left", 735, 543) $z = $z + 1 WEnd [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
gamepin126 Posted October 2, 2006 Author Share Posted October 2, 2006 No dice. The delay is fine, before the conditional statement, but it's still stalling when I have more than 1 attack to do. The page loads in .5 seconds and I added a 2second delay, so title shouldn't matter, and since the first title requirement is met it shouldn't stall. I don't know. Is there a way to check if the page title hasn't changed for x seconds? Link to comment Share on other sites More sharing options...
AceLoc Posted October 2, 2006 Share Posted October 2, 2006 then why dont you use <IE.au3> it also gots a "LoadWait" func. [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
AceLoc Posted October 2, 2006 Share Posted October 2, 2006 then why dont you use <IE.au3> it also gots a "LoadWait" func. [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
gamepin126 Posted October 2, 2006 Author Share Posted October 2, 2006 (edited) then why dont you use <IE.au3> it also gots a "LoadWait" func.I don't use IE, and refuse to. Everytime it opens I have to scan my computer. Perhaps there is a firefox version, or could I embed it in the app using via rendering engine? Edited October 2, 2006 by gamepin126 Link to comment Share on other sites More sharing options...
AceLoc Posted October 2, 2006 Share Posted October 2, 2006 But.. its the best solution for it also work minimzed and faster I think its better then Troy(an)zilla Shitfox ! [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
gamepin126 Posted October 2, 2006 Author Share Posted October 2, 2006 But.. its the best solution for it also work minimzed and fasterI think its better then Troy(an)zilla Shitfox !Instead of bashing browsers with ignorance, perhaps you should scroll up. I've already stated using Internet Explorer (the program) is out of the question. Iff it's possible to embed the rendering engine in my app, or use a firefox version of IE.au3 would be best.So, do these exist yet? Link to comment Share on other sites More sharing options...
AzKay Posted October 2, 2006 Share Posted October 2, 2006 Instead of bashing browsers with ignorance, perhaps you should scroll up. I've already stated using Internet Explorer (the program) is out of the question. Iff it's possible to embed the rendering engine in my app, or use a firefox version of IE.au3 would be best.So, do these exist yet?Not yet, apparently, The problems something to do with, firefox is made with xml or something, Dont quote me on this, I know nothing. Im just reciting what I read, but I dont know if that was what it said, I dont remember if it was, My brains probly sending me a word I know instead # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
gamepin126 Posted October 3, 2006 Author Share Posted October 3, 2006 Not yet, apparently, The problems something to do with, firefox is made with xml or something, Dont quote me on this, I know nothing. Im just reciting what I read, but I dont know if that was what it said, I dont remember if it was, My brains probly sending me a word I know instead /sighI'd perfer to use Firefox, however I'd be just as happy embeding IE's rendering engine (ya know, the thing you click and lets you see webpages n stooph) into my App, it'd be ideal for botting. I searched this forum for something like that, and didn't find anything remotely close to what I needed. I've seen people embed SWF objects (Aimbot PoC), so why not be able to do a webpage? Link to comment Share on other sites More sharing options...
AzKay Posted October 3, 2006 Share Posted October 3, 2006 Maybe your wanting, $oIE = ObjCreate("Shell.Explorer.2") $oIE.Navigate("webpage") If when you make the GUI, If your using KODA, Create a com object, Selecting the Shell.Explorer.2, Then use the .Navigate to go to a webpage. Is that what your looking for? # MY LOVE FOR YOU... IS LIKE A TRUCK- # 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