• 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] Remove internal "ip changer"

Sertthoon

New Member
Joined
Aug 11, 2014
Messages
5
Reaction score
1
i've been trying to remove this ip changer inside the client and use my server's ip, but everything that i try, i destroy the client LOL


Kq7ueJS.png
 
You can also open init.lua on the otclient folder and paste this at the bottom.
Code:
EnterGame.setUniqueServer("YourIpHere", 7171, yourTibiaClientVersion)
For example:
Code:
EnterGame.setUniqueServer("myserver.servegame.com", 7171, 1098)
 
Sorry for the late reply, it might be your hosts file (you can't access it locally but people on the internet can).
If that's the case, just go to your hard drive/windows/system32/drivers/etc/ and open your hosts file on a text editor.

It should look something like this:
Code:
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#    127.0.0.1       localhost
#    ::1             localhost

Just add this at the end on a new line.

Code:
127.0.0.1      [MyServerIP (in numbers or your dns too)]

For example:
Code:
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#    127.0.0.1       localhost
#    ::1             localhost
     127.0.0.1       myserver.servegame.com

This should allow you to connect to your local server trough your global ip.
 
client_entergame/entergame.lua inside function EnterGame.init() paste this before enterGame:hide():
Code:
  EnterGame.setUniqueServer("127.0.0.1", 7171, 1076)
Ofc, change values to yours.
 
Back
Top