Author Topic: Automated BOD recycler  (Read 5470 times)

0 Members and 1 Guest are viewing this topic.

Offline holmedogTopic starter

  • Jr. Member
  • **
  • Posts: 57
  • Activity:
    0%
  • Reputation Power: 2
  • holmedog has no influence.
  • Respect: +5
  • Referrals: 0
    • View Profile
Automated BOD recycler
« on: November 11, 2011, 06:17:52 AM »
0
WARNING:
DO NOT use this if you have gloves in your pack you want to keep.  It trashes mining gloves.

Updates
New release version - actually somewhat working
Fixed handing in your equipped gloves...(crap...)

Intro

This is the first iteration of my fully automated BOD system.  It is for smiths and designed to only recycle small irons (sorting others into books).  This is in an extremely early iteration, however, I've hit the point where I am willing to put it out there just to gather insight.  This is extraordinarily buggy and should not be considered working.  This is just to garner feedback while I am developing.


Feedback I need
Improvements to simple routines.  
Timing improvements
Logic traps
Setup Improvements

Credits
I'm going to try to credit everyone here, but I may miss someone.  If you see a missing credit, please point it out and I'll post it

TM for his journal scan subs: http://www.scriptuo.com/index.php?topic=33.0
MeWonUO for his BOD sorter:  http://www.scriptuo.com/index.php?topic=8671.0
Penny's BODswap for the basics (heavily stripped) of bod turnin: http://www.easyuo.com/forum/viewtopic.php?p=189502#189502

Setup:

Have the following in your pack:
Pair of scissors (to cut up mining gloves)
BOD book named "Returns"
BOD book named "Sort These"
Have a recall rune/book to your house that has a clear pathfinding path to your secure/anvil/forge
Have a recall within one screen of your turnin vendor that has a clear pathfindign path to the vendor
Tinker Tools
Backpack

Inside the backpack have: (Thanks to MeWonUO: http://www.scriptuo.com/index.php?topic=8671.0)
Plate Keepers  - Stores small and large pieces for bods that are worth combining.
Chain Keepers  - "
Ring Keepers    - "
BZ Runic         - Stores smalls that give 100% chance at BZ runic
CP Runic         - " but Copper
SH Runic         - " but Shadow
DC Runic         - " but DC
DCSH Runic     - Stores smalls that return 60% DC and 40% Shadow Hammers
POF 20           - Stores smalls that give a 20% chance at POF
POF 90           - Stores smalls that give a 90% chance at POF
Never Fill        - Stores large bods that are not worth doing.
Small Fill         - Stores smalls to fill and turn back into the smith.
Color Junk       - Smalls that you can choose to fill, or trash.

Have the following in your EUO folder with this script
S7BodFiller
CraftInfo


It will then:
Sort BODs from "Sort These" into the bag with your sorting books
Fill BODs in "Small Fill" inside your sorting bag into "Returns"
Recall to guildmaster
Attempt to get your "free" BOD
Turnin all items in the Returns book
Trash all items received (should only be iron items, hardcoded to trash Pickaxes, Shovels, and Prospecting tools)
Put empty deeds in "Sort These"
Recall to house
Pathfind to secure
Start over

The breakout point right now is if you sort and then have nothing in your small fills.  

KEEP IN MIND
This script IS NOT FULLY DEVELOPED.  Right now I have the sorting and the recalling complete.  I have the basics of the crafting part setup, but haven't fully iterated on it.  I haven't even touched the turnin part for testing, yet.  I developed the majority of this offsite from my UO install and have not gotten to testing.  This is here for the concept at this point.

Code: [Select]
;=====================================================================
; Script Name:  Holmedog's Automatic BOD recycler (just for small iron)
; Version: 0.2 prerelease
; Author: Holmedog
; Special thanks to a ton of people for all the places I jacked code (will try to credit you all in the post)
; Client Tested with:  7.0.1a
; EUO version tested with:
; Shard OSI / FS: OSI
; Initial Release Date:  20111110
; Revision Date: TBD
; Global Variables Used: N/A
; Dependencies: Script requires that you have S7BodFiller and CraftInfo
;               in the same folder as script

There are 1 attachment(s) in this post. You must register and post an acceptable introduction to download
Holmedog BOD Recycler.euo
« Last Edit: November 11, 2011, 01:58:40 PM by holmedog »

Offline Noobie

  • Sr. Member
  • *
  • Posts: 262
  • Activity:
    0%
  • Reputation Power: 1
  • Noobie has no influence.
  • Gender: Male
  • Respect: +13
  • Referrals: 1
    • View Profile
Re: Automated BOD recycler
« Reply #1 on: November 11, 2011, 09:32:06 AM »
0
As of right now I think there is  a error in the MakeTongsLoop I have not found it yet, but I will see if I can figure it out. I had one Tong in my pack and it appears that it is trying to make more. It will load iron ingots into my pack and nothing else at this point.

Offline holmedogTopic starter

  • Jr. Member
  • **
  • Posts: 57
  • Activity:
    0%
  • Reputation Power: 2
  • holmedog has no influence.
  • Respect: +5
  • Referrals: 0
    • View Profile
Re: Automated BOD recycler
« Reply #2 on: November 11, 2011, 10:01:06 AM »
0
As of right now I think there is  a error in the MakeTongsLoop I have not found it yet, but I will see if I can figure it out. I had one Tong in my pack and it appears that it is trying to make more. It will load iron ingots into my pack and nothing else at this point.


Thanks!  I'm getting to the crafting part debug when I get home.

Offline holmedogTopic starter

  • Jr. Member
  • **
  • Posts: 57
  • Activity:
    0%
  • Reputation Power: 2
  • holmedog has no influence.
  • Respect: +5
  • Referrals: 0
    • View Profile
Re: Automated BOD recycler
« Reply #3 on: November 11, 2011, 11:38:46 AM »
0
Sort and crafting are now in working order.  I need some more work in the turn in section, but I should be able to get to it tonight.

Offline Noobie

  • Sr. Member
  • *
  • Posts: 262
  • Activity:
    0%
  • Reputation Power: 1
  • Noobie has no influence.
  • Gender: Male
  • Respect: +13
  • Referrals: 1
    • View Profile
Re: Automated BOD recycler
« Reply #4 on: November 11, 2011, 11:59:18 AM »
0
Yea I was working my way through looking for issues, but after I reread your initial post I realized you had not completed that part yet. I do think that you may want to reduce the number of sort books down something like all hammers, POF, large keepers, ect, but good work so far!

Offline holmedogTopic starter

  • Jr. Member
  • **
  • Posts: 57
  • Activity:
    0%
  • Reputation Power: 2
  • holmedog has no influence.
  • Respect: +5
  • Referrals: 0
    • View Profile
Re: Automated BOD recycler
« Reply #5 on: November 11, 2011, 12:20:54 PM »
0
Yea I was working my way through looking for issues, but after I reread your initial post I realized you had not completed that part yet. I do think that you may want to reduce the number of sort books down something like all hammers, POF, large keepers, ect, but good work so far!

I actually don't use that many books myself, LOL.  However, I wanted to continue with what MeWon did, and it does make sense that you might want them sorted that far. 

Offline Noobie

  • Sr. Member
  • *
  • Posts: 262
  • Activity:
    0%
  • Reputation Power: 1
  • Noobie has no influence.
  • Gender: Male
  • Respect: +13
  • Referrals: 1
    • View Profile
Re: Automated BOD recycler
« Reply #6 on: November 11, 2011, 02:52:38 PM »
0
holmedog,

I threw a simple menu together for you not sure if it is something you would be interested in, but I attached it here. 

There are 1 attachment(s) in this post. You must register and post an acceptable introduction to download
bod menu.txt

Tags: BOD  Full Auto