Xonotic Forums

Full Version: Dedicated server setup
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Im trying to create a server so I can play with friends on diffrent network. 
I'm playing from my pc and try to run the server from my computer. Problem is I can't runt dedicated xonotic.exe or the server_windows bat file while I'm running my game client xonotic.exe when running xonotic dedicated.exe I get a lock file to not open more then one xonotic. How do I solve this problem? Thanks for all reply.
I'm running game from xonotic folder from zip file.
This is a design issue, because both binaries use the same crypto key by default.
You can solve the issue by using -sessionid parameter.
Code:
xonotic.exe -sessionid server

You can also modify the server_windows.bat file (add -sessionid server).

The key files are in your user folder.
Windows: C:\Users\<your_user_name>\Saved Games\xonotic
In bat file should I type add -sessionid server in the top of the bat file? 
Edit the last line in your server_windows.bat file:
Code:
.\%executable% -dedicated -sessionid server +serverconfig server.cfg %*
(04-03-2019, 09:25 AM)It\sMe Wrote: [ -> ]Edit the last line in your server_windows.bat file:
Code:
.\%executable% -dedicated -sessionid server +serverconfig server.cfg %*

Thank you so much. it really did the trick.