ScriptUO

Official ScriptUO EasyUO Scripts => Script Library => Item Evaluation => Topic started by: TrailMyx on June 09, 2008, 12:04:50 PM

Title: TrailMyx's Paperdoll Totalizer
Post by: TrailMyx on June 09, 2008, 12:04:50 PM
Code: [Select]
;=================================================================
; Script Name: TrailMyx's Paperdoll Totalizer
; Author: TrailMyx
; Version: 2.2
; Shard OSI / FS: OSI / FS OK
; Revision Date: 9/29/2007
; Purpose: Summarize all stats contained in your paperdoll.
; Globals:
;=================================================================

(http://www.scriptuo.com/Pictures/tm_totalizer4.JPG)

This is a very simple script that will allow you to summarize what you have in your paperdoll.  This summary includes summing all the modifiers and item properties.  It's not perfect, but it does show when you have things requiring insurance.

Special requirements:
You must not be running another script when you run this one.  Multiple finditems/event property calls will mess with this script.

Warning about Set Pieces:

If you are trying to evaluate "set pieces" this will probably not work correctly with this script.  In fact, the only thing that will get totaled is probably the set bonus, and not the individual piece information.  FYI

Additional Features:
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: rana70 on August 25, 2008, 05:32:07 PM
What the hack does "tomato" stands for ?
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: TrailMyx on August 25, 2008, 05:51:13 PM
What the hack does "tomato" stands for ?

Heh, some people *cough, Cerveza* didn't like the way the numbers were displayed, so one check give numbers first and unchecked puts the numbers last for each intensity.

Just a little bit of scripting humor.  ;)
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Khameleon on August 25, 2008, 05:58:22 PM
What the hack does "tomato" stands for ?

Heh, some people *cough, Cerveza* didn't like the way the numbers were displayed, so one check give numbers first and unchecked puts the numbers last for each intensity.

Just a little bit of scripting humor.  ;)
I wondered the same thing until I checked it :P
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Cerveza on September 19, 2008, 07:11:23 AM
It's pronounced "tomato". Get it right.

And numbers after just set off my OCD perfectionist tendency alarm.
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: TrailMyx on September 19, 2008, 07:34:31 AM
It's pronounced "tomato". Get it right.

And numbers after just set off my OCD perfectionist tendency alarm.

Funny, I thought it was pronounced "tomato"?  Odd.  :p
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: TrailMyx on November 03, 2008, 09:30:35 AM
A question came up about "set pieces" and this script.  Yes, I know it's limiting to not count the set pieces, but there isn't a real easy way to allow for counting set pieces because you need:

1) to know what the sets are
2) to know that you have all the pieces in the set
3) ??

Since certain sets have different functions, it's really hard to parse the intention of each set to include the particular stats on your final total.  One just has to think about the logistics of this.  Yuck.

So unless I can come up with a sexy-easy way to do this, I will probably not be updating the script with this feature.  Sorry.
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Khameleon on November 03, 2008, 01:58:10 PM
well, the only thing I can really see is, if you scan for Full Armor set Present
then look only for lines with (total), but then some sets have skill bonus's so ya, its hard to have a basic scanner without setting up every set.
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: TrailMyx on November 04, 2008, 12:55:24 PM
Ya, the main reason I put out the Totalizer is because of how similar it is to the CLAw (same-ish search engine).  So it's lightweight and fast and not particularly complicated.  Set pieces really mess with that simplicity because I now have to keep track of all set pieces, their stats and mod additions, number of pieces, names, etc.  And also this becomes very specific to OSI.  One thing I try and code for is scripts that are compatible with RunUO as well as EA/OSI.  Most RunUO shards have different sets and even worse have different property descriptions.

