Register for your free account! | Forgot your password?

You last visited: Today at 21:02

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



AutoStart Tournament

Discussion on AutoStart Tournament within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 01/08/2010, 14:27   #16
 
N¡ghtMare ?? WooT's Avatar
 
elite*gold: 1
Join Date: Dec 2009
Posts: 126
Received Thanks: 17
#REMOVED
N¡ghtMare ?? WooT is offline  
Old 01/10/2010, 01:44   #17
 
N¡ghtMare ?? WooT's Avatar
 
elite*gold: 1
Join Date: Dec 2009
Posts: 126
Received Thanks: 17
Code:
System.Timers.Timer cTimer = new System.Timers.Timer(1000.0);
cTimer.Start();
cTimer.Elapsed += delegate{  StartTournament();  };
void StartTournament()
{
      if(DateTime.Now == <YourValue>)
      {
           public static bool GW = true;
      }
}
Here is an example.
How can i do it then? ;D
It need to be like:
Code:
System.Timers.Timer cTimer = new System.Timers.Timer(1000.0);
cTimer.Start();
cTimer.Elapsed += delegate{  StartTournament();  };
void StartTournament()
{
      if(DateTime.Now == <YourValue>)
      {
           [COLOR="Orange"]public static void GW = true;[/COLOR]
      }
}
N¡ghtMare ?? WooT is offline  
Old 01/10/2010, 02:50   #18
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
So I may have never done much with timers but why would you need it to be a void? Seeing as you are using a true/false value wouldn't a bool be just fine?

*note* this does not apply for a tournament particularly but as demonstrated through random events on Qo (lol...) you should always check if an event is already activated (again, if it's only every 45 minutes you won't run into an issue but lets say you have a random event system... you really don't want events stacking up from time to time)

Just something to consider when doing events... seriously... Qo had that problem for a while where if two double exp events triggered it would double the exp multiple times and the server ended up with like 100x exp rates making everyone max lvl... funny but rollbacks are never that fun
pro4never is offline  
Old 01/10/2010, 23:48   #19
 
elite*gold: 0
Join Date: Feb 2009
Posts: 700
Received Thanks: 79
I don't know why people want tournament that Auto start with a timer because it's not likely that there server is online 24/7. I think /cmd start is better for non 24/7 online servers, unless they have both auto-start and /cmd oh well
copz1337 is offline  
Old 01/11/2010, 09:01   #20
 
D0OM's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 37
Received Thanks: 2
i need the file which make DeathMatch and this Tournaments
how to get it please if any one know tye it here
D0OM is offline  
Old 01/11/2010, 12:25   #21
 
N¡ghtMare ?? WooT's Avatar
 
elite*gold: 1
Join Date: Dec 2009
Posts: 126
Received Thanks: 17
Quote:
Originally Posted by copz1337 View Post
I don't know why people want tournament that Auto start with a timer because it's not likely that there server is online 24/7. I think /cmd start is better for non 24/7 online servers, unless they have both auto-start and /cmd oh well
It will be 24/7
N¡ghtMare ?? WooT is offline  
Reply


Similar Threads Similar Threads
script im Autostart
06/27/2010 - AutoIt - 21 Replies
Hallo! Wie kann ich es erreichen dass sich mein SCript automatisch in den Autostart verschiebt? Mit FileMove() macht das Script das leider nciht :-( kann vllt daran liegen dass ich Vista hab. Gibts da noch Möglichkeiten? mfg
cd autostart
06/22/2010 - Technical Support - 6 Replies
hallo leute ich hab ein problem normal wenn man ne cd reinschiebt dann startet die ja aber bei mir ist das nicht so :( kann mir das jemand machen das das wieder geht pls???
[AutoIt] Autostart Controlle
06/12/2010 - AutoIt - 6 Replies
Hi, ich hab folgendes Problem ich will ein Prog machen mitdem man die Sachen die im Autostart sind auslesen kann und dann Anzeigen und dann noch ändern kann oder neue hinzufügen aber mir fehlt die Erfahrung und ich konnte keine passenden Befehle finden (via Google ) Kann mir villt einer einen Befehle oder Scriptteile sagen also sowas wie Regread() aber da komme ich ned weiter Hoffe auf Hilfe
[Autostart]Race Tournament(v5017)
04/16/2010 - CO2 PServer Guides & Releases - 10 Replies
yea this is the race tournament for 5017. Map = Lab1 Tournament start: XX:45 Script: General.cs Search for Thetimer = new System.Timers.Timer();
Autostart
02/06/2010 - General Coding - 6 Replies
Mein Problem ist, dass ich mit Visual Basic 2008 Express Edition ein Programm erstellt habe, aber nicht weiß welchen Befehl/Script ich verwenden soll, damit sich das Programm von aleine öffnet, wenn ich mein Pc hochfahre.



All times are GMT +1. The time now is 21:03.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.