Need some very simple help (new to the tool)

Find a consultant or advertise your services here
Post Reply
jodriscoll
Posts: 8
Joined: Tue Apr 26, 2011 1:48 pm

Need some very simple help (new to the tool)

Post by jodriscoll » Tue Apr 26, 2011 1:51 pm

I'm trying to create a simple script, however it isn't selecting the check box fields (then it's supposed to repeat that click event on the following check boxes another 39 times) then proceeding with the script. If anyone can assist, I would greatly appreciate it.

This is in no way complex or difficult, I just need to figure out the proper way to refer to the check box so it is validated for the click event.

Thanks!

Extended Help Information:
I recorded a video showing what I am doing to better help someone with assisting me. The video can be found at:
http://www.jodriscoll.com/DA:L/iMacroHelp/

- The reason I remove the URL when editing the Macro is because it attempts to load up the game page again and if the game isn't fully loaded then the item I am trying to send out will not be unlocked.
- I removed the Form data because this information changes on a daily basis. Instead of relying on it sending the form data, it should only be causing the input checkbox value to activate causing it to transfer from the area above into the area below.
- If we are able to activate this event, is their an easy way to have it repeat that 39 times after the initial click instead of having to repeat the code on 39 additional lines? Reason being is I am allowed to select 40 users at 1 time to send the gifted item to.
MattBell7
Posts: 627
Joined: Thu Nov 26, 2009 11:07 am
Location: United Kingdom

Re: Need some very simple help (new to the tool)

Post by MattBell7 » Wed Apr 27, 2011 10:35 am

try leaving the FORM=ACTION: in there, but instead of the URL, add a *

Code: Select all

FORM=ACTION:*
if you want the macro to send as well, you either need to make it send to 1 user at a time, or use the scripting interface to select 40 boxes in a loop, then send it once.

also. DONT CHEAT play the game like everyone else...
MattBell7
Posts: 627
Joined: Thu Nov 26, 2009 11:07 am
Location: United Kingdom

Re: Need some very simple help (new to the tool)

Post by MattBell7 » Wed Apr 27, 2011 10:39 am

also change CONTENT=NO to CONTENT=YES

and don't double post
jodriscoll
Posts: 8
Joined: Tue Apr 26, 2011 1:48 pm

Re: Need some very simple help (new to the tool)

Post by jodriscoll » Thu Apr 28, 2011 12:14 pm

It isn't cheating my friend. Your tool is used to collect all the gifts we receive and I am trying to make it work with sending out gifts as well. EA2D openly suggests using Macro tools to accept and send gifts when you have friends list greater an 300 (I have 700+).

Also,
I realized I might of post this question in the wrong place, so I relocated it to another section, my apologies.
MattBell7
Posts: 627
Joined: Thu Nov 26, 2009 11:07 am
Location: United Kingdom

Re: Need some very simple help (new to the tool)

Post by MattBell7 » Thu Apr 28, 2011 12:18 pm

meh, was having a bad day yesterday, did the advice above fix the problem?
jodriscoll
Posts: 8
Joined: Tue Apr 26, 2011 1:48 pm

Re: Need some very simple help (new to the tool)

Post by jodriscoll » Thu Apr 28, 2011 12:19 pm

I tried this:

Code: Select all

VERSION BUILD=7200328 RECORDER=FX
TAB T=1
FRAME F=3
TAG POS=1 TYPE=DIV ATTR=ID:cell14
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:giftForm ATTR=VALUE:Proceed<SP>to<SP>Send<SP>>>
TAG POS=1 TYPE=A ATTR=TXT:Dragon<SP>Age<SP>Legends<SP>friends
FRAME F=11
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:* ATTR=ID:ids[] CONTENT=YES
TAG POS=2 TYPE=INPUT:CHECKBOX FORM=ACTION:* ATTR=ID:ids[] CONTENT=YES
TAG POS=1 TYPE=INPUT:BUTTON FORM=ID:* ATTR=NAME:send&&VALUE:Send<SP>Gift<SP>Request
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:sendit&&VALUE:Send
FRAME F=3
TAG POS=1 TYPE=INPUT:BUTTON ATTR=VALUE:Ok
Still not selecting any of the check boxes :(
jodriscoll
Posts: 8
Joined: Tue Apr 26, 2011 1:48 pm

Re: Need some very simple help (new to the tool)

Post by jodriscoll » Thu Apr 28, 2011 12:29 pm

Matt,
You should be able to use your Facebook to create a Dragon Age Legends account and try working out the script on the basic item they let you send (which is cell1 instead of my item I am trying to send which is cell14).

http://apps.facebook.com/dragonagelegends/

If you are able to figure this out, you will make hundreds of players very happy :)
jodriscoll
Posts: 8
Joined: Tue Apr 26, 2011 1:48 pm

Re: Need some very simple help (new to the tool)

Post by jodriscoll » Thu Apr 28, 2011 3:09 pm

Matt,
This is the code for each individual user that has a check box. Hopefully this can help you:

Code: Select all

<label class="clearfix"><input type="checkbox" fb_protected="true" value="*" name="ids[]" id="ids[]" class="inputcheckbox "><span>Aidan Lingods</span></label>
I put a star in the value="*" because this field is generated based off the users Facebook ID #.

I've tried doing all the following for trying to call the input box:

Code: Select all

TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:* ATTR=ID:ids[] CONTENT=YES

Code: Select all

TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:* ATTR=NAME:ids[] CONTENT=YES

Code: Select all

TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:* ATTR=CLASS:clearfix CONTENT=YES

Code: Select all

TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:* ATTR=CLASS:inputcheckbox CONTENT=YES
Every single one of those shoots this error:

Code: Select all

RuntimeError: element INPUT specified by * was not found, line: 8 (Error code: -921)
The * being all the following ATTR options listed above (ID:ids[]; NAME:ids[]; CLASS:clearfix; CLASS:inputcheckbox)

Hopefully your knowledge on how this tool works will help me resolve this issue! :)

