User panel stuff on forum
  3 posts on 1 page  1
General Discussion
2007-01-27, 00:26
Member
198 posts

Registered:
Oct 2006
K, i dont know how people are coping with this, but i invented some kind of ez workaround to connect via qizmo to servers (this would be hard doing it the normal way, since you cant paste afaik or alt_tab in glx). So, what i did is:

1. add bind "F11" /exec some.cfg
2. prepare a script and alias it, which will do the following:
2a. echo "say .connect $qizmoaddr" > /path/to/quake/qw/some.cfg
2b. set everything like xsetkbmap, cmdline, and some aliasing for qizmos
3. run that script with qizmo addr and server addr (gets echoed to that some.cfg file, should contain just one line always)
4. hit F11 to perform connection from qizmo to destination server

As an additional tweak, i made some aliases for the qizmos i use most of the time. My script looks like this atm:

#!/bin/bash
#
# QW client running script by faustov

# settings
setxkbmap us;
export __GL_SYNC_TO_VBLANK=0
export LD_PRELOAD=/lib/libpthread.so.0

# prepare qizmo-server connection bind
echo "say .connect $2" > /opt/Quakeworld/qw/svr.cfg;

# qizmo aliases
qizmoaddr="";
case "$1" in
d2 ) qizmoaddr="d2.quakeworld.pl:27666" ;;
aster ) qizmoaddr="quake.aster.pl:27666" ;;
kubus ) qizmoaddr="kubus.rulez.pl:27555" ;;
csn ) qizmoaddr="chosen2.servegame.com:30000" ;;
* ) qizmoaddr="$1";;
esac;

# commandline options - easier to edit
opts1="-nodga -mem 64 -fullscreen -width 640 -height 480 -bpp 32 +cfg_load fst +set vid_displayfrequency 154";
opts2="-sndbits 16 -sndstereo -basedir /opt/Quakeworld -mrate 500 +set cl_independentphysics 1 +set cl_confirmquit 0";

# perform commandline
cd /opt/Quakeworld/;
./ezquake-gl.glx $opts1 $opts2 -ruleset smackdown -norjscripts +connect $qizmoaddr
setxkbmap pl

Hope this helps someone
2007-01-27, 00:49
News Writer
646 posts

Registered:
Mar 2006
Excellent idea
2007-01-29, 12:09
Member
1011 posts

Registered:
Feb 2006
needs someone to fix alt-tab / paste :-)
  3 posts on 1 page  1