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 - baldielocks

Pages: [1] 2 3 ... 20
1
Submit your Script / Re: BL Trick Or treat Recall
« on: October 06, 2021, 02:28:20 PM »
THis version only supports one recall book. I can revise to add in more. I also want to add in a menu and some on the fly options to dump items or save them.

2
Submit your Script / Re: BL Eggscavator Beta release
« on: October 06, 2021, 02:22:40 PM »
Im back and re-supporting this script. And yes Oracle, you get perma--beta tester for all my scripts!

3
Submit your Script / Re: BL Trick Or treat Recall
« on: October 06, 2021, 02:19:55 PM »
I back! really!
 :angel:
Ill work on the new items this weekend.

4
Television/Movies / Monty python reference in warrior nun
« on: June 20, 2021, 08:03:53 PM »
Sat down with my honey to binge warrior nun on netflix. In episode one, the leader of the warrior nuns, shannon, is killed by an explosive device that contained divinium. Or, she was killed by the the Holy Hand Grenade!

5
Submit your Script / Re: BL Eggscavator Beta release
« on: June 18, 2021, 03:40:17 AM »
In the lack of testers, I ran this totally AFK last night from 9pm pacific. Used 17 flutes, 50 smoke bombs. After it ran out of smoke bombs, it ran on invis only for 13 mores successful hides. Ran out of flutes around 3 am. net was 149 eggs in 6 hours. Safely logged off hidden.  Give it a try?

6
Script Debug / Re: Saving settings?
« on: June 12, 2021, 08:39:45 PM »
I think I followed your suggestions correctly, and modified the script. It will only do one special at a time now. Here is the whole thing I am working with. I use this as the core of most of my Melee scripts. Any suggestions TM?
Code: [Select]
Display yesno Do you want to initalize /re-initialize this script?
 if #dispres = yes
set %initialized #false
if #dispres = no
set %initialized #true


set %primary #true
set %secondary #false
set %counterattack #true
set %LS #false
set %evade #scnt
set %confidence #scnt
if %initialized = #false
{
gosub setpixel-primary
gosub setpixel-secondary
gosub setpixel-CA
gosub setpixel-LS
}
  gosub TM_GetPersistantVariable cursorx_2
  set %cursorx_2 #RESULT
  gosub TM_GetPersistantVariable cursory_2
  set %cursory_2 #RESULT
  savePix %cursorx_2 %cursory_2 2
  ;
    gosub TM_GetPersistantVariable cursorx_3
  set %cursorx_3 #RESULT
  gosub TM_GetPersistantVariable cursory_3
  set %cursory_3 #RESULT
  savePix %cursorx_3 %cursory_3 3
  ;
    gosub TM_GetPersistantVariable cursorx_4
  set %cursorx_4 #RESULT
  gosub TM_GetPersistantVariable cursory_4
  set %cursory_4 #RESULT
  savePix %cursorx_4 %cursory_4 4
  ;
    gosub TM_GetPersistantVariable cursorx_5
  set %cursorx_5 #RESULT
  gosub TM_GetPersistantVariable cursory_5
  set %cursory_5 #RESULT
  savePix %cursorx_5 %cursory_5 5
goto mainloop
 ;----------------------------------
mainloop:
gosub non_interference
if %counterattack = #true
gosub ExecCA
if %primary = #true
gosub execprim
if %secondary = #true
gosub Execsec

if %LS = #true
gosub ExecLS
goto mainloop
:--------------------
sub setpixel-primary
    event macro 35 0
    display Move the mouse to the BOTTOM LEFT CORNER of the Primary Weapon Move button. You have 2 seconds
    wait 2s
    savePix #CURSORX #CURSORY 2
    set %cursorx_2 #CURSORX
    set %cursory_2 #CURSORY
    gosub TM_SetPersistantVariable cursorx_2 #CURSORX
    gosub TM_SetPersistantVariable cursory_2 #CURSORY
    wait 5
return
;------------------------
sub setpixel-secondary
    event macro 36 0
    display Move the mouse to the BOTTOM LEFT CORNER of the secondary Weapon Move button. You have 2 seconds
    wait 2s
    savePix #CURSORX #CURSORY 3
        set %cursorx_3 #CURSORX
    set %cursory_3 #CURSORY
    gosub TM_SetPersistantVariable cursorx_3 #CURSORX
    gosub TM_SetPersistantVariable cursory_3 #CURSORY
    wait 5
    event macro 36 0
return
 ;--------------------------------
sub setpixel-CA
    event macro 15 148
    display Move the mouse to the BOTTOM LEFT CORNER of the Counter Attack Weapon Move button. You have 2 seconds
    wait 2s
    savePix #CURSORX #CURSORY 4
        set %cursorx_4 #CURSORX
    set %cursory_4 #CURSORY
    gosub TM_SetPersistantVariable cursorx_4 #CURSORX
    gosub TM_SetPersistantVariable cursory_4 #CURSORY
    wait 5
