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.


Topics - Cush

Pages: [1]
1
Script Debug / Need a little help on this. I am a rookie!
« on: December 31, 2020, 03:24:07 PM »
Hi,

I could use a little help with this little script. I use it once every few years to reload my fountains to make enhanced aids. I would like to just cut these from a secure in the house instead of the bank. I have not figured out how to update it.

I can do minor things but some pointers on this would be much appreciated. :-)

Thanks! 

2
General UO Chat / Idocing with scripts
« on: March 21, 2016, 07:44:57 AM »
Hi All,

One of my favorite things back in the day was Idocs. I have never done it with scripts so I just thought I would look for a few pointers from you all while I start digging through the scripts and other threads.

So far in chat was recommended llama form for some good reasons and a few other things.

Template for this one I was thinking any suggestions?

Ninjitsu
Hiding
Stealth
Tracking
Magery to travel

High strength for max load

My objectives would be to do some looting and then place a house

Any advice would be great. Thanks all!

Know a script I should check out send me a note :-)



3
Script Debug / Help with Tinkering section of a script please
« on: June 29, 2015, 08:38:13 AM »
Hi All,

I have working with a mining script the last couple of year that I found and tailored parts of it to fit my needs. I have had one on going error since the beginning which I just can not seem to get tracked down.

The script tinkers its own shovels and when the tinkering tools get down it makes new tinkering tool kits. The problem is that it fills the back pack with them! lol

I think its missing a counter or stop but I can not seem to figure it out. If you could take a look and tell me what is missing I would greatly appreciate it.

Thanks!

Code: [Select]
;*****************************************
;******** Tinkering
;*****************************************
; ** FindShovel **
; Tries to find a shovel, if non are found will initial
; tinkering or recall back to home base
Sub FindShovel
   GoSub UpdateStatusWindow FindShovel
   FindShovelStart:
      GoSub CheckEscapeStatus
      If %CheckEscapeStatus
         Return

      GoSub FindUsableMiningTool %BackpackId
      If #FindId = X
      {
         if %UseTinkering
         {
            If %TinkerSkill >= 900
               Set %_fsIngotsNeeded 10
            Else
               Set %_fsIngotsNeeded 20
            FindItem %IngotType C_ , %BackpackId
            If #FindKind = -1 || #FindStack < %_fsIngotsNeeded
               GoSub UnloadAtBase #false
            GoSub MakeShovel
            Goto FindShovelStart
         }
         if ! %UseTinkering
         {
            GoSub UnloadAtBase #false
            Goto FindShovelStart
         }
      }
Return

; ** MakeShovel **
; Will make 1-2 shovels using tinkering - Using the menus or
; UOA macros if they have been setup
Sub MakeShovel
   GoSub CheckEscapeStatus
   If %CheckEscapeStatus
      Return

   Set %_msTimeStart #sCnt2
   GoSub UpdateStatusWindow MakeShovel

   FindItem %TinkerType C_ , %BackpackId
   Wait 5
   If #FindKind <> -1 && #FindCnt = 1
   {
      If %UOATinkerToolKey <> N/A
      {
         Key %UOATinkerToolKey %UOATinkerToolMod
         Wait %UOATinkerToolWait
      }
      If %UOATinkerToolKey = N/A
      {
         GoSub BringUpTinkerMenu #FindId
         Wait 10
         GoSub ClickTinkerButton 30 135
         If %return
            GoSub ClickTinkerButton 230 130
         Set %LastMadeWasShovel #false
      }
   }
   FindItem %TinkerType C_ , %BackpackId
   If #FindKind <> -1
   {
      If %UOAShovelKey <> N/A
      {
         Key %UOAShovelKey %UOAShovelMod
         Wait %UOAShovelWait
      }
      If %UOAShovelKey = N/A
      {
         GoSub BringUpTinkerMenu #FindId
         If %LastMadeWasShovel  ; If the last thing we made was a shovel, its easy!
            GoSub ClickTinkerButton 285 455
         If ! %LastMadeWasShovel
         {
            GoSub ClickTinkerButton 380 290
            If %Return
            {
               GoSub ClickTinkerButtonNext
               GoSub ClickTinkerButton 380 290
            }
         }
         If %return
         {
            Set %LastMadeWasShovel #true
            If %MakeTwoShovels
               GoSub ClickTinkerButton 285 455
         }
      }
      Set %_msCancelX #ContPosX + 10
      Set %_msCancelY #ContPosY + 10
      Click %_msCancelX %_msCancelY R ; Close tinker menu
   }
   GoSub RecordTiming %_msTimeStart MakeShovel
