#Player Stats Counters
1 messages · Page 1 of 1 (latest)
Beta release, please test and let me know if you encounter any issues! (I'm sure there will be plenty)
Everything works on 0.50, except Insults, which are only 0.51 (at least for now, I think Claude made a mistake, from what I can find on the docs, but I've hit my session limit for the night lmao)
Major issues to look out for -- stats wiping after the first load on a character. This should now be fixed, but please report if you encounter it along with your lua logs
I've also noted some potential odd behavior with the Times Travelled counter. It should increment whenever the player uses Recall, or travels via one of the fast travel methods. Occasionally it seems to be ticking at other increment points. And I've already accounted for external cell transfers and interior cell loads/tranistions. But one to also keep an eye on!
All stats can be toggled on or off, and you can also choose to hide null counters
Cool mod! Are these stats built up and tracked after installing the mod or does morrowind always keep track of this information and this mod is tapping into that information repository?
It’ll only count from the point it’s installed. As it doesn’t count by default
Any noticeable performance impact? 🙂
Not that I’ve found, and I asked Mr Claude and he assured me it’s minimal 😅
Added an option to place the primary stats window on the left hand side to better utilise the screen space. toggleable.
Added Total Gold Found, Favorite Weapons, Spell Effects Learned, and Favorite Spells
52 total possible counters!
Bunch of fixes. Added support for SWIT's insults. Improved Creature Kills counter.
More bug fixes, few QoL changes
How about a NPC's met stat?
Not a bad idea. Will see!
0... 1?
I mean, there's queen of Anvil in PT,
Well I was thinking of including Dukes and Princes and the Kings of Skyrim and Cyrodiil
Also we may count Queen Mother too
What about Companions encountered or more interesting...companions lost/killed?
Pilgrims escorted... pilgrims killed... 
I would totally watch a let's play where someone goes in blind and just tries to do weird things to unlock all the stats on their UI
hi im getting this spammed in my log with this installed, im having a few unrelated issues so im thinking i have some weird load order issue going on, i run an ungodly amount of mods so i run into stuff like this a lot 😅 might be useful to you?
[22:03:35.443 E] L@0xc8ca[scripts/sc/actor.lua] onLoad failed: Lua error: [string "scripts/sc/actor.lua"]:20: Key not found: HandToHand
[22:03:35.443 E] stack traceback:
[22:03:35.443 E] [C]: in function 'error'
[22:03:35.443 E] [string "..."]:30: in function '__index'
[22:03:35.443 E] [string "scripts/sc/actor.lua"]:20: in function <[string "scripts/sc/actor.lua"]:15>
[22:03:35.443 E] [C]: in ?
[22:03:35.443 E] [C]: in ?
Do you have anything installed that changes hand to hand?
Maybe even renames the skill
maybe, Iron Fist?
hmm
its gonna be some weird interaction of things. SC is probably a good canary for finding issues like that haha
skill ids should be lowercase
unless that, whatever it is is accessing a custom table
Ah, I see: in actor:lua
local MELEE = I.Combat.ATTACK_SOURCE_TYPES.Melee
local HAND = I.Combat.ATTACK_SOURCE_TYPES.HandToHand
HandToHand is not a valid ATTACK_SOURCE_TYPE
in scripts/omw/combat/interface.lua
--- @{#AttackSourceType}
-- @field [parent=#Combat] #AttackSourceType ATTACK_SOURCE_TYPES Available attack source types
ATTACK_SOURCE_TYPES = util.makeStrictReadOnly({
Magic = 'magic',
Melee = 'melee',
Ranged = 'ranged',
Unspecified = 'unspecified',
}),
You can tell that attack is "h2h" if it is melee, attacker is an NPC, or creature that can use weapons and doesn't have a weapon.
That info though only becomes available in onHit
Strange, I'm not getting the same log spam at all
But changing to TYPES.handtohand will be the way to go anyway, I take it?
No? Types.handtohand is not a thing
Sorry I misunderstand then, I thought you were saying that the skill IDs for those locals had to be in lowercase, and that it not being so was the cause of the log spam
it's not skill id where you are having an issue
you're hoisting the enum parts into local variables
MELEE is I.Combat.ATTACK_SOURCE_TYPES.Melee - that's fine.
I.Combat.ATTACK_SOURCE_TYPES.HandToHand doesn't exist
Got you, thanks, I'll take a proper look tomorrow as it's getting late!
Still confused as to why I'm not seeing the log spam on my side 🤔
Silly question, but is this safe to add to an existing game, and if so, will it show existing progress?
Not OP, but -It won't show anything retroactively, but should be safe to add
Ah well, will save for next time. Really want to see my total slaves freed.
Yup, as Arrean says!
Should now be fixed in the latest version.
(which I'll upload a beta of over the coming days)
thanks for raising, and thanks Arrean for the fix!