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.


Messages - KilroyIsDead

Pages: 1 ... 4 5 [6] 7 8
76
I agree you didn't plan for me to call the same sub but I made a boneheaded error

I forgot to put the
;=================================================================
;--------------------  Call interface by TrailMyx  ---------------
;=================================================================
In my script so it was passing straight through.

My 250 point collector had a home grown path, but I figure I have to use this to make it more mobile

I think we're set; should have MGTimber wolves published shortly

77
ok, I'm gonna use this rail engine for this

Basic algorithm
if follow path at each waypoint do the same call back
ScanForTameables

I'm not sure how to make that work though because whan I save teh file I don't see my callback procedure in the file.  They contain the TrailMixCB1 thru TrailMyxCBn

What am I missing?

78
Script Snippets / PG.Generic.suo
« on: June 05, 2009, 04:38:42 PM »
***7/3/2009 version 1.19
Uses variable length waits

***7/3/2009 version 1.17
Uses EXEvent instead of event for drag/drop

***7/2/2009 version 1.15
Added a sub to return the version

Uploaded the script to which I referred, sorry 'bout that

This library handles some basic stuff,
open containers
open a rune book
Move Items to a container

More to come

79
Script Snippets / PG Mining Storage Server
« on: June 05, 2009, 04:36:44 PM »
Updated to 0.25a
The inventory can be taken more than once now

This is a working alpha of PaulyGram's Mining Storage Server and a silly client

As the server progresses, I'll link in the miner which will eventually take the place of the silly client

Current Functions
  • Wizard based setup (house - only)
  • Inventory your Ingots
  • Inventory your Ore
  • Inventory your Granite
  • Change your client user info

Future Functions
  • Drop resources to Storage
  • Take resources from Storage
  • Allow for bank setup

This requires:
PG.Resources.Ore.suo http://www.scriptuo.com/index.php?topic=1661.0
PG.Generic.suo http://www.scriptuo.com/index.php?topic=1775.0

Oh yeah, this supports multiple clients and forces serial actions when two clients request an action that competes for a resourcse.  It disallows two clients from accessig the containers at the same time, for instance and therefore reduces the chance of a crash if you're dual clienting.

Setup files are shard based so on each shard you'd have to choose bank or house, but not both ;(

Code: [Select]
;=================================================================
; Library: PG.Mining.Storage.Server.suo
; Author: Paul Erickson
; Version: 0.01a
; Purpose:
;
; Dependancies: PG.Resource.Ore.suo
;               PG.Generic.suo
;
; Credits: Cheffe for EasyUO
;          TrailMix for ScriptUO (editor)
;                   and TrailMyx Sub Strings
;                   and the server model
;                   (I have since deviated greatly, but it was
;                   a good starting point)
;
; global name spaces: I break this out because I may not need all
;                     this data in one namespace at the same time.
;    PGMS_Constants - This is where we store the basic constants.
;                     This data should not be context sensitive.
;    PGMS_External - This is where we share information with other
;                    scripts at run-time.
;    PGMS_Inventory - This just holds the counts of inventory,
;                     # or ore piles by color, # of ingots by
;                     color, etc.
;    PGMS_Menu - This is menu colors and label locations
;
; Revision History:
; 000 PAE 06/01/2009 Initial build
; 001 PAE 06/03/2009 Drawing the Initial Menu 0.12a
;=================================================================

80
Script Debug / Re: trouble with a renegade script
« on: May 24, 2009, 07:28:58 AM »
Art to encumbered.  Fat kids never get the love.

I must have blown by a weight check

81
Script Debug / Re: trouble with a renegade script
« on: May 23, 2009, 11:43:31 AM »
ack is the journal case sensitive I think I have You_can't.  I'll verify that.

As to when it goes wonky, it's not a 100% failure so i can see it complete a whole rune book without issue, then I walk away (mometarily ;) and it seems to go off track.

82
Script Snippets / PG Ore.Storage
« on: May 23, 2009, 11:22:19 AM »
This is mostly a way to keep track of inventory.  but someday will be linked to the Mining script.


83
Script Snippets / PG Ore Resources library .5a
« on: May 23, 2009, 11:20:08 AM »
This is merely a library of constants.

See the ore types (or all ore types) the gems the blackrocks, etc.

I'm using this in a miner script that is in progress.


84
Script Debug / trouble with a renegade script
« on: May 23, 2009, 11:14:40 AM »
I'm struggling with this script.  It's a basic rune book lumberjacking script.  I am using TM_AdvJournal and a few home spun libraries.

Every once in a while the script seems to go into the weeds, while it will recover I loose valuable jacking time.  When I can see that it's off track I'll hit the pause button and it's a in like a setup routine that one has one entry point and stepping over the code it's just blowing through every line. By that I mean it passes through the true and false cases of an if statement.

you'll have to set three variables at the top of the script.  Hopefully the setup will do the rest.

set !SetupFilePath C:\UO\Scripts\SetupFiles
set !PGScriptPath C:\UO\Scripts\PGUtils
set %SwingDelay 11

you'll need to put the 4 files in the jpg in the directory indicated by the PGScriptPath

The main script is
PG.LumberJackingByTheBook.suo



85
Scripting Chat / Re: Menu Question
« on: May 17, 2009, 10:55:10 AM »
I'll look into that.

I'm decomposing the interaction between Claw and heartwood, That's what I really need to do, but I feel like there needs to be a semiphore so that two clients don't try to access the same resource at any given time.  This should reduce client crashes.

86
Scripting Chat / Re: Menu Question
« on: May 17, 2009, 10:37:36 AM »
I like the ideas.  I'm already managing the window size dynamically, But I was looking to have a suite of menus.

They are mostly resource gathering and crafter resoure management.  BUt I wanted to be able to have separate windows for Mining resources one for lumber yard stuff and one for tailoring needs.

Here's a sample of the Ore Storage...

I grouped the resources into 4 groups Ore, the raw stuff out of the mine, Ingots, Granite, and Gems which are the recipe gems + black rock.  The tool keeps track of inventory and in the future will create or break down commodity deeds and the like.




87
Scripting Chat / Menu Question
« on: May 17, 2009, 07:51:26 AM »
Can a single tab in EUO have more than one window?

I call another script that manages a menu, but then when I try to create a window in the main application it kills the other menu

88
The syntax check identified this
** Error - Line 734: Invalid argument for command STR POS

Line 734 is this...
str pos !Remainder ,

I'm looking for a comma and EUO does return the results I expect

89
Resource Extraction / Re: When do resources get randomized...
« on: May 11, 2009, 01:27:25 PM »
I think the most recent FoF (Five dollar Friday)  Stated some info on Tree resource rates.

It turns out the mathematically it's better do be an elf for Lumberjacking.  I always did human for the lift (max stones) bump.

90
and one hr later a heartwood runic

Pages: 1 ... 4 5 [6] 7 8