Guide: dedicated server setup

Want to learn or teach others some of the finer details of Life is Feudal? This section is for the game guides, tutorials and FAQ's.

SashaBrno
 
Posts: 4
Joined: 18 Nov 2014, 13:52

Re: Guide: dedicated server setup

Post by SashaBrno » 18 Nov 2014, 14:18

And how to update the server after a patch?

User avatar
YellzBellz
 
Posts: 4
Joined: 06 Jun 2015, 04:39

Re: Guide: dedicated server setup

Post by YellzBellz » 06 Jun 2015, 04:54

lol,
I tried renting a LIF server, but got the DB internal error and got sick of the hosting company saying the DB is corrupted

I went the VPS route and am trying to get the LIF server going there. Followed the 2nd video tutorial but when I try to copy the New.sql into the query window I get an out of memory error from HeidiSQL.

A few times it did paste and I tried running as a single batch and line by line, but those times I got the ...
SQL Error (1064): You have an error in your SQL syntax; Check the manual that correspond to your MariaDB server version for the right syntax to use near " at line 3. Notice: You can disable the "Stop on erros in batch mode" option to ignore such errors.

I tried this on my VPS and on my home desktop, 2 different environments both using MariaDB 5.5.43 and HeidiSQL.

Any info or help would be greatly appreciated!

User avatar
volkofff961
True Believer
 
Posts: 10
Joined: 23 Jun 2015, 00:03

Re: Guide: dedicated server setup

Post by volkofff961 » 01 Jul 2015, 22:18

Do not rent LiF server, unless they are going to take care about all settings for you. It is better to run server from you local computer, because you have full control on all software. In your case there is some problem in MySql settings and no one will tell you whats wrong.

Use your own computer to host the server... Install everything you need according to a guide above.

Everything should work. Good guide. Just installed my dedicated LiF server. It runs perfectly.
Image

User avatar
teiubescmicutzamea
 
Posts: 14
Joined: 07 Aug 2015, 16:39
Location: Romania

I have this Log error

Post by teiubescmicutzamea » 21 Aug 2015, 11:58

//-------------------------- 8/21/2015 -- 14:35:06 -- v0.7.0.5 --
ECHO 2015-08-21 14:35:06.159 {00} <NOSCOPE> --------- Loading DIRS ---------
HACK 2015-08-21 14:35:06.159 {00} <NOSCOPE> v0.7.0.5
ECHO 2015-08-21 14:35:06.159 {00} <NOSCOPE>
ECHO 2015-08-21 14:35:06.237 {01} <onStart>
--------- Initializing Directory: scripts ---------
ECHO 2015-08-21 14:35:06.237 {02} <initServer>
--------- Initializing LiF Server: Server Scripts ---------
ECHO 2015-08-21 14:35:06.237 {02} <initServer> Loading CmConfiguration
ECHO 2015-08-21 14:35:06.253 {02} <initServer> Init of DB interface
ERRR 2015-08-21 14:35:06.300 {02} <initServer> CmDb::_connect() - connection error #1045: Access denied for user 'xxxxxx'@'localhost' (using password: NO)
ERRR 2015-08-21 14:35:06.300 {02} <initServer> CmServerInfoManager::processLocalWorlds() - can't connect to MySQL!
ERRR 2015-08-21 14:35:06.300 {02} <initServer> Fatal: Can't init local world (id=). Terminating.
ECHO 2015-08-21 14:35:06.300 {00} <NOSCOPE> Engine initialized...
core/scripts/server/server.cs (78): Unable to find function destroyWorld
Sorry! I don't speak verry good english!


Archaismic
 
Posts: 9
Joined: 16 Oct 2015, 21:59

Re: Guide: dedicated server setup

Post by Archaismic » 16 Oct 2015, 22:02

So I have a server set up all fine a dandy, but are there any server tools? I.e. a gui or the like that displays things like how many players are on, log in and log off times of different players, latency monitoring, etc?


Archaismic
 
Posts: 9
Joined: 16 Oct 2015, 21:59

Re: I have this Log error

Post by Archaismic » 16 Oct 2015, 22:05

Industrial wrote://-------------------------- 8/21/2015 -- 14:35:06 -- v0.7.0.5 --
ECHO 2015-08-21 14:35:06.159 {00} <NOSCOPE> --------- Loading DIRS ---------
HACK 2015-08-21 14:35:06.159 {00} <NOSCOPE> v0.7.0.5
ECHO 2015-08-21 14:35:06.159 {00} <NOSCOPE>
ECHO 2015-08-21 14:35:06.237 {01} <onStart>
--------- Initializing Directory: scripts ---------
ECHO 2015-08-21 14:35:06.237 {02} <initServer>
--------- Initializing LiF Server: Server Scripts ---------
ECHO 2015-08-21 14:35:06.237 {02} <initServer> Loading CmConfiguration
ECHO 2015-08-21 14:35:06.253 {02} <initServer> Init of DB interface
ERRR 2015-08-21 14:35:06.300 {02} <initServer> CmDb::_connect() - connection error #1045: Access denied for user 'xxxxxx'@'localhost' (using password: NO)
ERRR 2015-08-21 14:35:06.300 {02} <initServer> CmServerInfoManager::processLocalWorlds() - can't connect to MySQL!
ERRR 2015-08-21 14:35:06.300 {02} <initServer> Fatal: Can't init local world (id=). Terminating.
ECHO 2015-08-21 14:35:06.300 {00} <NOSCOPE> Engine initialized...
core/scripts/server/server.cs (78): Unable to find function destroyWorld



you didn't set up the username and password for your database (the one you used with mariadb) probably root and a password


Jaymunnie
 
Posts: 1
Joined: 19 Aug 2019, 06:07

Re: Guide: dedicated server setup

Post by Jaymunnie » 19 Aug 2019, 06:35

Is this guide still relevant? I just recently bought LIFYO and I'd like to set up a server for myself and the guys, which I know nothing about, but this guide is about 5yrs old now.

Return to Guides and Tutorials