Loading. Please Wait... 
 |
 |
 |
[Script] HvLog - Yet another stat tracker, April 2025 |
|
Apr 15 2025, 15:21
|
프레이
Group: Gold Star Club
Posts: 701
Joined: 21-October 17

|
Just another script for tracking battle history, drops, damage, etc. Userscript: [ github.com] https://github.com/anon962/HvLogV3/releases...t/hvlog.user.jsSource: [ github.com] https://github.com/anon962/HvLogV3/After installing you can access the log history by opening your userscript extension and selecting one of the menu options: [ raw.githubusercontent.com] imgScreenshots[ raw.githubusercontent.com] https://raw.githubusercontent.com/anon962/H.../samples/02.png[ raw.githubusercontent.com] https://raw.githubusercontent.com/anon962/H.../samples/03.png[ raw.githubusercontent.com] https://raw.githubusercontent.com/anon962/H.../samples/05.png[ raw.githubusercontent.com] https://raw.githubusercontent.com/anon962/H.../samples/09.pngCurrent features- Battle history for both persistent and isekai, filter-able by battle type. [ raw.githubusercontent.com] [img]- Income / expenses, with per-item breakdowns [ raw.githubusercontent.com] [img]- Equip drops. [ raw.githubusercontent.com] [img]- Combat stats (spells used, damage dealt, mob resist rate, healing per item / spell, etc). [ raw.githubusercontent.com] [img] [ raw.githubusercontent.com] [img]- Full battle log [ raw.githubusercontent.com] [img]- Very rough overview of IW enchantment unlocks. [ raw.githubusercontent.com] [img]NotesBattles played on alt and main will be logged separately. To view data from alt, open the logs from the alt website. Melee stats will probably be a bit buggy, as that's not my main playstyle. Bug reports and other feedback are welcome! Preferably through discord (@genie) but I'll probably check this thread occasionally. Special thanks to @OnceForAll for the advice on builds / releases! This post has been edited by 프레이: Apr 19 2025, 20:06
|
|
|
|
 |
|
Apr 15 2025, 15:34
|
Shank
Group: Global Mods
Posts: 9,278
Joined: 19-May 12

|
Nice, thanks for sharing
|
|
|
Apr 15 2025, 16:00
|
PropertyDualist
Group: Gold Star Club
Posts: 153
Joined: 5-March 24

|
Very useful, thank you very much:)
|
|
|
Apr 15 2025, 19:30
|
Noni
Group: Catgirl Camarilla
Posts: 13,362
Joined: 19-February 16

|
thanks!!
|
|
|
Apr 16 2025, 03:31
|
mewsf
Group: Gold Star Club
Posts: 583
Joined: 24-June 14

|
Nice script. Although I see that this script makes request to some pseudo urls to view results, which would produce a 404 error, hope this isn't a big issue for tenboro. Battle Stats' popup seems fine enough.
|
|
|
|
 |
|
Apr 16 2025, 04:33
|
프레이
Group: Gold Star Club
Posts: 701
Joined: 21-October 17

|
QUOTE(mewsf @ Apr 15 2025, 21:31)  Nice script. Although I see that this script makes request to some pseudo urls to view results, which would produce a 404 error, hope this isn't a big issue for tenboro. Battle Stats' popup seems fine enough.
I didn't want to make the UI a popup because some of the data uses a lot of space and because it's easier in terms of color and layout to not worry about what's underneath the popup. But yeah I agree it's not good that the script triggers a 404 when (1) you first open the logs and (2) when you click on any the tabs. (2) triggers most of the 404s but it's fixable with a client side router library, which is on my todo list. (1) is fixable by replacing the current page instead of opening a new tab but I don't want to change that. Besides, I doubt a static 404 page is very expensive, especially compared to how hvutils does fetch()s for things like inventory, iw enchants, re, etc.,
|
|
|
|
 |
|
Apr 16 2025, 05:31
|
Anemone
Group: Gold Star Club
Posts: 846
Joined: 16-May 13

|
Thank you for sharing this wonderful script.
I may find one problem. This script isn't working on alt. Alt doesn't have any logs.
|
|
|
Apr 16 2025, 05:42
|
프레이
Group: Gold Star Club
Posts: 701
Joined: 21-October 17

|
QUOTE(Anemone @ Apr 15 2025, 23:31)  Thank you for sharing this wonderful script.
I may find one problem. This script isn't working on alt. Alt doesn't have any logs.
Sorry about that! Does this version work for you? [ github.com] https://github.com/anon962/HvLogV3/releases...t/hvlog.user.jsAlso just want to warn you that data from alt and the main website won't be combined. Data from alt will only show up if you open the logs from alt and data from main will only show up if you open the logs from main. I'm not sure this is fixable but I'll probably look into it more later. This post has been edited by 프레이: Apr 16 2025, 05:44
|
|
|
|
 |
|
Apr 16 2025, 05:59
|
-terry-
Group: Global Mods
Posts: 2,747
Joined: 9-August 19

|
You can use GM Storage instead of indexedDB to share data between alt and main. Backing up and restoring data would also be handled by the userscript manager instead (if you have any such functionality yet) [ www.tampermonkey.net] https://www.tampermonkey.net/documentation....api:GM_setValue
|
|
|
|
 |
|
Apr 16 2025, 06:22
|
프레이
Group: Gold Star Club
Posts: 701
Joined: 21-October 17

|
QUOTE(-terry- @ Apr 15 2025, 23:59)  You can use GM Storage instead of indexedDB to share data between alt and main. Backing up and restoring data would also be handled by the userscript manager instead (if you have any such functionality yet) [ www.tampermonkey.net] https://www.tampermonkey.net/documentation....api:GM_setValueoh awesome, didn't know that was a thing. Honestly indexeddb has been a kind of a pita for not much benefit outside of the unlimited storage quota, so really glad you told me about this.
|
|
|
|
 |
|
Apr 16 2025, 07:04
|
Anemone
Group: Gold Star Club
Posts: 846
Joined: 16-May 13

|
QUOTE(프레이 @ Apr 16 2025, 11:42)  Sorry about that! Does this version work for you? [ github.com] https://github.com/anon962/HvLogV3/releases...t/hvlog.user.jsAlso just want to warn you that data from alt and the main website won't be combined. Data from alt will only show up if you open the logs from alt and data from main will only show up if you open the logs from main. I'm not sure this is fixable but I'll probably look into it more later. It works. Thank you so much. It seems the script doesn't record the data correctly. It only records the first round and the round after riddlemaster. For Arena - PGC, the log page only shows Round 1, Turns 0 - 36 and Round 79, Turns 19 - 36. The combat page shows I only take 36 turns for PGC. Another bug: It seems it doesn't work for isk on main site. However, it works for isk on alt site, and it doesn't record the data correctly as well. This post has been edited by Anemone: Apr 16 2025, 08:54
|
|
|
|
 |
|
Apr 16 2025, 15:03
|
프레이
Group: Gold Star Club
Posts: 701
Joined: 21-October 17

|
Sorry, all these issues are because that first fix I did for alt was bad. I've pushed a new fix and actually tested everything this time. Thanks for finding these. fixed script: [ github.com] https://github.com/anon962/HvLogV3/releases...t/hvlog.user.js(this url is same as above and will always point to the newest script)
|
|
|
|
 |
|
Apr 17 2025, 04:09
|
Anemone
Group: Gold Star Club
Posts: 846
Joined: 16-May 13

|
I have reinstalled the newest script(version 2.4). However, It still only records the data from the first round and the round after riddlemaster for the alt site.
Another problem: the script may not be able to record and parse the explosion damage(the passive one) for element mage correctly. It will count the spell damage as explosion damage, and it may count the explosion damage as the spell damage. It also shows { "type":"error" "detail":"No matching parser for Turbulent Air explodes for 13929 wind damage" }
It looks like the script works for some people, but it still doesn't work for me.
This post has been edited by Anemone: Apr 18 2025, 05:12
|
|
|
|
 |
|
Apr 18 2025, 07:00
|
프레이
Group: Gold Star Club
Posts: 701
Joined: 21-October 17

|
Sorry for the delay, I've been trying to reproduce it but no luck. Could you tell me... -> monsterbation version and if you've modified it at all -> browser you're using -> which userscript extension (greasemonkey / violentmonkey / tampermonkey) QUOTE(Anemone @ Apr 16 2025, 01:04)  It seems the script doesn't record the data correctly. It only records the first round and the round after riddlemaster. For Arena - PGC, the log page only shows Round 1, Turns 0 - 36 and Round 79, Turns 19 - 36. The combat page shows I only take 36 turns for PGC.
I'm 80% sure this particular issue is related to monsterbation's "ajaxRound: true" setting. The script should already have a fix for that but I'm not sure why it's not working for you. Setting "ajaxRound: false" in monsterbation should fix that temporarily. QUOTE(Anemone @ Apr 16 2025, 22:09)  Another problem: the script may not be able to record and parse the explosion damage(the passive one) for element mage correctly. It will count the spell damage as explosion damage, and it may count the explosion damage as the spell damage. It also shows { "type":"error" "detail":"No matching parser for Turbulent Air explodes for 13929 wind damage" }
Good catch, thanks This post has been edited by 프레이: Apr 18 2025, 07:17
|
|
|
|
 |
|
Apr 18 2025, 08:26
|
Anemone
Group: Gold Star Club
Posts: 846
Joined: 16-May 13

|
QUOTE(프레이 @ Apr 18 2025, 13:00)  Sorry for the delay, I've been trying to reproduce it but no luck. Could you tell me... -> monsterbation version and if you've modified it at all -> browser you're using -> which userscript extension (greasemonkey / violentmonkey / tampermonkey) I'm 80% sure this particular issue is related to monsterbation's "ajaxRound: true" setting. The script should already have a fix for that but I'm not sure why it's not working for you. Setting "ajaxRound: false" in monsterbation should fix that temporarily. Good catch, thanks
monsterbation version:1.4.1.1. I only modified the riddlemaster part because of the new riddlemaster system. I got the modified part from the monsterbation post. Chrome. tampermonkey. And yes, setting "ajaxRound: false" can solve this proplem. Learned from the log, the parser error may cause the turn count failed. This post has been edited by Anemone: Apr 18 2025, 08:43
|
|
|
|
 |
|
Apr 18 2025, 09:23
|
프레이
Group: Gold Star Club
Posts: 701
Joined: 21-October 17

|
Okay I reproduced the logging issue and pushed a fixed version (v2.5) [ github.com] https://github.com/anon962/HvLogV3/releases...t/hvlog.user.jsTested on both alt / main with... - chrome + tampermonkey - chrome + violentmonkey - firefox + tampermonkey - firefox + violentmonkey (and turns out firefox + greasemonkey is broken for other reasons) I've also started logging the explosion damage (for new logs). --- Currently theres no button to delete any bad logs, so if you want to get rid of those you'll have to... -> open devtools (F12) -> at the top, select the Application tab -> on the left, select IndexedDB > HvLog -> click delete database And do the same for the HvLog_isekai database if you have bad data there too. (IMG:[ i.imgur.com] https://i.imgur.com/NSip6RA.png) --- Hopefully it works this time! This post has been edited by 프레이: Apr 18 2025, 09:24
|
|
|
|
 |
|
Apr 18 2025, 11:10
|
Anemone
Group: Gold Star Club
Posts: 846
Joined: 16-May 13

|
QUOTE(프레이 @ Apr 18 2025, 15:23)  Okay I reproduced the logging issue and pushed a fixed version (v2.5) [ github.com] https://github.com/anon962/HvLogV3/releases...t/hvlog.user.jsTested on both alt / main with... - chrome + tampermonkey - chrome + violentmonkey - firefox + tampermonkey - firefox + violentmonkey (and turns out firefox + greasemonkey is broken for other reasons) I've also started logging the explosion damage (for new logs). --- Currently theres no button to delete any bad logs, so if you want to get rid of those you'll have to... -> open devtools (F12) -> at the top, select the Application tab -> on the left, select IndexedDB > HvLog -> click delete database And do the same for the HvLog_isekai database if you have bad data there too. (IMG:[ i.imgur.com] https://i.imgur.com/NSip6RA.png) --- Hopefully it works this time! Thank you for your work. You have made a wondful script. The problem is solved and the script works for me. Here is the error from log page. PLAYER_SKILL Cast Corruption PLAYER_ATTACK Dealt 68381 dark damage (0% resist). MONSTER_DEATH EFFECT_RESTORE Healed 1343 health from Regen EFFECT_RESTORE Healed 94 health from Regeneration EFFECT_RESTORE Healed 20 magic from Replenishment DEBUFF_EXPIRE Infused Darkness expired DEBUFF_EXPIRE Regeneration expired ROUND_END ERROR No matching parser for A traveling salesmoogle salvages it into 2x [Mid-Grade Cloth] DROP Dropped Exquisite Cotton Gloves of the Elementalist EXPERIENCE Dropped 3157434 exp
|
|
|
|
 |
|
Apr 18 2025, 13:09
|
프레이
Group: Gold Star Club
Posts: 701
Joined: 21-October 17

|
QUOTE(Anemone @ Apr 18 2025, 05:10)  Here is the error from log page. ROUND_END ERROR No matching parser for A traveling salesmoogle salvages it into 2x [Mid-Grade Cloth] DROP Dropped Exquisite Cotton Gloves of the Elementalist EXPERIENCE Dropped 3157434 exp
Pushed a fix (v2.6) for that auto salvage error. Old logs should get that fix too. [ github.com] https://github.com/anon962/HvLogV3/releases...t/hvlog.user.jsThis post has been edited by 프레이: Apr 18 2025, 13:10
|
|
|
|
 |
|
Apr 18 2025, 14:17
|
Anemone
Group: Gold Star Club
Posts: 846
Joined: 16-May 13

|
One minor problem: the combat actions spells part recorded the weaken spell while the debuffs part also had the count for weaken spell. The total number for weaken from two parts is correct. I thought it might be caused by misclicking a melee attack as you said melee stat may cause glitch.
I got an error from other people: No matching parser for Reimu casts Musou Fuuin, but misses the attack. I think this error may be caused by the parser cann't parse a special attack from monster got missed, parried, or blocked by ppl.
This post has been edited by Anemone: Apr 19 2025, 10:25
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|
|
|