E+ server under debian linux, HELP ME! :)
I have set up my E+ server for hungarian players, but everyone welcome if can play with higher ping. It has bro like config and gametype changing between FFA and CTF. There is TDM and Freeze configs are also set up but only admins can switch yet. I have some questions to make it better.
1. Im using Debian Sarge and I want stat for my server. The problem is, that under linux the game doesnt write games.log file. I found a hack with google but it didnt work for me... So how can I get the games.log to make a stat?
2. I made a funny bot with hungraian speech. How can I set up the server to use only this bot? The bot_minplayers was set to 1 but bots selected randomly. I guess I must make a bots.cfg or sth but where should I put it?
3. I have set up 4 cfg's for the 4 gametypes. It is possible to load these cfg's when callvote gametype occurs? Maybe I have not read the docs carefully!?
4. And at last: How can I enable punkbuster??? sv_punkbuster is 1
Thanks for your help!
1 )
an alternative is :
[code:1]
#!/bin/bash
nohup q3ded +set ttycon 0 + set fs_game excessiveplus +set dedicated 2 + exec server.cfg &
exit [/code:1]
then use command : "tail -f nohup.out" to follow output
stop the server by first finding the pid
ps -A | grep q3ded | cut -c1-6
then
kill -s 15 pid
3 )
put the filenames and a description in the the voteconf file and
set xp_voteconf "voteconf"
then put whatever u want in filenames forinstance
/set g_gametype "0"
4 )
pb_sv_enable
since 1.32 logging works on posix systems without any tweaks (atleast when u have forced stdout/stderr (in also ) to null, uhm set ttycon
g_log "foo.log"
logfile 0/1/2/3 (0 works fine with appending also probably)
ad bot - u can set him to add on start but you will have to kick him also (if needed)
http://websec.evenbalance.com/downloads/linux/pbsetup.run
with this shit u can update/repair pb installation on server
(it has gui but you can use it via terminal only also)
you also need correct pb config which allows extended characters, guidrelax etc
the log file normal isnt in the quake-folder it is in a complete other folder
(dont know how it is @u but here it is i have linux confixx i386)
so here my quakefolder is in
usr/local/games/quake3/... there are folders like excessiveplus,baseq3,pb and docs and some other things
but the game logs arent in this folder direction (usr) it is in
root/.q3a/excessiveplus/... there is also my ban.txt all logs of all servers and the userdb
so check ur root if there is any folder like .q3a or something and look in there
hehe i have had same server sats on my O-C server before but now it doesnt really work dont know why it doesnt read the right things from log mhh i hate that i know how too do it and it doesnt work .... mhh but this stats are nice
Thanks for your replies!
1. Uhm Im beginner with linux, it seems I need to learn the basic commands and tricks.
2. Bot: Yes, I now using like that you write above, but it is sucks.
3. OK, I just want to know if it is possible or not. Now I read the fucking manual...
4. PB: OMG, it works lol! But I got kicked by PB from my own server... :roll: