|
Easyuo
Mar 16, 2015 21:22:39 GMT 1
Post by kieeps on Mar 16, 2015 21:22:39 GMT 1
What easyuo version are you useing? seems a lot like it wont recognice the victim bag as a container
|
|
Vex
Full Member
Posts: 176
|
Easyuo
Mar 16, 2015 21:34:29 GMT 1
Post by Vex on Mar 16, 2015 21:34:29 GMT 1
1.5 version 190
|
|
Vex
Full Member
Posts: 176
|
Easyuo
Mar 16, 2015 22:13:13 GMT 1
Post by Vex on Mar 16, 2015 22:13:13 GMT 1
Tested with the newest version from the EasyUO website, and have the same results.
|
|
|
Easyuo
Mar 16, 2015 22:44:58 GMT 1
Post by kieeps on Mar 16, 2015 22:44:58 GMT 1
i dont get it, sorry... i just... i'w had it running for a while now and got 110+ in both snoop steal. On the other hand i'w messed some with it since i posted it and added a trashing system. maby i cleaned/fixed the rest and forgot.
I commented out the trashing system, all it does is throw EVERYTHING in the backpack into a specific trashcan.
; Equip gloves and stand next to the victim
; this will only be run once
event macro 52 5
set %VicID #LTARGETID
set %VicX #LTARGETX
set %VicY #LTARGETY
set %VicZ #LTARGETZ
set %VicKind #LTARGETKIND
finditem KKH C_
if #FINDCNT > 0
set %GloveID #LOBJECTID
set %GloveType #LOBJECTTYPE
gosub Loop
; Main Loop
; I'm a fan of the sub-system... maby not needed but i'm using it
Sub Loop
gosub Snoop
gosub CheckSuccess
;gosub Trash
gosub Loop
; Snoops the target
sub Snoop
finditem KKH C
if #FINDCNT > 0
set #LOBJECTID #FINDID
set #LOBJECTTYPE #FINDTYPE
event macro 17 0
target
set #LTARGETID %VicID
set #LTARGETX %VicX
set #LTARGETY %VicY
set #LTARGETZ %VicZ
set #LTARGETKIND %VicKind
event macro 22 0
event macro 8 7
wait 10s
return
; Check to see if the snoop was successfull
sub CheckSuccess
if #CONTID = #BACKPACKID
{
gosub Loop
}
else
{
gosub Steal
}
return
; Steals the content of the bag
; Timed the bag to be open for 60 sec, each loop need ~5 sec and loops 11 times (5*11=55 not 60, i know but the scripts need some time to go through the lines)
sub Steal
set %StealBagID #CONTID
finditem * C_ , %StealBagID
for %i 1 11
{
finditem * C_ , %StealBagID
set #LTARGETID #FINDID
event macro 13 33
target
event macro 22 0
wait 5s
}
return
sub Trash
finditem * C_#BACKPACKID
set %ForEach #FINDCNT
for %i 1 %ForEach
{
finditem * C_AZJBWPD
if #FINDCNT > 0
{
Exevent Drag #findid #findstack
wait 10
Exevent Dropc JITRAOD
wait 10
}
}
gosub Loop
gosub Loop
|
|
Vex
Full Member
Posts: 176
|
Easyuo
Mar 16, 2015 22:55:23 GMT 1
Post by Vex on Mar 16, 2015 22:55:23 GMT 1
Having issues connecting at the moment, but as soon as I can figure out how to resolve this issue I'll log in and test. Will post an update at that time. Thanks.
|
|
|
Easyuo
Mar 17, 2015 2:55:28 GMT 1
Post by lizander on Mar 17, 2015 2:55:28 GMT 1
Anyone have mining script?
|
|
Vex
Full Member
Posts: 176
|
Easyuo
Mar 17, 2015 21:23:51 GMT 1
Post by Vex on Mar 17, 2015 21:23:51 GMT 1
Got my connection issues resolved and tested the script using the newer script you posted, on a few different versions of EasyUO. Results were the same. :/
|
|
|
Easyuo
Mar 28, 2015 20:18:07 GMT 1
Post by ironclad on Mar 28, 2015 20:18:07 GMT 1
Dunno if people still need this, seeing as there are thieves everywhere in Umbra stealing away already Anyway, I made some adjustments, and this works for me. I combine it with a razor macro which says "sell bag" and targets my own backpack, then answers "no" to the gump, followed by invoking a sorting agent which puts all gold in a separate bag inside my backpack (still doesn't stack the gold piles I think). I've never used easyuo before, and I removed most stuff I didn't see the need for, so I might have screwed some other part up I also put detecting hidden in there during the downtime, because why not? EDIT: Won't work if you backpack is not the only opened bag before you start, so make sure it is. Also moved target selection back to the top because players standing too close would mess things up, and it seems I tried to fix something that did work already. ; Equip gloves and stand next to the victim
; this will only be run once
;Make sure the desired NPC is targeted here... event macro 52 5
set %VicID #LTARGETID
finditem KKH C_
if #FINDCNT > 0
set %GloveID #LOBJECTID
set %GloveType #LOBJECTTYPE
gosub Loop
; Main Loop
; I'm a fan of the sub-system... maby not needed but i'm using it
Sub Loop event macro 13 14 gosub Snoop
gosub CheckSuccess
gosub Loop
; Snoops the target
sub Snoop
finditem KKH
if #FINDCNT > 0
set #LOBJECTID #FINDID
set #LOBJECTTYPE #FINDTYPE
event macro 17 0
wait 1s
set #LTARGETID %VicID
event macro 22 0
wait 10s
set %StealBagID #CONTID
return
; Check to see if the snoop was successfull
sub CheckSuccess
if %StealBagID = #BACKPACKID { gosub Loop }
else
{
gosub Steal
wait 5s
}
gosub Loop
; Steals the content of the bag
; Timed the bag to be open for 60 sec, each loop need ~5 sec and loops 11 times (5*11=55 not 60, i know but the scripts need some time to go through the lines)
sub Steal
for %i 1 11 {
finditem * C_ , %StealBagID
set #LTARGETID #FINDID
event macro 13 33
target
event macro 22 0
wait 5s }
gosub loop
|
|