Page 1 of 1

Client error when joining a server.

Posted: Sat Jul 06, 2013 6:03 pm UTC
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.


Re: Client error when joining a server.

Posted: Sat Jul 06, 2013 10:37 pm UTC
by Ishq

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


Re: Client error when joining a server.

Posted: Sat Jul 06, 2013 11:40 pm UTC
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.


Re: Client error when joining a server.

Posted: Sun Jul 07, 2013 9:22 am UTC
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.


Re: Client error when joining a server.

Posted: Mon Jul 08, 2013 4:25 pm UTC
by Anomalous

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


Re: Client error when joining a server.

Posted: Mon Jul 08, 2013 10:18 pm UTC
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: ?


Re: Client error when joining a server.

Posted: Sat Jul 27, 2013 3:29 pm UTC
by seana11

What do you get at the console?


Re: Client error when joining a server.

Posted: Sat Jul 27, 2013 4:02 pm UTC
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