***UPDATED TO v1.04 (May 6th, 2014)***After months and months of slowly building it up function by function, I have polished and finished an acceptable version of my own mining script. It's not ultra efficient, but damn is it powerful if I do say so myself. Features include:
- Auto-correct position if you don't strike the spike after a certain amount of time (i.e. in case you go off the spike)
- Auto-store Thorr's Hammer if someone you don't like joins the game
- Auto-retrieve Thorr's Hammer if the person/people you don't like leaves/leave the game
- Auto-store gems
- Record time spent mining
- Record value of gems put in storage
- Calculate and display total gem value mined
- Calculate and display your net worth (based on gems stored, coins on you, and coins in bank)
- Calculate and display your mining rate between gem storage sessions
- Calculate and display your overall average mining rate
- Menu modifications to DeusChatbind.cs to see and/or announce your mining stats and current auto-store option
- Ability to toggle auto-store Thorrs Hammer on/off from the menu
Because I'm not a super-ultra genius, it does require a few other scripts or script packs which, AFAIK, most of us have already. These include:
- Deus RPG Pack for DeusRPG::FetchData() and proper mining menu integration
- Presto for Event::attach();, Schedule();, and Match::string();
- You might be able to use these as long as you just have event.cs, schedule.cs, and match.cs, which may or may not come with other packs. Not sure about this one.
- Cowboy HUD (or an equivalent script) to retain access to storage while at spike
- convertTimeFormat.cs to properly format the timer output. Another function I wrote and will include with Caboose Mining.
I figured that if I'm writing scripts for a 16 year old game, there's really no reason for me to keep it to myself. Plus, I'm always open to feedback from those of you who are qualified. So without further ado, here are the two scripts (attached to this post). Enjoy at your leisure.