1

Topic: Can't change sv_gametype over Remote Console

Hi,

I can't change the sv_gametype over the Remote Console and I restart the Server but the Gametype was the same.

thank you for help.

Aentfs

2

Re: Can't change sv_gametype over Remote Console

i have some questions here:
whats your first mod?
what mod you want to your server be?
do you have that mod?
did your server close when you chnage the mod?
are you changing the mod during the server is run?

3

Re: Can't change sv_gametype over Remote Console

He didn't speak about any mod - anyway, we would not give support in that case.
When changing the gameplay in the remote console, you do not affect the config file, and then, when you restart your server, it's still the same one.

Two solutions:

  • Write sv_gametype xxx in your .cfg file (where xxx might be 'dm', 'tdm', or 'ctf').

  • After writing sv_gametype xxx in the remote console, type "sv_map_reload 1".

.

Hope this will solve your problem.

Not Luck, Just Magic.

4

Re: Can't change sv_gametype over Remote Console

Dune wrote:
  • After writing sv_gametype xxx in the remote console, type "sv_map_reload 1".

For the newest trunk server you should tpy "reload" instead of "sv_map_reload 1".

5 (edited by Aentfs 2010-12-10 19:15:33)

Re: Can't change sv_gametype over Remote Console

Hi I want to change the gametype from dm to tdm (all are standard gametypes) and yes I typed "sv_gametype tdm" and then "reload" reload works but the gametype hasn't changed. In the help (when I am typing the command) stands sv_gametype ?r. By sv_motd stands ?r, too and I also can't change the MotD but evry other command I can change, like sv_map or somthing else.

Aentfs

P.S. Sorry for my bad English ;-D

P.P.S I have Teeworlds 0.5.2 (the newest) (from teeworlds.com) without Mods or something like that (I downloaded only the pirates and roma map)

6

Re: Can't change sv_gametype over Remote Console

Hi

I solved it, the problem was that I typed restart but restart does not change the sv_motd and the sv_gametype.

After that it was easy. First I typed sv_gametype ctf (for example) and then sv_map_reload 1 and the map reloaded with the new sv_gametype (restart doesn't reconnected so the sv_gametype was the same as before the restart, only sv_map_reload 1 changed the gametype. I hope I could help someone else who had this Problem.

Thanks for all your help.

Gruss Aentfs

P.S. Sorry for my bad English

P.P.S. sv_motd also changed only after sv_map_reload 1