• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Remove Token Field

Slizzer

Premium User
Premium User
Joined
Jan 23, 2016
Messages
15
Reaction score
4
Hey Guys,
Sorry i'm dumb, but where can i remove the token field?

Bild_2021-05-30_110520.png

Thanks for your help!
 
modules -> client_entergame
remove -> enterGame: getChildById ('accountTokenTextEdit'): clearText ()

in the same folder, open the entergame.otui file

remove this

MenuLabel
!text: tr('Token')
anchors.left: prev.left
anchors.top: prev.bottom
text-auto-resize: true
margin-top: 8

TextEdit
id: accountTokenTextEdit
anchors.left: parent.left
anchors.right: parent.right
anchors.top: prev.bottom
margin-top: 2
 
Last edited:
modules -> client_entergame
remove -> enterGame: getChildById ('accountTokenTextEdit'): clearText ()

in the same folder, open the entergame.otui file

remove this

MenuLabel
!text: tr('Token')
anchors.left: prev.left
anchors.top: prev.bottom
text-auto-resize: true
margin-top: 8

TextEdit
id: accountTokenTextEdit
anchors.left: parent.left
anchors.right: parent.right
anchors.top: prev.bottom
margin-top: 2
Thanks a lot
 
OTCv8 3.2 Rev4
Post automatically merged:


OTCv8 3.2 Rev4
Remove This

and this

1764115015024.webp
 
Remove This

and this

View attachment 96272
The client giving error on startup if i remove these 2
 
"How many OTLand users do you need to remove a text field" thread

And you didn't think it would be wise to share the error? 🫃
Haha.. Im sorry im noob.

The thing is, when i remove
This:
Remove This

and this

View attachment 96272
I cant press login, nothing happens.


Post automatically merged:

I FIXED IT!

In entergame.lua

I replaced
G.authenticatorToken = token or enterGame:getChildById('accountTokenTextEdit'):getText()

with:
G.authenticatorToken = token or ''
 
Last edited:
Haha.. Im sorry im noob.

The thing is, when i remove
This:

I cant press login, nothing happens.


Post automatically merged:

I FIXED IT!

In entergame.lua

I replaced
G.authenticatorToken = token or enterGame:getChildById('accountTokenTextEdit'):getText()

with:
G.authenticatorToken = token or ''
I am glad you managed, btw, there is a in-built terminal in OTC, just press CTRL + T, and you will see the errors next time something breaks.
 
Last edited:
Haha.. Im sorry im noob.

The thing is, when i remove
This:

I cant press login, nothing happens.


Post automatically merged:

I FIXED IT!

In entergame.lua

I replaced
G.authenticatorToken = token or enterGame:getChildById('accountTokenTextEdit'):getText()

with:
G.authenticatorToken = token or ''

I'm glad you resolved your problem, my friend. It's been a while since I've dealt with this client (=
 
Back
Top