Life is Feudal: Your Own

Life is Feudal: Your Own

View Stats:
ToastnSalmon Sep 21, 2014 @ 1:56pm
Starting a new server
Does anyone know if I can create a server on my home computer ( not a server computer) and run it. Or do I need a strictly server based computer?
< >
Showing 1-15 of 172 comments
NoodledPanda Sep 21, 2014 @ 2:10pm 
You can find tutorials on the official site forum onf how to make a server on your pc. http://lifeisfeudal.com/forum/guides-and-tutorials-f22/
ToastnSalmon Sep 21, 2014 @ 3:00pm 
yea every one of those tutorials assumes u know the basics. Just need a step by step, nothing more.
Some say I gotta go in router commands change start and end ports, others are telling me I can run direct off MYSQL, but I get errors every time.

And don't get me wrong, it's not like I'm whinny after 2 minutes of trying to fiqure this out. I'm already in my 3rd hour trying to set this thing up
NoodledPanda Sep 21, 2014 @ 3:04pm 
Sorry, I cannot help you any further then this because I do not have the personal experiance with setting up a server for this game.
ArpyClarkson Sep 21, 2014 @ 3:17pm 
If you want to host a dedicated server there are a few step for doing so- if you want to run a undedicated server its a bit easier.

The difference between a dedicated and undedicated server is that a dedicated server runs as a seperate program- while the undedicated server runs directly out of the game. To start an undedicated server you just need to create a new world from the main menu. To allow others to join you need to ensure that you have port forwarded the port you selected your server to run at and the two ports following it (by default you will need to port forward port 28000 to 28002). There is plenty of documentation online about portforwarding for any model of router.

As far as a dedicated server there are a few tutorials up on how to make at the forums. But basically you need to download MariaDB 5.5- I used the .msi installer to make my life easier. Once that is done you have to download the dedicated LiF server on steam, which can be ound under tools. Then you have to change a few files pertaining to your MySQL server- this is best described in the tutorials. I think that pretty much it.
ToastnSalmon Sep 21, 2014 @ 4:04pm 
I want a dedicated server since I'm running it off another computer on my network, but here's where I ran into a few problems. When you merge the two files, do both gotta look the same. Or is the Maria file is the only one that needs both info from the two files. Then, someone pointed me to pretty much the same setup but said it was port forwarding that was causing problems. Start end port ( 28000, 26000-26003) So I don't see where I can correct input that.
ArpyClarkson Sep 21, 2014 @ 4:13pm 
Not sure I follow you with the port forwarding- for verification: if your server is set to the default port of 28000 you must port forward 28000, 28001, 28002. If you change that port number you must port forward that port, plus the next to ports (i.e you change the port to 40000, you must then port forward 40000, 40001, 40002).

As far as file merging: You must change the "my.ini" in your Maria installation/data folder- here is mine, just copy this into "maria install folder/data/my.ini"

[mysqld]
datadir=F:\MariaDB\data
port=3306
sql_mode="STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION"
default_storage_engine=innodb
character-set-server=utf8
innodb_file_per_table=ON
innodb_file_format=Barracuda
innodb_flush_log_at_trx_commit=1
max_sp_recursion_depth=255
max_allowed_packet=10M
innodb_buffer_pool_size=1022M
innodb_log_file_size=50M
query_cache_size=0
query_cache_type=OFF
[client]
port=3306

MAKE SURE YOU CHANGE THE datadir DIRECTORY :3

Other than that make sure you update the config_local.cs in the dedicated server install folder. The info needs to reflect your MariaDB SQL info. (basically just update the root password to whatever you set it to)

I don't remember if anything else is involved- let me know if you still have issues and i'll see if i can help

EDIT:

for clarification- the config_local.cs isn't by default in the root folder of the dedicated server install- it is in docs. You have to copy it out into the main folder "steamstuff/Life Is Feudal Your Own Dedicated Server/"
Last edited by ArpyClarkson; Sep 21, 2014 @ 4:17pm
ToastnSalmon Sep 21, 2014 @ 4:16pm 
Do I have to do anything to the docs on common files after I download the tool?
Dougey Sep 21, 2014 @ 4:16pm 
I can setup a dedicated server and friends can see/join it from the client. The issue i'm having is when I then run the client on the same machine I cannot see my own server in the list. Clicking "Join Game" in steam on a friend who is on my server does nothing. Does the server need it's own machine?
ToastnSalmon Sep 21, 2014 @ 4:17pm 
Where should datadir point to, specific file or just location?
ArpyClarkson Sep 21, 2014 @ 4:19pm 
Originally posted by Sir Gentleman Troll:
Where should datadir point to, specific file or just location?

datadir must be directed toward your "MariaDB installation folder/data"
ArpyClarkson Sep 21, 2014 @ 4:21pm 
Originally posted by djlaw69:
I can setup a dedicated server and friends can see/join it from the client. The issue i'm having is when I then run the client on the same machine I cannot see my own server in the list. Clicking "Join Game" in steam on a friend who is on my server does nothing. Does the server need it's own machine?

I can run my dedicated server and play it on the same machine. I do not know why you wouldn't be able to see it unless there is a conflict with firewall/ports or maybe an issue with the way the server was set up.
ToastnSalmon Sep 21, 2014 @ 4:26pm 
ok on my computer, my MariaDB/data is in C:\ProgramFiles\MariaDB 5.5\data\my.ini
would that be the correct pathway? Or do I just change it to C to your F that you gave me?
ArpyClarkson Sep 21, 2014 @ 4:29pm 
Originally posted by Sir Gentleman Troll:
ok on my computer, my MariaDB/data is in C:\ProgramFiles\MariaDB 5.5\data\my.ini
would that be the correct pathway? Or do I just change it to C to your F that you gave me?

For you my.ini should be at "C:\ProgramFiles\MariaDB 5.5\data\my.ini". Inside the my.ini the datdir should be "C:\ProgramFiles\MariaDB 5.5\data"
ToastnSalmon Sep 21, 2014 @ 4:35pm 
Ok, I move the config file in LiF steam tool part to the main directory. Copy and pasted so now it's 3 slots above the main application. I've placed my root password. Changed my.ini files and datadir.

anything I need to do because I hit run dedicated server?
ToastnSalmon Sep 21, 2014 @ 4:36pm 
Well LiF Your own server crashed so i did something wrong somewhere.
< >
Showing 1-15 of 172 comments
Per page: 1530 50

Date Posted: Sep 21, 2014 @ 1:56pm
Posts: 172