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

Pages: 1 [2] 3 4 5
16
Script Debug / Use of N/A
« on: October 25, 2016, 04:07:54 PM »
I have seen in some build the use of those two letter N/A.   Why are we using them and specially when.   

This come to mind
 I set my list of monster I want
In my sub I have those two target at NA. 
 
Code: [Select]


set %monster AG_NG_EG_XG_PF_IG_YG_TF
gosub target
halt
sub target
  set %target1 n/a
  set %target2 n/a
{
Do something
}

return

17
Script Debug / Weight of Horne Minion
« on: October 05, 2016, 06:39:32 PM »
Trying to figure how to get the  stone weigh of my Horne minion.   I had been read about string, but this a subject that I haven't master yet.   Can anyone point me into the right direction  Thx

Since the stop picking gold from the  ground so we do not receive msg that the pack is full.

With this I can get  2 line
A Horne Minion
weight: 13 Stones
Code: [Select]
Finditem UGB G_4
For #Findindex 1 #Findcnt
{
Event Property #Findid
if Horde in #Property
{
set %horne #Findid
set %horne_Property #Property
Break
}
}
 display %horne_Property

18
Script Debug / Bebuff Clarification
« on: September 03, 2016, 06:43:38 AM »
In my book those are suppose to do the same action  Is their something I miss

This work properly
Code: [Select]
repeat

  Call ScanBuffBar

  if ( _CurseBloodOath_ in %BuffBarIconNames || _Strangle_ in %BuffBarIconNames )
       gosub removecurse

 until #false
 
 sub removecurse
    event macro 15 209
    target 2s
    event macro 23
    set %timer_removecurse #scnt2 + %safety

return

