joey2stone Posted June 19, 2009 Share Posted June 19, 2009 (edited) Hi, I'm very new to designing scripts, and I'm trying to make one for a text-based rpg I play(kinda lame, I know, but I like it). I haven't made it too far yet and I've already hit a bump. I'm trying to design a macro to log me in, and click away(it's actually not against any posted rules for this game, and the maker has no issues with it), so far I can get it to log me in but I cannot figure out how to get it to click the fight link, I've tried the IELinkClick function but it doesn't seem to work. If you would like to check out the code the site address is http://www.lordsoflords.com/shadow/, making a character takes less then a minute and requires no activation of any kind. Any help on this would be fantastic.EDIT - The error I get when I try to use the link click function is_IELinkClickByText ($oIE, "Fight" [, $i_index = 1])_IELinkClickByText (^ERRORError: Variable being used without being declared. Edited June 19, 2009 by joey2stone Link to comment Share on other sites More sharing options...
jerem488 Posted June 19, 2009 Share Posted June 19, 2009 Hello,Have you create an instance of Internet Explorer ?like this :#include <IE.au3> $oIE = _IECreate("http://www.google.com") _IELinkClickByText($oIE,"News")To help you, download the toolbar "Debugbar" : http://www.debugbar.com/ Qui ose gagneWho Dares Win[left]CyberExploit[/left] Link to comment Share on other sites More sharing options...
jerem488 Posted June 19, 2009 Share Posted June 19, 2009 To see the text "fight", should we be logged ???? Qui ose gagneWho Dares Win[left]CyberExploit[/left] Link to comment Share on other sites More sharing options...
joey2stone Posted June 19, 2009 Author Share Posted June 19, 2009 (edited) i downloaded the debugger, which helps thanks, and the fight link i have to click to initialize fights is actually a script and not a link at all, so now what I'm wondering is how can I get autoit to recogize this bit of script and click it? and yeah, to the fight text you would have to be logged in Edited June 19, 2009 by joey2stone 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