But I did look into it at one point from another person's request, but after that initial investigation I determined I wasn't going to be motivated to continue the pursuit.
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Khameleon on November 04, 2008, 02:11:24 PM
I think its perfect the way it is.  If I'm going to wear a Set Armor I'm gonna know my stats or reason for wearing it.
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: TrailMyx on January 03, 2009, 09:54:56 AM
Oops, had to fix a hopping listbox...  :)
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Xclio on January 03, 2009, 01:00:13 PM
Updated my version :)
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: TrailMyx on January 03, 2009, 03:39:43 PM
Totalizer fun:

One of my ring/bracelet container totals:

Code: [Select]
Summed Attributes:
Faster Casting: 17
Faster Cast Recovery: 26
Damage Increase: 245
Hit Chance Increase: 95
Defense Chance Increase: 127
Lower Mana Cost: 84
Lower Reagent Cost: 92
Spell Damage Increase: 78
Luck: 1446
Physical Resist: 79
Fire Resist: 136
Cold Resist: 123
Poison Resist: 137
Energy Resist: 132
Strength Bonus: 50
Dexterity Bonus: 51
Intelligence Bonus: 70
Enhance Potions: 175
Anatomy: 15
Animal Lore: 35
Animal Taming: 174
Archery: 34
Bushido: 14
Chivalry: 52
Fencing: 22
Focus: 31
Discordance: 59
Healing: 66
Mace Fighting: 21
Magery: 32
Meditation: 60
Musicianship: 23
Necromancy: 12
Ninjitsu: 9
Parrying: 27
Peacemaking: 45
Provocation: 68
Spirit Speak: 12
Stealing: 23
Stealth: 13
Swordsmanship: 12
Tactics: 89
Veterinary: 81
Wrestling: 22
Other Attributes:
Night Sight

lol!
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Xclio on January 03, 2009, 05:40:57 PM
I don't keep that much jewlery so I am pretty sure I would lose that lol.
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: asm0deus on February 12, 2009, 08:12:13 PM
heard tuns about the script. nice work.
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Khameleon on February 13, 2009, 05:25:22 AM
it might just be me.. but HLA wasn't being displayed on the main screen when I had my Mace and Shield glasses on.
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Cerveza on February 13, 2009, 06:19:12 AM
You can thank me for the Tomato... or Tomato, however you choose to pronounce it.
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Khameleon on February 13, 2009, 07:25:39 AM
I would have went with the Roof or Roof.  or.... Egg or Egg
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: TrailMyx on May 25, 2009, 01:46:04 AM
Updated to 2.3

Added the same BBCode generation capability as I just did for the CLAw.  Now you can dump information resulting from a "Totalize" that's compatible with BBCode for easy forum posting.  Example:

Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Khameleon on May 25, 2009, 05:55:52 AM
the other info Id like to save, is if they are wearing spacial armor...
this is a great addition as well :)
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: TrailMyx on May 25, 2009, 08:46:41 AM
Are you talking about armor sets?  If so, that's probably something I won't ever add.  The problem with armor sets is that you don't really know if it's complete or not unless you completely document all the armor sets in existence.  That kinda goes against the nature of this script because it just gets all the information from the #PROPERTY and doesn't even care what item type is what.

Plus people like me don't own a complete set of nuthin.  :p
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Xclio on May 26, 2009, 11:34:19 AM
Sweet an update to the most utilized script that I have ever had.
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: mariete on June 12, 2009, 08:45:45 AM
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Cerveza on June 12, 2009, 08:49:25 AM
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Toptwo on June 12, 2009, 08:54:50 AM
Think I will let Cerv have fun with this one :)
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: DeadIssue2 on June 12, 2009, 09:29:44 PM
Very Nice. I get so sick of pen and paper and this will solve that for sure. Thanks as always TM.
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Khameleon on June 12, 2009, 09:51:52 PM
I just thought about that addition I was talking about..
being able to load the info back into the program rather than pull up web page.
that way you can click each item and see that items Mods.
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: TrailMyx on June 12, 2009, 10:31:18 PM
Hmm, did you try clicking on each item?  It will bring up the items individual stats in the upper-right listbox.