This just spwam over and over
Code: [Select]
Call ScanBuffBar

      if ( _CurseBloodOath_ in %BuffBarIconNames ) ; || _Strangle_ in %BuffBarIconNames ; && ( #mana > 20 ) && ( %timer_removecurse < #scnt2 )
            (
               event macro 15 209
              target 2s
              event macro 23
              set %timer_removecurse #scnt2 + %safety
           )

19
Script Debug / main loop optimization
« on: July 21, 2016, 05:25:39 PM »
I have made a rail to help me kill monster.   

 Right now it work like it suppose but sometime  the monster don't die on the first cast.  I add a double cast  but I'm sure their a better way to do this. 


Code: [Select]
repeat
   for %C 1 21
    {
    if #HITS < ( #MAXHITS - 15 )
      {
      Event exmsg #CHARID 3 30 Damage heal!
         if C in #CHARSTATUS
             gosub TM_NewCastSpell 24 SELF -1 20 20 ;  cast A cure until successful
         gosub TM_NewCastSpell 28 self 1 10 10 ; G Heal support Charactere
       }
     gosub pathfind_to_point  %Spotx . %c %Spoty . %c
      Finditem %Castsummon G_8     
       if #findCnt > 0  &&  #FOLLOWERS < 5
         gosub castsummon 57 ;  606 NF _57  EV
      Finditem %Rikktor G_5
         if #findCnt > 0
            gosub wither
       Finditem %Rikktor G_5
         if #findCnt > 0
            gosub wither
      }
until #charghost = yes


20
Script Debug / Waiting until new target arrive
« on: March 25, 2016, 04:40:56 AM »
Hello
I'm trying to make a sub that will find a monster attack him and wait for it to die or change form.    I have the first part of the sub to work.  Where I'm having issue is in the repeat loop.  Can't seen to get it right.  Can someone point me to the right direction.

I have try a few Until xxxxx   .  My knowledge is limited on those

set %attack IS
Code: [Select]
Sub attack_A
Finditem %attack G_10
if ( #FindID <> #CharID && #FindRep notin %noattack )
   {
  set #ltargetid #findid
  set #ltargetkind 1  
  set %attack #ltargetid
     if #findcnt <> 0
     {
      event macro 1 0 all kill
      target
      event macro 22 0 ; last target
      wait 40
      ignoreitem %attack
      }
      repeat                                    
      Finditem %attack G_10                  < ------  this is to scan until  the ID change.
      until #findkind = -1                      < ------ when it ID chance it will exit     Need to try until #FALSE
      ignoreitem reset
}
  return

21
Scripting Chat / Crafting menu move with screen
« on: January 30, 2016, 05:52:38 AM »
Been a while that I have been trying to figure out why that while crafting the menu move within the UO screen.  I center the menu and start the script. I'm not touch the mouse or event the pc.  It move over time to either corner.     Just curious to know why this happen.   I know we can force it with contpos   x y .  thx

22
General UO Chat / Mouse movement
« on: November 14, 2015, 05:05:35 AM »
Had to chat on ICQ few day ago while running a script, and notice that my cursor default to my client window every time.   I event uncheck under tools don't move cursor and it still default to UO screen.   Since it was only on my second PC I didn't care, but last night I notice that while mining and surf web on my main PC that my cursor will default to my UO screen.   Did I miss something or did something change in the last build.  This happen with 292 and 293.

23
General UO Chat / Shadow Guard Roof Top
« on: November 01, 2015, 03:59:37 PM »
So find this video while looking around.  I love to see that  the Asian are always a step ahead of us.   I play a similar template for years and I always said that it how you play and what you wear that make the different.  I think that I can said that this guy master a lots of the attribute/skill.  

http://stratics.com/threads/how-to-solo-roof-encounter-video.352965/

24
Script Debug / Clarifiaction with If #hits < ...
« on: October 29, 2015, 03:26:48 AM »
Was playing with a sub and  get an issue with this if statement.    Can someone explain what I'm not seeing.  


Code: [Select]
set %heal 10  ; Number to heal before to heal or
; set %heal ( #MAXHITS - 10 )  ; this one doesn't work ???

sub health_check
  if c in #charstatus
   {
 gosub scanbar
      if _poison_ in %icons . #charid
        gosub TM_NewCastSpell 24 self 1 10 10 ; Arch Cure
}
      set %icons . #charid _

if #hits < ( #maxhits - %heal )  < ---   this work if I enter a number.  
 ; if #hits < %heal  < ------------ this statement doesn't work
  {
     while #hits < #maxhits
      {
       gosub TM_NewCastSpell 28 self 1 10 10 ; G Heal
      }
    return
  }
return

25
Off Topic / CPU 30%
« on: October 09, 2015, 09:53:00 AM »
I had recently install a new SSD HD in my laptop.   Had to reinstall everything.  what it ok.  What I can get my head around is why my CPU is often at 30%.  Event weird, I put it in sleep mode, just to heard the fan running and laptop back on.   What did I miss?

26
Off Topic / WINDOW 10
« on: July 23, 2015, 03:03:00 PM »
Been having that  icon get window 10 on my task bar for a while now.  I know for some tester that Win 10  is nice operating system.  The main and almost only concern, those UO and Easy UO will still work.     

I'm looking for your guy two cent.   It free right now and don't want to make a misstake by upgrading or missing free stuff if I don't.

27
UO-Related Tutorials / An Idiots (TG) Guide to Marking an Imbuier
« on: July 19, 2015, 05:16:04 PM »
Let get some inspiration from Crisis here. 

Since we have an awesome script on SUO to raise imbuing,( Thx Mwinc) http://www.scriptuo.com/index.php?topic=8968.0 let take a few minute and  explain how to use it.  I have jump around shard and this is by far the easiest way to raise imbuing skill.
 
Before you start raising your skill, you will need to get some secondary skill and resources.   

skill needed.
GM tinker.  50 to Gm  This can be done with 8k using Paulonius Tinker Trainer   http://www.scriptuo.com/index.php?topic=3316.0
GM Arm Lore. 0-GM  it will raise at the same time as tinker.  You can finish the rest using UOA  or razor with a quick macro to lore a weapon.

Resourses Needed
You will require to purchase
12k Amber
12k Citrine
3k Ruby

12k Magical Residue.  This one can be make crafting Dull Copper Hammer ( Tinker one)  1 Hammer return 2 Residue. 

I prefer to eat 120 PS at the start and use forge at home.  this give you the lower success rate.

Using ManWinc Setup:and Hit play.   Should take you 11-12 hrs to 120 the skill.
Secure Container Near SoulForge
Iron Ingots
Dull Copper Ingots
Gold Ingots
Enough Tinkering to 100% Craft Exceptional Hammers (Carp Hammers)
Residue
Amber
Citrine
Ruby's


 


28
Script Debug / sub wwon't work
« on: May 31, 2015, 04:41:39 AM »
I have this sub on my fisher,   If i use the sub ib his own, it work 100% of the time.   once it inside my Clean up the backpack, it go through the sub but do nothing.    can't figure why.   
Code: [Select]
sub dropboat
finditem %fishstakes C_ , #backpackid
 if #findkind <> 1
   {
   set %fishstakes #findid
   set %findstack #findstack
   exevent drag #findid #findstack
   set !dropmeatX #charposX + 0
   set !dropmeatY #charposY + 2
   exevent dropG !dropmeatX !dropmeatY #charposZ
   wait 30
   }
   until #findkind = -1
   return

Code: [Select]
; =======================================================================================
;                                    Clean up the backpack
; =======================================================================================
sub packcheck
   gosub findshoes  ; feed them to goat
   gosub cutfish    ; cut into steak
   gosub eatfish    ; eat special fish
   gosub dropboat
  gosub pearlcargo
return fishing
; ----------------------------------------

to fish afk I need to run this snippet on his own.
Code: [Select]
set %fishstakes IND
while #true
{
gosub dropboat
wait 1500s
}
sub dropboat
finditem %fishstakes C_ , #backpackid
 if #findkind <> 1
   {
   set %fishstakes #findid
   set %findstack #findstack
   exevent drag #findid #findstack
   set !dropmeatX #charposX + 0
   set !dropmeatY #charposY + 2
   exevent dropG !dropmeatX !dropmeatY #charposZ
   wait 30
   }
   until #findkind = -1
   return

29
Crafting / TG Crafting Factory 2.8
« on: May 13, 2015, 06:33:06 PM »
Code: [Select]
;===================================================================
; Script Name: TG Crafting Factory
; Author: The Ghost
; Version: 2.8
; Client Tested with: 7.0.79.1
; EUO version tested with: 1.5 (version 334)
; Shard OSI / FS: OSI
; Release Date: 13 May 15
; Revision Date: 15 Oct 2019
; Purpose:
;     Craft Wood Pulps ,Blank Scroll, Arrow, Lockpick, Aids, Empty Bottles
;          Dough ; Sack Flour, Ethereal Soulbinder  Until no supply left.
; ========================================
;      _____________            ______________              _____
___  __/__  /______      __  ____/__  /________________  /_
__  /  __  __ \  _ \     _  / __ __  __ \  __ \_  ___/  __/
_  /   _  / / /  __/     / /_/ / _  / / / /_/ /(__  )/ /_
/_/    /_/ /_/\___/      \____/  /_/ /_/\____//____/ \__/

; ====================================
Code: [Select]
; ================== Variable that can be change by User ==========
Set %HideWhileWorking #true     ;  Set to #false if you don't Want to hide.
Set %ToolBag #true              ; set to true to  use Grab tool for bag
set %None_Stack #true          ; set to true to  set Drop not stack item bag
set %grabtool #false
set %Supply_Drag_Amount 80     ; <-------- Enter the Number of Supply Item you want.
set %ingot_Drag_Amount 50      ; <--------- Enter the Number of Ingot
set %wood_Drag_Amount 100
set %Fletching_Drag_Amount 2   ; Number of Arror to make
set %Cloth_Drag_Amount 500    ; <--------- Enter the Number of Cloth
set %Sand_Drag_Amount 1500     ; <--------- Enter the Number of Sand
set %EtherealSand_Drag_Amount 300  ; <--------- Enter the Number of Sand
; ==================== End Variable that can be change by User ==========
Special Thanks:
     - Manwinc for used of his crafting subs
     - Crisis  for used of sub container
     - TrailMyx for used Back pack sub
     - Cush for testing
     - Nobama for the coking suggestion

 Requirements:
    - You need to have a secure with appropriated supply needed (Bark Fragment, Wood Pulp Wood, Feather and
       iron ingots) inside it and within reach. Only have regular supply, no colours ingots or woods
    - Must have 29 tinker to craft tool and at least one tinker tool in your backpack.
    - ( This option is not  working right now) If you have no tinker skill, fill up your Resource bag with 
        appropriated tools.
    - It assume that you use an endless Decanter of Water to make Wood Pulp.

 Revisions:  Ver 1.0 First release
                  Ver 1.4 Change the menu
                  Ver 1.5 Add wait time to look for tinker tool.
                  Ver 1.6 Add fletching (Arrow ) and Hiding Option
                  Ver 1.7 Move Restock location and separate pause from Check Menu
                  Ver 1.8 Add the FindCol so we don't use colour resources.
                  Ver 1.9 Change sub status Box . Fine tune colour protection
                  Ver 2.1 Add Bottle making  (15 ept 15)
                  Ver 2.2 Remove Bottle and add Lockpick (14 Apr 16)
                  Ver 2.3 Add Aids Maker  ( 1 May 16)
                  Ver 2.4 Add Bottle making  (20 Jan 17)
                  Ver 2.5 Add Dough (21 Jan 17) . It only move Sack of Flour, not open Sack
                   Ver 2.6 Add Sack Flour (16 Feb 17)
                   Ver 2.7 Add Sweet Dough  in 2 stage( make dough and after make Sweet dough) 20 Feb 17).
;                             Fix the auto refil tool from a container.  Add a Check box  Bottle will auto setup.
;                             Add auto detect to make Rolking pin if low tinker and Skillet if higher Tinker.
 ;               Ver 2.8  Add Soulbinder Bottle (14 Oct 2019) With capability to store them in a own bag.
 
TO DO:  Fix the Status update. Not dispplay the update properly when less words use.
              Might add a weight Max & timer
              Fix the Resources bag tool.
              Add Regular water pitcher.

 Future Updates:
           Who know what I will be adding next?


Comment
        Choose the type of items you desire to crafting and this Script will craft it for you until he can't find  any supply.

 I have spend a great effort to make this friendly and easy to used. 
 
This should be a good support script for Crisis Fill Spellbook. http://www.scriptuo.com/index.php?topic=13136.0


30
Script Debug / %cnt and repeat
« on: May 07, 2015, 06:48:04 PM »
I'm trying to find a better way to move my ship that just said 8 time  event macro 3 0 one forward   I try to play with this but I don't understand  how to use it.   Can anyone shade some light plx

Code: [Select]
set %cnt 0
repeat
for %cnt 1 8
(
msg one forward$
wait 10
set %cnt %cnt + 1
}
until %cnt = 8

Pages: 1 [2] 3 4 5