Author Topic: Hosebomber's Armor Calculator  (Read 6121 times)

0 Members and 1 Guest are viewing this topic.

Offline HitechsTopic starter

  • Full Member
  • ***
  • Posts: 116
  • Activity:
    0%
  • Reputation Power: 2
  • Hitechs has no influence.
  • Respect: +28
  • Referrals: 1
    • View Profile
Hosebomber's Armor Calculator
« on: November 20, 2016, 11:45:31 AM »
0
Here is where i found - " Hosebomber's Armor Calculator " -
http://www.easyuo.com/forum/viewtopic.php?f=3&t=27016

I noticed it did not add in mods from shoes, sash , earrings and apron.
  • I added the item types and vars for
  • (fc,fcr,lmc,lrc,manaRegen,luck,dci,sdi)
  • I tagged everything i added with (  updated by " hitech " )
  • followed the "flow" the author intended for the script (meaning i put everything in the way he would have)
  • tested on Scriptuo's shard " Rebirth"

I wanted to share just in case someone else was having the same issue i was!

Quote
;======================================================
; Script Name: Hosebomber's Armor Calculator
; Author: Hosebomber
; Version: 2.1
; Client Tested with: 5.0.6c
; EUO version tested with: 1.5 ver 98
; Shard OSI / FS: OSI
; Revision Date: 12-07-06
; Public Release: 11-07-06
; Global Variables Used: N/A
; Purpose: Calculate armor you are wearing for LRC, LMC,
;          SDI, DI, DCI, HCI, EP, Stat bonus, & Stat Regen
; Props to nilmer - used his "Everything property sub"
; ======================================================
; -------------------------Version History--------------
; ======================================================
; updated by " ghost "   11-21-2016
;(hci,stamregen,str,int,hp,stam)
; updated by " hitech " 11-20-2016
; added shoes, sash, earRings and apron
; for a few mage mods (fc,fcr,lmc,lrc,manaRegen,luck,dci,sdi)
; tagged everything I added (i did not remove anything)
;-----------------------------------------------------------
;-----------------------------------------------------------
; Ver 0.1 Inital test/writting version.
; Ver 0.2 Fixed error in targeting item to be insured.
; Ver 0.3 Fixed SDI/DI calculation.
; Ver 1.0 Public release
; Ver 1.1 Increased the #lpc to increase speed and added
;         a check to insure Paperdoll is open.
; Ver 1.2 Added Ancient Samurai Helm type to list.
; Ver 1.3 Fixed issue with reading Luck from Lucky neckless.
; Ver 2.0 Added the ability to target other players and added
;         Enhance Potions.
; Ver 2.1 Added Talisman to list for Enhance Pots.
; ======================================================


There are 1 attachment(s) in this post. You must register and post an acceptable introduction to download
Hosebomber's Armor Calculator.txt
« Last Edit: November 21, 2016, 04:28:35 PM by Hitechs »

Offline The Ghost

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: Hosebomber's Armor Calculator
« Reply #1 on: November 21, 2016, 02:02:51 PM »
0
Thx Hitech,  I work on this last year but never finish it. 

Notice you were missing a few Mods on Items

sub Check_hci
Code: [Select]
if %Sash
{
gosub property %sashid yesno %hci
if %return = yes 2
gosub property %sashid number %hci
set %mod_amount %mod_amount + %number1
}

if %apron
{
gosub property %apronid yesno %hci
if %return = yes 2
gosub property %apronid number %hci
set %mod_amount %mod_amount + %number1
}

sub Check_StamRegen
Code: [Select]
if %Sash
{
gosub property %sashid yesno %StamRegen
if %return = yes 2
gosub property %sashid number %StamRegen
set %mod_amount %mod_amount + %number1
}

sub Check_Str
Code: [Select]
if %earRings
{
gosub property %earRingsid yesno %Str
if %return = yes 2
gosub property %earRingsid number %Str
set %mod_amount %mod_amount + %number1
}

sub Check_Int
Code: [Select]
if %robe
{
gosub property  %robeid yesno %Int
if %return = yes 2
gosub property %robeid number %Int
set %mod_amount %mod_amount + %number1
}

sub Check_Hp
Code: [Select]
if %robe
{
gosub property  %robeid yesno %Hp
if %return = yes 2
gosub property %robeid number %Hp
set %mod_amount %mod_amount + %number1
}

sub Check_Stam
Code: [Select]
if %Sash
{
gosub property %sashid yesno %Stam
if %return = yes 2
gosub property %sashid number %Stam
set %mod_amount %mod_amount + %number1
}
if %Shoes
{
gosub property %shoesid yesno %Stam
if %return = yes 2
gosub property %shoesid number %Stam
set %mod_amount %mod_amount + %number1
}

And
sub Set_variables
Code: [Select]
set %shoes_types nvi_tvi_
set %earRings_types HJG_xxxxx_
set %robe_types FWL_AWL_

Offline HitechsTopic starter

  • Full Member
  • ***
  • Posts: 116
  • Activity:
    0%
  • Reputation Power: 2
  • Hitechs has no influence.
  • Respect: +28
  • Referrals: 1
    • View Profile
Re: Hosebomber's Armor Calculator
« Reply #2 on: November 21, 2016, 03:57:34 PM »
0
Thanks ghost, guess i only fixed what i trying to level out im my suit!

I added your changes to the script downloadable in first post!

Offline HitechsTopic starter

  • Full Member
  • ***
  • Posts: 116
  • Activity:
    0%
  • Reputation Power: 2
  • Hitechs has no influence.
  • Respect: +28
  • Referrals: 1
    • View Profile
Re: Hosebomber's Armor Calculator
« Reply #3 on: May 03, 2017, 07:32:38 PM »
0
hmm guess i need to look at all the gargoyle id's to this one

Offline Hosebomber

  • Newbie
  • *
  • Posts: 2
  • Activity:
    0%
  • Reputation Power: 1
  • Hosebomber has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Hosebomber's Armor Calculator
« Reply #4 on: June 23, 2018, 01:21:22 PM »
0
I'm back and playing UO again.
If this is something that is still being used I may update it.
It's seems easier to just log in using the EC and have it all done for you.
This would also require the update for studded and bone adding 3% LMC etc.

Offline The Ghost

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: Hosebomber's Armor Calculator
« Reply #5 on: June 25, 2018, 04:59:36 PM »
0
Some of us use  it from time to time.

Tags: