An alternative tibia client for otserv written in C++20 and Lua, made with a modular system that uses lua scripts for ingame interface and functionality, making otclient flexible and easy to customize
The "g_ui.displayUI()" function is only working when applied within the INIT or TERMINATE function, when applied in any other function it starts spamming an error
The problem is finding the file path, because following what I did in the example below I managed to solve the problem
Example: the "Open new channel" and "Ignore players" buttons in the game_console module are spamming errors
However, if I change these factors below the error is corrected:
"g_ui.displayUI('communicationwindow')" to "g_ui.displayUI('/modules/game_console/communicationwindow')"
What OS are you seeing the problem on?
Windows
Code of Conduct
[x] I agree to follow this project's Code of Conduct
Priority
High
Area
What happened?
The "g_ui.displayUI()" function is only working when applied within the INIT or TERMINATE function, when applied in any other function it starts spamming an error
The problem is finding the file path, because following what I did in the example below I managed to solve the problem
Example: the "Open new channel" and "Ignore players" buttons in the game_console module are spamming errors
However, if I change these factors below the error is corrected: "g_ui.displayUI('communicationwindow')" to "g_ui.displayUI('/modules/game_console/communicationwindow')"
What OS are you seeing the problem on?
Windows
Code of Conduct