Author Topic: Adding looting to OMG's autotamer  (Read 3890 times)

0 Members and 1 Guest are viewing this topic.

Offline NObamaTopic starter

  • Everything I need to know, I learned from Miffy's Item Finder.
  • Elite
  • *
  • *
  • Posts: 3454
  • Activity:
    0%
  • Reputation Power: 43
  • NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.
  • Respect: +161
  • Referrals: 2
    • View Profile
Adding looting to OMG's autotamer
« on: August 30, 2009, 04:57:58 AM »
0
Good morning.

I'm trying to figure out the best way to add looting options to OMG's taming script, simply because I can't bear to let that many gaman horns and so much leather decay.  I'm torn between trying to code something into the main loop, or to use TM's advclawlite.

I think this is my starting point, but please tell me if I'm off:

if #RESULT = FOUND
   {
   set %tamingsuccess TRUE
   gosub movetocreature %closeid
   gosub tamecreature %closeid
   gosub renamerelease %closeid
   gosub killtamedpet %closeid
****insert line here****  <---------------
   ignoreitem %closeid
   if %healthwatcher = TRUE
      gosub healthwatcher
   }

Am I at least in the right place to start tweaking?

Thanks!

Offline rana70

  • Elite
  • *
  • *
  • Posts: 294
  • Activity:
    0%
  • Reputation Power: 5
  • rana70 has no influence.
  • Gender: Male
  • Respect: +37
  • Referrals: 2
    • View Profile
    • MyScripts
Re: Adding looting to OMG's autotamer
« Reply #1 on: August 30, 2009, 06:38:30 AM »
0
Hi,

you insert spot would work.

You need a sub to
- check weigthlimit of your char to prevent from overload
- cut the corpse with a bladed item
- drag leather and horns into your backpack
- cut down the leather
- and finally you have to decide what to do when weightlimit is reached

cu

Offline UOMaddog

  • Maddog
  • Elite
  • *
  • *
  • Posts: 1625
  • Activity:
    0%
  • Reputation Power: 22
  • UOMaddog might someday be someone...UOMaddog might someday be someone...UOMaddog might someday be someone...UOMaddog might someday be someone...
  • Gender: Male
  • Biggest B@D@$$ of the Universe
  • Respect: +165
  • Referrals: 8
    • View Profile
    • Insane UO
Re: Adding looting to OMG's autotamer
« Reply #2 on: August 30, 2009, 07:24:18 AM »
0
Just curious, can you use a bovine slayer on gaman's? then you can skip the leather cutting if I remember correctly
There are 10 kinds of people in this world: those that understand binary and those that don't!

Windows:  A 64-bit tweak of a 32-bit extension to a 16-bit user interface for an 8-bit operating system based on a 4-bit architecture from a 2-bit company that can't stand 1 bit of competition!

Offline rana70

  • Elite
  • *
  • *
  • Posts: 294
  • Activity:
    0%
  • Reputation Power: 5
  • rana70 has no influence.
  • Gender: Male
  • Respect: +37
  • Referrals: 2
    • View Profile
    • MyScripts
Re: Adding looting to OMG's autotamer
« Reply #3 on: August 30, 2009, 08:39:03 AM »
0
Just curious, can you use a bovine slayer on gaman's? then you can skip the leather cutting if I remember correctly

Hi,

I think you speak about a Butchers War Cleaver
basicly you are right .. this weapon will cut the leather automaticly
and it will go into your backpack ....
but the trouble is ... this automatic function really has a little issue
it has a stupid overweight test ... you have to recall way before you are
really fully loaded ... otherwise the leather will be dropped into the corpse.

cu

Offline NObamaTopic starter

  • Everything I need to know, I learned from Miffy's Item Finder.
  • Elite
  • *
  • *
  • Posts: 3454
  • Activity:
    0%
  • Reputation Power: 43
  • NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.
  • Respect: +161
  • Referrals: 2
    • View Profile
Re: Adding looting to OMG's autotamer
« Reply #4 on: August 30, 2009, 08:53:36 AM »
0
Thanks for telling me I'm in the right spot and for the script outline.

I think, as a first attempt, I'll just grab the horns.  Good newb place to start.

=D

Offline NObamaTopic starter

  • Everything I need to know, I learned from Miffy's Item Finder.
  • Elite
  • *
  • *
  • Posts: 3454
  • Activity:
    0%
  • Reputation Power: 43
  • NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.
  • Respect: +161
  • Referrals: 2
    • View Profile
Re: Adding looting to OMG's autotamer
« Reply #5 on: August 30, 2009, 09:12:55 AM »
0
Well, after looking at the script libraries I have already downloaded, I decided to try frankensteining some of Freddy's subroutines from another script into OMG's.  So far, it's working like a charm.

Feels like I cheated though.

 :-\

Offline OMGBurgers

  • Hero Member
  • *
  • Posts: 800
  • Activity:
    0%
  • Reputation Power: 7
  • OMGBurgers has no influence.
  • Respect: +44
  • Referrals: 0
    • View Profile
Re: Adding looting to OMG's autotamer
« Reply #6 on: August 30, 2009, 09:27:39 AM »
0
haha good going! :)

i totally never thought about working taming & gathering horns at the same time.

i had about 40k of those horns at one point till i let my house on atlantic fall

Scrripty

  • Guest
Re: Adding looting to OMG's autotamer
« Reply #7 on: August 30, 2009, 10:51:36 AM »
0
I don't even know what gaman horns are used for.  haha :)   Also, you're not cheating getting that script to work.  Everyone does that.  Why reinvent the wheel when it's already been invented 100 times?  The only time you should do something yourself is if you think you can do it better. :)  Or to fit your personal needs.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13303
  • Activity:
    0.4%
  • 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: Adding looting to OMG's autotamer
« Reply #8 on: August 30, 2009, 10:56:48 AM »
0
One of the prime places they are used is the Strong Box quests in Heartwood.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline NObamaTopic starter

  • Everything I need to know, I learned from Miffy's Item Finder.
  • Elite
  • *
  • *
  • Posts: 3454
  • Activity:
    0%
  • Reputation Power: 43
  • NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.
  • Respect: +161
  • Referrals: 2
    • View Profile
Re: Adding looting to OMG's autotamer
« Reply #9 on: August 30, 2009, 11:05:35 AM »
0
TM hit the nail on the head.  The gaman horns = strongboxes = chance at good loot.

Although, with imbuing on the horizon, the strongbox quests will be much less attractive.  Mostly, I just wanted to see if I could do it.

Thanks to OMG for his amazing, fantastic, awesome script.

 :)

Scrripty

  • Guest
Re: Adding looting to OMG's autotamer
« Reply #10 on: August 30, 2009, 11:11:25 AM »
0
Imbueing isn't going to be as good as people think... Are you going to want to use an imbued weapon to pvm when you cant repair it?  Probly not. :)  If you had 250 durability on an imbued weapon and you used it to farm a monster, how many repairs would you get before it broke?  8?  10?  Barely worth the cost/trouble.  Not sure how they are going to do jewels and such, that might definately be worth it, but I'm guessing they are going to put durability on those too.  You watch.

Offline NObamaTopic starter

  • Everything I need to know, I learned from Miffy's Item Finder.
  • Elite
  • *
  • *
  • Posts: 3454
  • Activity:
    0%
  • Reputation Power: 43
  • NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.
  • Respect: +161
  • Referrals: 2
    • View Profile
Re: Adding looting to OMG's autotamer
« Reply #11 on: August 30, 2009, 07:11:38 PM »
0
For PvM (think: Tamers) imbuing will be the bee's knees.

Any template that doesn't engage in melee is going to benefit enormously.

*break break*

My cobbled together looting subs are working great.  I've got a bug in my check_weight routine that sends me to the bank way too often, but I'm working it out.

Thanks for the encouragement, everyone!

=D

Tags: