1

Topic: Server Votes not "Staying"

Hi guys.

I opened a home server and I added some votes. As a test I shut down and then restarted the server. All of my votes (using add_vote command) were gone.  All of my settings that I input in rcon (like sv_tournament_mode) gets resetto default once the server is shutdown and put back up. Is this supposed to happen?
Also, just a few other things, sv_powerups 0, which I assume makes the katana go away isn't working for me when I enter it in rcon.

I've tried searching these topics, but didn't find anything that answered my questions, just to clarify.

Thanks!
Fazer

USA pride. What now.

2

Re: Server Votes not "Staying"

The add vote is used like add_vote "Description" Command
Eg:
add_vote "Map dm1" sv_map dm1
add_vote "Powerups on" sv_powerups 1
add_vote "Powerups off" sv_powerups 0

Trust dies but mistrust blossoms. Sophocles
Landil was here, and wrote the above ^^
HOLY FUCK! Can't believe I met Landil tongue

3

Re: Server Votes not "Staying"

Yes I know how to add votes its just that the votes disappear when the server is shut down.

USA pride. What now.

4

Re: Server Votes not "Staying"

Yes it is supposed to happen: once you create a vote in game it stays until the server closes or crashes. The only way I know to solve your problem is to put the votes in the config file of your server.

» Albert Einsteein: I have no special talent. I am only passionately curious.

5

Re: Server Votes not "Staying"

You have to write it in the Autoexec.cfg and not in the rcon.
Everything you write in the Rcon disappears when you restart the server, which means you have to do "Changelevel MAPNAME"

But easier for it to stay everytime you restart the server is that you write it in the Autoexec.cfg

Trust dies but mistrust blossoms. Sophocles
Landil was here, and wrote the above ^^
HOLY FUCK! Can't believe I met Landil tongue

6

Re: Server Votes not "Staying"

sv_powerups should work. did u try to reload?

7

Re: Server Votes not "Staying"

Do I write it in my serverconfig.cfg or autoexec.cfg? I don't have autoexec.cfg (the game says that it cant find the file, I'm supposed to make one, right? If I do, what purpose does it serve?)

USA pride. What now.

8

Re: Server Votes not "Staying"

fazer! wrote:

Do I write it in my serverconfig.cfg or autoexec.cfg? I don't have autoexec.cfg (the game says that it cant find the file, I'm supposed to make one, right? If I do, what purpose does it serve?)

It's your choice: the server searches itself the autoexec.cfg, if you set up your server with a different file doesn't matter, add it to that serverconfig.cfg.

» Albert Einsteein: I have no special talent. I am only passionately curious.

9

Re: Server Votes not "Staying"

Write it in both of them if you do not know which config your server loads.

Trust dies but mistrust blossoms. Sophocles
Landil was here, and wrote the above ^^
HOLY FUCK! Can't believe I met Landil tongue

10

Re: Server Votes not "Staying"

matiasmunk wrote:

Write it in both of them if you do not know which config your server loads.

It's kinda useless, it would load 2 times the votes.
fazer!: the votes you set ingame, like add_vote "Map ctf5" "sv_map ctf5", should be put on your serverconfig.cfg one below the other

» Albert Einsteein: I have no special talent. I am only passionately curious.

11

Re: Server Votes not "Staying"

@Apmox and matiasmunk, thanks for the help, your suggestions worked.

@Slayer, thanks, I was restarting instead of reloading the server.

USA pride. What now.