[Question][Newbie]

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
rshacker13
Posts: 8
Joined: Sat Feb 02, 2008 2:19 pm
Contact:

[Question][Newbie]

Post by rshacker13 » Sat Feb 02, 2008 2:53 pm

is this possible to make a auto-battling bot here. using imacros?
without training your weapon's offensive mastery to make a one hit kill?

because i already got it to work. but only works on the monsters with the same hp and when the script kills a kind of monster that has a lower hp than the monster i've used when recording this it gets error as usual because it can't find a certain text or url something.

my point here is, is it possible for imacros to look for a certain text that will make sure that the monster is dead already or not yet and continue the bot.

here is the recorded script i got:

Code: Select all

VERSION BUILD=6011231 RECORDER=FX
TAB T=1
URL GOTO=http://theninja-rpg.com/?id=2
TAG POS=1 TYPE=A ATTR=TXT:Battle<SP>Arena
TAG POS=1 TYPE=A ATTR=TXT:Fight!
TAG POS=1 TYPE=A ATTR=TXT:Fight!
TAG POS=4 TYPE=INPUT:RADIO FORM=NAME:form1 ATTR=NAME:action
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=NAME:Submit&&VALUE:Submit
TAG POS=1 TYPE=A ATTR=TXT:Continue
TAG POS=4 TYPE=INPUT:RADIO FORM=NAME:form1 ATTR=NAME:action
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=NAME:Submit&&VALUE:Submit
TAG POS=1 TYPE=A ATTR=TXT:Continue
TAG POS=4 TYPE=INPUT:RADIO FORM=NAME:form1 ATTR=NAME:action
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=NAME:Submit&&VALUE:Submit
TAG POS=1 TYPE=A ATTR=TXT:Continue
TAG POS=4 TYPE=INPUT:RADIO FORM=NAME:form1 ATTR=NAME:action
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=NAME:Submit&&VALUE:Submit
TAG POS=1 TYPE=A ATTR=TXT:Continue
TAG POS=4 TYPE=INPUT:RADIO FORM=NAME:form1 ATTR=NAME:action
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=NAME:Submit&&VALUE:Submit
TAG POS=1 TYPE=A ATTR=TXT:Continue
TAG POS=4 TYPE=INPUT:RADIO FORM=NAME:form1 ATTR=NAME:action
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=NAME:Submit&&VALUE:Submit
TAG POS=1 TYPE=A ATTR=TXT:Continue
TAG POS=4 TYPE=INPUT:RADIO FORM=NAME:form1 ATTR=NAME:action
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=NAME:Submit&&VALUE:Submit
TAG POS=1 TYPE=A ATTR=TXT:Continue
TAG POS=4 TYPE=INPUT:RADIO FORM=NAME:form1 ATTR=NAME:action
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=NAME:Submit&&VALUE:Submit
TAG POS=1 TYPE=A ATTR=TXT:Continue
TAG POS=4 TYPE=INPUT:RADIO FORM=NAME:form1 ATTR=NAME:action
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=NAME:Submit&&VALUE:Submit
TAG POS=1 TYPE=A ATTR=TXT:Return<SP>to<SP>the<SP>profile
TAG POS=1 TYPE=A ATTR=TXT:Ramen<SP>shop
TAG POS=5 TYPE=A ATTR=TXT:Order
TAG POS=1 TYPE=A ATTR=TXT:Profile
let me say this, maybe you got confused on what i've said earlier.

as you can see at the script.
it has some same strings or whatever you wanna call it like

Code: Select all

TAG POS=4 TYPE=INPUT:RADIO FORM=NAME:form1 ATTR=NAME:action
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=NAME:Submit&&VALUE:Submit
TAG POS=1 TYPE=A ATTR=TXT:Continue
and when it runs over a monster with less hp than the one i've used when recording and has some excess

Code: Select all

