Author Topic: Help with UOSteam Script Loot sorting  (Read 3135 times)

September 14, 2016, 09:57:39 PM

Offline Mandar

  • Newbie
  • *
  • Posts: 44
  • Karma: +0/-0
I never really messed with macro's that much but saw one that thought would be helpful in sorting/cleaning out treasure chests or corpses.  If there is someone who is willing to take a look at what I have, that would be great.  I'm using sorting script thats on this forum as a base and have tweaked it with no success. Please send me a message if scripting is something you enjoy and are willing to help...I can send what I have.  TY

September 15, 2016, 07:09:32 PM
Reply #1

Offline Smilingdeath

  • Sr. Member
  • ****
  • Posts: 287
  • Karma: +15/-7
If you use UOSteam, I built an Oganiser mor the things I want from the TMap/SOS Chests.  Bound it to a hot key that turns it on and off as I need it.  Also works for any type of chest in the open world or puzzle chests or dungeon chest.

September 16, 2016, 09:38:13 AM
Reply #2

Offline Zoe

  • Administrator
  • Newbie
  • *****
  • Posts: 7
  • Karma: +1/-0

Here is a sorting macro from our uosteam script library, this might give you a reference to work out the code for your macros

http://uoevolution.com/forum/index.php?topic=7706.msg21974#msg21974

September 16, 2016, 12:20:02 PM
Reply #3

Offline Mandar

  • Newbie
  • *
  • Posts: 44
  • Karma: +0/-0
Thank you Zoe.  I am using this as my core since a lot of the script is there.  I just added auto lockpick and now trying to figure out how/where to add telekenisis or magic untrap..to untrap the chest.... I may have to take a class at the community college.

September 16, 2016, 12:31:04 PM
Reply #4

Offline Mandar

  • Newbie
  • *
  • Posts: 44
  • Karma: +0/-0
Here is part of my macro to unlock it first.  But now I want to untrap it or telekinesis it before going on to the sorting part.  Shouldn't be as easy as adding 'useobject' or cast 'telekinesis'??


//Target object to unlock
promptalias 'lockeditem'
@clearjournal
//Keep trying to unlock until successful
while not @injournal 'This does not appear lock quickly yeilds'
  if @findtype 0x14fc 'any' 'backpack'
    useobject 'found'
    waitfortarget 1500
    target! 'lockeditem'
    pause 600
     endwhile

October 10, 2016, 09:53:37 PM
Reply #5

Offline Smilingdeath

  • Sr. Member
  • ****
  • Posts: 287
  • Karma: +15/-7
Why not use the remove trap skill instead of casting a spell? Or simply open it and use a bandage to heal up, the traps are not that damaging.


I know it would take longer if you were not successful, with the remove trap skill. And the spell or just opening would be a lot faster.


Still waiting for when Kane starts coding higher end traps that are immune to spells or use lethal traps. Would make having a remove trap suit useful at least.


Let me see what I can figure out though and I will post it here.

October 11, 2016, 07:38:19 AM
Reply #6

Offline Mandar

  • Newbie
  • *
  • Posts: 44
  • Karma: +0/-0
Yeah, your right. I tend to over complicate things then try to figure them out. It's just part of the game I enjoy.  Higher level traps would be very cool! 


Sent from my iPhone using Tapatalk

October 11, 2016, 11:49:51 AM
Reply #7

Offline Smilingdeath

  • Sr. Member
  • ****
  • Posts: 287
  • Karma: +15/-7
Have you tried casting the spell before it is unlocked?


Then you could use the same target as the lockpicking portion of the macro.


I will hop in game shortly and see if it works.