-
-
Notifications
You must be signed in to change notification settings - Fork 239
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
After changing language, next login makes entire screen black #1032
Comments
https://github.com/mehah/otclient/blob/main/modules/client_locales/locales.lua#L64 the problem is |
I think this may be affecting other systems:
|
about your comment
Could you provide an example of how to reproduce the update error when executing g_modules.reloadModules()(updater.lua#L164)? I was testing and updater works with init.lua, modules.lua/.otui, spr/dat . The only thing that didn't work was that it didn't reload the textures(example updating background.png). I got it to work by adding this https://github.com/mehah/otclient/blob/main/modules/updater/updater.lua#L164 about sound:And yes , the music is activated, but the settings in client_options are read correctly about this issuesI noticed that if you use I'm assuming it's a cpp issue because I placed the current .exe in data/modules of release 3.5, and I also get a black screen. |
I see.. I will add this information about I'm testing it more to know which modules don't reload correctly. I think this issue (#1032) must focus on fixing the reload system to ensure the screen is not black after changing the language. For now, in my own version, I changed to always restart the client after changing the language (sad fix). About the updater, let's focus first on the sound system being enabled after enabling the updater on its own issue (#1043). I will rename it. Any other modules with problems using updater, I will create a new issue for it individually, so we can be more productive. Thanks. |
Priority
Medium
Area
What happened?
I changed the language and when I logged into a server, the entire screen was black. I had to reopen OTClient to use it:
No errors in the console:
What OS are you seeing the problem on?
Windows
Code of Conduct
The text was updated successfully, but these errors were encountered: