Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[NEED HELP] Server configuration for flatpak not loading

#1
Hello everyone. I created the file server.cfg in ~/.var/app/org.xonotic.Xonotic/.xonotic/data/ so I could add/change some settings, but none of them seem to be working.

I tried moving it to several related directories, but none worked. I launched the game from the command line and found that it was execing a file called xonotic-server.cfg that I couldn't find anywhere on my system. Changing the filename of my configuration file to xonotic-server.cfg and putting it in the original location seemed to enable every possible option, resulting in me somehow immediately dying every time I started a new game or tried to respawn. The flatpak's permissions are at the default settings.

I have no idea what to do here, but I'm hoping somebody can point me in the right direction.
Reply

#2
You need a ~/.var/app/org.xonotic.Xonotic/.xonotic/data/server.cfg file, optionally you can have autoexec.cfg there too. xonotic-server.cfg is part of the game (it's in a pk3 archive wherever flatpak installs stuff on your OS), files that are part of the game shouldn't exist in ~/.var/app/org.xonotic.Xonotic/.xonotic/data/ as that will cause problems. At a minimum your server.cfg or autoexec.cfg should contain a line hostname "my new server", you can check it worked after startup with the status 1 command.
Reply

#3
I put the file in the right place and gave it the right name, but the custom set hostname isn't showing up anywhere for me. I looked in the console and it's just the generic Username's Xonotic Server.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation [SOLVED] Server not listed John 1 2,243 01-19-2025, 04:47 AM
Last Post: John
  [NEED HELP] Setup Dedicated Server to DL from Map Server mrhip 1 4,469 10-16-2023, 06:22 AM
Last Post: Freddy
  [NEED HELP] Private server is not private HitCoder 2 5,755 02-23-2023, 05:27 AM
Last Post: Romasheryt
  [BUG] SDL version not loading, glx version buggy rendering Halogene 3 6,126 10-19-2017, 06:04 AM
Last Post: Freddy
  [NEED HELP] Server not accessible? ColonelPhantom 2 4,475 10-03-2017, 05:55 AM
Last Post: ColonelPhantom
  [NEED HELP] Server Not Showing Up on Server Browser Antares* 5 6,997 05-21-2017, 04:46 PM
Last Post: martin-t
  [NEEDS INFO] Game crashes while loading - could not load texture "overkillbullet" |OSiRiS| 5 7,535 10-17-2015, 03:44 PM
Last Post: BuddyFriendGuy
Question [SOLVED] Xonotic Server is not visible r3d0xX 2 6,825 09-10-2012, 01:49 PM
Last Post: r3d0xX
  [SOLVED] Server not working. neXus 8 9,143 04-18-2012, 05:51 AM
Last Post: neXus
  [SOLVED] Environments not loading? Black maps. Ezprezo 3 6,054 10-03-2011, 12:47 PM
Last Post: Mepper

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-