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

Pages: [1] 2
1
General UO Chat / Send message to party via Easyuo
« on: December 10, 2020, 01:03:56 PM »
How do you send a simple one line message to everyone in your party via easyuo?

Could not find a event macro that appeared to work for this.

Thank you!

2
Scripting Chat / Namespace tutorial
« on: July 31, 2017, 12:52:26 PM »
Is there a good tutorial on namespace?

3
Scripting Chat / How to close new BOD Reward gump
« on: March 21, 2017, 12:16:56 PM »
Any idea how to close the new BOD reward gump?  I tried the event macro 34 0 but guessing I am not getting it identified object wise.

4
Script Debug / Looting Issue
« on: February 22, 2017, 06:11:42 PM »
I am trying to to write a bird killer/leather looter script.

The kill sub is working but I can't get the loot to work.  The corpse opens, and then its hidden, but it does not drag the feathers off the corpse.

Any suggestions?

Quote
;========================================
;  Check Corpse
;========================================
sub chkcrpse
milky:
finditem YFM G_3
if #findkind = -1
   {
    return
   }
set %dead #findid
set #ltargetid #findid
set #ltargetkind 1
finditem %knife C_ , #backpackid
set #lobjectid #findid
event macro 17 0
target 1s        ;3s
event macro 22 0
wait 20


finditem %dead
set #lobjectid #findid
event macro 17 0
wait 1s


finditem VLK C_ , %dead
wait 1s
exevent drag #findid #findstack
wait 1s
exevent DropC %rbag
wait 1s
ignoreitem %dead
hideitem %dead
goto milky:



5
Scripting Chat / Working Login Logout Script
« on: February 03, 2017, 03:18:39 PM »
Anyone have a working login/logout script?

I am wanting to simply login to previous account/char/shard at specific times.

I have tried iAutolog360 but can not get it to logout.


6
Scripting Chat / Death Robes
« on: January 13, 2017, 08:08:51 PM »
How would I go about removing a death robe?

7
Scripting Chat / Client status
« on: January 06, 2017, 08:38:04 AM »
Has anyone created a script or know how one would create a script to monitor if the client is connected or disconnected from the server?  And if disconnected, would reconnect?

I know there are scripts that will login and logout and guessing that is a great source to use for most of the script, but how do you monitor if your currently connected?

8
Script Debug / The * wildcard
« on: December 20, 2016, 02:53:13 PM »
What risks are there to using the * in finditem?

Code: [Select]
finditem * C_ , %corpse


9
Script Debug / Sometimes it loots... sometimes it does not....
« on: October 07, 2016, 10:00:46 AM »
Sometimes it loots... sometimes it does not....  What have am I missing? 

Trying to get this sub to work all the time rather than 50/50ish.  Would love any input!

Code: [Select]
sub lootrock
finditem YFM G_2
if #finditem = -1
   return
wait 20
set #lobjectid #findid
wait 20
set %lootContainer #findid
wait 20
event macro 17 0
gosub wfcontainer container_gump 144_212
if ! #result
   {
   ignoreitem %dead
   goto start
   }
wait 10
if #contsize <> 144_212
   {
   ignoreitem %dead
   goto start
   }
wait 60
finditem POF C_ , %lootContainer
exevent drag #findid #findstack
wait 20
exevent DropC #backpackid
wait 12
hideitem %lootContainer
wait 12
return


;===============================
;Waiting for Container to open
;===============================
sub wfcontainer
set %waittime 120
set %wfgump #sCnt2 + %waittime
gosub wfopen contname %1 contsize %2
return #result

sub wfopen
wfo:
if # . %1 = %2 && # . %3 = %4
   return #true
if %wfgump < #scnt2
    return #false
goto wfo


10
Script Debug / Pixel Count Training
« on: August 19, 2016, 03:37:59 PM »
How do I go about getting the pixel count of an item, ie ingot or leather etc...

11
Script Debug / Playing with event property but not sending.....
« on: May 27, 2016, 11:26:49 AM »
My attempt at a script to find all Minax arties items in backpack and sent them to the bank...

Code: [Select]
start:
finditem * c_ , #backpackid
if #FINDKIND <> -1
  {
   event Property #findID
   if minax in #property
   {
    set %minaxitem #findid
    gosub dropGoods
    }
  ignoreitem #findid
  }
goto start



 ;=====================================
;          Drop Goods
;=====================================
sub dropGoods
   finditem CKF  c_ , #backpackid
   topBag:
     event property #findid
     if #spc , 0 IN #property
       {
        SET #ltargetid #findid
        SET #ltargetkind 1
        finditem EUO c_ , #backpackid
        if #findid = X
           halt
        SET #lobjectid #findid
        event macro 17 0
        target 3s
        event macro 22 0
        wait 1s
        goto topBag
       }
   SET %bag #findid
   finditem %minaxitem , #backpackid
   SET #ltargetid #findid
   SET #lobjectid %bag
   SET %sendThis #findid
   SET #ltargetkind 1
   event macro 17 0
   target 3s
   event macro 22 0
   wait 1s
return


Any help on what I am missing?

12
Script Debug / Ore looter issues
« on: March 21, 2016, 03:29:49 PM »
I have a written a small script that uses Snicker7's s7smeltonbeetle to loot ore off elementals.  The problem is sometimes it opens the corpse and does nothing but hide it.  It doesn't smelt the ore or loot the gems.  And when there is no corpse, it moves my backpack.  Any help would be really appreciated!!

Code: [Select]

set %loot HVF_UVF_FVF_EVF_OVF_VUF_GVF_RVF_BVF_VVF_NVF_ZVF_

event macro 3 0 All follow me

Start:
finditem YFM G_2
if finditem <> -1
{
set #lobjectid #findid
set %oreContainer #findid
event macro 17 0
wait 1s
contpos 100 0
wait 1s
gosub s7SmeltOnBeetle %oreContainer
  wait 1s
gosub gems
  wait 1s
hideitem %oreContainer
}
goto start:


;==============Loot Jewels============
sub gems
Gms:
finditem %loot C_ , %oreContainer
if #findkind = -1
{
return
}
exevent drag #findid #findstack
wait 20
exevent DropC #backpackid
wait 27
goto gms


;==============Smelt Ore============
;----
;* @name s7SmeltOnBeetle
;* @author snicker7
;* @ver 1.1 13Feb05
;* @purpose smelt all ore in specified container
;*      (default: backpack) on a firebeetle within
;*      2 tiles.
;* @params      %1      (optional) the container from
;*                      which to smelt ore. if none is
;*                      specified it defaults to backpack.
;* @returns     #true   if all ore was successfully smelted
;*              #false  fire beetle was not found within 2 tiles.
;* @notes props to Quintok for the specify container idea.
;* @example: gosub s7SmeltOnBeetle %oreContainer
;* @status done
;----
sub s7SmeltOnBeetle
        set #result #backpackid
        if %0 > 0 && %1 <> N/A
                set #result %1
        ignoreitem reset s7IOre
        finditem JJ G_2    ;jj
        if #findkind = -1
                return #false
        set #ltargetid #findid
        set #ltargetkind 1
        s7SmOB:
        finditem DWJ_EWJ_GWJ_TVJ C_ , #result
        if #findkind <> -1
        {
                if ( ( #findtype = TVJ && #findstack >= 2 ) || #findtype <> TVJ )
                {
                        set #lobjectid #findid
                        event macro 17 0
                        target
                        event macro 22 0
                        wait 10
                }
                if #findtype = TVJ && #findstack < 2
                        ignoreitem #findid s7IOre
                goto s7SmOB
        }
return #true



13
Scripting Chat / Forges - Tile versions
« on: March 10, 2016, 02:50:51 PM »
Does anyone have a snippet or sub for using tiles forges (those without ids)?

14
Scripting Chat / NPC vendor sell
« on: February 14, 2016, 01:34:50 PM »
Anyone had any luck with sell items to vendors?  Or is this a taboe item?

15
Scripting Chat / Doors
« on: February 08, 2016, 07:15:29 PM »
Is there any other way to open a door besides event macro 12 0?

Pages: [1] 2