Denz
Posts: 2587 Joined: Thu Aug 17, 2000 7:00 am
Post
by Denz » Mon Oct 24, 2005 11:02 am
Here is the current maproatation script that is on the server.
Code: Select all
namespace mapcycle {
void cycle() {
string si_map = sys.getcvar("si_map");
float replay_count = sys.getPersistantFloat("replay_count");
if (replay_count <= 0) {
replay_count = 1;
}
replay_count--;
if ( replay_count <= 0 ) {
if ( si_map == "mp/q4dm8") {
sys.setcvar( "si_gameType", "DM" );
sys.setcvar( "si_map", "mp/q4dm8");
}
}
sys.setPersistantArg( "replay_count", replay_count );
}
}
Fix it so the maps rotate, as it is right now it stays on the same map forever.
Thanks
DooMer
Posts: 3068 Joined: Thu Dec 23, 1999 8:00 am
Post
by DooMer » Mon Oct 24, 2005 11:03 am
just let people vote the maps they want.
Denz
Posts: 2587 Joined: Thu Aug 17, 2000 7:00 am
Post
by Denz » Mon Oct 24, 2005 11:48 am
DooMer wrote: just let people vote the maps they want.
okies, nevermind then. Off to figure out how to make the server allow downloads.
Oeloe
Posts: 1529 Joined: Fri Mar 19, 2004 8:00 am
Post
by Oeloe » Mon Oct 24, 2005 12:36 pm
PieceMaker wrote: I see
seta net_clientDownload "1" //pk4 download policy 0=none 1=ask 2=always
in riddla's little
Dedicated Server Config + Website Server Query
Is that set to 2 in the cfg?
I've been looking for some commands and such.
Ah, nice. So you get a dialog now when you set it to 1. But is this a server command or a client command? (You had sv_allowdownload and cl_allowdownload in Q3.)
Denz
Posts: 2587 Joined: Thu Aug 17, 2000 7:00 am
Post
by Denz » Mon Oct 24, 2005 12:46 pm
It's set to one in the config, but it don't work and I don't know why.
Still working on it though.
PieceMaker
Posts: 899 Joined: Tue Jan 25, 2005 4:43 pm
Post
by PieceMaker » Mon Oct 24, 2005 12:48 pm
I pretty much figured it was something like that. Grrrr. Q3 alowdownload fun yet again me thinks. Hehehe.
*crap* I have to get back to work. LoL!
Denz
Posts: 2587 Joined: Thu Aug 17, 2000 7:00 am
Post
by Denz » Mon Oct 24, 2005 12:49 pm
uh oh, don't get in trouble dude.