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

Linux 2 worlds on 1 root

Owner Nighty

AmM Hosting Service
Joined
Sep 7, 2010
Messages
229
Reaction score
7
how to make 2 worlds on 1 root

like rl tibia
unledpf.jpg
 
you can't

NOOOOOOOOOOOOOOOOOB!
Take a look in tibiamx.net i have 3 in one :D
You need to compile with login server enabled, and change some stuff in you xml, the servers shit, also you need to change tge configs luas of each server and use diferents ports, there are tutos for this use search function
cAzRj9Ssm4.png
 
NOOOOOOOOOOOOOOOOOB!
Take a look in tibiamx.net i have 3 in one :D
You need to compile with login server enabled, and change some stuff in you xml, the servers shit, also you need to change tge configs luas of each server and use diferents ports, there are tutos for this use search function
cAzRj9Ssm4.png
Link one please :)
 
I have it like this
Just make as i do, and the login server just run first than others
Code:
    <server id="0" name="serv1" versionMin="860" versionMax="860" address="xxxxxxxxx" port="7172"/>
    <server id="1" name="serv2" versionMin="860" versionMax="860" address="xxxxxxxx" port="7173"/>
    <server id="2" name="serv3" versionMin="860" versionMax="860" address="xxxxxxxx" port="7174"/>
Code:
-- Connection config
	worldId = 0
	ip = "xxxxxxxxxx"
	bindOnlyConfiguredIpAddress = false
	loginPort = 7171
	gamePort = 7172
	adminPort = 7171
	statusPort = 7171
	loginTries = 10
	retryTimeout = 5 * 1000
	loginTimeout = 60 * 1000
	maxPlayers = 1000
Code:
	-- Connection config
	worldId = 1
	ip = "xxxxxxxxx"
	bindOnlyConfiguredIpAddress = false
	loginPort = 7171
	gamePort = 7173
	adminPort = 7171
	statusPort = 7171
	loginTries = 10
	retryTimeout = 5 * 1000
	loginTimeout = 60 * 1000
	maxPlayers = 1000
To compile in linux with Login Serv just type this
Code:
./configure --enable-mysql --enable-login-server
 
Now Enabled

Code:
Server diagnostics.......... : no
Login server mode........... : yes
OTAdmin protocol............ : no
Root run permission......... : no
Home-directory configuration : no
OTServ custom allocator..... : no
Disable OTB headercheck..... : no
Debug build................. : no

Build with MySQL............ : yes
Build with SQLite........... : no
Build with PostgreSQL....... : no

Server Loading

Code:
[8:50:04.754] > Loading highscorebook.xml... done.
[8:50:04.754] > Loading buypremium_command.xml... done.
[8:50:04.754] > Loading firstitems.xml... done.
[8:50:04.755] > Loading custommonsters.xml... done.
[8:50:04.755] > Loading guildWarSystem.xml... done, but disabled.
[8:50:04.756] > Loading changender_command.xml... done.
[8:50:04.756] > 7 mods were loaded (1 disabled).
[8:50:04.756] >> Loading map and spawns...
[8:50:05.752] > Map size: 35534x35484.
[8:50:05.752] > Map descriptions:
[8:50:05.752] "Saved with Remere's Map Editor 1.1.11"
[8:50:05.752] "Map by Nighty!" 
[8:50:13.226] > Map loading time: 8.47 seconds.
[8:50:14.051] > Data parsing time: 0.85 seconds.
[8:51:37.653] > Houses synchronization time: 0.56 seconds.
[8:51:38.852] > Content unserialization time: 1.19 seconds.
[8:51:38.852] >> Checking world type... Open PvP
[8:51:38.852] >> Initializing game state modules and registering services...
[8:51:38.930] > Global address: *********
[8:51:38.930] > Local ports: 7171       7172
[8:51:38.930] >> All modules were loaded, server is starting up...
[8:51:38.930] >> DuckLand High Exp server Online!

The Other One Do the Same

But
Code:
Local ports: 7171       7173
>> DuckLand Low Exp server Online!

And Now i see world 0 only too
 
Could you post:
- servers.xml (just 1 since they should be all the same)
- config.lua (part that mxsoft also copied (for each server))
- database view of the 3 chars on that account your using to test it
 
i try to make 2 worlds

config 1
Code:
	worldId = 0
	ip = "127.0.0.1"
	bindOnlyConfiguredIpAddress = false
	loginPort = 7171
	gamePort = 7172
	adminPort = 7171
	statusPort = 7171
	loginTries = 100
	retryTimeout = 5 * 1000
	loginTimeout = 60 * 1000
	maxPlayers = 1000
	motd = "Welcome to DuckLand RealMap!"
	displayOnOrOffAtCharlist = false
	onePlayerOnlinePerAccount = false
	allowClones = false
	serverName = "DuckLand High Exp"
	loginMessage = "Welcome to DuckLand RealMap!"
	statusTimeout = 5 * 60 * 1000
	replaceKickOnLogin = true
	forceSlowConnectionsToDisconnect = false
	loginOnlyWithLoginServer = false
	premiumPlayerSkipWaitList = false

config2
Code:
	worldId = 1
	ip = "127.0.0.1"
	bindOnlyConfiguredIpAddress = false
	loginPort = 7171
	gamePort = 7173
	adminPort = 7171
	statusPort = 7171
	loginTries = 100
	retryTimeout = 5 * 1000
	loginTimeout = 60 * 1000
	maxPlayers = 1000
	motd = "Welcome to DuckLand RealMap!"
	displayOnOrOffAtCharlist = false
	onePlayerOnlinePerAccount = false
	allowClones = false
	serverName = "DuckLand Low Exp"
	loginMessage = "Welcome to DuckLand RealMap!"
	statusTimeout = 5 * 60 * 1000
	replaceKickOnLogin = true
	forceSlowConnectionsToDisconnect = false
	loginOnlyWithLoginServer = false
	premiumPlayerSkipWaitList = false

Server.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<servers>
	<server id="0" name="DuckLand High Exp" versionMin="854" versionMax="857" address="127.0.0.1" port="7172"/>
	<server id="1" name="DuckLand Low Exp" versionMin="854" versionMax="857" address="127.0.0.1" port="7173"/>
</servers>

tH6swZjLzd.jpg
 
Back
Top