Dedicated server setup - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3) +--- Forum: Xonotic - Server Administration (https://forums.xonotic.org/forumdisplay.php?fid=16) +--- Thread: Dedicated server setup (/showthread.php?tid=8009) |
Dedicated server setup - Rec0d - 04-03-2019 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. RE: Dedicated server setup - Rec0d - 04-03-2019 I'm running game from xonotic folder from zip file. RE: Dedicated server setup - It'sMe - 04-03-2019 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 RE: Dedicated server setup - Rec0d - 04-03-2019 In bat file should I type add -sessionid server in the top of the bat file? RE: Dedicated server setup - It'sMe - 04-03-2019 Edit the last line in your server_windows.bat file: Code: .\%executable% -dedicated -sessionid server +serverconfig server.cfg %* RE: Dedicated server setup - Rec0d - 04-03-2019 (04-03-2019, 09:25 AM)It\sMe Wrote: Edit the last line in your server_windows.bat file: Thank you so much. it really did the trick. |