Client error when joining a server.

Get support for Unvanquished.
Post Reply
apseryberox
Posts: 9
Joined: Mon Jun 17, 2013 1:20 pm UTC

Client error when joining a server.

Post by apseryberox »

I made a server on debian 6 (64bit), and tried to join it. Then couldn't join and got this error:

Code: Select all

GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: ATI Radeon HD 2600 PRO
GL_VERSION: 3.3.10750 Compatibility Profile Context
GL_SHADING_LANGUAGE_VERSION: 3.30
GL_MAX_VERTEX_UNIFORM_COMPONENTS 16384
Using OpenGL 3.x context
Using GPU vertex skinning with max 128 bones in a single pass
Failed to load animation file models/players//animation.cfg
CG_RegisterClientModelname( , default ) failed

GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: ATI Radeon HD 2600 PRO
GL_VERSION: 3.3.10750 Compatibility Profile Context
GL_SHADING_LANGUAGE_VERSION: 3.30
GL_MAX_VERTEX_UNIFORM_COMPONENTS 16384
Using OpenGL 3.x context
Using GPU vertex skinning with max 128 bones in a single pass

Console doesn't show anything odd, just that i've connected, and then disconnected.

Other servers work fine.

User avatar
Ishq
Project Head
Posts: 1147
Joined: Tue Mar 06, 2012 8:32 pm UTC

Re: Client error when joining a server.

Post by Ishq »

It looks like an old version of Unv. Have you tried updating?

apseryberox
Posts: 9
Joined: Mon Jun 17, 2013 1:20 pm UTC

Re: Client error when joining a server.

Post by apseryberox »

Old server or old client? Could try that tomorrow. Downloaded the server directly from website so it'd be wierd if it was old.

apseryberox
Posts: 9
Joined: Mon Jun 17, 2013 1:20 pm UTC

Re: Client error when joining a server.

Post by apseryberox »

Why is there only old versions here: http://sourceforge.net/projects/unvanquished/files/Linux. That's the problem I'm having, because I just downloaded the top one thinking it's the newest version. Please fix that.

User avatar
Anomalous
Programmer
Posts: 318
Joined: Wed Mar 07, 2012 3:51 pm UTC

Re: Client error when joining a server.

Post by Anomalous »

We have .debs for squeeze. You could use them…

Debian and Ubuntu packages (squeeze, wheezy, sid; 12.04, 12.10, 13.04) may work on derivatives

OFFEND! … no, that's not right… ATTACK!

apseryberox
Posts: 9
Joined: Mon Jun 17, 2013 1:20 pm UTC

Re: Client error when joining a server.

Post by apseryberox »

Yeah thanks, did that. I'm a massive linux noob (using only command line). I managed to get server installed but now when I run unvanquished-server, nothing happens (also can't see it in top).

What am I doing wrong now D: ?

User avatar
seana11
Tyrant
Posts: 430
Joined: Tue Jun 19, 2012 2:00 pm UTC
Location: Well, the sign says "You Are Here"...

Re: Client error when joining a server.

Post by seana11 »

What do you get at the console?

Image
Image
Image

User avatar
Viech
Project Head
Posts: 2139
Joined: Fri Aug 03, 2012 11:50 pm UTC
Location: Berlin

Re: Client error when joining a server.

Post by Viech »

The server has to be run with special parameters, in the best case as a daemon by init or systemd.

Here are sample files for both systems:

systemd:

Code: Select all

% cat /usr/lib/systemd/system/unvanquished.service 
[Unit]
Description=Unvanquished Dedicated Server
After=network.target

[Service]
EnvironmentFile=/etc/conf.d/unvanquished.conf
User=unvanquished
Group=unvanquished
ExecStart=/usr/bin/unvanquished-server +set dedicated $DEDICATED +exec $EXEC

[Install]
WantedBy=multi-user.target

init:

Code: Select all

 % cat /etc/rc.d/unvanquished 
#!/bin/bash

. /etc/rc.conf
. /etc/rc.d/functions

. /etc/conf.d/unvanquished.conf

case "$1" in
  start)
    stat_busy "Starting Unvanquished Server"
    /usr/bin/sudo -u $USER -g $GROUP unvanquished-server +set dedicated $DEDICATED +exec $EXEC >/dev/null 2>&1 &
    if [ $? -gt 0 ]; then
      stat_fail
    else
      add_daemon unvanquished
      stat_done
    fi
    ;;
  stop)
    stat_busy "Stopping Unvanquished Server"
    /usr/bin/sudo -u unvanquished /usr/bin/pkill unvanquished >/dev/null 2>&1
    if [ $? -gt 0 ]; then
      stat_fail
    else
      rm_daemon unvanquished
      stat_done
    fi
    ;;
  restart)
    $0 stop
    sleep 1
    $0 start $2
    ;;
  *)
    echo "usage: $0 {start|stop|restart}"
    ;;
esac

config file:

Code: Select all

% cat /etc/conf.d/unvanquished.conf 
# Server mode
# 0 - local server
# 1 - private (LAN) server
# 2 - public (Internet) server
DEDICATED=1

# Server configuration file
EXEC=server.cfg

# Server user and group
# These work only with init, systemd specifys them in the .service file
USER=unvanquished
GROUP=unvanquished

Responsible for: Arch Linux package & torrent distribution, Parpax (map), Chameleon (map texture editor), Sloth (material file generator), gameplay design & programming, artistic direction

Post Reply