Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - holmedog

Pages: [1]
1
General UO Chat / I think I have too many menus...
« on: November 12, 2011, 07:45:18 AM »
Or, maybe, not enough...


2
Script Debug / Automated BOD recycler
« on: November 11, 2011, 06:17:52 AM »
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

3
General UO Chat / Undead Guardians - Bone Armor
« on: November 08, 2011, 07:32:22 PM »
Anyone think of a reason to collect this besides it looking cool?  It doesn't have good stats.  Just noticed it while farming (they are so easy to kill for such good gold return).

4
Script Snippets / Simple Stats Window
« on: November 05, 2011, 07:18:16 PM »
I like to watch a lot of video game streams (League of Legends) while I'm macroing.  One of the things that bothers me, though, is the inability to "see" what my character is doing while fullscreened.  So, I wrote this.  I wasn't really using it all that much, but then I got sick of opening my stats to see my weight and I incorporated it.  

This is two subs, one to do some initial menu setup and one to update the stats.  I included the loop I use to update the stats, but this is more for the subs.  I realize it's pretty simple, but I found it extremely useful so I'm sharing here.

Code: [Select]
gosub showmenu

while true = true
{
  gosub UpdateStats
  wait 10
}

Sub ShowMenu
  menu Clear
  menu Window Color None
  menu Window Size 160 80
  menu Font Transparent #true
  menu Window Title Stats
  menu Window Weight
  menu Font Size 12
  menu Font Color Lime
  menu Font Transparent #false
  menu Font Align Left
  menu Font BGColor none
  menu Font Color Red
  menu Font Color WindowText
  menu Font BGColor BtnFace
  menu Font Name Arial
  menu Font Style b
  menu Font Color Black
  menu Font BGColor Lime4
  menu Show 300 300
  menu delete EUOLabel4
return

Sub UpdateStats
  menu Text EUOLabel2 0 0 Weight: #WEIGHT / #MAXWEIGHT
  menu Text EUOLable3 0 20 Mana: #MANA / #MAXMANA
  menu Text EUOLable4 0 40 HP: #HITS / #MAXHITS
  menu Text EUOLable5 0 60 Stam: #Stamina / #maxstam
return

5
Scripting Chat / Wait frustrations
« on: November 05, 2011, 06:19:50 PM »
Does "wait 5s" no longer work?  If not, what is the increment that does?  I assumed "wait 100" was the equivalent, but in testing it doesn't seem to be happening. 

6
Off Topic / Favorite editor
« on: November 02, 2011, 10:42:42 AM »
No, this isn't intended to be a VI vs EMACs  thread.  I'm just curious what editors you guys use when you aren't writing ScriptUO stuff. 

I'm partial to UltraEdit, though I used Crimson Editor before we got a license at work.  Also, I used a ton of GVim, but mainly because I do a lot of work in console and I get accustomed to VI.

7
General UO Chat / Imbuing question
« on: October 31, 2011, 04:54:26 PM »
I'm starting imbuing and it gets kind of old having to keep sending my warrior back and forth to drop items.  I have a bazilion ingots at home, but don't want to waste my runic hammers. 

So, question is: Is there an item I can make (colored or non) with blacksmith to unravel?

8
Submit your Script / Holmedog's MOB Killer
« on: October 26, 2011, 02:26:48 PM »
Ok, this is my most up to date unattended fighter.  I made this as noninvasive as possible while making it sleek and menu driven (Finally a GUI!).

For starters; this is a bit stripped down of a version of my Paladin script.  However, I found a far better script to handle actual fighting events (EoO, lightning strike, etc) and I found I *NEVER* fight places you can recall directly into.  I will go into more details about this below.

So, without further ado:

Holmedog's AFK Hunter/Killer

Features:
  • GUI Driven monster selection
  • Pathing to monsters
  • Peacing of targets
  • Honoring of targets
  • BoS support
  • Up to 3 targets
  • Hotkey for killing script (handy if running away)
  • Noninvasive as possible

Suggested use
I use this in conjunction with:
LAME (http://www.easyuo.com/forum/viewtopic.php?t=47286)
BM autolooter (http://www.easyuo.com/forum/viewtopic.php?p=102743#102743)
CEO Medic (http://www.easyuo.com/forum/viewtopic.php?p=13869#13869)

I use this on a sampire, but it could easily be used on any fighting template.


Setup
Have a high durability dexxer suit or self repair items (don't get mad at me if you break your stuff AFK)
Setup hotkey for pausing
Go to where you want to hunt and press play

Tips
Go to easy to kill, fast spawning spawns.  Ilsh is great for this.
Turn pathing off if the monsters won't run and you just have to attack them to lure them in.  Pathing on can do some funny things over the course of a few hours.


Updates

Made some minor performance tweaks and updated some variables.  I ran it for ~6 hours today farming arties and it seems to be in good working order. 

9
Scripting Chat / Creature properties
« on: October 26, 2011, 01:40:02 PM »
Does anyone know how to bring up actual creature properties in EUO?  I currently have the ability to find types and all that, what I want is something like the actual name (note: these would be used for a GUI).

So, if I find a type "GO", I would want it to say "a skittering hopper" instead of "GO".

10
Inactive Submissions / Automatic Fisher
« on: October 25, 2011, 06:23:23 AM »
Not sure if this is the right place (or if you want this floating around here), so please delete/lock/whatever if you feel the urge - you won't hurt my feelings!

Attached is my automatic fisher from ~5 years ago.  I have *NO IDEA* if it still works.  I don't have a fisher any longer, and I don't have any of the newfangled things that came out with the High Seas booster.  I did, however, figure someone might have a use for this script (even if just to cut it to pieces to get what routines you want).

There is some massive manual setup.  You have to:
Have a boat on the server line
Have a secure within recall reach
Have a full LRC suit
Have a knife or some bladed object

All of this stuff has to be set up manually.  I really don't even remember where in the script (I'm sorry, this was written to be a private script and I made *BAAAAANK* off of it before others hit the auto fishing market).

Anyway, disclaimers out of the way here's the script.

11
Scripting Chat / BOD Question
« on: October 25, 2011, 06:10:54 AM »
I'm working on a little private project that may go public - later.  Before I reinvent the wheel, however, I was wondering if any of you have seen something that does this already.

Also, I'm going to use this post as my template, because I really don't feel like firing up Visio.

My current design calls for:
Automatically sort books into "good" deeds and "bad" deeds (based on reward) (probably require 4 books: Good large, Good small, recycles, garbage)
Automatically dump garbage into trash barrel (this would be large deeds not worth filling)
Empty recycles, fill all deeds, put back in recycles (or recycles 2 as they are filled)
Recall to guildmaster
Recycle all recycles until max weight (trash sturdies, gargoyles; keep prospecting tools
Recall to house, empty prospecting tools into mining box (to be used w/ runebook miner later)
Restart process

My intention is to use BodSwap2.3 for the turnin part and the script here that ties to s7's bodfiller for the filling part.  I believe I can write the sorting program myself, but if someone knows of a good one that would be awesome.  Dumping the prospecting tools shouldn't be too much of a bother.  As silly as it sounds, the part to run up to my forge/anvil is the part that bothers me the most about writing. 

I think I'll start the script at the guildmaster with 1 full BOD in backpack.  You would have to babysit one run up to the sorting routine to set everything up.


Please, the reason I'm making this post is I want some feedback before I get started.  I'm at work and won't be back on my home PC until tomorrow evening.  So, that's the earliest I think I'll be working on this (if I do then - I'll have the kids, so it may be Thursday before I start).  The important feedback I'm looking for is as follows:
1) Has something similar to this already been done?  If so, was it done well and is it supported?
2) Does anyone know of a good BOD analyzer/sorter that would know which pieces don't go into the more important large BODs?
3) Does this sound like it would even be useful?  I'm kind of worried it wouldn't be worth using with less than 50 recycles (as you would quickly diminish the number of recycles each time by sorting out the keepers).

12
New member introductions / Hi, I'm Holmedog
« on: October 24, 2011, 07:41:52 PM »
(Apparently I did this in the wrong order.  I'm supposed to share the info *THEN* the scripts.  Sorry, guys! Here's my intro!)

My friends call me John.

So, uh, who am I?  

Well, for starters I'm a UO player since '99.  I work at a large software company (not name dropping here), and I mainly got the job because of my experience writing scripts (Yes, I seriously sat one of my now managers down and showed him my auto farming script for UO at one point).

I used to be big in the scripting world about ~3 years ago.  I made a lot of good friends over at Askchopper before it kind of died.  Gimlet told me to swing by here if I ever started playing again, and so here I am.

My UO Experiece:
I was(am?) a bug tester for AC for years and years.  I am an active scripter by profession and hobby.  I play on GL and have a ton of characters.  I take breaks all the time, but this last one was the longest (~3 years).

Why do I macro?
It's fun for me.  I get my jollies by making things work, and something as complex as the systems in UO are very fun to work with.  

How did I find this place?
Old friends pointed me here

Why do I want to sign up?
To be honest, I don't know about this one.  I have scripts that do about 95% of what I've seen on here that I either got from the official easyuo site or that I wrote myself.  I surely don't need in-game money (I'm eRich I suppose).  I just enjoying writing scripts, and this seems to be the community that frowns less on my full-on-automation style of scripting.

Who am I IRL?
Software developer, divorced w/ 2 kids, 27 years old, small town Hickville USA.  I'm surprisingly boring ;)

Anything else, just ask!  I look forward to at least annoying you guys a bit around here with some random banter.  




Post Merge: October 24, 2011, 11:45:29 PM
I forgot some actual gameplay notes, LOL:

When do I play?
Evenings, sporadically.  I have two daughters most of the time and so I'm not able to play as much as usual

What do I play?
Content up to ML.  I haven't bought in to SA just yet.  Maybe, if I stick around long enough

Where do I play?
GL

What templates?
Right now I have:
Sampire
Tamer
Miner/Smith
SpellWeaver
Archer

What guild am I in?
None

How long have I played?
Counting breaks, free shards (in the day), etc?  Probably a cumulative 6-7 years.  I didn't play beta, but I bought the game at release.  



And, as a very random note: The captcha to sign up on here is CRAZY.  It took me like 7 tries to figure out vertical meant "Standing upright" and not Make them vertically oriented.  *old man grumble*

13
Combat/Healing/Looting / Holmedog's GUMP Attacker
« on: October 24, 2011, 07:22:06 PM »
This script is designed to let you easily attack targets with a hotkey.  I use it because I am terrible at targetting and this will easily avoid those situations.

Code: [Select]
; ; ##########################################
; Script Name:  menu attacker
; Shard OSI / FS: OSI Servers
; Version: 1.1a
; Revision Date: 20111101
; Public Release:
; Global Variables Used:
; Purpose: pops up a menu to target a mob, and then attacks on hotkey
;      __  __  __  __  __  __  __
; ##########################################

Update
Pretty much a rewrite using some of the original parts.  It was pointed out to me that this script didn't weather the EUO 1.5 transition very well (yes it's that old), and to be honest I hadn't tested it beyond pushing play and making sure the hotkeys still made me path.  I'm going to add some more functionality in as soon as I'm able to test with EUO on the current patch.


14
Inactive Submissions / Holmedog's AFKHunter
« on: October 24, 2011, 07:19:59 PM »
EDIT:  I will leave this script here for histories sake, but I have since found a far better buff bar scanner program / paladin caster.  I will be making a new post with the edited version of AFKHunter that works with this.  Feel free to delete this post.



First submission, so I hope I do this right.  First time back on UO in about 3 years and the old place I used to keep these has dried up (AC, if you recognize the acronym you might know me from there).

Anyway, this one is my fighter farming script.  

Code: [Select]
;===================================
;AFKHunter by holmedog
;Make sure to set monster variable
;Would also run using CEO Medic
;(also can be changed in script)
;last updated 05/Oct/2011
;make sure to set all %variables in the initevents

;UPDATE:
; Added Features:
; - Using bank with sacred journey instead of bag of sending (Can be choosen by user)
; - Restocking bandas, food, arrows, bolts
; - Quiver supported for arrows/bolts restock
; - Looting Routine, no additional Script needed - disabled!!!
; - New check for CEOMEdic if healing, sometimes there were problems that both scripts would cast spells
; - Check if bandas are nearly empty and restock
; - Eat routin, eating after every monster
;
;Features comming up next update
; - Escape when other peoples comes to screen
; - maybe mage support
; - Graphical Interface
;
;----------------------------------------------------------------------- -
;Req:
;
;For Bank routine you need to have all resources (bandages,arrows,bolts,food) in the root of your bank.
;You need a lootbag in your bankbox, at this time only backpacks are supported as lootbag.
;Your need 2 runebooks. 1 with the bankrune (set as default) 1 with the dungonrune (set as default)
;
;
;to only hunt one or two, set monstera and monsterb to the same values as monter
;Set to hunt 3 different kind of monsters
;===================================

Features:
Chivalry use to kill stuff faster
Automatic attacking
Pathfinding to "stick" to targets
Toggle to loot
Toggle to honor targets
Bank recalling and stocking - Honestly I haven't tested this in 3 years.  It used to work.  Probably still does.  But I used this to collect arties and never recalled lately
Toggle to peace targets
Integrated with CEOMedic's global variables.  *SHOULD* avoid both scripts trying to work at the same time (this was an issue when one script would spam EoO or something)
Timers for: Divine Fury, EoO, Consecrate


Future plans:
GUI!!!  God how I need a menu with at least a pause button (this thing can MURDER you if you are trying to run away and it pathfinds backwards)
Recall on blue/red (I think I have this written, but I'm not ready to public it yet and it's surprisingly hard to test)
Spell Support? (This one is iffy in my book.  It's easy to write a spell spammer, but mages require so much more micro)
Update BoS support to send smaller amounts of gold at a time so if you do die you will probably have already made bank


Suggest uses:
Small, out of the way camps with easy to farm creatures.  I *might have* in the past used this in Ilsh.  




I think the code block there covers everything this has in it.  

There is a small amount of editing to be done.  You need to set the %monster variables to what you wish to attack.  I would also *STRONGLY* suggest setting the %waitp variable to 1 if you use a looter like Badmanic's.  This will keep you from running all over the place while you collect your swag.

Someone please post here if I need to add/remove anything from this post as I'm not 100% on the forum submissions here, yet.

Pages: [1]