remote admin... how to change server to public? -1 reply

Please wait...

MiSS GHoST

=|Holy-Raiders.com|=

50 XP

15th April 2004

0 Uploads

28 Posts

0 Threads

#1 14 years ago

Hey! We got server from one provider and we have remote admin... console and rconpassword. Server doesnt show up among servers, we have to add it as favorite and then we can access it. Somewhere I read that it has to be dedicated 2 I tried with following commands: /rcon sv_dedicated "2" /rcon scr_dedicated "2 It just ignores me... :( What command do I use? Do I have to restart server? How do I do that as a remote admin? J.




Glanzer

http://www.codboards.com/

50 XP

11th May 2004

0 Uploads

148 Posts

0 Threads

#2 14 years ago

I've never seen anyone actually switch a CoD server from one mode to another while it's running. It's usually started as a dedicated server using the following on the command line to start it:

+set dedicated 2

But if you were to do that in rcon, wouldn't you need to include the "set" in the command since you're changing a server-side cvar? Like this:

/rcon set sv_dedicated "2"




MiSS GHoST

=|Holy-Raiders.com|=

50 XP

15th April 2004

0 Uploads

28 Posts

0 Threads

#3 14 years ago

it didnt work neither :( is there some way how i could do that remotely? how do i restart the server?




Glanzer

http://www.codboards.com/

50 XP

11th May 2004

0 Uploads

148 Posts

0 Threads

#4 14 years ago
MiSS GHoSTit didnt work neither :( is there some way how i could do that remotely? how do i restart the server?

Actually, I just looked up the variable and you're using the wrong one I think. It's not "sv_dedicated" it's just "dedicated". So the rcon command would be:

/rcon seta sv_dedicated "2"

Notice the "seta" instead of just "set". seta makes the change permanent (writes it to your config file) while set only makes it effective until the server is restarted.

But in order to make the change take effect you will need to restart the server. If you don't have access to the server, you'll have to ask your server provider to do it. Better yet, have you server provider change the command line to start the server so that "+set dedicated 2" is at the end of the startup command.

See here for more info on the "dedicated" cvar:

http://www.boodizm.net/cod/cvars.asp?c=dedicated

See here for more info on "set" and "seta":

http://www.boodizm.net/cod/commands.asp