Thanks for your help up to this point.
jodriscoll
Posts: 8
Joined: Tue Apr 26, 2011 1:48 pm

Re: Need some very simple help (new to the tool)

Post by jodriscoll » Fri Apr 29, 2011 2:12 pm

Can anyone assist with this? I am willing to pay if someone is able to create something that functions properly.
MattBell7
Posts: 627
Joined: Thu Nov 26, 2009 11:07 am
Location: United Kingdom

Re: Need some very simple help (new to the tool)

Post by MattBell7 » Tue May 03, 2011 8:58 am

i'll have a look when i'm at home and can actually access facebook (bloody surfcontrol :( )
MattBell7
Posts: 627
Joined: Thu Nov 26, 2009 11:07 am
Location: United Kingdom

Re: Need some very simple help (new to the tool)

Post by MattBell7 » Mon May 09, 2011 5:08 pm

sorry for the delay. here you go:

Code: Select all

VERSION BUILD=7311339
FRAME NAME=iframe_canvas
TAG POS=1 TYPE=A ATTR=ID:giftTab
FRAME F=5
TAG POS=1 TYPE=IMG FORM=ID:giftForm ATTR=SRC:http://web.dal.int.ea2d.com/images/gifts/consumables/potion_health_small_icon.j*
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:giftForm ATTR=CLASS:*
FRAME NAME=fbmlIFrame_0
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ID:req_form_* ATTR=ID:ids[]&&VALUE:*
TAG POS=1 TYPE=INPUT:BUTTON FORM=ID:req_form_* ATTR=CLASS:*
TAG POS=1 TYPE=DIV ATTR=CLASS:dialog_buttons<SP>clearfix
TAG POS=1 TYPE=INPUT:BUTTON ATTR=TYPE:button&&NAME:sendit&&VALUE:Send
FRAME F=5
TAG POS=1 TYPE=INPUT:BUTTON ATTR=CLASS:*
repeat this line:
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ID:req_form_* ATTR=ID:ids[]&&VALUE:*
to send multiples
mghobril
Posts: 1
Joined: Thu Jan 31, 2013 2:54 pm

Re: Need some very simple help (new to the tool)

Post by mghobril » Thu Jan 31, 2013 3:03 pm

I am having a similar issue.

VERSION BUILD=7601105 RECORDER=FX
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=http://bannersbroker.com/adpubcombo_man ... ory/rollup
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:?event=rollUp ATTR=ID:27885778 CONTENT=YES
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:?event=rollUp ATTR=ID:27885782 CONTENT=YES
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:?event=rollUp ATTR=ID:27885786 CONTENT=YES
TAG POS=1 TYPE=INPUT:IMAGE FORM=ACTION:?event=rollUp ATTR=ID:submit_button

The macro returns the following error:

RuntimeError: element INPUT specified by ID:27885778 was not found, line: 5 (Error code: -921)

The above should simply check three boxes and then submit them as a rollup.
It does not check the boxes at all.
Post Reply