return
;---------------------------------------
sub setpixel-LS
    event macro 15 149
    display Move the mouse to the BOTTOM LEFT CORNER of the Counter Attack Weapon Move button. You have 2 seconds
    wait 2s
    savePix #CURSORX #CURSORY 5
    set %cursorx_5 #CURSORX
    set %cursory_5 #CURSORY
    gosub TM_SetPersistantVariable cursorx_5 #CURSORX
    gosub TM_SetPersistantVariable cursory_5 #CURSORY
    wait 5
    event macro 15 149
return
;---------------------------------------

sub execPrim
if #mana > 24
{
    cmppix 2 f
       {
       event macro 35 0
       }
}
return
;------------------------------------
sub execSec
    cmppix 3 f
       {
       event macro 36 0
       }
return
;--------------------------------------
sub ExecCA
if #scnt > %evade
continue
if #scnt > %confidence
{
    cmppix 4 f
       {
       event macro 15 148
       wait 12
       }
return
}
return


;----------------------------------
;--------------------------------------
sub ExecLS
if #mana < 24 && #mana > 7
{
    cmppix 5 f
       {
       event macro 15 149
       }
}
return


;----------------------------------
sub non_interference
if #lspell = _104_113_116_145_150_201_202_203_204_205_206_207_208_209_210_716_717_719_720_723_724_725_726_727_728_729_730_731_732_734_736
{
if #lspell = 147
set %evade #scnt + 6
if #lspell = 146
set %confidence #scnt + 15
wait 2s
set #lspell 420
}
if #targcurs = 1
repeat
wait 1
until #targcurs = 0
return
;------------------------------------------------------------
sub TM_GetPersistantVariable
  set #RESULT %1 , _ , #CHARID
  set #RESULT * . #RESULT
return #RESULT
;------------------------------------------------------------
sub TM_SetPersistantVariable
  set #RESULT %1 , _ , #CHARID
  set * . #RESULT %2
return
;----------------------------------------

