Author Topic: script idea- drop, chop and send  (Read 1571 times)

0 Members and 1 Guest are viewing this topic.

Offline baldielocksTopic starter

  • Sr. Member
  • *
  • Posts: 301
  • Activity:
    0%
  • Reputation Power: 4
  • baldielocks has no influence.
  • Gender: Male
  • Respect: +11
  • Referrals: 5
    • View Profile
script idea- drop, chop and send
« on: May 08, 2010, 02:12:57 PM »
0
This is an old bug that has been around forever. With the change back to using an axe to turn logs to boards, it is pretty useful. Can be used on leather as well. Here is my flow, working on commands now. Gotta get into scriptuo of course to check syntax. This is a FIRST for me, so input is gladly accepted. I have written out my desired flow. Will use cervesa's BOS snippet for that sub.
A problem I found in the past was checking things on the ground and dropping them with like.

Code: [Select]
;=========================================;
; Script Name: Overload                   ;
; Author: Baldielocks                     ;
; Version: .1                             ;
; Shard OSI/FS: OSI                       ;
; Revision Date: 02/07/2010               ;
; Purpose: Overweight for BOS to bank     ;
; or skill raise                          ;
;=========================================;
;    ____         _      _  __   _ ___    ;
;   / __/ ___ _ _(_)_ _ | |_\ \ /  /_ \   ;
;   \__ \/  _| `_| | ` \|  _/ / \ \/ \ \  ;
;   __/  \ (_| | | | |) | | \ \_/ /\_/ /  ;
;   \____/\__|_| |_|  _/\__\ \___/\___/   ;
;                  |_|                    ;
;=========================================;
; Setup:                                  ;
; have axe and scissors in main pack      ;
;=========================================;
; v.1- Submitted for help                 ;
;=========================================;

;The purpose of this sub is to take advantage of a bug to overweight your character with resources.
;Resources this can be done with are:
;all leathers
;all woods
;all cloth bolts.
;
;Method in game is to drop items in a homogenous stack on ground within two tiles.
;use item (scissors or axe) and target item on ground.
;pick stack up.
;last object.
;last target.
;when done, there may be an image stuck on your cursor, so it will need to be cleared by a single click over your backpack.

;CAUTION: THIS SCRIPT DROPS SPECIFIC ITEMS FROM YOUR PACK ON GROUND!!!!!
;DO NOT USE IN AREAS WITH OTHER PLAYERS!!
;TEST SCRIPT WITH CHARACTER WITH FEW VALUABLES!!!!!
;I AM NOT RESPONSIBLE FOR ISSUES OF DISAPPEARING ITEMS WITH THIS SCRIPT OR METHOD.

; Start scipt development
; Select Resource type
Set #Leather
Set #Wood
Set #Cloth
; Find and set scissors ID, halt if not found and leather or cloth type selected


; Find and set axe ID, halt if not found and wood is selected

; Set hotkey to pause stacking and run stack sub

; End Setup

;MainLoop
repeat
gosub drop_on_ground


;stack_on_ground sub, must detect if stack is at 60K and start new one.
sub stack_on_ground

;cut and bank, run from hotkey when desired? Can be made to auto cut when target stack reaches 60K, or when sysmessage says no more wood to harvest.
; this would cover farming thrasher AND recall LJ.


Tags: