Urban Terror Forums: starting a server - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1

starting a server Rate Topic: -----

ubernoob karl question

#1 User is offline   KarlMariaSeeberg Icon

Posted 13 October 2012 - 02:42 PM

hello,

so i was wondering how starting a server actually works ...

could i really use the title menue item "start server" to run my very own server that would be displayed in the multiplayer browser as well?

or do things run work differently server wise?

karl
if you don't like uptown, you are basically hating urban terror.

#2 User is offline   Knightork Icon

  • Account: knightork
  • Main tag: UTP|
  • Country:
  • Joined: 02-March 10
  • Posts: 83

Posted 13 October 2012 - 05:35 PM

Depends on your Server? If you host from your Windows Home it's the Start Server Button in the Menu, if you have a Root Server, you should start a Dedicated Server. (Files also in Download Area for Linux Servers). There you start the Updater for your System and then need a Start File (usually called start.sh)
Looks like:

#!/bin/bash
while true
do
/home/urt/urbanterror42/Quake3-UrT.i386 +set fs_game q3ut4 +set dedicated 2 +set net_port 27971 +set com_hunkmegs 1024 +exec server421.cfg
echo "server crashed on `date`" > last_crash421.txt
done



and the server.cfg (i called it server421.cfg in the start.sh you usually have a server.cfg in your Folder after install, i alwys copy it and config it like i want my server)

This post has been edited by Knightork: 13 October 2012 - 05:37 PM


#3 User is offline   KarlMariaSeeberg Icon

Posted 13 October 2012 - 07:03 PM

thanks for your answer...

still some things i don't quite understand..

how do i know e.g. that hunkmegs got changed to 1024? or is there a start file included in the download?

if there isn't such a file included and i didn't know the latest changes to the server side of urt how would this influence the server's performance using an "old" start file?
if you don't like uptown, you are basically hating urban terror.

#4 User is offline   Knightork Icon

  • Account: knightork
  • Main tag: UTP|
  • Country:
  • Joined: 02-March 10
  • Posts: 83

Posted 13 October 2012 - 08:42 PM

Nope this is my start.sh perhaps you should have a look here:

http://www.urbanterr...up-and-support/

There is a Start Script and Nitro told hunkmegs should be usually only 128 but I have enough Memory on my root so i startet all my servers with 1024 would be a nice Test to check if anythink change when i lower it. Perhaps I will try it some day

#5 User is offline   OPA-Seniors Icon

  • Account: opaseniors
  • Country:
  • Joined: 28-November 12
  • Posts: 2

Posted 31 December 2012 - 01:36 PM

Wennst eine guten homeserver auf windows-basis aufstellen willst ...

Hier eine komplette config.

mach eine .bat datei:
@ECHO OFF
Quake3-UrT-Ded.exe +set dedicated 2 +set net_port 27952 +set sv_pure 1 +exec "server-ut42.cfg"

Dann diese config einfügen als "server-ut42.cfg":