7
Submit your Script / BL Eggscavator Beta release
« on: June 12, 2021, 01:28:56 PM »
Inspired by the efforts of SumSum, I wanted to take a stab at a Medusa egg farmer. With Gaderian & Caines' help, patience, and guidance, this is the result. Average over 24 eggs an hour (that is a low estimate for realism.)
Code: [Select]
;===========================================================
; Name: BL EGGScavator
; Author: Baldielocks
; Version: Beta 1.0
; Easyuo Version : 1.6.0.335
; Client Version : 7.0.7.3
; Tested: OSI. Intended for OSI only, use on freeshard at own risk.
;
; Purpose: Get rare eggs for Medusa keys.
;
; Special Thanks:
; Gaderian for his endless patience, teaching coding basics, and use of his subs
; Trailmyx for his gump wait and offset click subs and TM_ADVJournal scanner. And for SUO utility and the site!
; Caines ALSO for his endless patience and feedback.
; Anything good in this script is due to Gaderian and Caines.
; Anything bad, well, all ME!
; The .WZA for the click X Y Z sub and menu subs.
; Everyone that ever released a script publically. Thank you for sharing!
;
;
; Changlelog: version 1.0, June 2021
; TODO:
; Rarely, click hole won't target the hole, leaving the cursor open
; Area limiting - Not limiting
;
;SUO Syntax check
;Method count: 56
;Command count: 56
;*** Pass 1 - Label accounting:
;Subroutine labels = 18
;Tag labels = 5
;31 Code block(s).
;0 Warnings(s) encountered.
;*** Pass 2 - Execution [SYNTAXCHECK]
;;==============================================================================
;                              _
;           ___         _     | |  __   ___ _____
;         / __/  __ _ _(_)_ _ | |_\  ) (  //  _  \     Making (s)UO easier.
;         \__ \(  _/ `_/ / ` \|  _|  | |  |  / \  \     www.scriptuo.com
;          __| | (_| | | | |) | | \  \_/  |  \_/  /     Admin:  TrailMyx
;         \___/\___| | |_|  _/\__\ \_____/\______/    Ass. Admin:  Cerveza
;                  | |   | |
;                  |_|   |_|
;
;==============================================================================
; INSTRUCTIONS AND INFO
; This script is meant for a character with 100% hiding and at least 80 stealth.
; A character with magery will do better than one without.  I have found
;that being in unicorn form or in normal with protect will give the
;longest runs. Eventually, you will die. Sorry! Looking for a 100% solution, but
;haven't found one yet.
; In testing, I average about 24 eggs an hour. Script will use 1 flute charge
; about every 8 seconds. Exceptional flutes are a good idea. 30 charges every 3 minutes.
;  I use around 50 smokebombs in 3 hours, and usually take 100 with me.
;
;Before script Start:
;  MUST have insured snake charmer flutes and egg bombs in your backpack
;  Go to  the first grassy area on the way to the altar
;  See map pic in the thread for location.
;  If holes are visible outside the indicated area, it is a good practice
; to charm snakes until the holes move outside of the 18 tile detect range.
; Egg Basket may be a container in your backpack, or just target the backpack.
; Script will halt at 125 items in bag and make sure you are hidden.
; Script will halt when snake flutes are gone, and make sure you are hidden.
;Script will continue if you run out of eggbombs, and try to invis.
;
;
;===========================================================
Im having issues figuring out how to embed a photo. TIll then, use the Eggspawn area as a guide. Areas 1 and 2 are the ones where you want to look for holes that may be detected and get them moved before script start. Script works BEST if you have at least one snake near each hole ( 3 snakes minimum). After that, as long as you run this, you will not have a snake target issue. Area 3 has a hole spawn location that cannot be targeted, so the script tries to stay in the grass area and its 3 holes.
; INSTRUCTIONS AND INFO
; This script is meant for a character with 100% hiding and at least 80 stealth.
; A character with magery will do better than one without.  I have found
;that being in unicorn form or in normal with protect will give the
;longest runs. Eventually, you will die. Sorry! Looking for a 100% solution, but
;haven't found one yet.
; In testing, I average about 24 eggs an hour. Script will use 1 flute charge
; about every 8 seconds. Exceptional flutes are a good idea. 30 charges every 3 minutes.
;  I use around 50 smokebombs in 3 hours, and usually take 100 with me.
;
;Before script Start:
;  MUST have insured snake charmer flutes and egg bombs in your backpack
;  Go to  the first grassy area on the way to the altar
;  See map pic in the thread for location.
;  If holes are visible outside the indicated area, it is a good practice
; to charm snakes until the holes move outside of the 18 tile detect range.
; Egg Basket may be a container in your backpack, or just target the backpack.
; Script will halt at 125 items in bag and make sure you are hidden.
; Script will halt when snake flutes are gone, and make sure you are hidden.
;Script will continue if you run out of eggbombs, and try to invis.

8
Script Debug / Re: Saving settings?
« on: June 05, 2021, 09:22:46 AM »
Code: [Select]
set %initialize #true
set %primary #true
set %secondary #false
set %counterattack #true
set %LS #true
if %initialize = #false
{
gosub setpixel-primary
gosub setpixel-secondary
gosub setpixel-CA
gosub setpixel-LS
}
gosub TM_GetPersistantVariable #CURSORX #CURSORY 2
gosub TM_GetPersistantVariable #CURSORX #CURSORY 3
gosub TM_GetPersistantVariable #CURSORX #CURSORY 4
 gosub TM_GetPersistantVariable #CURSORX #CURSORY 5
goto mainloop

Looks like that does it! Thank you. I'll be adding a menu for the initialize value.
 :D

9
Script Debug / Re: Saving settings?
« on: June 05, 2021, 09:00:08 AM »
Thanks TM. What about overwriting the variable if I need to change it?

10
Script Debug / Re: Saving settings?
« on: June 05, 2021, 07:22:03 AM »
Wanted to show I actually TRY to do research before I ask newblet questions.

What about over-writing an existing *var ? I'm THINK there is a way, but stumbling on the method. (this is from C_2's LAME)
Code: [Select]
gosub setpixel-primary
sub setpixel-primary
    event macro 35 0
    display Move the mouse to the BOTTOM LEFT CORNER of the Primary Weapon Move button. You have 2 seconds
    wait 2s
[b]    savePix #CURSORX #CURSORY 2[/b]
    wait 5
return

If I wanted to save the CMPPIX as a persistent for a specific character, I would do
Code: [Select]
savePix #charid , savePix #CURSORX #CURSORY 2
Now that I have it saved, i can skip set up for that everytime, which is nice!
But if Location of the tile changes, how would I go about skipping setup until I need to re-do it? I have tried several variations of a true / false state on the var.

11
Thanks TM. I'm going to be using this in a released script. May I put the loop into your sub as mainloop2? Also, I was wondering if you had any tips on how I might best:
1) go to mainloop2 from my mainloop
2) how best to get the #result to my mainloop?

I am always reluctant to modify others' subs, so I am not sure if I could just set a %var for the #result and grab that from the main.

12
It looks like there is no loop for the paperdoll. So it never scans it. there is mainloop one for the container. It opens the paperdoll and that is it. Would something like this work?:
Code: [Select]
finditem * C_ , #charid
for #findindex 1 #findcount
{
event property #findid
[i]tm magic happens here[/i]
}

13
Read the site rules http://www.scriptuo.com/index.php?board=55.0, then post an introduction http://www.scriptuo.com/index.php?board=20.0.
Read through the stickies for more information before you post so you can do a good intro.

14
TM,
First, I GOTTA point out the typo in your name in the script header! :police: :laugh:
Second, I am trying to implement this sub into a project. I have
Code: [Select]
gosub TM_CheckCurrentDurabilityin my setup loop.
I put a 0 durability item on and ran it, no notification of low durability. I put a display check in after the gosub, and got N/A as #result. I KNOW I am messing something up. :-\\

15
Script Debug / Re: Eggscavator (Medusa keys) beta
« on: May 25, 2021, 03:52:26 PM »
whats super funny is I caught that and removed it in the V2 I uploaded and commented on it. Then, I FORGOT that I did that when I tried yours!
Made the edit, but the script never advances to that sub. It still loops in the Find_hole and Find_closest.

Pages: [1] 2 3 ... 20