Create an account

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[INVALID] Problem with the dedicated Server

Hey Guys I got a problem setting up my dedicated xonotic server on my windows computer.
I copied the "server_windows.bat" script to the main directory of the game and configurated and copied the "server.cfg" to the data folder of the game. Is this everything I need to do?
If I start the "server_windows.bat" script the server starts but there are several error messages like: "Invalid sound info line: //getflag sound/player/soldier/player/getflag 0"

Another message I mind about is that is says: "Server listening on adress" isn't that wrong?

The main reason why I post this thread is because I cannot find my server in the public server list.

Thanks for help !

For finding your server in the public server list, you need to set (in the server.cfg):

> sv_public 1 <

Furthermore you need to forward on your router port 26000 (udp) to allow connections pass through.

Quote:Another message I mind about is that is says: "Server listening on adress" isn't that wrong?
Nope, this isn't wrong.
[Image: Sigsig.jpg]

I've already set sv_public 1 in my server.cfg

What is the servers IP, maybe somebody with a compatible Xonotic could try and connect to it?

Yeah, give us the server's IP. Make sure that port 26000 is forwarded in UDP to the right local IP.

And the address is nothing to worry about if you use IPv4 and only have one network interface up, it just means that it's listening on the default interface I think.

Ok, the server is running and the ip must be (only today my ip is changing every day)

EDIT: I found out another thing: If i type in "connect <my local ip(>:26000 then the game connects to the server.

Is your server up? The IP exists and responds to ping. I'm pretty sure that port is firewalled. Triple-check your router, software and/or kernel firewall(s).

EDIT: And yeah, it's totally expected that it would show up on LAN. That doesn't mean software firewall isn't the reason, as firewalls in general can also check the source IP and be more permissive to LAN IPs.

Ok the connection problem is solved. I opended a tcp-port for the game too. But there is another big problem: I cannot configurate my server via server.cfg. The name of the server in the server list is: r3d0xXs Xonotic Server but in my server.cfg i named it Xonotix Fun Server (just for testing purposes) and I set the number of bot to 2. What could be the reason for this?

thanks for the help so far! Smile

EDIT: Ok I found out sth more: If I type "hostname test" in the server console then the server is called "test" in the server list. Where do the server safe this so i can configurate it?

Did you read the file server/readme.txt? It tells you that server.cfg must be in the data directory (the same directory as config.cfg usually).

I do not even got a "config.cfg" in my gamefolders WTF? ^^

You do have one, assuming that you have run the client without crashing at least once. It's not in the install directory, it's in the user account's personal directories. Type which config.cfg to see where that is.

You can also put server.cfg in the data directory inside the install directory of course.

Can you type which server.cfg in your server console and see if the contents of the files it indicates are indeed your server config?

Possibly Related Threads…
Thread Author Replies Views Last Post
  [NEED HELP] Cannot launch xonotic-linux64-dedicated server (v0.8.5) in Ubuntu18.04 ff8eyes 4 2,506 04-04-2024, 08:16 PM
Last Post: IvanLowery
  [NEED HELP] Input layout problem in Xonotic-SDL FinBiteLeaf 4 434 03-19-2024, 05:24 AM
Last Post: FinBiteLeaf
  [NEED HELP] Setup Dedicated Server to DL from Map Server mrhip 1 571 10-16-2023, 06:22 AM
Last Post: Freddy
  [NEED HELP] Windows 10 -basedir problem BlazedRasta 4 4,447 03-21-2023, 07:34 PM
Last Post: AlexVelasquez
  [BUG] A font-rendering performance problem (of upstream DarkPlaces) NaitLee 11 3,235 08-20-2022, 01:23 AM
Last Post: NaitLee
Question [NEED HELP] Problem with charset of names in XonStat API NAPALM 0 968 11-11-2021, 08:38 AM
Last Post: NAPALM
  [NEED HELP] cant start the game/ session lock problem skyghost47 1 3,080 10-24-2020, 11:50 PM
Last Post: BuddyFriendGuy
  Chat key bind problem BuddyFriendGuy 4 3,069 01-26-2019, 11:12 PM
Last Post: BuddyFriendGuy
  [NEED HELP] Server Not Showing Up on Server Browser Antares* 5 4,450 05-21-2017, 04:46 PM
Last Post: martin-t
  [NEEDS INFO] Dedicated server problem. kreestenrx1234 2 3,252 04-27-2016, 03:30 PM
Last Post: BuddyFriendGuy

Forum Jump:

Users browsing this thread:
2 Guest(s)

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