Author Topic: PG Mining Storage Server  (Read 2798 times)

0 Members and 1 Guest are viewing this topic.

Offline KilroyIsDeadTopic starter

  • Full Member
  • ***
  • Posts: 155
  • Activity:
    0%
  • Reputation Power: 2
  • KilroyIsDead has no influence.
  • Respect: +13
  • Referrals: 0
    • View Profile
PG Mining Storage Server
« on: June 05, 2009, 04:36:44 PM »
0
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
;=================================================================

There are 2 attachment(s) in this post. You must register and post an acceptable introduction to download
PG.Mining.Storage.Client.suo
PG.Mining.Storage.Server.suo
« Last Edit: June 05, 2009, 05:10:26 PM by KilroyIsDead »
Give a man a fire, he'll be warm the rest of the night;
Set a man afire, he'll be warm the rest of his life.

Tags: