Author Topic: The Taming Appraiser  (Read 77548 times)

0 Members and 1 Guest are viewing this topic.

Offline CervezaTopic starter

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
The Taming Appraiser
« on: March 13, 2009, 04:33:16 PM »
0
Code: [Select]
;=================================================================
; Script Name: The Taming Appraiser
; Author: Cerveza
; Version: 5.0L (Lite)
; Shard OSI / FS: OSI / FS?
; Revision Date: 02/23/2011
; Purpose: Evaluate animals to determine best pets
; Special Thanks:
;   Kal In Ex - KalOCR
;   Raziel's Floating point math subs
;=================================================================
;    ____         _      _  __   _ ___    
;   / __/ ___ _ _(_)_ _ | |_\ \ / / _ \  
;   \__ \/  _| `_| | ` \|  _/ / \ \/ \ \  
;   __/  \ (_| | | | |) | | \ \_/ /\_/ /  
;   \____/\__|_| |_|  _/ \_\ \___/\___/  
;                  |_| www.scriptuo.com                    
;=================================================================
; Revision History:
; v3.1 - Initial SUO Release
; v3.2 - Fixed Average Stats
; v3.3 - added greater dragons, minor menu fixes
; v3.4 - restructured script
; v3.5 - added skill percentages, menu optimization (not in Lite)
; v3.6 - adjusted LPC for OCR portion
; v3.7-4.0 - stuff I don't remember but was probably really cool
; v4.0L LITE - quick stats and resists only
; v4.1 LITE - added gumpwait for stability and timer
; v4.2-4.9 - stuff I don't remember but was probably really cool
; v5.0L - reverted dragons back to event property
;       - fixed script hang when clicking non animal
; v5.1L - added bane dragons
;=================================================================
; ToDo List:
; - Scoring System
;=================================================================
; Files Needed: Make sure they are all in your EUO directory
; - KalOCR.txt <- Used to get animal lore stats
;=================================================================

----->Requires Kal's OCR to work!<-----

NEW KALOCR REQUIRED
*Kal has updated his OCR because the Animal Lore gump changed size. Be sure to d-load the latest version!

Helps tamers to select the best pets. Evaluates pets using Animal Lore and shows the % of maximum for stats and resists.

The scoring system is NOT completed. Average for resists is shown.

Not a completed script yet. I want to put in more functions.

Planned Improvements:
- scoring system
- user input color coded system
-- eg: under 90% is RED, 91-96% is YELLOW and 97-100% is GREEN
- wild / tame switch so users can evaluate already tamed pets

Tamers - check this one out. I think you'll likey...  8)

I've decided to no longer support the full version. The Lite version (Stats and Resists) works very well and is much faster then pulling up another page in the gump to evaluate skills. There's a chance I could add the full version back at a later date, but I really don't see much of a need for it. There are some pets that skills are the tamers main concern (Greaters, Runes, etc...) but for the every day tamer, the Lite version works for 99% of what is wanted/needed. The Improvements listed above remain. There is more that I would like to put in to polish this script, but for the time being it's a useful tool for tamers to find good pets.

Updated:

v3.2 - fixed average stats
v3.2a - minor menu fixes

Updated:

v3.3 - added greater dragons

*Note: Dexterity is NOT used for averaging Stats! It's the only stat that can change significantly after taming.

Updated:

v3.4 - script structure update, more modular design
v3.4a - bug fix
v3.4b - added percentages for skills - NOW WORKING!
v3.5 - menu optimization
v3.6 - adjusted LPC for OCR
v3.7 - adjusted delays and optimized LPC

Updated:

v 3.7a - added nitemare type RJ

UPDATED:

V 4.1 Lite uploaded and working quicker then ever.

UPDATED: 01/12/2011

V 4.2L added Bane Dragon

V 4.3L added Greater Dragon item type, they finally split Dragons and Greaters types

UPDATED: 02/23/2011

V 5.0L reverted Greater Dragon item type, they are NOT split from Dragon types
V 5.0L fixed script from hanging if you miss your target when selecting
V 5.0L removed Bane Dragons for a bit while I get them fixed up
v 5.1L added band dragons

There are 3 attachment(s) in this post. You must register and post an acceptable introduction to download
TALite.JPG
Taming Appraiser 50L.txt
Taming Appraiser 51L.txt
« Last Edit: April 12, 2011, 03:44:23 AM by Cerveza »
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

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: The Taming Appraiser
« Reply #1 on: March 13, 2009, 08:08:05 PM »
0
oh wow, cool, i'm new to the whole taming thing, so this will be very helpful.

Offline CervezaTopic starter

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: The Taming Appraiser
« Reply #2 on: March 14, 2009, 05:16:02 AM »
0
There's a little glitch with the "Wild / Tame" switch.

I want to enable users to see how tame pets rank, as well as wild pets.

The glitch is that Hiryu's and Dragons each use the same item type, respectively.

How I get around that for Hiryu's is, if the target is an HH (hiryu) then I do an event #property on them and look for the word "lesser". If it's not found then the script uses the stats for the Hiryu instead of the Lesser Hiryu.

I can do the same thing for the super dragons. They are called "Greater Dragon" in the wild right?

The problem is that once tamed, and the name is changed, the script will not identify them correctly.

I thought about making a default attribute "zone" so if HP's are <600 then it's a Lesser Hiryu, and if they are >600 it's a Hiryu. I might still use this method. I'll probably write up a test version and see if it's accurate enough.

My first goal is getting super dragons put in, and ensuring it's a one click. So I work on that.
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline Oracle

  • Hero Member
  • *
  • Posts: 888
  • Activity:
    0%
  • Reputation Power: 14
  • Oracle barely matters.Oracle barely matters.
  • Gender: Male
  • We always want something that we cannot have...!
  • Respect: +97
  • Referrals: 3
    • View Profile
Re: The Taming Appraiser
« Reply #3 on: March 14, 2009, 12:24:16 PM »
0
Cerveza, this Script is definetly needed (and by me!).  I do not know why, but I always have a hard time choosing which Cu is the best for fighting.  When I think it is good, someone comes along and says that the Strength is too low or the resists are not that great.  Super Dragons as well.  Choosing Colors for the Cu is not that hard.  I will definetly use this Script and be more than happy to test it out for you!

ORACLE
ORACLE
Get me a Straw...because I suck...!
PIXEL CRACK -- Love it! Crave it! Want it! Got to have it!

Offline CervezaTopic starter

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: The Taming Appraiser
« Reply #4 on: March 14, 2009, 12:38:14 PM »
0
Great to hear! Script testers are the best peoples.

I use it in a certain way, and might not encounter the same things others will. That's why it's great to get solid feedback from other users.

I should have Super Dragons in today.

Be sure to post up your comments, good and especially bad!
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline CervezaTopic starter

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: The Taming Appraiser
« Reply #5 on: March 14, 2009, 02:52:36 PM »
0
Added Greater Dragons
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline b@ndito

  • Jr. Member
  • **
  • Posts: 48
  • Activity:
    0%
  • Reputation Power: 0
  • b@ndito has no influence.
  • Respect: +5
  • Referrals: 0
    • View Profile
Re: The Taming Appraiser
« Reply #6 on: March 16, 2009, 10:59:18 AM »
0
very nice script, it remembers the tool of UO utility :)

Offline Oracle

  • Hero Member
  • *
  • Posts: 888
  • Activity:
    0%
  • Reputation Power: 14
  • Oracle barely matters.Oracle barely matters.
  • Gender: Male
  • We always want something that we cannot have...!
  • Respect: +97
  • Referrals: 3
    • View Profile
Re: The Taming Appraiser
« Reply #7 on: March 17, 2009, 08:48:29 AM »
0
Cerveza,

Are you just having this problem with the Greater Dragons or it with all Tameable Animals?  Where are you getting the Minimum and Maximum Stats from?  UOGuide?  I am asking as I ran the script on my Cu Sidhes and they all came up with % in the stat boxes.

ORACLE
ORACLE
Get me a Straw...because I suck...!
PIXEL CRACK -- Love it! Crave it! Want it! Got to have it!

Offline CervezaTopic starter

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: The Taming Appraiser
« Reply #8 on: March 18, 2009, 07:13:45 AM »
0
No problems at all. I used the Japanese Tamers site, along with UOGuide and UO itself... Stratics also.

For my next amazing feat... I'll pull this rabbit outta my hat.

Again? That trick never works.

I'll be putting in colors.

96-100
90-95
<89

Sound about right? I'll put them in each % result box as well as the overall score.
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline CervezaTopic starter

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: The Taming Appraiser
« Reply #9 on: March 20, 2009, 07:39:17 AM »
0
Updated: V3.4b

Percentage for Skills now works.

ToDo: Optimize script menu, math, tame switch, Greater/Lesser switch.

Inputs?
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline Oracle

  • Hero Member
  • *
  • Posts: 888
  • Activity:
    0%
  • Reputation Power: 14
  • Oracle barely matters.Oracle barely matters.
  • Gender: Male
  • We always want something that we cannot have...!
  • Respect: +97
  • Referrals: 3
    • View Profile
Re: The Taming Appraiser
« Reply #10 on: March 20, 2009, 06:19:16 PM »
0
I know I am doing something wrong because after I tamed my Greater Dragon I used the Taming Appraiser on it and I just received --'s and N/A's.  I have both Kalocr and 3.4b in the EasyUO directory.

Average Stas 0. / 0. Averagew Resists


ORACLE
ORACLE
Get me a Straw...because I suck...!
PIXEL CRACK -- Love it! Crave it! Want it! Got to have it!

Offline CervezaTopic starter

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: The Taming Appraiser
« Reply #11 on: March 20, 2009, 06:54:15 PM »
0
I just tried the current available version and everything seemed to work.

Make sure you are targetting the dragon, if you miss when you do lore you get that sometimes.

What name is showing up when you lore it? If the word "greater" isn't in it's name any longer, then the appraiser will think it's a regular dragon and all the numbers will be off. Whats showing up for Max HP's?
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline Oracle

  • Hero Member
  • *
  • Posts: 888
  • Activity:
    0%
  • Reputation Power: 14
  • Oracle barely matters.Oracle barely matters.
  • Gender: Male
  • We always want something that we cannot have...!
  • Respect: +97
  • Referrals: 3
    • View Profile
Re: The Taming Appraiser
« Reply #12 on: March 20, 2009, 06:57:10 PM »
0
OK I will take a look --- so this will not work for Tamed and named Pets then to appraise them to see if they are any good or not?
ORACLE
Get me a Straw...because I suck...!
PIXEL CRACK -- Love it! Crave it! Want it! Got to have it!

Offline CervezaTopic starter

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: The Taming Appraiser
« Reply #13 on: March 20, 2009, 07:19:45 PM »
0
Not yet. I have to put in all the numbers for tamed pets, and include a switch (tame?) I also have to include two buttons to evaluate tamed Greater Dragons, and Lesser Hiryu's.

The script currently does an event property on those two to determine if the word GREATER (for dragons) or LESSER (for hiryu's) is in their name. If NOT then the script assumes the animal is the other. When you rename a Greater Dragon, and take the word "Greater" out of it's name, then the script assumes it's a regular.
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

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: The Taming Appraiser
« Reply #14 on: March 22, 2009, 10:56:22 AM »
0
thats a good way to check, if your having problems determining tamed pets, maybe look for
IF Dragon HP is > 600 then its a Greater.  I don't belive I've seen a Normal Tamed Dragon have more than 500 Hp's

Tags: Cerveza