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

All Steps To Create Multi World.......By oOIOo

oOIOo

HetZera.Net
Joined
Mar 30, 2010
Messages
221
Reaction score
1
After More Search and Some test on my servers i reach to the way to get multi World

1.Server1 config.lua,
also it should be like this in Server2 :
Code:
loginOnlyWithLoginServer = true


Code:
	worldId = 0
	ip = "Server1 name"
	bindOnlyConfiguredIpAddress = false
	loginPort = 7171
	gamePort = 7172
	adminPort = 7171
	statusPort = 7171
        [COLOR="Red"]dataDirectory = "/xampp/htdocs/DATA DIR"[/COLOR]
Code:
server id="0" name="SERVER ONE" versionMin="841" versionMax="842" address="127.0.0.1" port="7171"
server id="1" name="SERVER TWO" versionMin="841" versionMax="842" address="127.0.0.1" port="7171"

2.Server2 config.lua,
Code:
	worldId = 1
	ip = "Server2 name"
	bindOnlyConfiguredIpAddress = false
	loginPort = 7171
	gamePort = 7173
	adminPort = 7171
	statusPort = 7171
	[COLOR="Red"]dataDirectory = "/xampp/htdocs/DATA DIR"[/COLOR]
Code:
server id="0" name="SERVER ONE" versionMin="841" versionMax="842" address="127.0.0.1" port="7171"
server id="1" name="SERVER TWO" versionMin="841" versionMax="842" address="127.0.0.1" port="7171"
Code:
[COLOR="DarkGreen"][COLOR="Red"]dataDirectory = "/xampp/htdocs/DATA DIR"[/COLOR][/COLOR]
With this line, it allows multiworld hosts to have each config.lua and therefore server .exe linked to the one data directory, like so.


Picture to how the Servers Will be:
The Two Config:

\data\XML\servers.xml

Hope it Help anyone need it and if i forget anything or there's anything wrong then tell me and if i helped u then hope u rep++
 
Last edited:
Not bad, it's helpful. But i don't see reason why did you make another thread for this? You should just ask mods to move your first thread in right section.:peace:
 
Whats with the Datadirectory?

Is that where you have your config.lua?

about Datadirectory that who will make two sites to each server if u wanna make the two server goes to the same site then make the same Datadirectory in the two config
 
I don't think gesior used the datadirectory, I actually think its useless to do it in config then.

Gesior has to know where your server config is, not vice versa...
 
Thx but if anyone need to make two servers on one website and one pc and wanna add them on otservlist with two ip

The Servers:

1.Evolutions 8.54
2.RealMap 8.54

I Wanna Complete all the scripts Can anyone Help me to make Thread to all that to help all who dont know?
 
ok...can you help me by checking if i'm doing everything right? because I still can not use multi-world...

1. to use multi-world I need a tfs.exe compiled with -D__LOGIN_SERVER__ parameter to each server.

2. I must change
loginOnlyWithLoginServer = true
in both config.lua of server 1 and server 2

3. I need have one different worldId to each server (ex: server 1- worldId=0; server 2- worldId=1)

4. I need have one different gamePort to each server (like your screen shot: server 1- gamePort=7172 and server 2- gamePort=7173)

5. I must change the "port" in servers.xml to the gamePort number that I changed in config.lua (just in servers.xml of server 1?)

I'm doing anything wrong?

Cya!
 
next time, more explenation would be appreciated, i cant andurstand a shitz, where, the folders are going to be in and such, example here u did ip = "Server2 name" wrong its same ip so?
 
Back
Top