TAG POS=4 TYPE=INPUT:RADIO FORM=NAME:form1 ATTR=NAME:action
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=NAME:Submit&&VALUE:Submit
TAG POS=1 TYPE=A ATTR=TXT:Continue
so when it clicks on continue it will give me an error and won't continue again.

pls answer this.
and don't flame me or something because i'm just new at this.
mknoll1
Posts: 174
Joined: Fri Dec 23, 2005 4:14 pm

Post by mknoll1 » Mon Feb 04, 2008 3:35 pm

You need to use the SET !ERRORCONTINUE YES command. You can then copy as many rounds of fighting as you want and it will run through them and keep going even if the fight has ended.


On a separate point. If the game is not fun to play why would it be fun to make a script to play it? Games are supposed to be for fun. If it isn't fun enough to play then find another game.
rshacker13
Posts: 8
Joined: Sat Feb 02, 2008 2:19 pm
Contact:

Post by rshacker13 » Tue Feb 05, 2008 9:42 am

where do i put it?

what i did is this

Code: Select all

VERSION BUILD=6011231 RECORDER=FX
TAB T=1
SET !ERRORCONTINUE YES <- i put it here
URL GOTO=http://theninja-rpg.com/?id=2
TAG POS=1 TYPE=A ATTR=TXT:Battle<SP>Arena
TAG POS=1 TYPE=A ATTR=TXT:Fight!
TAG POS=1 TYPE=A ATTR=TXT:Fight!
TAG POS=4 TYPE=INPUT:RADIO FORM=NAME:form1 ATTR=NAME:action
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=NAME:Submit&&VALUE:Submit
TAG POS=1 TYPE=A ATTR=TXT:Continue
TAG POS=4 TYPE=INPUT:RADIO FORM=NAME:form1 ATTR=NAME:action
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=NAME:Submit&&VALUE:Submit
TAG POS=1 TYPE=A ATTR=TXT:Continue
TAG POS=4 TYPE=INPUT:RADIO FORM=NAME:form1 ATTR=NAME:action
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=NAME:Submit&&VALUE:Submit
TAG POS=1 TYPE=A ATTR=TXT:Continue
TAG POS=4 TYPE=INPUT:RADIO FORM=NAME:form1 ATTR=NAME:action
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=NAME:Submit&&VALUE:Submit
TAG POS=1 TYPE=A ATTR=TXT:Continue
TAG POS=4 TYPE=INPUT:RADIO FORM=NAME:form1 ATTR=NAME:action
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=NAME:Submit&&VALUE:Submit
TAG POS=1 TYPE=A ATTR=TXT:Continue
TAG POS=4 TYPE=INPUT:RADIO FORM=NAME:form1 ATTR=NAME:action
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=NAME:Submit&&VALUE:Submit
TAG POS=1 TYPE=A ATTR=TXT:Return<SP>to<SP>the<SP>profile
TAG POS=1 TYPE=A ATTR=TXT:Ramen<SP>shop
TAG POS=5 TYPE=A ATTR=TXT:Order
TAG POS=1 TYPE=A ATTR=TXT:Profile
rshacker13
Posts: 8
Joined: Sat Feb 02, 2008 2:19 pm
Contact:

Post by rshacker13 » Tue Feb 05, 2008 1:33 pm

NVM.

i solved it, it's not ERRORCONTINUE but ERRORIGNORE :P
mknoll1
Posts: 174
Joined: Fri Dec 23, 2005 4:14 pm

Post by mknoll1 » Tue Feb 05, 2008 2:30 pm

Sorry. They deprecated SET ERRORCONTINUE and replaced it with SET !ERRORIGNORE. I am workign with an older version of the software.
rshacker13
Posts: 8
Joined: Sat Feb 02, 2008 2:19 pm
Contact:

Post by rshacker13 » Thu Feb 07, 2008 2:54 pm

ow....,
ok,

you should try to get the updated one?

for new features maybe?
Post Reply