lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO Libraries

Category: LotRO LibrariesCalcStat
Interface Information
Download
How do I install this? (FAQ)
Name: CalcStat   Popular!
Author:
Date: 08-02-2024 08:22 AM
Size: 162.64 Kb
Version: 2.4
Rate File: 5 out of 5 with 3 votes  
Pictures
Click to enlarge 

Views: 0
Size: 455.69 Kb
Dimensions: 883 x 769
CalcStat Expressions
 
Description
This package adds stat calculation support to plugins (and provides the plugin CalcStat-Expressions, so users can make stat queries and calculations themselves).
Calculation examples are:
1) all what is needed for Rating to Percentage (or vice versa) calculations
2) item stat calculations based on item level
3) skill/effect stat calculations based on player level
4) virtue stat calculations based on rank, including required xp

I created CalcStat initially for my LotroPlan spreadsheet, but I've expanded it and made it more flexible, so it can be used in many other types of applications, like Lotro plugins, websites and scripts.
An example of a plugin is StatWatch and of a website application is LOTRO forum topic / LOTRO Ratings Calculator. CalcStat is also being used at Lotro-Wiki.

Developer information:
The included VisualBasic script compiles statdata.csv which results in the CalcStat.lua file (option 2) with the major calculation function (other output formats like StarBasic/VBA, VB-script, PHP, JavaScript, Java and Python are also available). Statdata.csv contains currently ~3700 entries (an entry is one stat calculation segment). You can most conveniently view the .csv with a spreadsheet application.
The download contains standard the percentage calculations only version for plugins which can be included in a plugin by importing "Giseldah.CalcStat".
An Apps Script Library is available for use in Google Sheets with Script ID: 1AWxeK788k4nMhwzr2ZSvnvdnIIyIBe366nNkAPuBdkjNSL_HI AA5CM_m

Code:
version 1.0.1:
- fixed a bug in Roman number decoding for LI titles.

version 1.0.2:
- fixed a bug in Roman number decoding for LI titles reprisal. :o
- added comments to the calculation function support file CalcSsup.lua

version 1.0.3:
- implemented a binary search tree for the stats lookup. tree height/depth is 10 at the moment (max capacity 2^10-1=1023 stats).

version 1.0.4:
- added more comments to statdata.csv
- some stats were added or changed(made current with BR U23.2p2) see post below.

version 1.0.5:
- added TpenArmour, TpenResist and TpenBPE with the new penetration calculations. N=tier, so like CalcStat("TpenArmour",120,3) for Tier 3.
- added T2penArmour which is the same as the old T2penMit stat (reused in the game). Other old stats T2penResist etc are also still available. Old pen stats are used in older instances (instances without T3).

version 1.0.6:
added some basics like:
- all character class base stat tables
- hope/dread percentages
- stat tome main values: CalcStat("TomeMain",nil,"XVIII")
- stat tome total values (adds up all up to rank): CalcStat("TomeTotal",nil,"XX")
new calculation type 'D'(ata lookup table) for values of which I can't find a good formula fit for :rolleyes:

version 1.0.7:
- added virtue stats. Like some other stats, virtue stats come in 3 strengths - L(ow), M(edium) and H(igh). Example: CalcStat("VirtMoraleH",20)

version 1.0.8:
- added new virtue system stats. example: CalcStat("VirtCompassion",60,"PhyMit") gives Physical Mitigation Rating rank 60 Compassion or CalcStat("VirtZeal",49,"VPTacMas") gives Virtue Passive Tactical Mastery Rating rank 49 Zeal.
- VRnkToILvl: virtue rank to item level mapping

version 1.0.9:
- VRnkCap: virtue rank overall cap (60)
- VRnkLvlCap: virtue rank character level based cap
- VirtRnkCost: virtue xp cost single rank
- VirtRnkCostTot: total virtue xp cost to reach rank from 0

version 1.0.10:
24.2 captain stat changes
- Blade-brother: CptBladeCritDef, CptBladePhyMas, CptBladeTacMas
- Shield-brother: CptShieldCritDef, CptShieldPhyMas, CptShieldTacMas
- Song-brother: CptSongCritDef, CptSongPhyMas, CptSongTacMas
- IDOME: CptIDOMEMain, CptIDOMEVitality
- Cry of Vengeance: CptCoVMain, CptCoVVitality, CptCoVPhyMit, CptCoVAttDurP
- Tactic: Relentless Attack: CptRelentlessCritHit, CptRelentlessPhyMas, CptRelentlessTacMas
- Tactic: On Guard: CptOnGuardParry
- Defending: CptDefendingArmour

version 1.0.11:
solves an issue with finding stats which have digits in the statname

version 1.0.12:
Changes (based on Bullroarer Update 24.3 - Preview #1):
- adjusted percentage/rating calculations for levels 1-99, because of new roundings in cap rating progressions, which caused percentages for Light & Medium mitigations to be slightly higher than before.
- adjusted percentage/rating calculation for levels 101-104, because I detected a bump in cap rating progressions at levels 101 & 102 (lvl101=1.1*lvl100, lvl102=oddity like lvl76).
- added 25% extra bonus percentage to Partial Evade Mitigation at Level 1 (PartEvadeMitPBonus)

version 1.0.13 (became 1.0.14 by mistake):
In this version I've implemented a standard progression (StdProg) from which most most of the stats are now calculated more or less directly. This is in preparation for stat changes (and so standard/normal progression change) which next expansion will bring with a level cap change, item level changes etc. No real changes in percentage calculation, except under the hood things like mentioned. Some stats changes:
- Battle & Warding lore scrolls stats.
- Max morale and power scroll Morale.
- Stats scaling by character level as used on Shield of the Hammerhand, High-Elf earrings and racial traits.

version 1.0.14b:
Contains changes for U25 preview #3 on BR. Not to be used on live servers.

version 1.0.15:
Contains all updates for U25.

version 1.1.0:
Added class and race data, like main stat contributions and race traits.
Changed the way virtue stats are arranged.
The compiler can now output various versions for efficiency: "Full" and "Percentage calculations only".

version 1.1.1:
Fixed Minstrel Enduring Morale Trait (MINENDMORALE) and renamed _Version to -Version

version 1.1.2:
Fixes AwardLvlToILvl.
This version includes the support files for all 3 script types (Lua-script/StarBasic/VB-script).

version 1.2.0:
CalcStat is now a global library, which can be imported by plugins with:  import "Giseldah.CalcStat"
Includes support for plugin compendium.

version 1.2.1:
U25.1 changes:
- Beorning/Champion stat contributions.
- ICMR/NCMR progression change (more in line with vitality now).

version 1.3.0:
- U25.1.1: Vitality fix Stout-axe racial trait.
- Fixed a bug in @ScaleArmour calculation.
- Major update of compiler to make it more flexible.
- All CalcStat functionality now in one file.
- Added PHP-script compile option for use of CalcStat on websites.

version 1.3.1:
Adds JavaScript as compile option (and some example html).

version 1.3.2:
- Fixed a possible bug for Lua-script.
- Script option 1 should now be VBA/MS Office compatible (untested).

version 1.3.3:
- Fixed some bugs for JavaScript.
- Slightly expanded "Percentage calculations only" set with class information stats CanBlock and ArmourType.
- New stat LevelCap (130).

version 1.4a254p1:
Contains a lot of changes for U25.4 preview #1 on BR. Not to be used on live servers.

version 1.4:
This version contains all updates for U25.4. All stats were checked during the beta time and a large part also with final 'live' client.

version 1.4.1:
Solves a bug which caused old trait/skill stats to scale to above lvl130.

version 1.4.2:
Adds stats LvlExpCost (amount of xp needed for single level from previous level) and LvlExpCostTot (total amount of xp needed to reach level). These stats are not capped by level cap. They are included in percentage-only set for TitanBar-plugin.

version 1.5.0:
- Contains a lot of new stats which are related to Trait trees (skills/bonuses/passives). See examples for a list.
- Added a new stats set named "Trait trees stats" in the compiler. This is an optimized set for using these kind of stats only.

version 1.5.1:
Adds stat SkillPowerCost. This stat gives the skill power usage value for a character level L, based on a basevalue N (power increase at low levels) such as (typically) 0.5, 1, 1.5, 2 etc.

version 1.5.2:
Adds stats LvlBonusPhyDmg, LvlBonusTacDmg and LvlBonusHeals for skill output calculations.

version 1.5.3:
- Renamed LvlBonusHeals to LvlBonusMorRes (morale restoration skills).
- Added LvlBonusPowRes (typical N=0.5,1,2.5,5) for power restoration skills.
- Added LvlBonusRuneofRes: Rune of Restoration Level Bonus

version 1.5.4:
Fixes a bug in LvlBonusMorRes, so values above lvl115 show up again.

version 1.5.8:
- LI title stat changes up to BR U28.3p1
- Might stat bug (in-game) on items implementation
- MP buffs adjustments U28.2

version 1.5.9:
- fixes LI title stat TitPhyMas
- CalcStat can now be loaded as a plugin and provides a command line calculation option. This is not required if only used as a library.

version 1.6.0:
Main new functionality in this version is CalcStat support for Lotro-Wiki! To that end, the compiler has now an extra output script option for Lua which is supported by MediaWiki in combination with the Scribunto extension.
Other:
- reworked Audacity and Battlefield Promotion buffs in separate creep and freep stats.
- added Burglar Reveal Weakness & Guardian's Ward stats.

version 1.7.0:
CalcStat can now run in MS Excel (select VBA output in the compiler) and a new output option for Java has been added.
New stats WpnDPS and WpnDmgMin/WpnDmgMax for non-LI weapons.
A lot of stats for calculating sell values of items have been added, but you need to know the right code (item defined).

version 1.8.0b6:
This is a beta version with support for U31. A lot of stats have changed. Not all stats have been updated yet, but most are fine now like:
- rating percentages
- normalized stats (includes virtues)

version 1.8.0:
Adds the following updates to the beta:
- weapon dps calculations
- item level tables dropped/awarded items

version 1.8.1:
Contains some changes introduced in U33 (and more):
- Tactical Mastery/Physical Mastery/Critical Rating stats are consistent again
- Some armour calculations were fixed
- Minstrel Enduring Morale
No changes in percentage calculations.

version 1.9:
Various stat changes for U34. Does not change percentage calculations.
version 2.0:
This version introduces a new loadable plugin. The command line for basic CalcStat has been removed and you can now use CalcStat Expressions in a window.
Also adds new Stat tome values and probably stuff that I forgot.

version 2.0.1:
A full version with all stats is now included as well (compiler option 1: Full version), so always all stats are available within CalcStat Expressions.

version 2.0.2:
Expressions: adds scroll bars to text boxes and displays help text correctly from the top.
CalcStat: contains a fix for perk stats.

version 2.1:
Incorporates many changes for U35.

version 2.1.3:
Bugfix for LinFmod Lua version.
Added stat CombatBaseTacHPSNoClass which provides the HPS number for classes without HPS on the class item. Also, some other skill calculation related stats.
Extended the number of possible variables in Expressions to 1000.

version 2.2:
Contains changes for U37.
Adds Python as compiler output script option.

version 2.2.1:
Contains changes for U37.0.1:
Outgoing Healing Rating, Burglar stat contributions.

version 2.2.2:
Contains changes for U37.1:
Physical DPS values, some legacy stat changes.
Added an effect/traits informational file.

version 2.2.3:
Contains changes for U37.2:
Mariner- new base stats & class main stat derivations.
Updated U37 Tactical DPS & HPS stats (basis for skill damage/healing calculations).

version 2.3:
Contains changes for U38:
Level cap increase to 150/549, new class main stat derivations, etc.

version 2.3.1:
Contains changes for U38.1:
Creep stats updates. Warden Resistance rating contribution from Will.

version 2.3.2:
Contains changes for U39:
Some creep stats and item level progression updates.
TPenArmour,L,1 now returns the mitigation rating penetration value as used in Depths of Mâkhda Khorbo Tier 1. TPen stats are now like T1=0.5 T2=1 T3=2.

version 2.3.3:
CalcStat Expressions: new functions Choose (like in spreadsheets) and While (loop) and revised escape characters support. See https://lotro-wiki.com/wiki/Module:CalcStat/doc for details.

version 2.4:
Contains changes for U41:
Item stats changes around point ilvl50 and from ilvl451 towards ilvl499. This affects also virtue stats (item stat based).
Adeventurer awarded item levels changed.
Archive List (Old Versions)
File Name
Version
Size
Author
Date
2.3.3
161.85 Kb
Giseldah
03-27-2024 06:45 AM
2.3.2
160.42 Kb
Giseldah
03-15-2024 06:29 AM
2.3.1
160.62 Kb
Giseldah
12-06-2023 07:47 PM
2.3
160.46 Kb
Giseldah
11-08-2023 03:45 PM
2.2.3
167.55 Kb
Giseldah
10-04-2023 02:42 AM
2.2.2
167.08 Kb
Giseldah
09-13-2023 12:33 PM
2.2.1
155.52 Kb
Giseldah
09-06-2023 10:12 AM
2.2
155.24 Kb
Giseldah
08-29-2023 11:04 AM
2.1.3
156.87 Kb
Giseldah
04-11-2023 07:43 AM
2.1
155.43 Kb
Giseldah
03-22-2023 11:13 AM
2.0.2
160.90 Kb
Giseldah
02-02-2023 09:18 AM
2.0.1
160.54 Kb
Giseldah
01-31-2023 06:41 AM
2.0
114.88 Kb
Giseldah
01-30-2023 10:54 AM
1.9
84.60 Kb
Giseldah
11-17-2022 06:56 AM
1.8.1
84.46 Kb
Giseldah
04-21-2022 11:19 AM
1.8.0
81.94 Kb
Giseldah
12-01-2021 06:24 AM
1.8.0b6
81.42 Kb
Giseldah
11-21-2021 01:16 AM
1.7.0
73.89 Kb
Giseldah
04-07-2021 04:01 PM
1.6.0
60.71 Kb
Giseldah
02-19-2021 05:29 AM
1.5.9
59.25 Kb
Giseldah
01-15-2021 11:42 AM
1.5.8
57.46 Kb
Giseldah
01-14-2021 04:30 AM
1.5.4
53.61 Kb
Giseldah
07-30-2020 05:07 AM
1.5.3
53.61 Kb
Giseldah
07-22-2020 04:02 AM
1.5.2
53.33 Kb
Giseldah
07-19-2020 01:19 PM
1.5.1
53.02 Kb
Giseldah
07-14-2020 06:54 AM
1.5.0
52.93 Kb
Giseldah
07-13-2020 07:12 AM
1.4.2
48.50 Kb
Giseldah
05-08-2020 03:20 AM
1.4.1
47.55 Kb
Giseldah
03-11-2020 02:28 AM
1.4.0
47.51 Kb
Giseldah
03-08-2020 05:11 AM
1.4a254p1
48.10 Kb
Giseldah
02-16-2020 07:11 PM
1.3.3
78.05 Kb
Giseldah
01-26-2020 02:04 PM
1.3.2
47.86 Kb
Giseldah
01-02-2020 10:36 AM
1.3.1
48.62 Kb
Giseldah
12-21-2019 10:54 AM
1.3.0
47.29 Kb
Giseldah
12-19-2019 10:09 PM
1.2.1
45.67 Kb
Giseldah
12-13-2019 01:29 PM
1.2.0
45.17 Kb
Giseldah
12-09-2019 08:11 AM
1.1.2
37.94 Kb
Giseldah
12-09-2019 04:34 AM
1.1.1
32.68 Kb
Giseldah
11-20-2019 02:23 AM
1.1.0
32.69 Kb
Giseldah
11-18-2019 07:27 AM
1.0.15
29.84 Kb
Giseldah
11-09-2019 04:40 AM
1.0.14b
29.63 Kb
Giseldah
11-01-2019 02:48 AM
1.0.14
29.24 Kb
Giseldah
10-13-2019 12:53 PM
1.0.12
29.90 Kb
Giseldah
09-21-2019 08:50 AM
1.0.11
29.88 Kb
Giseldah
08-24-2019 01:22 AM
1.0.10
29.89 Kb
Giseldah
08-05-2019 09:42 AM
1.0.9
29.57 Kb
Giseldah
06-16-2019 07:25 AM
1.0.8
29.40 Kb
Giseldah
06-15-2019 08:05 AM
1.0.7
32.70 Kb
Giseldah
12-18-2018 03:02 PM
1.0.6
31.97 Kb
Giseldah
12-16-2018 11:00 AM
1.0.5
23.16 Kb
Giseldah
12-14-2018 06:07 AM
1.0.4
21.18 Kb
Giseldah
12-07-2018 09:04 AM
1.0.3
18.16 Kb
Giseldah
12-05-2018 10:20 AM
1.0.2
16.98 Kb
Giseldah
12-03-2018 04:52 AM
1.0.1
15.48 Kb
Giseldah
12-02-2018 04:33 PM
1.0
15.52 Kb
Giseldah
12-02-2018 01:36 PM
File Statistics
User Rating:
5 out of 5 with 3 votes
Downloads: 378932
Views: 140648
Favorites: 14
Uploaded By:
 
Last Modified: N/A

View Pictures. Download Now! Post A Comment


Post A Reply
Author Comments Comment Options
Unread 12-02-2018, 03:58 PM  
Giseldah
The Wary
 
Giseldah's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 56
Uploads: 5
Some usage examples

Just a few of the many calculations:

Tactical Offence Damage percentage (+0.0002 to make it like in the character window) =
CalcStat("TacDmgPRatP",PlayerLevel,Rating)+0.0002

Resistance percentage from rating including T2 penetration =
CalcStat("ResistPRatP",PlayerLevel,Rating+CalcStat ("T2PenResist",MobLevel))+0.0002

Full Evade percentage cap =
CalcStat("EvadePRatPCap",PlayerLevel)

Required Evade rating for percentage =
CalcStat("EvadePPRat",PlayerLevel,Percentage)

Mithrin Vitality essence value (ilvl 372) =
CalcStat("Vitality",372)

Armour value for ilvl 380 medium head gear purple =
CalcStat("Armour",380,"MHP")

Captain's In Defence of Middle-Earth main stats buff =
CalcStat("CptIDOMEMain",PlayerLevel)

Critical Defence on item =
CalcStat("CritDef",ilvl,points)

Knowledge of Eldar Days III LI title Tactical Mastery Rating =
CalcStat("TitTacMas",nil,"III")

Last edited by Giseldah : 12-02-2018 at 04:30 PM.
Giseldah is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 12-07-2018, 09:19 AM  
Giseldah
The Wary
 
Giseldah's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 56
Uploads: 5
Changes

These stats were changed:

CPTCRITDEF - Captain critical defence rating passive
DWARFENDURVITALITY - Dwarf racial trait skill Dwarf Endurance Vitality
GRDCRITDEF - Guardian critical defence rating passive
GRDPROTECTIONAVOID - Guardian trait skill Protection b/p/e ratings
GRDTENDERIZECRITHIT - Guardian trait Tenderize Critical hit rating
GRDWARDTACTTACMIT - Guardian trait Guardian's Ward Tactics Tactical Mitigation
LMHEARTYDIETMORALE - Lore-master trait Hearty Diet Morale
RACIALMAIN - racial traits main stat
SHIELDBRAWLERBLOCK - Dwarf racial trait Shield-brawler Block rating
Giseldah is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-01-2019, 03:20 AM  
Giseldah
The Wary
 
Giseldah's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 56
Uploads: 5
Pseudo code in definitions

Some small explanation of the stat data definitions:

Value = CalcStat( string Name, number L, number N | string C )

L(evel) and N(umeral) can be used directly in formulas as can some support functions in combination with C.

To keep definitions shorter, and so more readable, I've developed some pseudocode:

@Name{L}#{N} or @Name{L}#{C}

This is the same as above.

{} is not needed if the passed values are digits or a dot:

@Name130#0.4

Default for N is 1, so only @Name130 is the same as @Name130#1.

@Name130# means that you pass along L=130 and the current context N.

@Name#0.4 means that you pass current context L and N=0.4.

@Name# means that you pass current context L and N.

@Name means that you only pass current context L

No short code for passing C is provided at the moment, other then explicit #{C}.

Examples:
@Block#1.2 - returns 1.2 points of current L (item)Block rating, where L is assumed to be the item level in this case.
@PhyMasT#0.8 - returns 0.8 points of current L (Trait/skill)Physical Mastery rating, where L is assumed to be the character level (see notes).
@CritHit{@LvlToILvl}# - @LvlToILvl assumes current L=character level and translates this to an item level. the resulting item level is then passed as L to @CritHit along with current N and this returns the (item)Critical Rating.

Last edited by Giseldah : 11-01-2019 at 04:12 AM.
Giseldah is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-18-2019, 07:38 AM  
Giseldah
The Wary
 
Giseldah's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 56
Uploads: 5
New compiler option version selection:

"Percentage calculations only" supports ratings->percentages, percentages->ratings and rating penetration calculations.

Resulting CalcStat function size will become smaller with the reduced number of stats. Search tree depth becomes smaller as well, so stat searches become slightly more efficient.

You can query version type with stat -Version which will return something like "1.1.1f" or "1.1.1p" (string type).

Last edited by Giseldah : 11-20-2019 at 02:18 AM.
Giseldah is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-29-2019, 06:37 AM  
Giseldah
The Wary
 
Giseldah's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 56
Uploads: 5
"AwardLvlToILvl" (Character Level to Item Level mapping as used for Mathom armour items, scaling leveling items) was changed again for levels > 120 and is incorrect in current version 1.1.1
Giseldah is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 12-09-2019, 04:37 AM  
Giseldah
The Wary
 
Giseldah's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 56
Uploads: 5
readme

Stat definition file statdata.csv:

You can view this comma separated values file with something like a spreadsheet application. Upload it to Google Sheets for example or use LibreOffice Calc, Microsoft Excel etc.

Compilation of statdata.csv:

Execute statdcmp.vbs (double click) to generate the CalcStat script file. This will contain the major calculation function.
Output version "Percentage calculations only" supports ratings<->percentages and rating penetration calculations and will do for all known Lotro plugins at this time.

Installation/use:

Lotro Plugins:
Extract the zip file to your Lotro Plugins directory. After, you should have a directory like "C:\Users\UserName\Documents\The Lord of the Rings Online\Plugins\Giseldah\CalcStat"
Plugins can import this library using the statement: import "Giseldah.CalcStat"
The directory already contains a "Percentage calculations only" version by default, so you don't need to compile statdata.csv if this is all you require.

OpenOffice/LibreOffice:
Compile statdata.csv with StarBasic as output script type. This will generate the CalcStat.bas file with the CalcStat function.
Inside the Calc spreadsheet application, create a new CalcStat macro module, either under "My macros & Dialogs" for use globally in any spreadsheet or create the module in a specific spreadsheet.
Copy the content of the CalcStat.bas file to this new module.

VB-script (Windows):
Compile statdata.csv with VB-script as output script type. This will generate the CalcStat.vbs file with the CalcStat function.
You can include CalcStat.vbs conveniently in a script job by using a WSF file (see https://en.wikipedia.org/wiki/Windows_Script_File).
See the vbs_example directory for an example script.

PHP:
Compile statdata.csv with PHP as output script type. This will generate the calcstat.php file.
You can include this file in your PHP enabled web pages and start using the CalcStat function for your calculations.

javascript:
Compile statdata.csv with JavaScript as output script type. This will generate the calcstat.js file.
You can include this file in your JavaScript enabled web pages and start using the CalcStat function for your calculations.

Last edited by Giseldah : 12-21-2019 at 10:55 AM.
Giseldah is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 12-20-2019, 07:07 AM  
Giseldah
The Wary
 
Giseldah's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 56
Uploads: 5
If you have a request for some script type then let me know.
Current system is flexible, but it's not suited for languages with strict type-casted variables.

Last edited by Giseldah : 12-21-2019 at 10:56 AM.
Giseldah is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 01-26-2020, 02:14 PM  
Giseldah
The Wary
 
Giseldah's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 56
Uploads: 5
LOTRO Ratings Calculator

The new (beta version 0.99) LOTRO Ratings Calculator is using 1.3.3p JavaScript version of CalcStat.
The proper location for calcstat.js is the js subdirectory in the root of that web-application.
Giseldah is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 03-07-2020, 04:52 AM  
Giseldah
The Wary
 
Giseldah's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 56
Uploads: 5
v1.4 common progression extensions

One of the changes in coming new version 1.4 will be the use of common progression extensions for old style stats.

https://i.imgur.com/UapGWqi.png

Old style trait/skill stats (character level based) are usually linear from level 1 to 105 like value = level * 8.08 and this value can be rounded to whole numbers or left as is.

What happens above level 105 has been decided on with the Mordor expansion: the stats will progress to higher levels in one of multiple standardized patterns. See it as a quickfix, for lack of time for changing them all in more detail.

ProgExt calculations implements these patterns in the following way: it accepts the level 105 value by the $N parameter and then builds a progression based on this value.

For example if we look at the ProgExtHighLinExpRnd definition we see a level 106-115 segment which is type T(linear interpolated) which is based on $N (the level 105 value). P2 is start multiplier, so level 106 value will be 2 * the 105 value. P3 is end multiplier, so level 115 is 4 * 105 value. In-between values for 107-114 are linear calculated and then rounded to -1 decimals (10s).
Next segment is type A (for assignment) which transfers the calculation to the next building block ProgExtComLowRnd for the higher levels with $N is the level 115 value.

ProgExtComLowRnd starts with a lvl116 segment which is of calculation type 'E' which means it's Exponential. It takes P1 (lvl115 value) as it's base and adds P2 in percent for the result, so lvl116 = 1.2 * lvl115 This result is then rounded to 0 decimals (whole number).

Next segment is based on this lvl116 value and each level in there gets an increase of 5.5%. Important to note is that each level's result gets rounded to P3's value 0 for decimals(whole number) and the next level is based on previous level's rounded value.

At level 121 we get another building block again which contains more 20%+5.5% patterns.

Note that fortunately more and more of these old stats are disappearing and replaced by 'normalized' stats which are based on the Standard Progression (StdProg). Many are still around though like all the Food Regeneration stats, Balance of Man b/p/e stats, LM Prepare for War tactical mastery etc.

Last edited by Giseldah : 03-07-2020 at 05:39 AM.
Giseldah is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 04-14-2020, 08:51 PM  
XFaern
The Wary
 
XFaern's Avatar
Interface Author - Click to view interfaces

Forum posts: 3
File comments: 5
Uploads: 3
Plugin Compendium support

Would it be possible for you to add Plugin Compendium support to this? I use it to manage my plugins and while I have manually installed it and it works fine, I'd like the ability to update (and see that there's an update) through the Compendium program.
XFaern is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 04-24-2020, 10:35 AM  
Giseldah
The Wary
 
Giseldah's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 56
Uploads: 5
Re: Plugin Compendium support

Quote:
Would it be possible for you to add Plugin Compendium support to this? I use it to manage my plugins and while I have manually installed it and it works fine, I'd like the ability to update (and see that there's an update) through the Compendium program.
It has Plugin Compendium support (I hope that I implemented it correctly), but I suspect that it's not included because it's not being downloaded enough (has not been in daily top 10).
Giseldah is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 04-24-2020, 02:23 PM  
Garan
The Undying
 
Garan's Avatar
Interface Author - Click to view interfaces

Forum posts: 346
File comments: 990
Uploads: 21
Re: Re: Plugin Compendium support

Quote:
It has Plugin Compendium support (I hope that I implemented it correctly), but I suspect that it's not included because it's not being downloaded enough (has not been in daily top 10).
Inclusion in the Compendium feed is not dependent on number of downloads, it is only dependent on Lunarwater adding your plugin to her feed. You have to send her a PM or post a message in the Compendium download forum to ask her to include your plugin (it's not an automated process, she has to add plugins manually and doesn't always see new plugins). Of course, for it to work, your .plugincompendium file does have to be correct as well.

Last edited by Garan : 04-24-2020 at 02:24 PM.
Garan is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 04-26-2020, 03:27 AM  
Giseldah
The Wary
 
Giseldah's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 56
Uploads: 5
Re: Re: Re: Plugin Compendium support

Quote:
Inclusion in the Compendium feed is not dependent on number of downloads, it is only dependent on Lunarwater adding your plugin to her feed. You have to send her a PM or post a message in the Compendium download forum to ask her to include your plugin (it's not an automated process, she has to add plugins manually and doesn't always see new plugins). Of course, for it to work, your .plugincompendium file does have to be correct as well.
Yes, indeed. Lunarwater has just done the addition and it seems to work well with current version.
Giseldah is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 04-26-2020, 04:20 AM  
Giseldah
The Wary
 
Giseldah's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 56
Uploads: 5
Version 1.4.1 looks alright for update 26.
I didn't check trait/skill/effect stats yet. It's always possible that some unannounced changes were made.
Giseldah is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 04-27-2020, 12:19 PM  
XFaern
The Wary
 
XFaern's Avatar
Interface Author - Click to view interfaces

Forum posts: 3
File comments: 5
Uploads: 3
Re: Re: Re: Re: Plugin Compendium support

Quote:
Yes, indeed. Lunarwater has just done the addition and it seems to work well with current version.
Many thanks
XFaern is offline Report comment to moderator   Reply With Quote Reply With Quote
Post A Reply

 
Category Jump:
Search this Category:
 

All times are GMT -5. The time now is 12:47 AM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui