Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 21:48

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

Advertisement



Suggestion about auto-start DisCity etc

Discussion on Suggestion about auto-start DisCity etc within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,161
Suggestion about auto-start DisCity etc

Oi oi mates. Ive seen no source out there with working auto dis city and those. Like it starts automaticlly. Ive though about this , note : this has not been tested:


Run a timer of a interval of 59 seconds. When the interval has gone, it writes a line in console with the current datetime, can look like this :

Quote:
if (MainTimer_Elapsed)
{
Console.WriteLine(DateTime.Now);
string Time = Console.ReadLine();
if (Time == "2008-xx-xx xx:xx:xx)
{
General.StartDisCity();
}
}
That way, it checks if the time is what it should be , and if it is, it does an funcion. So tell me people,would this work?

Peace
_Emme_ is offline  
Old 12/09/2008, 06:37   #2
 
sherwin9's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 222
Received Thanks: 27
You have to renew the date everytime.. so it's a bit unhandy, but it works for me :P
sherwin9 is offline  
Old 12/09/2008, 10:50   #3
 
elite*gold: 0
Join Date: Dec 2007
Posts: 618
Received Thanks: 213
just do it using a datetime?
alexbigfoot is offline  
Reply


Similar Threads Similar Threads
Guild War Auto Start
04/28/2010 - CO2 Private Server - 6 Replies
Would that work to start Guild War and if so where do I have to put it? If it doesn't can someone help me out to figure out where i'm messing up
[Suggestion]Changing Auto Login
07/17/2009 - Silkroad Online - 5 Replies
I've been thinking, since the 20 Second login is pretty much Bullshit, is there a way to edit the client from 20 Seconds to 3 Seconds or so, so that it doesn't take people 2-3 Hours to login. Assuming that the 20 Second delay is client-sided, it should be possible. I would do it, but I honestly suck at coding. So if anyone can try this and say if it is possible. Sincerely, Blapz
Help on Auto start for guild war
09/07/2008 - CO2 Private Server - 13 Replies
Hi... i'm trying to make GuildWar auto Start.. but i think i made an error in my code... someone can help plz? In Client.cs i put that code: #region autotimers void GuildWarStart5min_Elapsed(object sender, ElapsedEventArgs e) { GuildWarStart5min.Start(); World.SendMsgToAll("Guild War will Start in 5 minutes", "SYSTEM", 2011); GuildWarStart5min.Enabled = false;



All times are GMT +2. The time now is 21:48.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.