CG8516 / PvZA11y

An accessibility mod for Plants VS Zombies
MIT License
31 stars 11 forks source link

There seems to be an error. #13

Closed piano777wzy closed 9 months ago

piano777wzy commented 9 months ago

Hello, after I run the tool, there will be a file called Crashlog.txt. There seems to be something wrong with my translation of the contents. Index was outside the bounds of the array. At PvZA11y.Program.HookProcess () At PvZA11y.Program.SafeMain (String [] args) At PvZA11y.Program.Main (String [] args) System.Diagnostics.Process HookProcess () System.Collections.ListDictionaryInternal However, it seems to have no effect on playing games, or it may have an impact. I didn't find it.

CG8516 commented 9 months ago

Thanks for reporting! Looks like there's a potential crash that could happen when the mod starts.
I just wrote a fix, which will be included in the next update.

If it was just a one-off thing, or only happens once when you first start the mod, there's nothing to worry about. It won't have any impact on the game/mod.

piano777wzy commented 9 months ago

感谢您的举报!看起来模组启动时可能会发生崩溃。我刚刚写了一个修复程序,它将包含在下一次更新中。

如果这只是一次性的事情,或者在你第一次启动模组时只发生一次,那就没有什么可担心的了。它不会对游戏/模组产生任何影响。

Hello, I just went to observe carefully, first I started the game, then I started mod, at this time Crashlog.txt did not appear, at this time there is no this file, and then I quit the game, when Crashlog.txt appeared. But it doesn't seem to have any effect on playing games. It's the same thing in the file. Index was outside the bounds of the array. At PvZA11y.Program.HookProcess () At PvZA11y.Program.SafeMain (String [] args) At PvZA11y.Program.Main (String [] args) System.Diagnostics.Process HookProcess () System.Collections.ListDictionaryInternal

CG8516 commented 9 months ago

Ah, thanks for that extra information.
Looks like there's another crash if you close the game while the mod is open. Just wrote a fix for this, too. Will be included in the next update.

CG8516 commented 9 months ago

Fixed in Beta 1.13