Author Topic: TrailMyx's Fishing Chest Loot Organizer snippet  (Read 22375 times)

0 Members and 1 Guest are viewing this topic.

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
TrailMyx's Fishing Chest Loot Organizer snippet
« on: June 28, 2008, 05:29:45 PM »
+2
I use this little script when I'm unloading all the junk from the chests I fish up.  It's specialized for Alexandria where I used to play, but you can adapt/add to it really easy. 

Just stand next to a stack of containers, run the script and target the chest you want to empty.

You'll need to set 3 variables:

Quote
set %scroll_secure  XXYYZZ1
set %reagent_secure XXYYZZ2
set %gem_secure     XXYYZZ3

You can make these the same box if you want, but I recommend separate secured chests for each.

Code: [Select]
set %scroll_secure  XXYYZZ1
set %reagent_secure XXYYZZ2
set %gem_secure     XXYYZZ3

display ok Target the container you want to unload.
set #TARGCURS 1
repeat
until #TARGCURS = 0

set %fromcont #LTARGETID

set #LOBJECTID %fromcont
event macro 17 0
gosub GumpWait container_gump NULL
contpos 750 330
wait 30

; mage spells
gosub DragToSecure %fromcont %scroll_secure NXL_QXL_PXL_AYL_ZXL_CYL_BYL_WXL
gosub DragToSecure %fromcont %scroll_secure VXL_YXL_XXL_IYL_HYL_KYL_JYL_EYL
gosub DragToSecure %fromcont %scroll_secure DYL_GYL_FYL_STL_RTL_UTL_TTL_OTL
gosub DragToSecure %fromcont %scroll_secure NTL_QTL_PTL_AUL_ZTL_CUL_BUL_WTL
gosub DragToSecure %fromcont %scroll_secure VTL_YTL_XTL_IUL_HUL_KUL_JUL_EUL
gosub DragToSecure %fromcont %scroll_secure DUL_GUL_FUL_QUL_PUL_SUL_RUL_MUL
gosub DragToSecure %fromcont %scroll_secure LUL_OUL_NUL_YUL_XUL_AVL_ZUL_UUL
gosub DragToSecure %fromcont %scroll_secure TUL_WUL_VUL_GVL_FVL_IVL_HVL_CVL

; mage regs
gosub DragToSecure %fromcont %reagent_secure WZF_JZF_JUF_RZF_SZF_KZF_MZF_KUF

; necro regs
gosub DragToSecure %fromcont %reagent_secure YZF_TZF_DUF_IUF_UZF

; wire spools
gosub DragToSecure %fromcont %gem_secure XEJ_OEJ_NEJ_YEJ

; gemstones
gosub DragToSecure %fromcont %gem_secure UVF_NVF_RVF_HVF_EVF_BVF_VVF_GVF_ZVF
stop

;-------------------------------------------------
sub DragToSecure
  set %from %1
  set %secure %2
  set %items %3
 
  finditem %secure G_2
  if #FINDKIND = -1
    return N/A
  DragToSecure_loop1:
    finditem %items C_ , %from
    if #FINDKIND <> -1
    {
      exevent drag #FINDID #FINDSTACK
      wait 10
      exevent dropc %secure
      wait 10
      goto DragToSecure_loop1
    }
return
;-------------------------------------------------
; %1 = GumpWait
; %2 = Gumpname 1
; %3 = Gumpname 2
sub GumpWait
  wait 10
  set %timedelay #SCNT
  loopwait1:
    if #CONTNAME = %1 || #CONTNAME = %2
      return
    if #SCNT > %timedelay + 7
      return
    goto loopwait1
return


Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Khameleon

  • Script Tester - Team Leader
  • Elite
  • *
  • *
  • Posts: 2574
  • Activity:
    0%
  • Reputation Power: 30
  • Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!
  • Gender: Male
  • Respect: +238
  • Referrals: 0
    • View Profile
Re: TrailMyx's Fishing Chest Loot Organizer snippet
« Reply #1 on: December 20, 2008, 08:06:43 AM »
+1
Found some more Gems VUF_FVF_OVF, I think I'll be using this script very much in the near future. 

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: TrailMyx's Fishing Chest Loot Organizer snippet
« Reply #2 on: December 20, 2008, 11:03:30 AM »
+1
I have a couple other script that I started since this one that might be even more useful...  I just can't remember what state they were in.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Khameleon

  • Script Tester - Team Leader
  • Elite
  • *
  • *
  • Posts: 2574
  • Activity:
    0%
  • Reputation Power: 30
  • Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!
  • Gender: Male
  • Respect: +238
  • Referrals: 0
    • View Profile
Re: TrailMyx's Fishing Chest Loot Organizer snippet
« Reply #3 on: December 20, 2008, 11:15:45 AM »
+1
id like to see some of your unfinished projects... most of my projects are tweaking things together.

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: TrailMyx's Fishing Chest Loot Organizer snippet
« Reply #4 on: December 20, 2008, 11:23:08 AM »
+1
I did one in particular when I was farming the pre-cast loot for the spring cleaning.  I have to locate that one....
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Khameleon

  • Script Tester - Team Leader
  • Elite
  • *
  • *
  • Posts: 2574
  • Activity:
    0%
  • Reputation Power: 30
  • Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!
  • Gender: Male
  • Respect: +238
  • Referrals: 0
    • View Profile
Re: TrailMyx's Fishing Chest Loot Organizer snippet
« Reply #5 on: December 20, 2008, 11:26:20 AM »
+1
I did one in particular when I was farming the pre-cast loot for the spring cleaning.  I have to locate that one....

I was just about to look for the item types for pre-loot items :)

Offline ladyyvonne

  • Jr. Member
  • **
  • Posts: 21
  • Activity:
    0%
  • Reputation Power: 1
  • ladyyvonne has no influence.
  • Respect: +6
  • Referrals: 0
    • View Profile
Re: TrailMyx's Fishing Chest Loot Organizer snippet
« Reply #6 on: March 23, 2013, 01:58:19 AM »
+1
Hi I was looking at your script and Im new to this was wondering if you could tell me how to find the xx,yy,zz for my secure containers

thanks

Offline Masscre

  • Gran Master Jester !!
  • Scripthack
  • *
  • Posts: 4615
  • Activity:
    0%
  • Reputation Power: 55
  • Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!
  • Gender: Male
  • Air Guitar Commander !!
  • Respect: +144
  • Referrals: 1
    • View Profile
Re: TrailMyx's Fishing Chest Loot Organizer snippet
« Reply #7 on: March 23, 2013, 04:48:26 AM »
+1
You can use a skill like armslore on a chest and then look in easyuo under contid and that will be what you should place in the xxyyzz area.

Offline gimlet

  • Very Super Secret
  • Global Moderator
  • *
  • *
  • Posts: 6191
  • Activity:
    3%
  • Reputation Power: 71
  • gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!
  • Gender: Male
  • Respect: +273
  • Referrals: 3
    • View Profile

Offline ladyyvonne

  • Jr. Member
  • **
  • Posts: 21
  • Activity:
    0%
  • Reputation Power: 1
  • ladyyvonne has no influence.
  • Respect: +6
  • Referrals: 0
    • View Profile
Re: TrailMyx's Fishing Chest Loot Organizer snippet
« Reply #9 on: March 23, 2013, 02:19:11 PM »
+1
OOOO Thank You, I think you just became my hero.

Yvonne

Offline gimlet

  • Very Super Secret
  • Global Moderator
  • *
  • *
  • Posts: 6191
  • Activity:
    3%
  • Reputation Power: 71
  • gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!
  • Gender: Male
  • Respect: +273
  • Referrals: 3
    • View Profile
Re: TrailMyx's Fishing Chest Loot Organizer snippet
« Reply #10 on: March 23, 2013, 03:36:00 PM »
+1
OOOO Thank You, I think you just became my hero.

Yvonne

GIMLET IS EVERYBODIES HERO

jk TrailMyx is the guy to thank for that one since he wrote it!

Offline ladyyvonne

  • Jr. Member
  • **
  • Posts: 21
  • Activity:
    0%
  • Reputation Power: 1
  • ladyyvonne has no influence.
  • Respect: +6
  • Referrals: 0
    • View Profile
Re: TrailMyx's Fishing Chest Loot Organizer snippet
« Reply #11 on: April 02, 2013, 06:34:08 PM »
+1
Got another problem im hoping you guys can help with. I put the xxyyzz ID in and it still isn't working, im on osi. is there something else I need to do

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: TrailMyx's Fishing Chest Loot Organizer snippet
« Reply #12 on: April 02, 2013, 06:58:38 PM »
+1
So what's happening?  You might need to single-step through the code to see what's going on.  Chances are that a #FINDID isn't quite right, or you're out of range from a container.  This script assumes that the containers are locked down on the floor within 2 spaces of your character.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Ultimafreak77

  • Full Member
  • ***
  • Posts: 105
  • Activity:
    0%
  • Reputation Power: 2
  • Ultimafreak77 has no influence.
  • Gender: Male
  • Respect: +14
  • Referrals: 0
    • View Profile
Re: TrailMyx's Fishing Chest Loot Organizer snippet
« Reply #13 on: November 08, 2013, 09:56:05 AM »
+1
This still works great and in conjunction with your findinfo tool its unstoppable! Thank you very much!
The few. The proud. The AFK.

Offline Ultimafreak77

  • Full Member
  • ***
  • Posts: 105
  • Activity:
    0%
  • Reputation Power: 2
  • Ultimafreak77 has no influence.
  • Gender: Male
  • Respect: +14
  • Referrals: 0
    • View Profile
Re: TrailMyx's Fishing Chest Loot Organizer snippet
« Reply #14 on: November 08, 2013, 10:07:49 AM »
+1
On a side note, I am going to try and find a way to add the ability that I can target a pack animal or container with multiple chests inside them, so that I don't have to single target each chest to sort.
The few. The proud. The AFK.

Tags: TrailMyx