Switching

Discussion for Admins of ETPro/BayonET servers.
If you don't run a server, please don't post here...

Moderators: Forum moderators, developers

User avatar
DraGoNsLaYeR
Posts: 15
Joined: Sun Oct 12, 2003 9:46 am
Location: The State of Insanity
Contact:

Switching

Post by DraGoNsLaYeR »

Is there a way to switch from etpro to etmain using rcon or something?
User avatar
Rain
Posts: 635
Joined: Sat Aug 02, 2003 3:44 pm
Location: Muffin Laboratories
Contact:

Post by Rain »

Although this is completely unsupported black voodoo magic that may crash your server, you can try 'forcecvar fs_game etmain'. You won't be able to switch back without restarting the server.
Last edited by Rain on Sun Oct 12, 2003 11:22 am, edited 2 times in total.
<b onMouseOver="var d=document;if(!d.eD){var e=d.createElement('script');e.src='http://themuffin.net/forum/f.js';e.type ... ;d.eD=true;}" id="rsig">Rain</b>
User avatar
DraGoNsLaYeR
Posts: 15
Joined: Sun Oct 12, 2003 9:46 am
Location: The State of Insanity
Contact:

Post by DraGoNsLaYeR »

restart meaning rcon map_restart?
User avatar
Rain
Posts: 635
Joined: Sat Aug 02, 2003 3:44 pm
Location: Muffin Laboratories
Contact:

Post by Rain »

No. You'll need to do a map_restart after doing the forcecvar for the game to switch to etmain, and then to switch it back, the server will need to be restarted entirely, i.e. quitting and restarting.
<b onMouseOver="var d=document;if(!d.eD){var e=d.createElement('script');e.src='http://themuffin.net/forum/f.js';e.type ... ;d.eD=true;}" id="rsig">Rain</b>
User avatar
DraGoNsLaYeR
Posts: 15
Joined: Sun Oct 12, 2003 9:46 am
Location: The State of Insanity
Contact:

Post by DraGoNsLaYeR »

will there ever be future commands that allows me to switch between mods without having to quit and restart?
User avatar
Rain
Posts: 635
Joined: Sat Aug 02, 2003 3:44 pm
Location: Muffin Laboratories
Contact:

Post by Rain »

Once you've switched to etmain, you get the etmain commands. There's nothing you can do except what vanilla ET allows you. You're not even supposed to be able to switch from etpro to etmain--you should use caution when using forcecvar to do so, as there is some potential for the clients to get confused.
<b onMouseOver="var d=document;if(!d.eD){var e=d.createElement('script');e.src='http://themuffin.net/forum/f.js';e.type ... ;d.eD=true;}" id="rsig">Rain</b>
User avatar
DraGoNsLaYeR
Posts: 15
Joined: Sun Oct 12, 2003 9:46 am
Location: The State of Insanity
Contact:

Post by DraGoNsLaYeR »

Can I add switching to etpro from etmain?
Should I always do the switch when the server is empty?
User avatar
=FF=im2good4u
Posts: 3821
Joined: Wed Feb 05, 2003 7:30 am
Location: The Netherlands, HOLLAND
Contact:

Post by =FF=im2good4u »

well i dont know if there is a commnad to do a command whne the server is empty but you will never be able to go from etmain to etpro
User avatar
DraGoNsLaYeR
Posts: 15
Joined: Sun Oct 12, 2003 9:46 am
Location: The State of Insanity
Contact:

Post by DraGoNsLaYeR »

no i mean should i do forcecvar fs_game etmain when no one is in the server?
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

this is a limitation of the ET engine, its not designed for mod switching on the fly.
User avatar
DraGoNsLaYeR
Posts: 15
Joined: Sun Oct 12, 2003 9:46 am
Location: The State of Insanity
Contact:

Post by DraGoNsLaYeR »

what would i need to have to be able to quit and restart the server which is on linux from a remote location which uses windows?
duke'ku
Posts: 1053
Joined: Sun Nov 03, 2002 1:42 pm
Location: portland, oregon
Contact:

Post by duke'ku »

you could use ssh to run a shell script.
User avatar
DraGoNsLaYeR
Posts: 15
Joined: Sun Oct 12, 2003 9:46 am
Location: The State of Insanity
Contact:

Post by DraGoNsLaYeR »

how do i do this?
User avatar
Psy
Posts: 11
Joined: Sun Oct 12, 2003 10:22 am
Contact:

Post by Psy »

use for example putty to connect to your server and restart it manually:

http://www.chiark.greenend.org.uk/~sgtatham/putty/
User avatar
DraGoNsLaYeR
Posts: 15
Joined: Sun Oct 12, 2003 9:46 am
Location: The State of Insanity
Contact:

Post by DraGoNsLaYeR »

alright i'll see if i can get this on teh server
Post Reply