Forums Index >> Leagues and Tournaments >> WOW! Insant game restarts in dedicated servers!
Page : <1> :
Yup works great, just tried it.
Would it be possible to get that command to be part of the dash codes or just a script by itself? So any admin would be able to start the game and not just the server hoster.
The problem with the cyclegame(); command is that it TOTALLY screws up the clock!!! The first game will be close to 15 minutes (if you're lucky) but the following game will be less than 30 seconds! Try it if you want for fun - but BEWARE and don't do this for league games!!
This has happened reproducibly for me, dash and MonkeeMan. Are you sure this works???
Aww rats! Would be sooo nice if it worked. :(
If someone wants to add this function to the admin scripts:
You have to kill the game schedule before cycling the game (credit to -z- for this code):
if (isEventPending($Game::Schedule)) cancel($Game::Schedule);
cycleGame();
Or alternatively you could invoke the 30 second count down clock.
if (isEventPending($Game::Schedule)) cancel($Game::Schedule);
onGameDurationAlmostEnd();
Or you can roll your own with a centerprint message and schedule the reset in a few seconds:
if (isEventPending($Game::Schedule)) cancel($Game::Schedule);
bottomPrintAll("Game Reset in 3 seconds.",4,2);
$Game::Schedule = schedule(3000, 0, "cycleGame" );
Ahh thats the problem that I ran into too. It said I needed to wait for the game to end.
Ummm showing real ignorance here, but were and how would I add that stuff. ( I use dash codes if that helps)
Just out of curiousity, is there some sort of commad that would swap team color so the match is as even as possible?
Choices choices what shall I choose, hmmm. :)
You don't have to let go of one rope before grabbing the other. But you'll have to let go of one if you want to swing forward.
This would smooth out the biggest wrinkle in the league play. Being able to start games in an expeditious manner will save everybody's time and make the whole thing much more fun.
Ya!
This works quite well
But has to be typed into the console window
Copy and paste doesnt work so its a bit tedious
I'm with NUTS!
Is there an easier way?
Thanks lagman. I'll plug it in and see how it goes
I put it in
release 0.07
Woot!
Thx dashy! You Rock! (yes I like using exclamation marks, back off!!)
Thanks dash you always get the goods!
DASH ROCKS!!!!!!!!!!!!!
Just installed the codes
they work like a top Rx
I played 3 games after reset
NP!!!!
Special thanks to 56kLagMan for releasing the code
and ty dash for the sweet lil update
Heh! Heheh! Heh! Heeeeeenh!!!!!
Last edited: Sunday, June 12, 2005 at 4:13:02 PM
Yeah I did a restart and then got 3 15 min games after it. Think its good.
Woot! Thanks Dash!
Hey one more thing that I actually think is really important for League use. There needs to be a Centerprint message that says: "Manual Restart Initiated". Could you please add that to your latest version? I think it should be clear to everyone right away when this tool is used. Otherwise I can see it leading to misunderstandings!!
Can this be done easily?
-Rx
There already is... You can make it either just run the clock down from 30 or edit and open the.cs and change the message... Current Version of Dashs Admin Script is v0.7
Download from - http://thinktanks.jkdg.com/dc/
I'd like to have the centerprint message just for the novelty. Where is the file I would modify?
I added the centerprint. To that function.
For those who dont want to redownload you can just type
/cp Manual Restart Initiated
then
/restart
@BC: edit game/server/dash/Codes.cs
and replace the restart game function with this
function restartGame(%sender)
{
if(!ClientIsAdmin(%sender,"/restart command failed, you are not admin."))
return;
Centerprintall("Manual Restart Initiated",4 );
if (isEventPending($Game::Schedule)) cancel($Game::Schedule);
onGameDurationAlmostEnd();
}
The auto capitalization "feature" of this forum is heinous. Someone kill it please.
Last edited: Monday, June 13, 2005 at 5:53:06 AM
-z- used to have a script that switched colors (all green to blue and vice versa), is this included in the dash codes 0.7?
Whats the likelyhood of DanMac willing to install dash codes 0.7 on the PTT Server for the CTF League?
Any possibility I can get a copy of Bolo Code 10.0? ;)
Bolo code 10.0 is still beta...got some bugs and some NUTS! To work out of it yet
B
^ I'd love to help beta it for you
That's because it's fictional.
^Oops sorry Nap, almost spilled the beans there.
Im releasing Pedro Code v1.25 soon.. You will be able to order pizza by typing /pizza
All you have to do is open the pizza.cs and put in the number of your local Pizzeria and when ingame type /pizza and through your phoneline from your internet you will dial their shop and order a pizza.
Dont forget to add your address to the pizza.cs or it might end up in NUTS!
I want to order some baked mostacholi! Where's that code? /baked_mostacholi_xtracheese
Dash's additions to the codes appears to work great. I have had the oppertunity to use this on several occasions. We utilized this in our 3 on 3 match. Worked great!
@Pedro
Blame... TGE! Its a TGE bug... If you want the fix it'll be in my admin script... :)
@All
I have a team shuffler command on my script, but as im not in my home computer, and I still havent uploaded the files... I cant give them now...
Page : <1> :
Pedro posted this command in another thread:
Maybe the host could just type cyclegame(); so the map will restart.
You type cyclegame(); into terminal or MS DOS window
This means no more waiting for league games to start! WOOT!! XD