//SETTINGS FOR SERVER ut 4.2
set g_password ""
set rconpassword "blabla"
set g_referee "0"
//
set sv_hostname "^5SeniorenClan.AT"
set sv_joinmessage "^3Willkommen bei SeniorenClan.AT. Vienna, Austria"
set g_motd "Willkommen bei SeniorenClan.AT. Vienna, Austria"
//
// Administrator Info
sets _Admin "OPA Seniors"
sets _Loc "Vienna, Austria"
//
set sv_maxclients "14"
set sv_privatePassword ""
set sv_privateClients "0"
seta sv_pure "1"
set sv_floodprotect "1"
set sv_maxrate "15000"
set sv_minrate "3000"
set sv_maxPing "150"
set sv_minPing "0"
//seta snaps "30"
set sv_zombietime "3"
set sv_reconnectlimit "0"
set sv_timeout "90"
set sv_fps 20
//
seta sv_allowdownload "1"
seta sv_dlURL "http://deine map url" // nur notwendig wennst ut4-custommaps am server hast
//
set com_hunkMegs "128" // reicht vollkommen !
// set sv_master1 ""
set sv_master2 "master.urbanterror.info"
set sv_master3 "master2.urbanterror.info"
set sv_master4 "master.quake3arena.com"
set sv_master5 "master0.gamespy.com"
set g_gamespy "1"
//
set g_speed "240" // 240 ist für uns ältere gut
set g_maxGameClients "0"
set g_inactivity "0"
set g_allowchat "2" //0= no chatting at all 1=teamchats only 2=all chats
set g_warmup "10"
set g_antiwarp "1"
set g_antiwarptol "50"
//
set g_gear "10" // no sniper, no pistols
set g_armbands "1"
//
//Team Survivor/Bombmode/Follow the Leader Specific Settings
set g_survivorrule "1" // 1-meiste spieler übrig
set g_suddendeath "0" // d1
set g_bombPlantTime "6"
set g_bombdefusetime "9"
set g_bombexplodetime "60" // w60
set g_bombRules "0" // 0-1 - Cvar control for old and new bomb rules
//
// Capture the flag Specific Settings
set g_flagreturntime "30"
set g_hotpotato "2.5" // minuten
//
// Matchmode
set g_matchmode "0"
set g_timeouts "3"
set g_timeoutlength "60" // w140
set g_pauselength "0"
//
set g_deadchat "1"
set g_allowvote "0"
set g_followstrict "1" //1=no haunting of enemies when dead
//
//Team Game Settings
set g_friendlyFire "0"
//set g_maxteamkills "2"
//set g_teamkillsforgettime "300"
set g_teamautojoin "1"
set g_teamForceBalance "1"
set g_maintainTeam "0" // teamwechsel
set g_teamnamered "Rentner"
set g_teamnameblue "Senioren"
set g_swaproles "0" //When map is over, play it again with the teams swapped
//
//*** Respawning *** (FFA, TDM, CAH, CTF)
set g_respawnDelay "6"
set g_forcerespawn "15"
set g_waverespawns "0" //b-red wave
set g_bluewave "10"
set g_redwave "10"
set g_respawnProtection "2"
//
// log
//see also cvar g_log
set g_log "ut4.2-custom.log"
set logfile "3" // d 3
set g_logsync "1" // Enable buffered logging
set g_logroll "1" // Roll over logs to prevent any one from getting too large
//
//*** Map Rotation ***
set timelimit "15"
set fraglimit "30"
set capturelimit "9"
//
set g_maxrounds "5"
set g_RoundTime "3"
set g_cahtime "60"
// startmap
set g_gametype "0"
map ut4_dressingroom
//
set g_mapcycle "mapcycle.txt" //ist original schon im game !
//
wait 10
writeconfig "q3config.cfg"
//
wait 10
cyclemap
//--------- ende config-------------

Der windows server funktioniert tadellos, wir spielen oft darin.
Probiers mal aus ;-)

Gruss aus Wien.

bullet_loaderAdvertisement

#6 User is offline   Nitro Icon

  •   QA member   
  • Account: nitro
  • Main tag: |P|
  • Country:
  • Joined: 15-March 10
  • Posts: 1,133

Posted 07 January 2013 - 03:34 AM

View PostKarlMariaSeeberg, on 13 October 2012 - 07:03 PM, said:

thanks for your answer...

still some things i don't quite understand..

how do i know e.g. that hunkmegs got changed to 1024? or is there a start file included in the download?

if there isn't such a file included and i didn't know the latest changes to the server side of urt how would this influence the server's performance using an "old" start file?


You can verify most of your server settings by issue the an rcon command to the server with the cvar you wish to check without using the "set" command.

for example /rcon com_hunkmegs
The server will respond with the currently set value.

Also setting your com_hunkmegs to 1024 on an urban terror server will be utterly useless and won't increase server performace. Infact you'll simply be allocating resources to a wasted cause.

Any setting for com_hunkmegs for a server higher than 256 is just a waste, In my own opinion this setting should have a max value of 128.
Lian Li pc-o11dw Der 8auer Edition · Gigabyte x570 Aorus Xtreme · AMD Ryzen 9 5950x 16-Core
32GB DDR4 3800MHz CL16 · 2x 1TB Samsung NVMe RAID 0 · 16GB Radeon RX 6900XT Liquid Cooled

Page 1 of 1


Fast Reply

  

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

Advertisement


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