Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin not loading during COTD and potentially crashing the game #7

Open
Protoster opened this issue Sep 18, 2024 · 1 comment
Open

Comments

@Protoster
Copy link

Protoster commented Sep 18, 2024

Hello lovely HUD picker dev <3, I'd like to report a bug or two.

For at least about a month, HUD picker doesn't work when joining the knockout portion of COTD. It works fine during the qualifier, but then it turns off during knockouts. I've been able to get it to start working again by reloading the plugin.

However, the last two cups TM has crashed to desktop during knockouts, and while I can't connect it directly to HUD picker, it does seem suspicious.

I've also crashed in the same way just now while testing, by reloading HUD picker while on a solo map.

Whenever the plugin loads on game start or from OpenPlanet menu, this error is logged:

[    ScriptEngine] [18:28:30]  Enabled plugin "HUDPicker"
[        Platform] [18:28:30]  Saving settings
[   ScriptRuntime] [18:28:30] [HUDPicker]  Script exception: Json value is not an object or array!
[   ScriptRuntime] [18:28:30] [HUDPicker]    HUDPicker.op/:/src/HUDPicker.as (line 16, column 22)
[   ScriptRuntime] [18:28:30] [HUDPicker]      #0  void ResetIndexes(const string&in section) (HUDPicker.op/:/src/HUDPicker.as line 16)
[   ScriptRuntime] [18:28:30] [HUDPicker]      #1  void Main() (HUDPicker.op/:/src/HUDPicker.as line 211)

Here is another different error when I joined an arcade room:

[   ScriptRuntime] [18:34:06] [HUDPicker]  Script exception: Json value is not a number!
[   ScriptRuntime] [18:34:06] [HUDPicker]    HUDPicker.op/:/src/GameInfo.as (line 47, column 13)
[   ScriptRuntime] [18:34:06] [HUDPicker]      #0  bool GameInfo::IsPlaying() (HUDPicker.op/:/src/GameInfo.as line 47)
[   ScriptRuntime] [18:34:06] [HUDPicker]      #1  void RenderHUDTreeSettings() (HUDPicker.op/:/src/Settings.as line 11)
[   ScriptRuntime] [18:34:06] [HUDPicker]  Last script exception repeated 1 times
[   ScriptRuntime] [18:34:06] [HUDPicker]  Last script exception repeated 2 times
[   ScriptRuntime] [18:34:06] [HUDPicker]  Last script exception repeated 3 times
[   ScriptRuntime] [18:34:06] [HUDPicker]  Last script exception repeated 4 times
[   ScriptRuntime] [18:34:06] [HUDPicker]  Last script exception repeated 5 times
[   ScriptRuntime] [18:34:06] [HUDPicker]  Last script exception repeated 6 times
[   ScriptRuntime] [18:34:06] [HUDPicker]  Last script exception repeated 7 times
[   ScriptRuntime] [18:34:06] [HUDPicker]  Last script exception repeated 8 times
[   ScriptRuntime] [18:34:06] [HUDPicker]  Last script exception repeated 9 times
[   ScriptRuntime] [18:34:06] [HUDPicker]  Last script exception repeated 10 times
@chipsTM
Copy link
Owner

chipsTM commented Oct 3, 2024

I don't know why the settings.json file gets in a bad state, but maybe following the thread here might help: #5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants