Giter VIP home page Giter VIP logo

Comments (9)

Tercioo avatar Tercioo commented on July 1, 2024 1

Thank you for all the reports and fixes guys, I appreciate a lot!
I've sent a Beta version for 8.3 which is available at twitch app.

To get it: right click Details! on twitch app and select Release Type > Alpha. Doing that you'll be eligible to alpha, beta and release versions.

from details-damage-meter.

bellexandria avatar bellexandria commented on July 1, 2024

After trying to look through the code, I think it has to do with mapping pets to the owners, but I can't tell what changed in the blizzard api to break it :(

from details-damage-meter.

tomrus88 avatar tomrus88 commented on July 1, 2024

Have same error all the time since 8.3. Somehow that flag variable sometimes isn't a number, but a string representing spell name...

from details-damage-meter.

CruelDrool avatar CruelDrool commented on July 1, 2024

I've also received error at line 192 in classes\container_combatenes.lua, but also at line 501.

2x ...aceDetails\classes\container_combatentes.lua:501: bad argument #1 to '_bit_band' (number expected, got string)
[string "=[C]"]: ?
[string "@Details\classes\container_combatentes.lua"]:501: in function `PegarCombatente'
[string "@Details\core\parser.lua"]:1672: in function <Details\core\parser.lua:1616>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?

Locals:
(*temporary) = "Resounding Protection"
(*temporary) = 12288
(*temporary) = "number expected, got string"

The code looks like this:

if (flag and _bit_band (flag, OBJECT_TYPE_PETGUARDIAN) ~= 0) then

The content of the variables "flag" and "nome" flips, apparently. So, at line 483, I inserted this line to temporarily fix it:

if type(flag) ~= "number" then local temp = nome; nome = flag; flag = temp end

Perhaps the same thing happens at line 192. I'm trying out the same "hotfix" for that one at line 183.

I also got 1 more error to share. It's from core\parser.lua:

43x Details\core\parser.lua:1772: attempt to compare number with nil
[string "@Details\core\parser.lua"]:1772: in function <Details\core\parser.lua:1616>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?

Locals:
self = <table> {
 WipeSourceCache = <function> defined @Details\core\parser.lua:3699
 swing = <function> defined @Details\core\parser.lua:303
 buff = <function> defined @Details\core\parser.lua:1902
 energize = <function> defined @Details\core\parser.lua:2793
 dispell = <function> defined @Details\core\parser.lua:3226
 spellcast = <function> defined @Details\core\parser.lua:3131
 spell_dmg = <function> defined @Details\core\parser.lua:419
 unbuff = <function> defined @Details\core\parser.lua:2274
 SLT_damage = <function> defined @Details\core\parser.lua:1174
 add_defensive_cooldown = <function> defined @Details\core\parser.lua:2924
 rangemissed = <function> defined @Details\core\parser.lua:1285
 buff_refresh = <function> defined @Details\core\parser.lua:2141
 heal = <function> defined @Details\core\parser.lua:1616
 environment = <function> defined @Details\core\parser.lua:3669
 RevomeActorFromCache = <function> defined @Details\core\parser.lua:5112
 RefreshFunctions = <function> defined @Details\core\parser.lua:3993
 heal_absorb = <function> defined @Details\core\parser.lua:1574
 range = <function> defined @Details\core\parser.lua:308
 heal_denied = <function> defined @Details\core\parser.lua:1495
 SetParserFunction = <function> defined @Details\core\parser.lua:3940
 original_functions = <table> {
 }
 dead = <function> defined @Details\core\parser.lua:3494
 ress = <function> defined @Details\core\parser.lua:3315
 add_buff_uptime = <function> defined @Details\core\parser.lua:2597
 interrupt = <function> defined @Details\core\parser.lua:3027
 break_cc = <function> defined @Details\core\parser.lua:3411
 add_debuff_uptime = <function> defined @Details\core\parser.lua:2559
 summon = <function> defined @Details\core\parser.lua:1414
 swingmissed = <function> defined @Details\core\parser.lua:1281
 MonkStagger_damage = <function> defined @Details\core\parser.lua:966
 add_cc_done = <function> defined @Details\core\parser.lua:2055
 add_bad_debuff_uptime = <function> defined @Details\core\parser.lua:2398
 SLT_healing = <function> defined @Details\core\parser.lua:1841
 LOTM_damage = <function> defined @Details\core\parser.lua:1108
 missed = <function> defined @Details\core\parser.lua:1290
}
token = "SPELL_ABSORBED"
time = 1579127672.743000
who_serial = 0
who_name = "Resounding Protection"
who_flags = "Resounding Protection"
alvo_serial = [REDACTED]
alvo_name = "Crueldrool"
alvo_flags = 1297
alvo_flags2 = 0
spellid = 14938
spellname = true
spelltype = nil
amount = nil
overhealing = 0
absorbed = 0
critical = nil
is_shield = true
cura_efetiva = nil
este_jogador = <table> {
 flag_original = 269279
 totalabsorb = 0.003909
 last_hps = 0
 healing_from = <table> {
 }
 targets = <table> {
 }
 pets = <table> {
 }
 totalover_without_pet = 0.003909
 timeMachine = 5
 healing_taken = 0.003909
 totalover = 0.003909
 total_without_pet = 0.003909
 start_time = 1579127672
 classe = "PET"
 serial = 0
 total = 0.003909
 targets_overheal = <table> {
 }
 targets_absorbs = <table> {
 }
 nome = "Resounding Protection"
 spells = <table> {
 }
 heal_enemy_amt = 0
 displayName = "Resounding Protection"
 heal_enemy = <table> {
 }
 last_event = 1579127672
 custom = 0
 tipo = 2
 on_hold = false
 totaldenied = 0.003909
 delay = 0
 iniciar_hps = true
}
meu_dono = nil
jogador_alvo = <table> {
 flag_original = 1297
 totalabsorb = 7513.003733
 last_hps = 0
 healing_from = <table> {
 }
 timeMachine = 4
 targets = <table> {
 }
 heal_enemy_amt = 0
 pets = <table> {
 }
 totalover_without_pet =

The fix for line 1772 in core\parser.lua was to replace it with this:

if (cura_efetiva and cura_efetiva > 0) then

from details-damage-meter.

CruelDrool avatar CruelDrool commented on July 1, 2024

One more showed up now, in core\parser.lua at line 1698:

7x Details\core\parser.lua:1698: attempt to perform arithmetic on local 'cura_efetiva' (a nil value)
[string "@Details\core\parser.lua"]:1698: in function <Details\core\parser.lua:1616>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?

Locals:
self = <table> {
 WipeSourceCache = <function> defined @Details\core\parser.lua:3699
 swing = <function> defined @Details\core\parser.lua:303
 buff = <function> defined @Details\core\parser.lua:1902
 energize = <function> defined @Details\core\parser.lua:2793
 dispell = <function> defined @Details\core\parser.lua:3226
 spellcast = <function> defined @Details\core\parser.lua:3131
 spell_dmg = <function> defined @Details\core\parser.lua:419
 unbuff = <function> defined @Details\core\parser.lua:2274
 SLT_damage = <function> defined @Details\core\parser.lua:1174
 add_defensive_cooldown = <function> defined @Details\core\parser.lua:2924
 rangemissed = <function> defined @Details\core\parser.lua:1285
 buff_refresh = <function> defined @Details\core\parser.lua:2141
 heal = <function> defined @Details\core\parser.lua:1616
 environment = <function> defined @Details\core\parser.lua:3669
 RevomeActorFromCache = <function> defined @Details\core\parser.lua:5112
 RefreshFunctions = <function> defined @Details\core\parser.lua:3993
 heal_absorb = <function> defined @Details\core\parser.lua:1574
 range = <function> defined @Details\core\parser.lua:308
 heal_denied = <function> defined @Details\core\parser.lua:1495
 SetParserFunction = <function> defined @Details\core\parser.lua:3940
 original_functions = <table> {
 }
 dead = <function> defined @Details\core\parser.lua:3494
 ress = <function> defined @Details\core\parser.lua:3315
 add_buff_uptime = <function> defined @Details\core\parser.lua:2597
 interrupt = <function> defined @Details\core\parser.lua:3027
 break_cc = <function> defined @Details\core\parser.lua:3411
 add_debuff_uptime = <function> defined @Details\core\parser.lua:2559
 summon = <function> defined @Details\core\parser.lua:1414
 swingmissed = <function> defined @Details\core\parser.lua:1281
 MonkStagger_damage = <function> defined @Details\core\parser.lua:966
 add_cc_done = <function> defined @Details\core\parser.lua:2055
 add_bad_debuff_uptime = <function> defined @Details\core\parser.lua:2398
 SLT_healing = <function> defined @Details\core\parser.lua:1841
 LOTM_damage = <function> defined @Details\core\parser.lua:1108
 missed = <function> defined @Details\core\parser.lua:1290
}
token = "SPELL_ABSORBED"
time = 1579178590.744000
who_serial = 0
who_name = 269279
who_flags = "Resounding Protection"
alvo_serial = [REDACTED]
alvo_name = [REDACTED]
alvo_flags = 1352
alvo_flags2 = 0
spellid = 4361
spellname = true
spelltype = nil
amount = nil
overhealing = 0
absorbed = 0
critical = nil
is_shield = true
cura_efetiva = nil
este_jogador = <table> {
 flag_original = 269279
 totalabsorb = 0.004610
 last_hps = 0
 healing_from = <table> {
 }
 targets = <table> {
 }
 pets = <table> {
 }
 totalover_without_pet = 0.004610
 timeMachine = 20
 healing_taken = 0.004610
 totalover = 0.004610
 total_without_pet = 0.004610
 start_time = 1579178589
 classe = "PET"
 serial = 0
 total = 0.004610
 targets_overheal = <table> {
 }
 targets_absorbs = <table> {
 }
 nome = "Resounding Protection"
 spells = <table> {
 }
 heal_enemy_amt = 0
 displayName = "Resounding Protection"
 heal_enemy = <table> {
 }
 last_event = 1579178590
 custom = 0
 tipo = 2
 on_hold = false
 totaldenied = 0.004610
 delay = 0
 iniciar_hps = true
}
meu_dono = nil
jogador_alvo = <table> {
 flag_original = 1352
 totalabsorb = 0.007605
 last_hps = 0
 healing_from = <table> {
 }
 targets = <table> {
 }
 enemy = true
 pets = <table> {
 }
 totalover_without_pet = 0.007605
 start_time = 0
 heali

I'm just going to write this from line 1697 to line 1699:

			if (cura_efetiva) then
				este_jogador.heal_enemy_amt = este_jogador.heal_enemy_amt + cura_efetiva
			end

from details-damage-meter.

CruelDrool avatar CruelDrool commented on July 1, 2024
1x Details\core\parser.lua:1822: bad argument #1 to '_bit_band' (number expected, got string)
[string "=[C]"]: ?
[string "@Details\core\parser.lua"]:1822: in function <Details\core\parser.lua:1616>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?

Locals:
(*temporary) = "Resounding Protection"
(*temporary) = 64
(*temporary) = "number expected, got string"

from details-damage-meter.

CruelDrool avatar CruelDrool commented on July 1, 2024

I've sent a Beta version for 8.3 which is available at twitch app.

Trying it out now.

from details-damage-meter.

CruelDrool avatar CruelDrool commented on July 1, 2024

I've sent a Beta version for 8.3 which is available at twitch app.

Trying it out now.

3 hours and nothing to report.

from details-damage-meter.

bellexandria avatar bellexandria commented on July 1, 2024

Thank you for all the reports and fixes guys, I appreciate a lot!
I've sent a Beta version for 8.3 which is available at twitch app.

To get it: right click Details! on twitch app and select Release Type > Alpha. Doing that you'll be eligible to alpha, beta and release versions.

Its been working great for me, thanks for the fix! ^_^

from details-damage-meter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.