ScriptUO

Official ScriptUO EasyUO Scripts => Script Debug => Topic started by: The Reaper on May 07, 2011, 03:22:32 PM

Title: Bag of sending issues
Post by: The Reaper on May 07, 2011, 03:22:32 PM
I'm having really big issues with this sub, the bag of sending on the Big Fish seems to refuse to click on the fish. It recognises that the fish is there, it even sets #ltargetID properly, it just refuses to click on the fish. Any help would be much appreciated, I can't seem to find the issue :S

Code: [Select]
sub big_fish
;==========================

;==========================
finditem GQD_FQD_EQD_DQD C_
if #findkind = -1
   {
   return
   }
event property #findID
if A , #spc , Big notin #property
   {
   return
   }
set #ltargetid #findID
set #lobjectID %BoS
wait 5
event macro 17 0
target 3s
wait 5
event macro 22 0
wait 10
Title: Re: Bag of sending issues
Post by: Endless Night on May 07, 2011, 04:00:59 PM
you have to set the targetkind

set #ltargetkind     ???  <-- ive forgotten if its a 1 or other... look up the command on easyuo and choose the number for object
Title: Re: Bag of sending issues
Post by: 12TimesOver on May 07, 2011, 04:12:27 PM
1 is object.

X
Title: Re: Bag of sending issues
Post by: The Reaper on May 07, 2011, 04:36:06 PM
I've just worked it out for myself by reading TM's BoS subs. However thanks for the responses. And yes, it is "1"

I omitted to realise it, as most of my scripts have been skill training, but I've been moving into more and more complex scripts recently.

Unfortunately, you aren't going to be getting a copy of this one, as the earning potential on my shard is absolutely massive. However my Log Chopping script and my auto lumber jacker will be with you in a week or so, still got a lot of testing to do.

:D