• 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!

OTClient how to start otcv8client with enter game box turned off

Felipe93

Ghost Member
Joined
Mar 21, 2015
Messages
1,990
Solutions
9
Reaction score
334
Location
Chile
How to start otcv9 with the entergame box / windows turned off?
in client_entergame.otui
Lua:
EnterGameWindow
  id: enterGame
  @onEnter: EnterGame.doLogin()
tried changing to
Code:
EnterGameWindow
  id: enterGame
  @onEnter: EnterGame.hide()
and also tried in entergame.otmod
Lua:
Module
  name: client_entergame
  description: Manages enter game and character list windows
  author: edubart & ************
  website: https://github.com/edubart/otclient
  scripts: [ entergame, characterlist ]
  @onLoad: @onLoad: EnterGame.hide()  or @onLoad: @onLoad:
  @onUnload: EnterGame.terminate() CharacterList.terminate()
 
  load-later:
    - game_things
    - game_featur
it does not works
Post automatically merged:

Solved !
inside client_entergame/entergame.lua
i changed
from show to hide
Lua:
  scheduleEvent(function()
    EnterGame.hide()
  end, 100)
end
Sin título.png



Sin título2.png
 
Last edited:
Back
Top