• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

removing icon from top bar of otclient

chupaescadatri

Banned User
Joined
Jul 5, 2014
Messages
338
Reaction score
49
I'm digging here but I found nowhere a way to hide an icon from the top bar of the otlclient, but keep the module working, if anyone knows dou + rep
 
Solution
What icon? If you want to remove the module manager, go to client/modules/client_modulemanager/modulemanager.lua and replace:
Code:
moduleManagerButton = modules.client_topmenu.addLeftButton('moduleManagerButton',
    tr('Module Manager'), '/images/topbuttons/modulemanager', toggle)
for:
Code:
--moduleManagerButton = modules.client_topmenu.addLeftButton('moduleManagerButton', 
    --tr('Module Manager'), '/images/topbuttons/modulemanager', toggle)
Then start client, open terminal (ctrl + t) and see if it has any error. If has, check the file and the line giving error and remove/think on a solution.
What icon? If you want to remove the module manager, go to client/modules/client_modulemanager/modulemanager.lua and replace:
Code:
moduleManagerButton = modules.client_topmenu.addLeftButton('moduleManagerButton',
    tr('Module Manager'), '/images/topbuttons/modulemanager', toggle)
for:
Code:
--moduleManagerButton = modules.client_topmenu.addLeftButton('moduleManagerButton', 
    --tr('Module Manager'), '/images/topbuttons/modulemanager', toggle)
Then start client, open terminal (ctrl + t) and see if it has any error. If has, check the file and the line giving error and remove/think on a solution.
 
Solution
What icon? If you want to remove the module manager, go to client/modules/client_modulemanager/modulemanager.lua and replace:
Code:
moduleManagerButton = modules.client_topmenu.addLeftButton('moduleManagerButton',
    tr('Module Manager'), '/images/topbuttons/modulemanager', toggle)
for:
Code:
--moduleManagerButton = modules.client_topmenu.addLeftButton('moduleManagerButton',
    --tr('Module Manager'), '/images/topbuttons/modulemanager', toggle)
Then start client, open terminal (ctrl + t) and see if it has any error. If has, check the file and the line giving error and remove/think on a solution.
thanks
 
Back
Top