Author Topic: Server being wacky  (Read 1686 times)

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Server being wacky
« on: November 23, 2007, 06:10:00 PM »
Nothing about the installation has changed over the past few weeks. Here is the command I used:

Code: [Select]
[kafserv@s1 ~/paintball2]$  ./paintball2 +set dedicated 1 +set public 1 +exec kaf/public1_server.cfg +map ub_rooftop

Paintball 2 -- Version 2.0
execing configs/default.cfg
[********] Date: 2007-11-23
[16:01:56] ====== Paintball II Initialized ======

[16:01:56] execing configs/kaf/public1_server.cfg
[16:01:56] execing configs/kaf/default_public.cfg
[16:01:56] execing configs/kaf/default_base.cfg
[16:01:56] Master server at 70.85.9.178:27900
[16:01:56] Sending a ping.
[16:01:56] Master server at 207.38.11.34:27900
[16:01:56] Sending a ping.
[16:01:56] ------- Loading gamei386.so -------
[16:01:56] LoadLibrary(./pball/gamei386.so)
[16:01:56] -------------------------
[16:01:56] 49 CMDlist entrys found.
[16:01:56] -------------------------
[16:01:56] ==== PB2 InitGame ====
[16:01:56] autojoin on, normal
[16:01:56] === Rotation Init ===
[16:01:56] 171 maps added to rotation.
[16:01:56] WARNING: Failed to resolve www.dplogin.com.  Global login disabled.
[16:01:56] ------- Server Initialization -------
[16:01:56] ********************
ERROR: Couldn't load maps/ub_rooftop.bsp
********************
[16:01:56] Sending heartbeat to 70.85.9.178:27900
[16:01:56] Sending heartbeat to 207.38.11.34:27900
[16:01:56] ==== ShutdownGame ====
map midnight
[16:02:01] Can't find maps/midnight.bsp
dir
[16:02:03] Directory of ./pball/*.*
[16:02:03] ----
[16:02:03]

(Note: I used the map and dir commands; I also removed the rotation map list.)

I'm not sure why it says it can't resolve either, because lynx http://www.dplogin.com works.

Then, without the configs:

Code: [Select]
[kafserv@s1 ~/paintball2]$ ./paintball2 +set dedicated 1

Paintball 2 -- Version 2.0
execing configs/default.cfg
[********] Date: 2007-11-23
[16:00:37] Unknown command "dedicated_start"
[16:00:37] ====== Paintball II Initialized ======

map midnight2
[16:00:41] ------- Loading gamei386.so -------
[16:00:41] LoadLibrary(./pball/gamei386.so)
[16:00:41] -------------------------
[16:00:41] 49 CMDlist entrys found.
[16:00:41] -------------------------
[16:00:41] ==== PB2 InitGame ====
[16:00:41] autojoin on, normal
[16:00:41] === Rotation Init ===
[16:00:41] 14 maps added to rotation.
[16:00:41] Global login enabled.
[16:00:41] ------- Server Initialization -------
[16:00:41] mapname: midnight2
[16:00:41] ==== PB2 InitMatch ====
[16:00:41] == Map Loaded: midnight2 ==
[16:00:41] === Team Flag CTF ===
[16:00:41] 0 entities inhibited
[16:00:41] 0 teams with 0 entities
[16:00:41] ACE: Loading node table...done.
[16:00:41] -------------------------------------
dir
[16:00:42] Directory of ./pball/*.*
[16:00:42] ----
[16:00:42] gamei386.so
[16:00:42] configs
[16:00:42] env
[16:00:42] maps
[16:00:42] menus
[16:00:42] models
[16:00:42] pics
[16:00:42] players
[16:00:42] scripts
[16:00:42] sound
[16:00:42] sprites
[16:00:42] textures
[16:00:42] save
[16:00:42] qconsole27921.log
[16:00:42] qconsole27912.log
[16:00:42] qconsole27991.log
[16:00:42] demos
[16:00:42]

And everything except for the config:

Code: [Select]
[kafserv@s1 ~/paintball2]$  ./paintball2 +set dedicated 1 +set public 1 +map ub_rooftop

Paintball 2 -- Version 2.0
execing configs/default.cfg
[********] Date: 2007-11-23
[16:09:07] ====== Paintball II Initialized ======

[16:09:07] ------- Loading gamei386.so -------
[16:09:07] LoadLibrary(./pball/gamei386.so)
[16:09:07] -------------------------
[16:09:07] 49 CMDlist entrys found.
[16:09:07] -------------------------
[16:09:07] ==== PB2 InitGame ====
[16:09:07] autojoin on, normal
[16:09:07] === Rotation Init ===
[16:09:07] 14 maps added to rotation.
[16:09:07] Global login enabled.
[16:09:07] ------- Server Initialization -------
[16:09:07] mapname: ub_rooftop
[16:09:07] ==== PB2 InitMatch ====
[16:09:07] == Map Loaded: ub_rooftop ==
[16:09:07] === Team Flag CTF ===
[16:09:07] 0 entities inhibited
[16:09:07] 0 teams with 0 entities
[16:09:07] ACE: No node file found, creating new one...done.
[16:09:07] -------------------------------------
dir
[16:10:51] Directory of ./pball/*.*
[16:10:51] ----
[16:10:51] gamei386.so
[16:10:51] configs
[16:10:51] env
[16:10:51] maps
[16:10:51] menus
[16:10:51] models
[16:10:51] pics
[16:10:51] players
[16:10:51] scripts
[16:10:51] sound
[16:10:51] sprites
[16:10:51] textures
[16:10:51] save
[16:10:51] qconsole27921.log
[16:10:51] qconsole27912.log
[16:10:51] qconsole27991.log
[16:10:51] demos
[16:10:51]

Configs:

Code: [Select]
[kafserv@s1 ~/paintball2]$ cat pball/configs/kaf/public1_server.cfg
exec kaf/default_public.cfg

set hostname "[KAF] Pub 1 ##################"
set port 27921

//

Code: [Select]
[kafserv@s1 ~/paintball2]$ cat pball/configs/kaf/default_public.cfg
exec kaf/default_base.cfg

set password ""
set sv_login 1
set elim 15
set maxclients 16
set wavingstops 1
set floodprotect 1

//

Code: [Select]
[kafserv@s1 ~/paintball2]$ cat pball/configs/kaf/default_base.cfg
// ----------------------------------------------------------------------
// GENERIC SERVER INFO
// ----------------------------------------------------------------------

set hostname "KAF Server"
set website "http://www.keiichianimeforever.com" s
set admin "sk89q" s
set est "August 2006" s

set public 1
set port 27910

// ----------------------------------------------------------------------
// BASIC SERVER SETTINGS
// ----------------------------------------------------------------------

setmaster dplogin.com master0.gamespy.com
set motdfile pball/configs/kaf/default_motd.txt
set rot_file pball/configs/kaf/default_rotation.txt
set g_commandfile kaf/default_permissions.txt

set logfile 3
//set sl_logging 2
//set sl_logfile server#.log
set g_autorecord 1
set g_autorecord_prefix kafserver_

set maxclients 16
set password "____"
set sv_login 1
set sv_minclientbuild 16
set allow_download 1
set allow_download_maps 1
set allow_download_models 1
set allow_download_sounds 1
set allow_download_players 1

// ----------------------------------------------------------------------
// OPERATOR SETTINGS
// ----------------------------------------------------------------------

set numpasses 5
set oppass1 "____"
set oppass1level 1
set oppass2 "____"
set oppass2level 50
set oppass3 "____"
set oppass3level 10
set oppass4 "____"
set oppass4level 150
set oppass5 "____"
set oppass5level 150

rcon_password "____"

// ----------------------------------------------------------------------
// MATCH SETTINGS
// ----------------------------------------------------------------------

set allow_match 0
set matchmode_cfg "kaf/blank.cfg"
set publicmode_cfg "kaf/blank.cfg"

// ----------------------------------------------------------------------
// GAMEPLAY SETTINGS
// ----------------------------------------------------------------------

set autojoin 1
set bounceback 1.5
set bouncy 0
set chasecamonly 0
set deadtalk 1
set debug1 0
set debug3 0
set debug4 0
set elim 15
set fadetoblack 0
set ffire 0
set flagcapendsround 0
set flagmustbeatbase 0
set floodprotect 0
set fraglimit 50
set g_autofire 1
set gren_explodeonimpact 0
set grenadeffire 0
set guntemp_dec 4
set guntemp_inc 11
set idle 65
set intermissiontime 8
set koth_elim 5
set koth_hilltime 5
set observerblackout 0
set PaintGrens 5
set pong_nokill 1
set skill 1
set slowballsbounce 1
set SmokeGrens 3
set sv_airaccelerate 0
set sv_allowednamechanges 0
set sv_forcesky 1
set sv_maxvelocity 4096
set sv_votemapenabled 1
set sv_votemaptime 6
set swear_filter 0
set timelimit 20
set tripping 0
set waterfriction 1
set wavingstops 0

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Server being wacky
« Reply #1 on: November 23, 2007, 09:52:07 PM »
If I execute the configuration file *after* starting the server, nothing goes wrong.

y00tz

  • Autococker
  • Posts: 2742
Re: Server being wacky
« Reply #2 on: November 24, 2007, 11:41:18 AM »
Code: [Select]
[kafserv@s1 ~/paintball2]$  ./paintball2 +set dedicated 1 +set public 1 +exec kaf/public1_server.cfg +map ub_rooftop
Have you ever tried putting kaf/public1_server.cfg in quotes?  Everything seems to look normal...

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Server being wacky
« Reply #3 on: November 24, 2007, 12:35:34 PM »
Now everything works again for no reason to my knowledge. =/ I think my friend did something with the server last night though, since it was restarted.

Normally, I have a shell script to start Paintball and set it into a different screen.

Code: [Select]
[kafserv@s1 ~/paintball2]$ cat start.sh
#!/bin/sh
cd /home/kafserv/paintball2
screen -AdmS pball$1 ./run.sh $1

=/

===

EDIT: Nevermind. Public1 works but private2 does not. The only significant difference is the map list. Private2's rotation is large, but I haven't touched it recently.

Code: [Select]
[kafserv@s1 ~/paintball2]$ cat pball/configs/kaf/default_rotation.txt
[maplist]
2fort5
2helix
2ways
3rdworld
3v3tourney
airtime3
antioch2
antioch3
anubis
arctic2se
arenaball
arm
aztec
back2back
barrel2
barrel3
barrels
battle2
berlin
bheaven2
blitz
bmr
callofduty
canyon
cashav
castle1
catapult
caves
cfire
clanxa
claus
clubpb2
combat
cosmic3
cosmicpart1
courtyard
crates2
crates
crazyBallin
creek
crosover
cykotown
dark
darkages
deathbysand
depot
desmad
docks2
dome_b1
dredge
dsc
dt
eastwoods
eclissi
eknight
ember
fbasin
fff
firestorm
fusionr
gfieldc
grave
ground0
hball
hca_fort
hcownage
hillside2
icecold
icepond2
indoormad
indune
intheevening
jakesmistake
july42007
jump
jungle1
junkyard
kafbathhouse_b1
kaos
koth
kungfu
lockout
lwpa
mines
minispeed
mirror2
moonlit
ncr8s
newbie
nightfight
nightpaint
nighttimemass
nitefactor
oasis
olympiad
onguard
outchaos
overrun
paintballmadness
paintscape
palmtree3
passage
pb2dm1
pball_shreds1
pballcity
pbcup_sassault
pdhouse2
perfugio
pforest
pnf
propaint1
pwa
quicksand
rally
ravine
razzle
rome
rooftoppgp
routez
rtg
sandassult
sandpit
sandtrap
sassult
sball2
sbof
scsiege2
scsiege
shazam22
shazam33
shazam
shock
siegecastle
skylit
snip_pb1
sniper
snowdemise_beta9
snowfort
spark
splatmesa
stack_b1
stale2
stale3
stale
stp
supair
supb
superstrap
temple
tents
theice
thesands
thod
threat
titian
tlc
towers
turmoil
ub_cliff
ub_rooftop
warehouse
warzone2
wcanyon
wworld
wys
xcratesr1
xmas
xwar2
xwar
y2k
zsiege
###

^^^^ private1

Code: [Select]
[kafserv@s1 ~/paintball2]$ cat pball/configs/kaf/public_rotation.txt
[maplist]
propaint1
pbcup_pbsanctuary
ub_rooftop
coi
thunder
pball_shreds2
blitz
kungfu
grave
routez
rome
battle2
ub_cliff
indune
razzle
###

:#

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Server being wacky
« Reply #4 on: November 27, 2007, 09:06:32 PM »
Interesting.  I had a similar problem: http://dplogin.com/forums/index.php?topic=10287.0

It happens after the server has been running for a while.  I wonder if it is somehow related to the number of maps in rotation.  I imagine over time more and more maps get voted onto the rotation until finally it breaks.  I'll have to experiment with large map lists to see if I can reproduce it consistently.

XtremeBain

  • Developer
  • Autococker
  • Posts: 1470
Re: Server being wacky
« Reply #5 on: December 06, 2007, 08:58:18 AM »
Oh.... I missed this thread before.  Now my findings with the mapinfo bug make a lot more sense.

m7feettall

  • Autococker
  • Posts: 818
Re: Server being wacky
« Reply #6 on: January 17, 2008, 10:58:34 PM »
Sorry, new to all this, but if I understand correctly voting contributes to the map being put on the rotation list, not just one instance of it eventually being played?

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Server being wacky
« Reply #7 on: January 18, 2008, 02:32:20 AM »
Not sure what you're asking, but if a map is voted into the rotation, it will receive no auto-votes.  In other words, players will have to manually vote it to the top of the list before it gets played.  It won't cycle.

XtremeBain

  • Developer
  • Autococker
  • Posts: 1470
Re: Server being wacky
« Reply #8 on: January 18, 2008, 06:27:23 AM »
I thought there was a way to prevent maps from being voted into the rotation.  I took a cruise through sk89q's site and couldn't find the cvar, so I don't think it exists.