[EasyUO] Beehive opener

If you make a Client-side script you can publish it here for other players to use
Locked
Annachie
Elysium Beta Tester
Posts: 487
Joined: Thu Aug 22, 2013 8:21 pm

[EasyUO] Beehive opener

Post by Annachie »

Stupidly simple. Opens the Beehive gump for any hive within 2 squares. 2 second delay built in because in case of lag, and pops a message when all are open. Because, quite frankly, with all 24 up and running the hives can be hard to dbl click. (All those bees getting in the way :) )

Code: Select all

initevents

begin:
 finditem OOD G_2
 while #findIndex <= #findCnt
 {
   set #LOBJECTID #FINDID
   event macro 17 0
   set #findIndex #findIndex + 1
   wait 2s
 }

 display finished
halt
Character name: Ebony
Reskal
Elder Scribe
Posts: 108
Joined: Fri Aug 29, 2008 10:54 am

Re: [EasyUO] Beehive opener

Post by Reskal »

I tried your macro out, standing in between my hives, and when i start it a little window pops up saying: Finished !
Nothing else happens.

Edit: now it works, don't know why, i changed nothing.
Annachie
Elysium Beta Tester
Posts: 487
Joined: Thu Aug 22, 2013 8:21 pm

Re: [EasyUO] Beehive opener

Post by Annachie »

I know anything like this can struggle with lag, especially if you just arrived in an area with lots, and I mean lots, of things.

Occasionally it will miss a hive due to a lag spike, or a longer than usual save. (It that happens a lot just increase the wait time)

Otherwise I cant think of anything that could cause that.
Character name: Ebony
Reskal
Elder Scribe
Posts: 108
Joined: Fri Aug 29, 2008 10:54 am

Re: [EasyUO] Beehive opener

Post by Reskal »

Thanks for the hint with the lag, will raise to 3-4 secs then, and its a helpful macro.

Edit 4 days later: using it every day, love it:)
Reskal
Elder Scribe
Posts: 108
Joined: Fri Aug 29, 2008 10:54 am

Re: [EasyUO] Beehive opener

Post by Reskal »

Actually its not working anymore. Whenever i start it, a popup says finished. I copied this macro exactly into the easy-uo but still does'nt work anymore.
Locked