ScriptUO

Official ScriptUO EasyUO Scripts => Submit your Script => Topic started by: baldielocks on October 25, 2020, 05:21:57 AM

Title: BL Trick Or treat Recall
Post by: baldielocks on October 25, 2020, 05:21:57 AM
;=================================================================
; Script Name: BL Recall Trick or Treat
; Author: Baldielocks
; Version: Beta V5
; Shard OSI
; Revision Date: 10/22/2020
; Purpose:
;  Use TM Runebook subs to recall to trick or treat, bank, and trash.
;
;  Requirements:
;
;    Runebook named TrickorTreat1 with 16 valid, static, trick or treat targets.
;    Runebook named Bank with 16 bank runes
;    Runebook named  Trash with 6 trash can runes
;    One bag in bank for special loot items. Another if you are saving candy.
;    Set %savecandy to #true if you want to save it.
;    LOTS of bank room is a plus. Script will halt when you reach bank limit.
;    max weight up to 600, but not over
;    65 magery for 100% success. Script does not support fizzle protection in order to get around blocked runes.
;     Start at a bank to set the specials drop bag.
;
; Special Thanks To:
; Oracle, for testing and bug reporting.
; Gaderian for all his script help. Thanks for helping me learn! Such a little
; space to try to express my gratitude.
;   Ghost for pointing out ways to not complicate things .
;  Trail Myx,C_2, and Neo for gracious permission to use their subs.
;=================================================================
The script will stop recalling to the bank when the bank is full and recall until the pack is full. Once that happens, your pack is a mess. To help with that, Specials mover is also attached to assist in moving stuff around when inventory gets full. This is ONLY for when you restart with a full back and need to clean it up. Do NOT run at the same time as the main script.
Script will attempt to recall 2 times to a blocked rune, then switch to the next one.
Title: Re: BL Trick Or treat Recall
Post by: Oracle on October 25, 2020, 11:46:33 AM
The script works great 95% of the time. There are still a couple of problems:

1. When it gets a special item from an NPC it tries to move it right away to the bank, but the Trick or Treater is not in the bank.

2. It still gets stuck on blocked runes and tries to recall over and over.

Perhaps I am running the script "Specials Mover" wrong. I am running them at the same time...

It looks as if the script tries to recall to the bank to deposit the special, but I get the error, "You cannot teleport while dragging an object".


Title: Re: BL Trick Or treat Recall
Post by: baldielocks on October 25, 2020, 05:34:52 PM
Good call oracle. Specials mover is for only when you run out of room and need to make room when restarting. I'll update the documentation to make that clear.
 I'm not seeing the blocked rune issue on my end. I'll jeep running it to see if I can duplicate. can you describe more about what is happening? Can you pause and step through (f6) to see what it is hanging up on? It SHOULD be trying to recall twice, then moving to the next rune. Just verified that it works.
Title: Re: BL Trick Or treat Recall
Post by: Oracle on October 01, 2021, 08:02:21 PM
AH!

Comes the time of year where this Script comes in handy and is much appreciated. I have not used it since it yet, but will report any flaws or bugs. I am hoping that this Script still works.

Oracle
Title: Re: BL Trick Or treat Recall
Post by: The Ghost on October 02, 2021, 03:23:14 PM
This year new drop ID  ZGLC_RGLC_CHLC_POLC
Larnten have 2 ID
Stack Skull
Medusa Head
Title: Re: BL Trick Or treat Recall
Post by: Toymaker on October 03, 2021, 08:41:23 AM
does this support more than 1 recall book for the trick or treating? or is it limited to just the 16 spots on book 1?
Title: Re: BL Trick Or treat Recall
Post by: Gaderian on October 03, 2021, 09:54:19 AM
You will probably have to look for yourself since the author hasn't been around for a few months now.
Title: Re: BL Trick Or treat Recall
Post by: Oracle on October 05, 2021, 05:13:01 AM
This year new drop ID  ZGLC_RGLC_CHLC_POLC
Larnten have 2 ID
Stack Skull
Medusa Head

Thank you for listing the two ids for the new items...
Title: Re: BL Trick Or treat Recall
Post by: baldielocks on October 06, 2021, 02:19:55 PM
I back! really!
 :angel:
Ill work on the new items this weekend.
Title: Re: BL Trick Or treat Recall
Post by: baldielocks on October 06, 2021, 02:28:20 PM
THis version only supports one recall book. I can revise to add in more. I also want to add in a menu and some on the fly options to dump items or save them.