Return

; ** ClickTinkerButton **
Sub ClickTinkerButton
   Set %_ctbX %1 + #ContPosX
   Set %_ctbY %2 + #ContPosY
   Click %_ctbX %_ctbY
   Gosub waitForSysVar contSize <> 530_497 30
   Gosub waitForSysVar contSize = 530_497 30
   Wait 5
Return

; ** ClickTinkerButtonNoWait **
Sub ClickTinkerButtonNext
   Set %_ctbnX 385 + #ContPosX
   Set %_ctbnY 270 + #ContPosY
   Click %_ctbnX %_ctbnY F
   Wait 2s
Return

; ** BringUpTinkerMenu **
; Lag resistant opening of tinker menu
; Parameter 1: ID of tinker tool
Sub BringUpTinkerMenu
   Set %_butmTinkerTool %1
   Wait 5 ; A lot of times the tinker tool usage get 'You must wait...'
   _butmTinkerMenu:
      GoSub UseObject %_butmTinkerTool #false #false
      Gosub waitForSysVar contSize = 530_497 30
      if ! %return
         goto _butmTinkerMenu
Return

4
Scripting Chat / Scrapper's Compendium Slayer Maker
« on: June 22, 2015, 11:10:25 AM »
Hi All,

Finally back from School and I am trying to make some scrappers. I have been looking around but have not found a script for making scrapper slayers.

Could someone please point me in the right direction!

Thanks!

5
Stealth archive / Future Stealth Script writing Maven
« on: June 03, 2014, 07:31:27 AM »
This is your once in a lifetime opportunity to answer all the stupid questions knowing that your time and effort went into creating a scripting Maven.

ok just kidding.

I do have a few questions now after having gone through several of the tutorials these are basic in nature I sure I will have more complicated ones next week. lol

Ok.

1. Best way to start designing a new script is to map our exactly what you want it to do action by action correct? Then start to write out the script to accomplish the action map?

2. Auto log in's? Am I correct that I do not have to write something for this as the Stealth client will re log you in if there is a disconnect?

3. Pascal Language. Is there a recommended light reading book in English somewhere that I can review. Having not programmed anything really since my apple II+ computer way back in the day some basic understanding might help.

4. In the current scripts I use for EUO there are set up screen or actions to target your storage boxes etc. Is it better to just Hard code the id's? Does stealth even use these set up screens? Never made on so no clue how you do it..


Ok those are might initial questions.

Yes I was able to get the Hello world script written and to work after about 2+ hours.

 *****Special note to anyone else learning. Always read ALL the follow up posts to the tutorial before starting****

After 2 hours of frustration I scrolled down two posts and found the reason why it was not working. lol


Thanks All!

6
Scripting Chat / Magery Scroll production Script
« on: September 22, 2012, 12:15:08 PM »
Hi All,

I am looking for a working script that will allow me to produce Magery Scrolls.

Like lets say I wanted to produce 10k in recall scrolls or 1K of each spell.

I have tried several and it seems that do to the crafting Menu change I have not found one that works.

I am looking for either a Script that is currently working or.... Info on how to fix the tables myself.

I have never put a script together and its a bit over my head but I would give it a stellar try.


7
New member introductions / Cush Has arrived
« on: February 10, 2012, 07:33:54 AM »
Hello All,

Cush has been traveling the lands of Sosaria for most of the last 14 years or so. Living in a Small Hovel in a land called the Sonoma Shard. Having mastered the many mysteries in his solitude around the arts of Magic, Spell Weaving, and Mysticism, he turned his attention to science and Blackrock.

While working with some nefarious scientists near Moonglow a rather large explosion tool place and Cush found himself on this side of reality similar to the Avatar from back in the day and became aware of this worlds skill similar to his passion related to Magic called Scripting.

Cush plans on exploring and contributing to this wonderful forum and thank you to all of you who have come before to contribute.

I plan on doing a good bit of research before I ask any stupid questions that generate a response of "It's in the forum" good news I already figured out the search content feature :-) This should be fun!


Pages: [1]