Author Topic: BL Trick Or treat Recall  (Read 262 times)

0 Members and 1 Guest are viewing this topic.

Offline baldielocksTopic starter

  • Sr. Member
  • *
  • Posts: 275
  • Activity:
    1.4%
  • Reputation Power: 4
  • baldielocks has no influence.
  • Gender: Male
  • Respect: +10
  • Referrals: 5
    • View Profile
BL Trick Or treat Recall
« on: October 25, 2020, 05:21:57 AM »
0
;=================================================================
; 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.

There are 2 attachment(s) in this post. You must register and post an acceptable introduction to download
BL Trick Or Treat Recall 1..txt
BL Trick Or Treat specials mover.txt
« Last Edit: October 27, 2020, 07:40:17 AM by baldielocks »

Offline Oracle

  • Hero Member
  • *
  • Posts: 881
  • Activity:
    0.2%
  • Reputation Power: 14
  • Oracle barely matters.Oracle barely matters.
  • Gender: Male
  • We always want something that we cannot have...!
  • Respect: +97
  • Referrals: 3
    • View Profile
Re: BL Trick Or treat Recall
« Reply #1 on: October 25, 2020, 11:46:33 AM »
0
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".


« Last Edit: October 25, 2020, 11:52:49 AM by Oracle »
ORACLE
Get me a Straw...because I suck...!
PIXEL CRACK -- Love it! Crave it! Want it! Got to have it!

Offline baldielocksTopic starter

  • Sr. Member
  • *
  • Posts: 275
  • Activity:
    1.4%
  • Reputation Power: 4
  • baldielocks has no influence.
  • Gender: Male
  • Respect: +10
  • Referrals: 5
    • View Profile
Re: BL Trick Or treat Recall
« Reply #2 on: October 25, 2020, 05:34:52 PM »
0
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.
« Last Edit: October 25, 2020, 05:53:52 PM by baldielocks »

Tags: