[UO Steam] FiXXer's Relative Location Harvester

If you make a Client-side script you can publish it here for other players to use
Locked
User avatar
fixxer1963
Legendary Scribe
Posts: 271
Joined: Tue Apr 01, 2014 5:43 pm

[UO Steam] FiXXer's Relative Location Harvester

Post by fixxer1963 »

This is not for AFK farming.
And I am still working on it :P

Code: Select all

// Fixxer's Relative Location Harvester v1.03
// In case you haven't noticed, the // comments out a line. Delete the // to use a line.
// Easily converted to farm kindling,  wood or ore /sand.
// *****************
// *****************
// *****************
// For kindling you will need to use this section.
// *****************
//if not findalias 'Blade'
//  headmsg 'Select Bladed Object NOT a hatchet, NOT an axe'
//  promptalias 'Blade'
//endif
// *****************
// For chopping wood, you will need this section
// *****************
if not findalias 'Chopper'
  headmsg 'Select Axe or Hatchet'
  promptalias 'Chopper'
endif
// *****************
// For Mining ore or sand, you will need this section.
// *****************
if not findalias 'Digger'
  headmsg 'Select Shovel or Pickaxe'
  promptalias 'Digger'
endif
// *****************
// *****************
// *****************
// Wood Worker's keys
if not findalias 'woodkeys'
  headmsg 'Select Wood Keys'
  promptalias 'woodkeys'
endif
// *****************
// Metal Worker's keys
//if not findalias 'metalkeys'
//  headmsg 'Select Metal Keys'
//  promptalias 'metalkeys'
//endif
// *****************
// Stone Worker's keys
//if not findalias 'stonekeys'
//  headmsg 'Select Stone Keys'
//  promptalias 'stonekeys'
//endif
// *****************
// Sand storage keys
if not findalias 'sandkeys'
  headmsg 'Select Spell Caster's Keys'
  promptalias 'sandkeys'
endif
// *****************
// *****************
// *****************
// Use only this section if you are chopping  WOOD.
while not @injournal "There's not enough wood"
  // *****************
  // Use only this section if you are digging for  SAND.
  // while not @injournal "There is no sand"
  // *****************
  // *****************
  // *****************
  // Use this section if you are collecting KINDLING.
  //  useobject "Blade"
  // *****************
  useobject "Chopper"
  // *****************
  //  useobject "Digger"
  // *****************
  waitingfortarget 8000
  targettileoffset  1 -1 0
  // Adjust with this number to fit the activity you are doing. 700 works for kindling, 2000 works for chopping wood, 10000 works for digging sand.
  pause 2000
endwhile
// *****************
// *****************
// *****************
// This section is for WOOD
// No need to comment this out usually
while targettypE '0x1bdd' 'any' 'backpack'
  useobject 'woodkeys'
  pause 900
  replygump 0xa57934d 17
  waitforgump 173511501 15000
  waitfortarget 15000
  @targettype! '0x1bdd' any
  pause 1500
  replygump 0xa57934d 0
endwhile
canceltarget
// *****************
// *****************
// This section is for INGOTS
// No need to comment this out usually
// NEEDS A SECTION FOR SMELTING. I WILL ADD IT LATER
//while targettype '0x1bf2' 'any' 'backpack'
//  useobject 'metalkeys'
//  pause 900
//replygump 0xfb1e68cb 15
//  waitforgump 4213074123 15000
// waitfortarget 15000
// @targettype! '0x1bf2' any
// pause 1500
//replygump 0xfb1e68cb 0
//endwhile
//canceltarget
// *****************
// *****************
// This section is for SAND
// No need to comment this out usually
while targettype '0x11ea'  'backpack'
  useobject 'sandkeys'
  pause 900
  replygump 0x68557d42 25
  waitforgump 1750433090 15000
  waitfortarget 15000
  @targettype! '0x11ea' any
  pause 1500
  replygump 0x68557d42 0
endwhile
canceltarget
// *****************
// *****************
// *****************
// This section is for WOOD
if @injournal "not enough wood"
  // *****************
  // This section is for SAND
 // if @injournal "There is no sand"
    // *****************
    // *****************
    // *****************
    headmsg 'Move to the SouthWest of the next target' 24
    pause 5000
  endif
  clearjournal
Last edited by fixxer1963 on Sat Feb 14, 2015 4:44 pm, edited 5 times in total.
Hawke Armstrong/FiXXer
User avatar
fixxer1963
Legendary Scribe
Posts: 271
Joined: Tue Apr 01, 2014 5:43 pm

Re: [UO Steam] FiXXer's Relative Location Harvester

Post by fixxer1963 »

I tweaked it a little to clean it up.. I will edit more as I find problems.
If anybody else finds a problem, please reply here and let us know.
Hawke Armstrong/FiXXer
User avatar
fixxer1963
Legendary Scribe
Posts: 271
Joined: Tue Apr 01, 2014 5:43 pm

Re: [UO Steam] FiXXer's Relative Location Harvester

Post by fixxer1963 »

Just edited the script to streamline it.
Added metal keys.
Hawke Armstrong/FiXXer
User avatar
fixxer1963
Legendary Scribe
Posts: 271
Joined: Tue Apr 01, 2014 5:43 pm

Re: [UO Steam] FiXXer's Relative Location Harvester

Post by fixxer1963 »

Added Caster's Keys to hold sand.
Next I will streamline it for mining.
Hawke Armstrong/FiXXer
Locked