Otherwise I'm not sure what you are talking about... :p
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Khameleon on June 13, 2009, 09:40:07 AM
what I mean is after I save the file, can I load it back up at a later time.
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: TrailMyx on June 13, 2009, 11:47:04 AM
Ah, that's an entirely different script.  But one that I've thought about for a while now.  Was going to basically fuse Miffy's item finder with the CLAw, and add some magic.  ;)
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Khameleon on June 13, 2009, 02:29:26 PM
I gotta look into that miffy's item finder... been reworking some character suits and items lately.
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: TrailMyx on June 13, 2009, 02:52:48 PM
I'm not sure what loading/saving can do to help ya.  One script I was going to work on is an overall inventory/filter script.  You set up your overall item inventory, then can parse it based on CLAw-like searches.  It's a bit of a large one, and I'm kinda busy at the moment; fishing.
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Khameleon on June 13, 2009, 07:22:09 PM
it can't really help me.. sometimes I like to go back and look at how other players have there suit setup, I wounder to myself what there leather barbed legs looked so on.. no biggie.

ah yes. fishing.. I'm trying to set up a new fisher, I can't get him to gain off the server line.. hell even off the shores its like he's locked at 25.. with tons of points to raise.
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: TrailMyx on June 13, 2009, 07:31:12 PM
Try finding another NPC to buy a little more fishing from...  I think you are under the "magic number"
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: TrailMyx on September 14, 2009, 12:28:20 PM
Don't worry, UO will get there soon enough. :)
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Cerveza on February 13, 2011, 05:14:52 AM
Uhem... seems my Quiver of Infinity 10% damage bonus isn't being reported.
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: TrailMyx on February 13, 2011, 09:02:34 AM
Probably not.  Damage Modifier: 10% is not the same as Damage Increase in the eyes of the totalizer.  You'll have to take that computation into consideration yourself.  The totalizer sums all literally-like items together.  So the summation of Red + Red + Red will occur.  However, it won't sum together Red + Crimson + Coquelicot.

If you want to see this modifier, add this to around line 175:

Code: [Select]
 set %name %name , Damage_Modifier$yes$
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: gimlet on February 13, 2011, 11:33:06 AM
Is that to mato or to mat to?
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Khameleon on April 18, 2012, 03:24:56 PM
@TM:
I love how easy you made it to add new Attributes...
I added these to your script feel free to update...

Code: [Select]
  set %name %name , Energy_Eater$yes$
  set %name %name , Fire_Eater$yes$
  set %name %name , Kinetic_Eater$yes$
  set %name %name , Poison_Eater$yes$
  set %name %name , Cold_Eater$yes$
  set %name %name , Damage_Eater$yes$
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: TrailMyx on April 18, 2012, 03:35:25 PM
Ah great!  Thanks for that, I certainly will add those whenever I get around to updating this.  I believe I have an unreleased version too.  I'm done with my slot machine automation script for Lexia, so I need to finish a couple other projects like the NGFS commander.
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: tehmt on April 07, 2013, 11:32:35 AM
set %name %name , Swing_Speed_Increase$yes$

Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Grandewd on September 25, 2014, 09:02:31 PM
 :D
Good grief!

Yet another TM original I've stumbled upon that has put a smile on my face....

First, I can put it on a menu button and instantly see what I'm forgetting to bring - or - didn't know I lost (Siege).... hehehe, I love it!

Second, I can quickly inventory a chest and get an html of what's in it.... Ye ha!

You the man son...  ;)
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: TrailMyx on September 26, 2014, 07:24:44 AM
I just adapted the analysis guts from the CLAw for this one.  Glad you've found it useful!
Title: Re: TrailMyx's Paperdoll Totalizer
Post by: Damien1 on September 15, 2018, 04:39:36 PM
Great script used it before and lost it :) glad to find it again