script for Actools needed

01/19/2008 03:28 Wolf88#1
I need a script that "pushes" a button on my keybord allowing one of my chars to debuff the other one using force extract and skilthaw (if not both are possible then atleast force extract) since its not possible to run 2 rf and have 2 keys pressed.

I rly hope some1 can do this stuff
01/26/2008 12:23 small1337#2
so u want code for an auto debuff?
i'll make a basic one for u, haven't made 1 b4 but it should be pretty simple... problem with ACTool is the fct that u have to have rf targetted thus u have to be afk or simply watch the program do it's work...
01/26/2008 12:26 small1337#3
// This line is necessary to select the proper window
SetActiveWindow RF online
delay 1500

while 1 = 1 //keep looping

keys {f9} //use skill
delay 3 sec
keys {f10}
delay 3 sec

end //end while



----------------------------------------------------------------------

i can make it check for player HP but i would need to know ur screen resolution, atm this code eats cpu so it will be worth adding a bigger second delay.
01/28/2008 13:43 Wolf88#4
so i can use this when im running 2 clients on the same PC? (one with main char and one with the debuffer)
01/29/2008 21:52 Wolf88#5
so i tried this script today, but chaged it slightly to only use skill thaw but 5 times... and, well.. it workes if i have the window with the debuffer active, but if i have that i cant afk buff on the other client since both windows need to be active. is there any way to get past this?
02/01/2008 18:58 small1337#6
the only way i know of is to run them both in widows and click the task bar to select the correct window and then do the routine for that window... this is still pretty simple to code but i will help more if u need it :)
02/02/2008 11:49 Wolf88#7
yeh have been running both in windows... tobad theres not a way to do it afk :P
02/03/2008 17:40 zaraki kenpachi#8
well what windows resolution do you have? small1337 must need that i think because when he codes it , he must pinpoint your mouse on the "other" client if there are two in your taskbar ;) should be pretty simple in "theory " ;>
02/04/2008 16:21 Wolf88#9
1152x864
02/04/2008 19:32 small1337#10
thanks, yh i can code that for u and yes it is "afk" (if all goes well atleast)

so u tell me what u need the code to do....
i know one u have already but what is the other char doing? simply buffing? is that all done on the ingame macro button? how many buffs does it have - so i can get an idea of how long to let it buff for?


here's the basic idea;
p.s. to find mouse co ords in ACTool very easily simply move the mouse
to the area/co-ords u want to find and then press "control + m" -> this will
automatically code the line 'mousepos #x,#y' in ACTool for u.

----------------------------------------------------------------

while 1=1

//click first open program
MousePos 179, 849 //can be found using "control + m" in ACTool
leftclick
delay 3000 //delay is probably way too long for u, depends on pc specs

loop
//do all actions for screen 1


end

//click second open program
MousePos 347, 848 //can be found using "control + m" in ACTool
leftclick
delay 3000 //again reduce delay as appropriate

loop
//do all actions for screen 2

end

end

--------------------------------------------------------
02/04/2008 21:25 Wolf88#11
first char, using normal buffs with ingame macro and 7 buffs (might be better to use a script for that aswell, dont rly know much about it, ill leave that up to u) the other char is simply gonna be using skill thaw 7 times on the first one so all buffs gets off.

and it would be easier if it worked when afk
02/05/2008 14:17 small1337#12
ok seems pretty easy but this is all basically theory as i can't test it.

---------------------------------------------------------------

while 1=1

//click first open program
MousePos 179, 849 //can be found using "control + m" in ACTool
leftclick
delay 3000 //delay is probably way too long for u, depends on pc specs

loop
//do all actions for screen 1
keydown {f1}, 10 sec
//this is assuming ur ingame buff macro is set to f1 - replace f1 with desired number
//10 second delay so that all buffs are hopefully used, may need to increase this
end

//click second open program
MousePos 347, 848 //can be found using "control + m" in ACTool
leftclick
delay 3000 //again reduce delay as appropriate

loop
//do all actions for screen 2
loop 7
keydown {f1}, 1 sec
delay 3 sec
//this will press f1 and then wait 3 seconds - 7 times to remove all buffs
//replace f1 as desired with skill thaw slot
end
end

end

-------------------------------------------------------------------
05/16/2008 17:23 niksniks#13
um, im gonna ask a stupid question... please make command lines for me, for pressing f5 continuously (about every 10 seconds). that's all. thanks!!!