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 - The Reaper

Pages: 1 [2] 3
16
Well I could allow it to work in TerMur, but it'd be the same as Spewy's Miner, where you have to manually set up each tree location. Or I could make it try chopping every square 5x5 around the character whilst in TerMur until it found wood. But I don't think that's a terribly effective method.

Also, next update will include subs to make the Pause and End buttons work, as they don't right now :P

Standby for launch 5..............4................3.............2.............1............. BLAST OFF

17
Also, found a bug where if you want to equip the axe and are already holding something, it fails. So I need to sort out a disarm sub in there somewhere. Should have 1.4 ready by end of the week, to include full seige support (for gimlet) and disarm LH & RH.

18
Well, all I got to do on this is make gate travel possible.

Then figure out a way to do logging in TerMur. It's not a place I've spent a lot of time, however I have noticed that it's pretty much full of bad-ass spawn. So afk resource farming isn't something I'd recommend there. Since wood type is no longer static, I also can't really see the point in it. There are enough forests in tram and fel imo :S

19
UO Bragging Rights / Re: Whats ur best ps drop in ur backpack
« on: May 19, 2011, 10:51:29 AM »
FYI, there's only one free-shard that I'm aware of that has Stygian Abyss, and hence can drop Mystic.

My best drop on OSI was 120 magery, raiding on my archer PK.
Best personal drop was probs a bushido or similar.
Best steal on OSI was 120 resi :D :D

Best drop on Free-shard - erm, my current collection is 2x 42 out of 56 120 scrolls :P (ML Shard)

Yet to spawn on the one I play now, still getting to grips with imbuing :S

20
The difference is that from Easyuo you get ZERO/nill/nada tile information for TerMur.  So you/it will not find any trees via tile scanning.  

Then no this script won't work in TerMur. If we consider the no tile information, then you'd be looking at 30 mins manual setup per runebook if you wanted to log in TerMur. As you'd have to write the script to allow manually targeting the location of each tree and save the positions. Perhaps you could alter the client tile info to use AoS trees in TerMur???

@Gimlet uploading 1.3 to hopefully fix the siege issue. However, it will only use a different axe, it won't craft you one. You could change my "sub find_axe" to include a call function to make your own axes if you wanted :P

21
Whats the difference between Ter Mur and Tram/Fel. It looks for tiles containing the word "TREE".

Gimlet, at the moment no it won't, but a very simple change and I guess it could do.

Will have a look later at it for you.

22
Ok, so this first started out when I wanted to get a couple of the Vesper rewards. I searched SUO and EUO sites for a working script.

Here I came up empty handed, EUO, I found several scripts that almost worked.

The best of which, was by AXE.

Here is the much improved working version. Setup is very simple, follow on-screen commands.

Tips:
  • Lock a box/backpack/random container down on your steps OR place a container in your bank.
  • Create a runebook with a rune to your house/bank, rune must be in slot 1! (If to your house, within 2 tiles of the secure container. This book may also contain runes to other places, that isn't an issue.
  • Create up to 4 runebooks with runes to tree locations, the script will not work without 4 runebook ID's. Each book MUST be full.
  • Script will harvest all wood from trees within 2 tiles of the rune location, get as many trees in each location as possible.
  • Example: I will use 2 runebooks for trees, so when the script asks, I set book 3 the same as 1 and book 4 the same as 2.
  • You must have an axe in your backpack.
  • Script will try to recall to secure if you take damage, use the "protection" spell to aid your escape.
  • Before starting the script, make sure you are at your secure location.

Still to do:
1. Give the option of pathfinding to nearby trees until backpack is full, before recalling to next location.
2. Sve position of each tree to allow logging in Ter Mur.

I hope you enjoy this.

Feedback is appreciated.

Current Version: 1.6 Updated: 08/06/2011

23
Are you complaining that mumble alot again ?
That's mean!!

24
Script Debug / Re: First script help please
« on: May 08, 2011, 04:26:18 AM »
You could do that, however then your adding more and more subs into the script, so there's a greater potential for it going wrong. Don't forget, your only losing 30 seconds out of every 30 mins to an hour, depending on how often the world saves are.

25
Script Debug / Re: Bag of sending issues
« on: May 07, 2011, 04:36:06 PM »
I've just worked it out for myself by reading TM's BoS subs. However thanks for the responses. And yes, it is "1"

I omitted to realise it, as most of my scripts have been skill training, but I've been moving into more and more complex scripts recently.

Unfortunately, you aren't going to be getting a copy of this one, as the earning potential on my shard is absolutely massive. However my Log Chopping script and my auto lumber jacker will be with you in a week or so, still got a lot of testing to do.

:D

26
Script Debug / Bag of sending issues
« on: May 07, 2011, 03:22:32 PM »
I'm having really big issues with this sub, the bag of sending on the Big Fish seems to refuse to click on the fish. It recognises that the fish is there, it even sets #ltargetID properly, it just refuses to click on the fish. Any help would be much appreciated, I can't seem to find the issue :S

Code: [Select]
sub big_fish
;==========================

;==========================
finditem GQD_FQD_EQD_DQD C_
if #findkind = -1
   {
   return
   }
event property #findID
if A , #spc , Big notin #property
   {
   return
   }
set #ltargetid #findID
set #lobjectID %BoS
wait 5
event macro 17 0
target 3s
wait 5
event macro 22 0
wait 10

27
Script Debug / Re: First script help please
« on: May 07, 2011, 01:01:14 PM »
For world save I simply do this;

In the script setup code I contain this:
Code: [Select]
gosub TM_AdvJournalSync world 100
Then I call a sub within my main loop, as follows: (Please note that the wait is set to 30 seconds here, as some shards I play on have a rather long world save of 8-10 seconds. This script actually searches for the "about to save" message.)
Code: [Select]
sub world_save
gosub TM_AdvJournalScan world VALID_ADVANCE The_world_will_
if #result = #true
   {
   sound
   wait 300
   if %debug = 2
      {
      display ok You've sucessfully got TMs sub to work
      }
   }
return

Then, you must always include TM's subs in your script, those you can find on your own :P

28
Script Debug / Re: TM Journal Subs
« on: May 02, 2011, 12:15:59 PM »
There's also a double space in there that shouldn't be. FFS, written completely without testing, then tested completed article. And only 2 mistakes were in the same line. Thanks guys.

Feel stupid now :(

29
Script Debug / Re: TM Journal Subs
« on: May 01, 2011, 11:40:02 PM »
The problem I'm having is that the journal scanning isn't working, not sure what I've done wrong :S

The journal doesn't contain "The world will save in 15 seconds" by the time the script gets around to reading it, as it all depends on what the script was doing when the server made it's announcement. I was under the impression that TM's sub searched back the last 4 lines of journal entries?? :S

Code: [Select]
;==================================
; Script Name: Reaper's Board Maker
; Author: The Reaper
; Version: 1.0
; Client Tested with: 7.0.8.0
; EUO version tested with: 1.5.186
; Purpose: Making boards the old fashioned way on freeshards.
; Special thanks to TM for the journal scanner subs :D
;==================================
set %debug 2
;==================================
; Set %axe to the value of your axe or script will ask you to select it
set %axe null
;==================================

event Macro 8 2 ;open status bar
wait 20
set #contPosX 850
set #contPosY 400

menu clear
Menu hideEUO
Menu window size 260 100
Menu show
Menu window color black
Menu font bgcolor red
Menu font size 10
menu Window Title Created by: The Reaper
menu text Tboard 5 5 What type of logs will you be cutting today?
menu combo create type 5 50 100
menu combo add type Plain
menu combo add type Oak
menu combo add type Yew
menu combo add type Bloodwood
menu combo add type Heartwood
menu combo add type Frostwood
menu combo add type ALL LOGS
menu button 1 0 80 260 20 GO!
set #menubutton N/A
while #menubutton = N/A
      {
      wait 0
      }
menu get type
menu hide
if %debug = 1
   {
   display ok #menures
   }
if #menures = 0
   {
   display ok You must select a type of wood
   halt
   }
if #menures = 1
   {
   set %log_type ZLK
   set %wood_name Plain
   set %board_type TLK
   }
if #menures = 2
   {
   set %log_type na
   set %wood_name Oak
   set %board_type na
   }
if #menures = 3
   {
   set %log_type na
   set %wood_name Yew
   set %board_type na
   }
if #menures = 4
   {
   set %log_type na
   set %wood_name Bloodwood
   set %board_type na
   }
if #menures = 5
   {
   set %log_type na
   set %wood_name Heartwood
   set %board_type na
   }
if #menures = 6
   {
   set %log_type na
   set %wood_name Frostwood
   set %board_type na
   }
if #menures = 7
   {
   set %log_type ZLK
   set %wood_name All
   set %board_type TLK
   }

;Weight Setup
set %no_logs ( ( 550 - #weight ) / 2 )
if debug = 1
   {
   set %no_logs 2
   }
set %no_boards ( %no_logs * 2 )
;Axe Setup
if %axe = null
   {
   display ok Select your axe
   set #ltargetID null
   set #targcurs 1
   while #targcurs = 1
         {
         wait 0
         }
   set %axe #ltargetID
   }
   
;Secure or Bank box (Bank if Yes, Secure if no)
display yesno Logs will be dragged from: Bank=Yes, Secure=No
if #dispRes = yes
   {
   msg Bank $
   display ok Target your storage bag inside your bank now
   set #ltargetid null
   set #targcurs 1
   while #targcurs = 1
         {
         wait 0
         }
   set %secure_cont #ltargetID
   set %storage_method bank
   }
if #dispRes = no
   {
   display ok Target your secure now
   set #ltargetid null
   set #targcurs 1
   while #targcurs = 1
         {
         wait 0
         }
   set %secure_cont #ltargetID
   set %storage_method Secure_cont
   }
;=======
; Testing Only
;=======
if %debug = 1
   {
   display ok Storage method is: %storage_method   With #ID: %secure_cont $ With axe #ID: %axe $ This script will move: $ %wood_name Boards: %no_boards Logs: %no_logs $ on each cycle.
   }
;=======
wait 30
gosub TM_AdvJournalSync world 100

if %storage_method = bank
   {
   gosub open_bank
   goto Bank_loop
   }
else
    {
    gosub open_secure
    goto Secure_loop
    }

Bank_loop:
gosub drag_to_backpack
gosub cut
gosub drag_to_secure
gosub TM_AdvJournalScan world ADVANCE The_world_will
if result =  #true
   {
   sound
   wait 300
   if %debug = 2
      {
      display ok You've sucessfully got TMs sub to work
      }
   }
goto Bank_loop

Secure_loop:
gosub drag_to_backpack
gosub cut
gosub drag_to_secure
gosub TM_AdvJournalScan world ADVANCE The_world_will
if result =  #true
   {
   sound
   wait 300
   if %debug = 2
      {
      display ok You've sucessfully got TMs sub to work
      }
   }
goto Secure_loop


sub open_bank
msg Bank$
wait 10
set #lobjectid %secure_cont
event macro 17 0
wait 10
gosub Find_logs
return

sub open_secure
set #lobjectid %secure_cont
event macro 17 0
wait 10
gosub Find_logs
return


sub Find_logs
finditem %log_type C_ , %secure_cont
if #findkind = -1
   {
   display ok You do not have any of that type of log in your secure. $ Halting!
   halt
   }
set %log_stack #findid
if %debug = 1
   {
   display ok You have #findstack %wood_name logs in your secure, these will now be chopped into boards.
   }
return

sub drag_to_backpack
finditem %log_type C_ , %secure_cont
if #findkind = -1
   {
   display ok Ohhh no, you've run out of logs to chop :D
   halt
   }
Exevent Drag #findid %no_logs
wait 16
Exevent Dropc #backpackID
wait 20

return

sub cut
finditem %log_type C_ , #backpackid
if #findkind = -1
   {
   display ok Ohhh no, somethings gone wrong, restart the script.
   pause
   }
set #lobjectid %axe
event macro 17 0
target 2s
wait 5
set #ltargetid #findid
event macro 22 0
wait 20
return

sub drag_to_secure
finditem %board_type C_ , #backpackid
if #findkind = -1
   {
   display ok Ohhh no, somethings gone wrong, restart the script.
   pause
   }
Exevent Drag #findid #findstack
wait 16
Exevent Dropc %secure_cont
wait 20
return

sub TM_AdvJournalSync
  namespace push
  namespace local TM_AdvJS_ , %1
  set !_jindex #jindex + 1
  if %0 > 1
    set !lpc_set %2
  namespace pop
  set !TM_FunctionCalled #TRUE
return

sub TM_AdvJournalScan
  namespace push
  namespace local TM_AdvJS_ , %1
  set !args %2
  set !temp_lpc #LPC
  if !lpc_set = N/A
    set #LPC 1000
  else
    set #LPC !lpc_set
  set !num_args %0
  set !first_arg 3
  set !sampled_jindex #JINDEX
  if !_jindex = N/A
    set !_jindex !sampled_jindex
  if !charname = N/A
  {
    set !charname #CHARNAME
    AdvJournalScan_loop1:
      str pos !charname #SPC
      if #STRRES <> 0
      {
        set !val #STRRES - 1
        str left !charname !val
        set !left #STRRES
        set !val !val + 1
        str del !charname 1 !val
        set !charname !left , _ , #STRRES
        goto AdvJournalScan_loop1
      }
  }
  set !index !first_arg
  repeat
    set !temp_jindex !_jindex
    set !text % . !index
    while !temp_jindex <= !sampled_jindex
    {
      scanjournal !temp_jindex
      str pos #JOURNAL !charname 1
      set !namepos #STRRES
      str count #JOURNAL !charname
      set !namecnt #STRRES
      str pos #JOURNAL :_ 1
      set !smcpos #STRRES
      str pos #JOURNAL !text 1
      set !textpos #STRRES
      if !textpos < !smcpos && !smcpos <> 0 || !smcpos = 1 || :_ notin #JOURNAL || VALID notin !args
        set !pass #TRUE
      else
        set !pass #FALSE
      if ( !text in #journal && ( ( !namepos = 1 && !namecnt <= 1 ) || !pass ) )
      {
        set !temp_jindex !temp_jindex + 1
        if ADVANCE in !args
          set !_jindex !temp_jindex
        set #LPC !temp_lpc
        namespace pop
        set !TM_FunctionCalled #TRUE
        return #TRUE
      }
      set !temp_jindex !temp_jindex + 1
    }
    set !index !index + 1
  until !index - !first_arg > !num_args - !first_arg
  set %10 !sampled_jindex - !_jindex
  set %10 %1 , _ , %10 ; for debugging purposes
  set #LPC !temp_lpc
  namespace pop
  set !TM_FunctionCalled #TRUE
return #FALSE

   

30
Script Debug / TM Journal Subs
« on: May 01, 2011, 10:42:08 PM »
Ok, I'm having problems with the world save on my free-shard. I want the script to pause for the world save so I'm using TM's Journal scanner. But it's not working.

The system message says:
"The world will save in 15 seconds."

The code I'm using at the start of my script is:
Code: [Select]
gosub TM_AdvJournalSync world 100
The code I'm using within the main loop of my script is:
Code: [Select]
gosub TM_AdvJournalScan world VALID_ADVANCE The_world_will
if result =  #true
   {
   sound
   wait 300
   if %debug = 2
      {
      display ok You've sucessfully got TMs sub to work
      }
   }

Any help would be much appreciated

Pages: 1 [2] 3