werewolf/mesecons_debug client-side error #3600

Closed
opened 2023-01-23 17:04:49 +00:00 by flux · 10 comments
Member

i think petz screwed up the werewolf "red fringe" HUD and mesecons_hud turned my screen a single solid color which randomly changed every second, while spitting out errors:

2023-01-23 08:55:48: ERROR[Main]: generateImage(): Could not load image "mesecons @ (80,1,35)
2023-01-23 08:55:48: ERROR[Main]: usage: 0 us/s .. (0.0%) penalty: 0.00s
2023-01-23 08:55:48: ERROR[Main]: lag: 2.80 (low); mesecons load = low; max_lag: 3.30; #players = 25
2023-01-23 08:55:48: ERROR[Main]: penalties enabled = true; mesecons enabled = true" while building texture; Creating a dummy image
2023-01-23 08:55:49: ERROR[Main]: generateImage(): Could not load image "mesecons @ (80,1,35)
2023-01-23 08:55:49: ERROR[Main]: usage: 0 us/s .. (0.0%) penalty: 0.00s
2023-01-23 08:55:49: ERROR[Main]: lag: 2.80 (low); mesecons load = low; max_lag: 3.29; #players = 25
2023-01-23 08:55:49: ERROR[Main]: penalties enabled = true; mesecons enabled = true" while building texture; Creating a dummy image
2023-01-23 08:55:51: ERROR[Main]: generateImage(): Could not load image "mesecons @ (80,1,35)
2023-01-23 08:55:51: ERROR[Main]: usage: 0 us/s .. (0.0%) penalty: 0.00s
2023-01-23 08:55:51: ERROR[Main]: lag: 2.80 (low); mesecons load = low; max_lag: 3.28; #players = 25
2023-01-23 08:55:51: ERROR[Main]: penalties enabled = true; mesecons enabled = true" while building texture; Creating a dummy image
2023-01-23 08:55:52: ERROR[Main]: generateImage(): Could not load image "mesecons @ (80,1,35)
2023-01-23 08:55:52: ERROR[Main]: usage: 0 us/s .. (0.0%) penalty: 0.00s
2023-01-23 08:55:52: ERROR[Main]: lag: 2.80 (low); mesecons load = low; max_lag: 3.27; #players = 25
2023-01-23 08:55:52: ERROR[Main]: penalties enabled = true; mesecons enabled = true" while building texture; Creating a dummy image
2023-01-23 08:55:53: ERROR[Main]: generateImage(): Could not load image "mesecons @ (80,1,35)
2023-01-23 08:55:53: ERROR[Main]: usage: 0 us/s .. (0.0%) penalty: 0.00s
2023-01-23 08:55:53: ERROR[Main]: lag: 2.66 (low); mesecons load = low; max_lag: 3.26; #players = 25
2023-01-23 08:55:53: ERROR[Main]: penalties enabled = true; mesecons enabled = true" while building texture; Creating a dummy image

turning mesecons_hud off fixed the issue...

the live version of mesecons_debug is at least 6 months out of date for some reason, but reading the code, it doesn't check whether it's updating the right HUD anyway. will create an upstream PR and probably one for petz too (haven't reviewed it yet).

i think petz screwed up the werewolf "red fringe" HUD and mesecons_hud turned my screen a single solid color which randomly changed every second, while spitting out errors: ``` 2023-01-23 08:55:48: ERROR[Main]: generateImage(): Could not load image "mesecons @ (80,1,35) 2023-01-23 08:55:48: ERROR[Main]: usage: 0 us/s .. (0.0%) penalty: 0.00s 2023-01-23 08:55:48: ERROR[Main]: lag: 2.80 (low); mesecons load = low; max_lag: 3.30; #players = 25 2023-01-23 08:55:48: ERROR[Main]: penalties enabled = true; mesecons enabled = true" while building texture; Creating a dummy image 2023-01-23 08:55:49: ERROR[Main]: generateImage(): Could not load image "mesecons @ (80,1,35) 2023-01-23 08:55:49: ERROR[Main]: usage: 0 us/s .. (0.0%) penalty: 0.00s 2023-01-23 08:55:49: ERROR[Main]: lag: 2.80 (low); mesecons load = low; max_lag: 3.29; #players = 25 2023-01-23 08:55:49: ERROR[Main]: penalties enabled = true; mesecons enabled = true" while building texture; Creating a dummy image 2023-01-23 08:55:51: ERROR[Main]: generateImage(): Could not load image "mesecons @ (80,1,35) 2023-01-23 08:55:51: ERROR[Main]: usage: 0 us/s .. (0.0%) penalty: 0.00s 2023-01-23 08:55:51: ERROR[Main]: lag: 2.80 (low); mesecons load = low; max_lag: 3.28; #players = 25 2023-01-23 08:55:51: ERROR[Main]: penalties enabled = true; mesecons enabled = true" while building texture; Creating a dummy image 2023-01-23 08:55:52: ERROR[Main]: generateImage(): Could not load image "mesecons @ (80,1,35) 2023-01-23 08:55:52: ERROR[Main]: usage: 0 us/s .. (0.0%) penalty: 0.00s 2023-01-23 08:55:52: ERROR[Main]: lag: 2.80 (low); mesecons load = low; max_lag: 3.27; #players = 25 2023-01-23 08:55:52: ERROR[Main]: penalties enabled = true; mesecons enabled = true" while building texture; Creating a dummy image 2023-01-23 08:55:53: ERROR[Main]: generateImage(): Could not load image "mesecons @ (80,1,35) 2023-01-23 08:55:53: ERROR[Main]: usage: 0 us/s .. (0.0%) penalty: 0.00s 2023-01-23 08:55:53: ERROR[Main]: lag: 2.66 (low); mesecons load = low; max_lag: 3.26; #players = 25 2023-01-23 08:55:53: ERROR[Main]: penalties enabled = true; mesecons enabled = true" while building texture; Creating a dummy image ``` turning mesecons_hud off fixed the issue... the live version of mesecons_debug is at least 6 months out of date for some reason, but reading the code, it doesn't check whether it's updating the right HUD anyway. will create an upstream PR and probably one for petz too (haven't reviewed it yet).
flux added the
1. kind/bug
3. source/mod upstream
3. source/integration
ugh/petz
labels 2023-01-23 17:04:49 +00:00
flux self-assigned this 2023-01-23 17:04:49 +00:00
flux added this to the flux's TODO list project 2023-01-23 17:04:49 +00:00
flux added the
4. step/at work
2. prio/elevated
labels 2023-01-23 19:14:48 +00:00
Author
Member
upstream PR https://github.com/runsy/petz/pull/145
flux added
4. step/blocked
and removed
4. step/at work
labels 2023-01-23 20:04:45 +00:00
flux added
4. step/ready to QA test
and removed
4. step/blocked
labels 2023-01-24 00:18:20 +00:00
Author
Member

upstream merged :)

upstream merged :)
Author
Member

though now i remember, there was also an issue w/ mesecons_hud, and it was unlikely that it was either of the two mods which actually caused the problem in the first place. i really need to audit all the mods that tweak HUDs at some point.

though now i remember, there was also an issue w/ mesecons_hud, and it was unlikely that it was either of the two mods which actually caused the problem in the first place. i really need to audit all the mods that tweak HUDs at some point.
flux added the
4. step/partially fixed
label 2023-01-24 00:19:57 +00:00
Author
Member
upstream PR w/ mesecons_debug: https://github.com/minetest-monitoring/mesecons_debug/pull/9
Author
Member

yo_hi DM'ed me:

hm... the chunk where I got the first error message is 123, -1, 90 if you want to test it further
yo_hi DM'ed me: ``` hm... the chunk where I got the first error message is 123, -1, 90 if you want to test it further ```
AliasAlreadyTaken added this to the 1.1.117.1 milestone 2023-01-30 23:53:09 +00:00
Author
Member

upstream merged

upstream merged
flux removed the
4. step/partially fixed
label 2023-02-01 16:37:29 +00:00
AliasAlreadyTaken modified the milestone from 1.1.117.1 to 1.1.118 2023-02-12 15:59:08 +00:00

QA

Repro uncertain.

I jumped around a bit with werewolf and mesecons_hud on but couldn't get the effect.

I therefore assume its ok, but needs to be watched on main.

QA Repro uncertain. I jumped around a bit with werewolf and mesecons_hud on but couldn't get the effect. I therefore *assume* its ok, but needs to be watched on main.
AliasAlreadyTaken added the
ugh/QA main
label 2023-04-14 04:42:46 +00:00
Author
Member

i'm not certain how to trigger this either. i'm pretty sure the cause was an unknown mod removing a HUD element that it shouldn't have.

one possible test would be to manually remove either the werewolf HUD or mesecons debug's HUD and see what happens.

i'm not certain how to trigger this either. i'm pretty sure the cause was an unknown mod removing a HUD element that it shouldn't have. one possible test would be to manually remove either the werewolf HUD or mesecons debug's HUD and see what happens.
Author
Member

a snippet to remove the mesecons_debug HUD:

local player = minetest.get_player_by_name("flux")  -- change the name
for id = 0, 100 do
 local def = player:hud_get(id)
 if def and def.name == "mesecons_debug:hud" then
  player:hud_remove(id)
  break
 end
end

a snippet to remove the werewolf HUD:

local player = minetest.get_player_by_name("flux")  -- change the name
for id = 0, 100 do
 local def = player:hud_get(id)
 if def and def.name == "petz:werewolf_vignette" then
  player:hud_remove(id)
  break
 end
end
a snippet to remove the mesecons_debug HUD: ```lua local player = minetest.get_player_by_name("flux") -- change the name for id = 0, 100 do local def = player:hud_get(id) if def and def.name == "mesecons_debug:hud" then player:hud_remove(id) break end end ``` a snippet to remove the werewolf HUD: ```lua local player = minetest.get_player_by_name("flux") -- change the name for id = 0, 100 do local def = player:hud_get(id) if def and def.name == "petz:werewolf_vignette" then player:hud_remove(id) break end end ```
Author
Member

this seems to be live

this seems to be live
flux closed this issue 2023-04-25 19:03:24 +00:00
flux added
5. result/fixed
and removed
4. step/ready to QA test
labels 2023-04-25 19:03:31 +00:00
flux removed this from the flux's TODO list project 2023-04-25 19:03:37 +00:00
flux removed their assignment 2023-04-25 19:03:42 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#3600
No description provided.