Urban Terror Forums: 4.1 Server Not Writing to log - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

4.1 Server Not Writing to log Rate Topic: -----

#1 User is offline   z4v13r Icon

  • Account: z4v13r
  • Main tag: n.Zl
  • Joined: 07-March 11
  • Posts: 26

Posted 24 May 2013 - 08:24 PM

Ive been trying to setup b3 and for some reason my server is not writing to the games.log thus b3 don't work and i cannot figure out why.

Here is my server.cfg.

//Example config. Note that everything behind // is ignored by the game
//Try to keep cvar-values as short as possible. Otherwise you might get "info string length exceeded" errors on your server

//*** Administrator Info, shows in some gamebrowsers ***
sets " Admin" "Zak" //Uses a space in front so it shows up at the top of the properties list
sets " Site" "nzero-clan.webs.com"

//*** Server Name and Daily Message ***
set sv_hostname "`n.Z|^4[^7TDM^4][^7Riyadh^4]" //Your servername here
set g_motd "Visit us @ nzero-clan.webs.com" //Your message of the day here, it is displayed while connecting
set sv_joinmessage "Visit us @ www.nzero-clan.webs.com" //Your joinmessage here, it is displayed when the game is joined

//*** General Game Settings ***
set sv_maxclients "24" //max clientslots available on the server, using more than 16 is not advised. It can cause lag and most maps are not built for it. Going over 24 can cause nasty bugs.
set g_maxGameClients "0" //max clients that can actually join the game. Other clients are forced to spectate. 0=all
set sv_privateClients "0" //Amount of private slots. This amount of slots will be reserved for players who enter the right privatepassword
set g_gametype "3" //0=FreeForAll, 3=TeamDeathMatch, 4=Team Survivor, 5=Follow the Leader, 6=Capture and Hold, 7=Capture The Flag, 8=Bombmode
sets sv_dlURL "urbanterror.net" //Sets the address for auto-downloading. Auto-download only works on ioUrbanTerror-clients, not quake3-clients. The client will try to download <sv_dlURL>/q3ut4/mapname.pk3. So if your server is running ut4_coolmap and sv_dlURL is set to 'yoursite.com/maps', make sure the maps is hosted at http://www.yoursite....t4_coolmap.pk3. Leaving this set 'urbanterror.net' will make it use a map mirror with the most common maps on it. If you got your own hosting, please us that though, to save bandwith.

//*** Passwords ***
set rconpassword "*******" //Password to control the server remotely using rcon.
set sv_privatePassword "" //password for private slots
set g_password "" //password for the server. Nothing = public

//*** Limits/times ***
set timelimit "0" //time in minutes before map is over, 0=never
set fraglimit "0" //amount of points to be scored before map is over, 0=never
set capturelimit "0" //amount of flagcaps before map is over, 0=never
set g_warmup "15" //time in seconds before game starts when changed to a new map. Gives slower computers time to load before game starts

//*** Respawning *** (FFA, TDM, CAH, CTF)
set g_respawnDelay "1" //seconds before respawn, ignored when g_waverespawns is 1
set g_forcerespawn "1" //seconds before respawn is forced, even when plater did not press fire
set g_waverespawns "0" //use waverespawns, meaning everybody in a team respawns at the same time
set g_bluewave "15" //seconds between blue waverespawns, ignored when g_waverespawns is 0
set g_redwave "15" //seconds between red waverespawns, ignored when g_waverespawns is 0
set g_respawnProtection "2" //amount of seconds a spawning players is protected from damage

//*** Rules ***
set g_deadchat "2" //Determines if alive players can see dead players message. 0=living players can not see dead players chat 1=living players see only team-messages from dead teammembers 2=living players also see normal chats from dead players
set g_antiwarp "1" //enable or disable antiwarp. This option smooths the movement of warping players (warping is caused by a crappy connection, for instance when torrenting during playing). The warping player will experience stutters when this is enabled
set g_antiwarptol "50" //tolerance of the antiwarp. Higher = more tolerant. 50=default
set g_gear "0" //bitmask that decides which votes are allowed and which not. Check http://www.urbanterr.../gear_calc.html to find the correct number
set g_allowvote "536871039" //bitmask that decides which votes are allowed and which not. Check http://www.urbanterr...wvote_calc.html to find the correct number
set g_failedvotetime "300" //time in seconds before someone can call another vote after another has failed
set g_followstrict "1" //1=no haunting of enemies when dead
set sv_floodprotect "1" //1=stops clients from spamming many chatlines

//*** Matchmode ***
set g_matchmode "0" //matchmode is for matchplay. Features timeouts and ready-commands
set g_timeouts "3" //ammount of timeouts that a team can do per map
set g_timeoutlength "240" //length of the timeout
set g_pauselength "0" //length of a pause. This can only be done by rcon. 0=indefinatly

//*** Team Game Settings ***
set g_friendlyFire "1" //0=no friendlyfire 1=friendlyfire on, kick after too many TK's 2=friendlyfire on, no kicks
set g_maxteamkills "3" //amount of TK's before you get kicked when friendlyfire is 1
set g_teamkillsforgettime "300" //amount of seconds before TK's are forgotten
set g_teamautojoin "0" //force players to autojoin on connect, instead of letting them spec untill they join themselves
set g_teamForceBalance "1" //if on, you can't join a team when it has more players then the other
set g_maintainTeam "1" //when switching maps, players will stay in their team
set g_teamnamered "Loozers" //name for the red team, nothing = Red Dragons
set g_teamnameblue "Awesome" //name for the red team, nothing = SWAT
set g_swaproles "" //When map is over, play it again with the teams swapped (recommended for bombmode). After that, change map. 0=change map immediatly when map is over, no swapping of teams

//*** Team Survivor/Bombmode/Follow the Leader Specific Settings ***
set g_maxrounds "0" //number of rounds before map is over, 0=never
set g_RoundTime "3" //maximum minutes a round can take
set g_survivorrule "0" //0=teams don't get a point when time is up before everyone is dead. 1=team with most players left gets point
set g_suddendeath "1" //when map is over and both teams have same amount of points, add another round
set g_bombdefusetime "10" //seconds it takes to defuse bomb
set g_bombexplodetime "40" //seconds before bomb goes off after planting

//*** Capture the flag Specific Settings ***
set g_flagreturntime "30" //if a flag is dropped, return it after this amount of seconds
set g_hotpotato "2" //when both flags are taken, they will explode after this amount of minutes

//*** Advanced settings *** Dont change, unless you know what you are doing
set sv_strictauth "0" //1=check for valid cdkey, this means ioUrbanTerror players will not be able to join
set sv_pure "1" //dont let players load modified pk3-files
set sv_maxRate "0" //maximum traffic per second the server will send per client. 25000 or 0 = max
set sv_timeout "180" //time in seconds before player with a interupted connection will be kicked
set g_inactivity "0" //time in seconds before a non-moving player will be kicked

//*** Master Servers *** Servers the server will report to if 'dedicated' is set to 2. When set to 1, it doesn't report.
set sv_master1 "" //This one will be set automatically by the game-engine, so just leave it blank
set sv_master2 "master.urbanterror.net"
set sv_master3 "master2.urbanterror.net"
set sv_master4 "master.quake3arena.com"
set sv_master5 ""

//*** Other Settings ***
set g_armbands "1" //determines the behaviour of the armbandcolor (also shows on playerlist and minimap). 0=player's choice, set with cg_rgb 1=Based on teamcolor (red or blue) 2=assigned by server (random)
set sv_maxping "0" //max ping a client may have when connecting to the server
set sv_minping "0" //min ping a client may have when connecting to the server
set g_allowchat "2" //0= no chatting at all 1=teamchats only 2=all chats
set g_log "games.log" //name of the logfile. Empty ("") means no log. Log will be in the q3ut4 folder in windows. Linux uses ~/.q3a/q3ut4
set g_logsync "1" //enables/disables direct writing to the log file instead of buffered
set g_loghits "0" //log every single hit. Creates very big logs
set g_logroll "1" //create new log every now and then, instead of always using the same one
set logfile "0" //additional logging in seperate qconsole.log file. 1=buffered, 2=synced
set g_cahtime "60" //Interval in seconds of awarding points for flags in Capture and Hold gamemode

//*** Map Rotation ***
set g_mapcycle "mapcycle1.txt" //name of mapcycle-file, located in q3ut4 directory
map ut4_riyadh //what map to start with

//*** Anti Cheat ***
//pb_sv_enable //to enable PB, remove the // at the beginning of this line (only works when using Quake 3 Arena, not ioUrbanTerror)
set sv_battleye "0" //Keep this disabled, BattlEye is dead

exec bots.cfg

#2 User is offline   RYRY46d9 Icon

  • Account: ryry46d9
  • Main tag: Pb|
  • Country:
  • Joined: 01-March 10
  • Posts: 120

Posted 24 May 2013 - 10:17 PM

Why you no post: OS that each run,and is they are on the same box or not?
but as I can see from your server.cfg you didn't even try to RTFM .........

URT server.cfg stuff

set g_allowvote: should be set to "0" B3 has a vote plug-in if you look around.
set g_logsync "?" ( I use a custom built binary and always set this value to "3", your install may be different)
set g_loghits: needs to be "1" <-- or it don't work
set g_logroll: needs to be "0" <-- or it don't work
set logfile needs to be "2"

B3.xml stuff
<set name="game_log">/needs/to/be/set/to/your/games.log</set> <-- or it can't read the log file
or what ever name you put in you server.cfg under
set g_log "games.log"



but FFS if you spent just 5 minutes reading you would of see all of this.
Also the B3 forums has way more info then you will ever find over here.
good luck and don't give up ... it's worth the headache

This post has been edited by RYRY46d9: 24 May 2013 - 10:19 PM


#3 User is offline   z4v13r Icon

  • Account: z4v13r
  • Main tag: n.Zl
  • Joined: 07-March 11
  • Posts: 26

Posted 25 May 2013 - 06:29 AM

Hm okay then thanks I'll try that. My friend messed with the server.cfg and I don't usually mess with the logging so I didn't really know what to set it to

This post has been edited by z4v13r: 25 May 2013 - 06:33 AM


#4 User is offline   RYRY46d9 Icon

  • Account: ryry46d9
  • Main tag: Pb|
  • Country:
  • Joined: 01-March 10
  • Posts: 120

Posted 25 May 2013 - 06:37 AM

what operating system is it?

#5 User is offline   z4v13r Icon

  • Account: z4v13r
  • Main tag: n.Zl
  • Joined: 07-March 11
  • Posts: 26

Posted 25 May 2013 - 05:49 PM

Ubuntu Linux

bullet_loaderAdvertisement

#6 User is offline   RYRY46d9 Icon

  • Account: ryry46d9
  • Main tag: Pb|
  • Country:
  • Joined: 01-March 10
  • Posts: 120

Posted 26 May 2013 - 12:23 AM

so as long as server.cfg says

Quote

set g_log "games.log"


and lets say UrbanTerror is under the user

Quote

urt1


you just set you b3.xml to read

Quote

<set name="game_log">/home/urt1/.q3a/q3ut4/games.log</set>


poke here if you still are lost

This post has been edited by RYRY46d9: 26 May 2013 - 12:25 AM


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Sponsored link
https://www.frozensand.com/


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942