Pivity

perfect server configuration

Last read Never
#1

hello, i was looking the whole section to get an answer, but "wasted time" (so far). since i get massive lags once there are 3+ (TDM) cars out, also when a player joins the server, spawning a car (and some other)... my question, can someone give me a good (ans lagfree) working server.cfg (im using rp_evocity_v33x)

i know "google da shit" bla bla bla (i did, i tested alot of generators and so on, none was in any kind helpful) also, pls dont come with "bad root" since i know the speccs are very good

Intel i7-4790K
4 Cores / 8 Threads
4.0 GHz / 4.4 GHz
32 GB DDR3 1333 MHz
2 x 240 GB SSD

RAID SOFT

#2

City maps usually need medium-end PCs to run at 60 or higher, some addons are unoptimized and shit so those will cause you lag too, server.cfg can't really do anything about lag unless you want to know a good prop limit, SUP runs 100+ people and has 20 limit I believe and something else for VIP can't remember but it keeps the server fast.

#3

it'd be worthwhile if you posted your current server.cfg so we can see what you're currently running to see if there's even a problem there...

#4

luna, i heared form alot of player that the server lags (its not only me ;-) )

server.cfg is currently:

logging on
hostname "![GER] Real-RP - [FastDL|VCMod|TDM|M9K|Purge|Drogen] (uvm)"
rcon_password "Deleted for this post"
sv_password ""
sv_region 255
sv_lan 0
sv_logbans 1
sv_logecho 1
sv_logfile 1
sv_allowcslua 0
num_edicts 30000
sv_cheats 0
sv_servertimeout 600
sv_timeout 600
sv_log_onefile 0
sv_noclipspeed 5
sv_noclipaccelerate 5
//Sandbox Settings
sbox_allownpcs 1
sbox_maxtextscreens 3
sbox_godmode 0
sbox_plpldamage 0
sbox_playergod 0
sbox_noclip 0
sbox_maxprops 80
sbox_maxragdolls 0
sbox_maxnpcs 0
sbox_maxballoons 0
sbox_maxeffects 0
sbox_maxdynamite 0
sbox_maxlamps 0
sbox_maxthrusters 0
sbox_maxwheels 0
sbox_maxhoverballs 0
sbox_maxvehicles 0
sbox_maxbuttons 5
sbox_maxsents 0
sbox_maxemitters 0
sbox_maxspawners 0
sbox_maxturrets 0
//Server Settings
net_maxfilesize 99999999
sv_loadingurl "http://real-gmod.net/Real-RP/MetroLoad/index.php?steamid=%s&mapname=%m"
sv_downloadurl "http://steamcommunity.com/sharedfiles/filedetails/?id=827079631"
sv_allowupload "0"
sv_allowdownload "0"
sv_minrate 100000
sv_maxrate 100000
tickrate 15
decalfrequency 10
sv_maxupdaterate 66
sv_minupdaterate 10
fps_max 150
//Execute ban files
exec banned_ip.cfg

exec banned_user.cfg

Dumb x 3
#5
ByFearBomberat 30th of December 2016 03:13:44
rcon_password "Deleted for this post"
``

iirc isnt it bad habit to store rcon password in the server.cfg? I always thought it was meant to be done via Command Line, idk I'm not sure so don't quote me on that.

Agree x 3
#6
ByQuackDuckat 30th of December 2016 12:28:44
iirc isnt it bad habit to store rcon password in the server.cfg? I always thought it was meant to be done via Command Line, idk I'm not sure so don't quote me on that.

yes, people can/could download the server.cfg file, that's why you put it in your command line.

Friendly x 1
#7
ByFearBomberat 30th of December 2016 03:13:44
luna, i heared form alot of player that the server lags (its not only me ;-) )server.cfg is currently:logging on hostname "![GER] Real-RP - [FastDL|VCMod|TDM|M9K|Purge|Drogen] (uvm)" rcon_password "Deleted for this post" sv_password "" sv_region 255 sv_lan 0 sv_logbans 1 sv_logecho 1 sv_logfile 1 sv_allowcslua 0 num_edicts 30000 sv_cheats 0 sv_servertimeout 600 sv_timeout 600 sv_log_onefile 0 sv_noclipspeed 5 sv_noclipaccelerate 5 //Sandbox Settings sbox_allownpcs 1 sbox_maxtextscreens 3 sbox_godmode 0 sbox_plpldamage 0 sbox_playergod 0 sbox_noclip 0 sbox_maxprops 80 sbox_maxragdolls 0 sbox_maxnpcs 0 sbox_maxballoons 0 sbox_maxeffects 0 sbox_maxdynamite 0 sbox_maxlamps 0 sbox_maxthrusters 0 sbox_maxwheels 0 sbox_maxhoverballs 0 sbox_maxvehicles 0 sbox_maxbuttons 5 sbox_maxsents 0 sbox_maxemitters 0 sbox_maxspawners 0 sbox_maxturrets 0 //Server Settings net_maxfilesize 99999999 sv_loadingurl "http://real-gmod.net/Real-RP/MetroLoad/index.php?steamid=%s&mapname=%m" sv_downloadurl "http://steamcommunity.com/sharedfiles/filedetails/?id=827079631" sv_allowupload "0" sv_allowdownload "0" sv_minrate 100000 sv_maxrate 100000 tickrate 15 decalfrequency 10 sv_maxupdaterate 66 sv_minupdaterate 10 fps_max 150 //Execute ban files exec banned_ip.cfg exec banned_user.cfg

sv_downloadurl "http://steamcommunity.com/sharedfiles/filedetails/?id=827079631" I don't think that's the right section to put your workshop link, this is supposed to be for your FastDL directory.

Agree x 3
#8
ByDJReForat 30th of December 2016 16:32:17
sv_downloadurl "http://steamcommunity.com/sharedfiles/filedetails/?id=827079631"I don't think that's the right section to put your workshop link, this is supposed to be for your FastDL directory.Edit: Apparently luke who disagrees knows more then Valve knows of his software that sv_downloadurl is used for Workshop downloads? https://developer.valvesoftware.com/wiki/Sv_downloadurl

Actually before you jump to conclusions i was on my phone and misclicked, i meant to click agree but yeh

#9
ByQuackDuckat 30th of December 2016 12:28:44
iirc isnt it bad habit to store rcon password in the server.cfg? I always thought it was meant to be done via Command Line, idk I'm not sure so don't quote me on that.

half correct. yes and no. yes, its safer, no if its rcon_password "" then RCON is totally disabled so no1 can use it

#10
ByFearBomberat 30th of December 2016 19:30:55
half correct. yes and no. yes, its safer, no if itsrcon_password ""then RCON is totally disabled so no1 can use it

No one can download your Garry's Mod command line, so there's really no point in disabling RCON, most people put fakes up

example:

// rcon_password "f,mEWLOl402" It'd be commented out but skids who download the server.cfg will see it and attempt to use it instead of the real password that's inside your command line.

#11

To my knownlesge the server cfg is not the cause of lag/no-lag. It's mostly based on what code your sever runs. If it runs unoptimized addons on a lot of players, there could be bad networking and people could lag.

Agree x 2
#12

i optimised the workshop (reduces unused TDM cars and so on) and only use the basic addons from SF + a few custom from steamworkshop (where i need some settings being done), but as DJReFor rote, that fixed some of my lags also a bit, but its still abd when there are ~10 online (within 4+ cars outside)

Dumb x 1
#13
ByFearBomberat 3rd of January 2017 19:56:18
i optimised the workshop (reduces unused TDM cars and so on) and only use the basic addons from SF + a few custom from steamworkshop (where i need some settings being done), but as DJReFor rote, that fixed some of my lags also a bit, but its still abd when there are ~10 online (within 4+ cars outside)

To optimize anything you will need to modify the actual code for any script you use on your server.

#14

sbox_maxlamps 0

why not making it 1? any reasons?

Dumb x 1
#15
ByTwenty Twoat 16th of January 2017 21:35:51
sbox_maxlamps 0why not making it 1? any reasons?

cause it's his server, cause lamps can be abused, cause lamps can impact fps, etc

Agree x 1
#16

lmao newbssss who put a workshop link as their fastdl link

Dumb x 1
Users viewing this thread
Nobody