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

Pages: [1] 2 3 ... 6
3
General UO Chat / Re: Send message to party via Easyuo
« on: December 18, 2020, 04:30:45 AM »
Thank you!!

4
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!

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

6
Submit your Script / Re: Hitech's Master Control
« on: July 31, 2017, 12:23:29 PM »
What happened to the script?

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

8
Script Debug / Re: Looting Issue
« on: February 28, 2017, 02:28:01 PM »
The purpose for using finditem each time is that on a certain shard "SP" daggers or knifes wear out after so many uses.  So be using in each loop, if the previous item is destroyed, it uses a new item to continue one.

Just an FYI

9
Script Debug / Re: Looting Issue
« on: February 23, 2017, 06:20:13 PM »
So I tried this:

Code: easyuo
  1. set %corpseContSize 144_212; Set this to whatever size the container is for a corpse on your shard
  2. set %corpseLooted n/a
  3. set %itemTypes VLK
  4. set %corpses YFM
  5.  
  6. finditem %corpses G_2
  7. if #findcnt > 0
  8. {
  9.   set #lobjectid #findid
  10.   set %contid #contid
  11.   event macro 17
  12.   set %contWait #sysTime + 1100
  13.   while #contsize <> %corpseContSize || #contid = %contid
  14.   {
  15.     if #contid <> %contid
  16.     {
  17.       wait 5
  18.       break
  19.     }
  20.   }
  21.   if %contWait < #sysTime
  22.   {
  23.     set %corpseLooted #false
  24.     return  ; Return on container error
  25.  

but it is stuck in the loop

Code: easyuo
  1.   set %contWait #sysTime + 1100
  2.   while #contsize <> %corpseContSize || #contid = %contid
  3.   {
  4.     if #contid <> %contid
  5.     {
  6.       wait 5
  7.       break
  8.     }
  9.   }
  10.   if %contWait < #sysTime
  11.   {
  12.     set %corpseLooted #false
  13.     return  ; Return on container error
  14. [/quote]
  15.  
  16.  

10
Script Debug / Re: Looting Issue
« on: February 23, 2017, 05:56:48 PM »
To setup gump size, is this correct?

Quote
set %corpseContSize 144_212

for OSI
#Contsizex: 144
#Contsizex: 212

Sorry, trying to learn

11
Script Debug / Re: Looting Issue
« on: February 23, 2017, 05:49:17 PM »
Maybe between line 7 & 8? 

12
Script Debug / Re: Looting Issue
« on: February 23, 2017, 05:44:19 PM »
Ummm, how would I go about carving the corpse?  Would I open, carve, and open it again?

13
Script Debug / Re: Looting Issue
« on: February 23, 2017, 05:32:08 PM »
TY Ghost & BobOz!

14
Script Debug / Re: Looting Issue
« on: February 23, 2017, 02:10:27 PM »
Or wait for the container and use it's id. The corpse id and the container id can be different. Sometimes they are the same. Sometimes they are not. On OSI anyways. Probly due to instanced corpses. But I've seen it happen during solo pvm and when you'd think instanced corpses would be a problem with multiple people attacking the same monster. You're using the corpse id for the container id, which isn't always the same thing. Just assume that the corpse id is different from the corpse container id, and write your script to assume that also and your problems should go away.


Some something like this?

Quote
IF #CONTTYPE = YFM
   {
   set %corpse #contid
   }

15
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:



Pages: [1] 2 3 ... 6