Results 1 to 5 of 5

Thread: Server Config Example | Need up date !!!!

  1. #1

    Default Server Config Example | Need up date !!!!

    Quote Originally Posted by heatsinkbod View Post
    Example Server Config for patch - Most settings are set to off for initial Server install and testing


    Code:
    //************** Reborn Patch RC3.5 ********
    //************** www.x-null.net ***********
    //************** www.mohaaaa.co.uk *******
    //*** Note some additional mods required *******
    //*** Example Freezetag Mefy mod required******
    
    //************** Server info **************
    seta sv_hostname "Place your server name here"
    seta g_motd "Message here"
    sets "+Admin" "Place admin name here" 
    sets "+Clan" "Set clan here"
    sets "+Teamspeak3" "109.70.148.54:9987"
    //sets "+Mumble" ""
    sets "+Location" "UK"
    sets "+Hosted By" "www.mohaaaa.co.uk"
    sets "+webiste" "www.mohaaaa.co.uk"
    sets "+Email" "admin@mohaaaa.co.uk"
    
    //************ General Settings **************
    seta skill 0 //added
    seta sv_timeout "200"
    seta sv_precache "1"
    seta sv_maxRate "25000"
    seta sv_privateClients ""
    seta sv_maxclients "20"
    seta sv_reconnectlimit "10"
    seta sv_zombietime "1"
    seta g_inactivity "0"
    seta g_forcerespawn "0"
    seta g_syncronousclients "0"
    seta g_smoothClients "1"
    seta sv_fps 20
    seta sv_allowdownload 0
    seta sv_floodprotect "1"
    seta cheats "0"
    seta sv_pure "0"
    
    //*********** Server Network Settings ********
    seta sv_flood_waitdelay "10"
    seta sv_flood_persecond "4"
    seta sv_flood_msgs "4"
    seta noipx "1"
    sv_packetantiflood 0
    
    //************** Logs ************************
    //seta fs_basepath .
    //seta fs_userpath /log
    //seta fs_outputpath /log
    //seta logfilename "qconsole.log" //deactivated
    //seta writeconfig "config.log" //deactivated
    seta logfile 3
    seta g_logSync "1"
    seta sv_chatter 1
    
    //seta developer 0 //1,2,3 modes available 
    seta sv_debuggamespy 0	//information gamespy
    
    //*************** Extras ********************
    seta sv_maxPing "9999" //activated
    seta sv_minPing "0" //activated
    
    //************* Server Passwords ************
    seta rconpassword "xxxxx"
    //seta sv_privatePassword ""
    //seta password "x" // deactivated
    
    //******** Game Play Default Settings *******
    seta g_gravity "800"
    seta g_knockback "1000"
    seta g_quadfactor "3"
    seta g_speed "320"
    seta g_healrate 0
    seta g_healthdrop 1
    seta g_realismmode 1
    seta g_forceteamspectate 1
    seta g_spectate_allow_full_chat 0
    seta sv_team_spawn_interval 0
    seta g_inactivespectate 0
    seta g_inactivekick 0
    seta g_teamswitchdelay 10
    seta g_allowjointime 20  //default 30
    seta cg_forcemodels 1
    
    //*************** Team Preferences **********
    seta g_teamdamage "0"
    
    //**************** Voting *******************
    //seta g_allowVote "0" //deactivated
    //seta g_votetimeout "0.3"
    
    //************* Masterservers ***************
    // add up to 4 additional master servers 
    seta sv_master1 "mohmaster.2015.com"
    seta sv_master2 "master0.gamespy.com"
    seta sv_master3 "master1.gamespy.com"
    //seta sv_master1 "scapp.net"
    //seta sv_master2 ""
    //seta sv_master3 ""
    seta sv_gamespy 1
    
    //*******************************************
    //************** ProMod *********************
    //seta "promod" "0" //deactivated
    //seta "playmode" "public1noac" //deactivated
    //*******************************************
    //*******************************************
    
    
    //*******************************************
    //*** Extended Gametypes (Freezetag etc.)****
    //*******************************************
    //************ Caputure the flag ************
    //set g_extgametype ctf
    //set g_ctf_settings "respawn: 0 returnboth: 1 capturepress: -1"
    
    //************ Demolition *******************
    //set g_extgametype dem
    //set g_dem_settings "respawn: 1 attacker: swap mef_team_spawn_interval: 6"
    
    //************ Freeze-Tag *******************
    //set g_extgametype ft
    //set g_ft_settings "meltgun: on melttime: 35" //deactived
    
    //************ Freeze-Tag-CTF ***************
    //set g_extgametype ftctf
    //set g_ftctf_settings "pointlimit: 6 countdown: 30 meltgun: off mef_team_spawn_interval: 6"
    
    //************ Freeze-Tag-Demolition ********
    //set g_extgametype ftdem
    //set g_ftdem_settings "settime: 20 defusetime: 10 ticktime: 60"
    
    //************ Freeze-Tag-Objective *********
    //set g_extgametype ftobj
    //set g_ftobj_settings "meltgun: on melttime: 30"
    
    
    //******************Gametype ****************
    // Set the type of game: 1=Deathmatch 2=Team match 3=Roundbased 4=Obj
    seta g_gametype 4 
    seta g_extgametype obj //deactivated
    
    
    seta roundlimit "5"
    seta timelimit "0"
    seta fraglimit "7"
    seta dmrespawning "0"
    seta dmroundlimit "0"
    
    //*******************************************
    //************* Maprotatin / Map ************
    //seta sv_maplist "obj/obj_team1 obj/obj_team2 obj/obj_team4 "
    //map obj/obj_team1	//starts with hunt
    
    seta sv_maplist "obj/obj_team1 obj/obj_team2 obj/obj_team4"
    map obj/obj_team2   //= stalingrad
    
    //********** Reborn Patch settings ***********
    //*************   1.12  **********************
    
    //** Sets banning 1=on 0=off  
    seta sv_banning 1 
    
    //** Sets filter 1=on 0=off readsfilterchat.cfg
    seta sv_filterchat 1
    
    //** Sets In-game chat 1=on 0=off
    sv_disablechat 0
    
    //** Sets Kinping //was 998
    seta sv_kickping 0 
    
    //** sets how many connections from Same IP
    seta sv_maxconnperip 3 
    
    //** Set Kick Bad cmd 1=on 0=off
    seta sv_kickbadcmd 1
    
    //** Sets Sound Distance
    seta sv_sounddistance "8000"
    
    //** Sets Anti Wall hack mode 1,2,3,4,5,6
    //** 1=Bone A-WH; 2=Hitbox A-WH; 3=BonePredict 
    //** A-WH; 4=FramePredict A-WH; 
    //** 5=Testing(better accuracy); 
    //** 6=tweaked mode 5 (RC3.1.005+ only)) 
    seta sv_antiwh "0" 
    
    //** 
    Skips AntiWH checks for players above given
    //** ping (<0...999>)
    sv_antiwhskipping 400
    
    //** Sets Anti shoot through walls 1=on 0=off
    seta sv_antistwh "1"
    
    //** Sets recoil emulation 1=on 0=off
    seta sv_recoilemulation "0" 1=on 0=off
    
    //** Sets stufftext detection 1=on 0=off
    seta sv_stufftextdetection "0"
    
    //** Sets Anti cham 1=on 0=off
    seta anticham "0"
    
    //** Sets server update check delay (hours)
    seta sv_updatedelay 1000  
    
    //** Turns Teambalancing feature 0=off; 1=on
    seta g_teambalance 0
    
    //** Sets an IP from which your 
    //** remote tool like CI, ForeSight or Scapp is
    //** communicating with the patch. It will be let //** through the anti-getstatus flood as trusted //** IP.(XXX.XXX.XXX.XXX)
    seta sv_remotetoolip "127.0.0.1"
    hi heatsinkbod this post need update
    Especially these things

    - Gamespy gone
    so i want to know if anything has should i add it about commands Gamespy or should i ignore it
    also there is new master list so i want to know if there is things should i replace them instead of there commands
    Code:
     //************* Masterservers ***************
    // add up to 4 additional master servers 
    seta sv_master1 "mohmaster.2015.com"
    seta sv_master2 "master0.gamespy.com"
    seta sv_master3 "master1.gamespy.com"
    //seta sv_master1 "scapp.net"
    //seta sv_master2 ""
    //seta sv_master3 ""
    seta sv_gamespy 1
    - Last reborn patch update
    i know most of commands in reborn patch but i wonder if there is things i missed it or not

    - laso what about Game spy ports ?

    the last point i want from anyone of you guys what is the logs section meaning ?

  2. #2

    Default

    You can ignore gamespy masterservers and ports, especially that, like you said, gamespy is down like 4 years now(?), I did and my servers didn't set on fire.

    Code:
    //seta fs_basepath .
    //seta fs_userpath /log
    //seta fs_outputpath /log
    //seta logfilename "qconsole.log" //deactivated
    //seta writeconfig "config.log" //deactivated
    seta logfile 3 
    seta g_logSync "1"
    seta sv_chatter 1
    Log files allow you to store all console output in file called qconsole.log, so for example if your server crashes, you can open it and search if there are any error messages, etc.
    Values on logfile describe:
    0 - No logfile.
    1. - Buffered - that means that console output is not written straight to Hard drive, but is shortly keeped in memory.
    2. - Continuous - that means that console output is written to disk when event takes place.


    I have no idea what logSync is, but sv_chatter echos chat messages and taunts to console, so they also appear in logfile, this command is broken(doesn't work).
    Last edited by Criminal; October 20th, 2018 at 04:26 PM.

  3. #3
    Developer RyBack's Avatar
    Join Date
    Apr 2014
    Location
    In Front of the screen
    Posts
    1,603

    Default

    That logfile value map is not correct. Last time i checked the binary max was 2. Maybe someone else can confirm.

  4. #4
    Senior Member beroo's Avatar
    Join Date
    Dec 2017
    Location
    Cairo
    Posts
    108

    Default

    Quote Originally Posted by Purple Elephant1au View Post
    Hi

    seta logfile "0" turns logging off

    seta logfile 3 // console log 0=No 1= Buffered 2=Continuous 3=Append to Existing

    So want either 2 or 3

    that was from PE from past post.
    Greetings :-{[T_P]}- BeroO -{[CF]}-
    the-pharaohs.enjin.com

  5. #5

    Default

    That logfile value map is not correct. Last time i checked the binary max was 2. Maybe someone else can confirm.
    RyBack is right, I just tested it out of curiosity, and edited post, you can have even logfile set to 999999 and it will live it's own life. 3 doesn't append anything to existing log file, probably only 1 and 2 make difference. Crucify me later if definitions of buffered and continuous are explained wrongly.

    Question from me:

    MOHAA SDK tells that logfile command decides only if to turn on or off logfile, and in many, many games g_logSync was deciding if logfile should be buffered, continuous or appended. Problem is that MOHAA doesn't recognize g_logsync as a command, of course, we can type in .cfg seta g_logSync 1 and if we will ask console about value only in that case it will tell:

    Code:
    "g_logsync" is "1" default is "1"
    So does that command have any use in MOHAA?
    Last edited by Criminal; October 20th, 2018 at 04:53 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •