Raised This Month: $32 Target: $400
 8% 

server.cfg


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
suhdude
Senior Member
Join Date: Mar 2016
Location: Sweden
Old 11-08-2017 , 14:50   server.cfg
Reply With Quote #1

When I change something in server.cfg nothing happens on my server.
Do I have to run it trough console to have it load the cfg?

I have tried restarting the whole thing and making it read only etc.
When I click the HLDS icon, should it load the config?
I cant even change the starting money with the hlds GUI.

.. thx

Last edited by suhdude; 11-08-2017 at 14:50.
suhdude is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 11-08-2017 , 16:21   Re: server.cfg
Reply With Quote #2

What are you trying to change?
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
suhdude
Senior Member
Join Date: Mar 2016
Location: Sweden
Old 11-08-2017 , 16:34   Re: server.cfg
Reply With Quote #3

Quote:
Originally Posted by wickedd View Post
What are you trying to change?
Everything, but I have started with hostname, sv_cheats 1 etc
just to test if its working..

For some reason I could change netcode settings a week ago but now nothing changes when I edit the file.
suhdude is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 11-08-2017 , 16:52   Re: server.cfg
Reply With Quote #4

Attach your server.cfg. Make sure you delete your rcon password first.
And your fastdl url if you have one
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.

Last edited by wickedd; 11-08-2017 at 16:53.
wickedd is offline
suhdude
Senior Member
Join Date: Mar 2016
Location: Sweden
Old 11-08-2017 , 17:03   Re: server.cfg
Reply With Quote #5

Quote:
Originally Posted by wickedd View Post
Attach your server.cfg. Make sure you delete your rcon password first.
And your fastdl url if you have one
I am modifying the one in: server/cstrike

When I start the server using HLDS GUI, the GUI settings dont match my config.
So I have to use console to start the server?
suhdude is offline
suhdude
Senior Member
Join Date: Mar 2016
Location: Sweden
Old 11-08-2017 , 17:12   Re: server.cfg
Reply With Quote #6

Ok... So if I change the hostname or password in server.cfg, it works and changes the name and password.
But other things like mp_startmoney and many other commands does not change..

I even made it echo something to confirm that its loading!
wtf is this.. I'm going crazy! -.-

Troubleshooting I've done so far:

I have made a cfg folder in cstrike, and put my server.cfg file there instead of in cstrike.
Still only loads hostname and password...

Tried putting it in, config, /valve/server.cfg .. not working..

Tried making server.cfg read only, no change..

tried to exec file using rcon exec server2.cfg

only says it changes mp_startmoney, but nothing really happens...

tried adding +servercfgfile server.cfg to lanch options..
nothing

Can someone tell me what's going on here!?

Last edited by suhdude; 11-08-2017 at 22:14.
suhdude is offline
suhdude
Senior Member
Join Date: Mar 2016
Location: Sweden
Old 11-09-2017 , 07:08   Re: server.cfg
Reply With Quote #7

Ok, I did a fresh install of HLDS+CSTRIKE and it seems that this issue has something to do with amxmod..

Anyone know which plugin might interfere with my server.cfg?

Thanks
suhdude is offline
suhdude
Senior Member
Join Date: Mar 2016
Location: Sweden
Old 11-09-2017 , 07:26   Re: server.cfg
Reply With Quote #8

Solved! One of my plugins cause the problem...

Still cant understand why, but it works!
suhdude is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 11-09-2017 , 15:36   Re: server.cfg
Reply With Quote #9

Post the plugin that caused the issue and someone may tell you what the problem actually was.

Last edited by klippy; 11-09-2017 at 15:36.
klippy is offline
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 11-10-2017 , 05:36   Re: server.cfg
Reply With Quote #10

cstrike/server.cfg -> gets loaded when you start the server
amxmodx/configs/amxx.cfg -> gets loaded every time map changes

although improbable it's possible that some cvars you are trying to set in server.cfg get overwritten when amxx.cfg is read, so have a look

also if you need to add new cvars and don't want to shutdown, just add to amxx.cfg and wait for mapchange
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode