;===========================================
; Script Name: XIIxOver's Justice League
; Author: XIIxOveR
; Version: 1.1 Public
; Shard OSI/FS: OSI
; Revision Date: 12-July-2008
; Purpose: AFK Justice Gainer with Two Accounts
;===========================================
Event macro 15 50 Cast Spell Flame Strike
wait 2s
Event macro 22 Last Target
wait 4s
Event macro 15 50 Cast Spell Flame Strike
wait 2s
Event Macro 22 Last Target
wait 4s
Event macro 15 58 Cast Spell Resurrection
wait 4s
Event Macro 22 Last Target
wait 4s
Event macro 15 58 Cast Spell Resurrection
wait 4s
Event Macro 22 Last Target
wait 430s
repeat
think the gump for rezing is off. It never clicks it to take the rezI'm not aware that there was a change in the res gump size, have you ruled out any other issues such as making sure that the Justice League Red is definitely running against the red character?
namespace Global 12XO1
gosub setID Blue
set !blue #Result
gosub setID Red
set !red #Result
;Main Loop ; your mainloop
Repeat
gosub Kill
gosub Path2Red
gosub Res
gosub Path2Start
gosub swap_client !red ; swaps to the red char
gosub red_script ; put the entire red accepting rez script in this sub
gosub swap_client !blue ; swaps back to the blue char
wait 420s 30s
Until #FALSE
;**************************
; %1 = name of target to id
Sub setID
display OK Target your %1 now
set #targCurs 1
while #targCurs = 1
wait 0
Return #ltargetID
;************
; %1 = charID
sub swap_client
repeat
{
uoxl swap
wait 10
}
until #charID = %1
return
if #charghost = yes
if #HITS = 0
#charGhost doesn't work on gargoyles. Here's what I did to the RED's script...Good call Cerv, thanks I didn't know that.
changedCode: [Select]if #charghost = yes
toCode: [Select]if #HITS = 0
#charGhost doesn't work on gargoyles. Here's what I did to the RED's script...
That's because gargoyles never die.......they just...well, you know the rest.#charGhost doesn't work on gargoyles. Here's what I did to the RED's script...
you have got to be kidding me.
Just used this today to gain...one thing I thought of, wait to rez the person until the timer is up, that way they don't regen much in terms of HP!That's actually a great idea!
#charGhost doesn't work on gargoyles. Here's what I did to the RED's script...
changedCode: [Select]if #charghost = yes
toCode: [Select]if #HITS = 0
I wonder why not just use a global variable for your ResBotDead value? Would make it so that you don't need to run the scripts with razor...I have absolutely no idea what you're talking about Paulo ROFL!! :D Why would you have to run the script with Razor?? It uses a persistent variable to determine when it's dead and needs to be res'd by the "Blue" script.
I must be missing something, I will go back and try to set it up again. When I read the instructions it said I ought to use razor or UOXL. I am wondering if my issue was that I had other iterations of UO open in addition to the two I was using. I will try it with just two and see if that was my issue.Ahhh, gotcha - that was actually just meaning to dual-client on one machine. It does sound confusing now that you don't need 3rd party tools to dual-client anymore. I'm removing that from the instructions!
I played/wrote a script like this once... but i did it as a single script that would just client swap between each char...I must have known that so I wanted to do something different ;)
Don't know why i'm throwing that out their as if its not broken then don't fix it.
Just used this and it worked flawlessly. Great script.. Thanks!Awesome, thanks much for the feedback! Glad it worked out for ya.
repeat
if #HITS = 0 ; if #charghost = yes
{
set *XIIxResBotDead #TRUE
msg OooOooO$
wait 2s
}
if #HITS > 1 ; if #charghost = no
set *XIIxResBotDead #FALSE
While #ContSize = 400_350
{
Click 170 240 f
Wait 3s ; was 2
if #HITS > 1 ; if #charghost = no
set *XIIxResBotDead #FALSE
}
Until #FALSE
I really start to reading more into comments before turning my imbuer red :-\\:o :laugh: :laugh: :laugh: :laugh: