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

[8.4][Login Server] The Forgotten Server 0.3 beta 3 for multiworld. Tutorial included

Hermes

dziwki kola gramy w lola
Joined
Nov 17, 2007
Messages
1,867
Reaction score
14
Location
Poland
Hello!

As I realised that the most of you can't compile TFS with
__LOGIN_SERVER__
parameter, I decided to make one for you. It's just the .exe file, not modified, so source you can found on OTLand repository:
svn.otland.net/public.

Here it is:
http://www.speedy*****malware.localhost/165928182.html

And little tutorial "How to make multiworld system plx!"

1. First, download clean TFS (for example from erp0t's post) and REPLACE .exe file with mine. Then run this. It should run like an ordinary TFS.
- Now your loginserver should run.

2. Then edit your data/XML/servers.lua by editing/adding lines:
For example, I want to run two gameworlds. So my servers.xml looks like that:
Code:
<server id="1" name="FIRST OTS" address="IP OF THE SERVER" port="7171"/>
<server id="2" name="SECOND OTS" address="IP OF THE SERVER" port="7172"/>
- Now you have configured your login server.

3. Next, edit config.lua files of your gameworlds.
Set "yes" in
Code:
loginOnlyWithLoginServer = "no"

Note. DO NOT set this as "yes" in login server. Just in gameworlds.

IMPORTANT! Set
Code:
worldId = 0
as this you have set in servers.xml!

Finally set
Code:
port = 7171
as a port that you have set in servers.xml.
- Now all should be set.


README!
I won't tell how to edit account maker to support multiworld, as it's already somewhere on this forum.
Also, world where player is is stored in database in players table, in worldid row.


Regards,
Hermes

(I wouldn't mind reputation point :>)
(report any misspellings if are, or some other mistakes. nobody is perfect ^^,)
 
dh6f5y.png


Please also include what revision has been compiled.
 
Ok well the server works fine, the character list comes up, but when it tries to connect to game world it says "invalid server address", I have done everything you said to do in tutorial.

The servers.xml has 2 servers, one on port 7172, one on port 7173, and the login server 7171.
 
Just keep saying that I dont have any character, that I must go make one?
I have set

#Login
Port: 7171
Ip ect..
Worldid=0

#Server 1
Port: 7172
ip ect..
Worldid=1

#Server 2
Port 7173
ip ect..
Worldid=2

And i set useloginserver=yes in both server1 and server2..
So whats wrong?
 
(it's actually the newest beta 3, when rc1 comes I will compile rc1)
Hm, I will test everything again.

Eh, it's working fine for me, tested on dedicated server and it worked.. :/
 
Last edited by a moderator:
Damn it, I won't see too much poor servers with multi world ;/ As erp0t said it should be only for people which know anything about OT :/
 
Damn it, I won't see too much poor servers with multi world ;/ As erp0t said it should be only for people which know anything about OT :/

Who cares about what you wanna see or not? Go away satan..

@ Topicmaker..
Do I need to make something config in the loginserver .exe?
 
Sure. Players must connect to your login server as to normal server, and through loginserver they can loginon other gameworlds.
 
Please make another tutorial explaining better.
Since I opened 2 servers here and is giving the error:
Please re-connect using port 7171
Help me or make another tutorial and more detailed.
 
Connect to your LOGIN server as to regular server. Then when it comes to character list, you can set up char's worldid in database in players in worldid row.
 
We know that! BUT!..

If I put worldid=0 as Loginserver, it will not find any character?
So am I gonna use the login server as world#1 and people play on login server too??

because it only says that there is no characters on my account when I try to login on my login server...
 
But it may be all in one computer?

And I have to change the line "loginOnlyWithLoginServer =" no "
the two servers or in one?
I have to put in the file server.xml
<server id="1" name="FIRST OTS" address="IP OF THE SERVER" port="7171"/>
<server id="2" name="SECOND OTS" address="IP OF THE SERVER" port="7172"/>
the two?
 
It can be on one computer. You have just to change ports, and set loginOnlyWithLoginServer on "yes" on both gameworlds. Also I think that worldid 0 isn't meaning that this server is loginserver. Parameter __LOGIN_SERVER__ does the trick. I don't know why you are having problems with it. For me it's working like a charm : /
 
No he's not? Its a place for people to learn and help out.
Not for people to be egoistic?

Its not like if you gonna know alot, then never share ur experience with others? Thats just selfish.

And since I cant edit:

If people dont wanna see alot of Multiworld sites, then dont search for them? NO one is forcing you to play OT..
 
Last edited by a moderator:
Back
Top