Register for your free account! | Forgot your password?

You last visited: Today at 20:18

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

Advertisement



Guild War Auto Start

Discussion on Guild War Auto Start within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2009
Posts: 159
Received Thanks: 9
Guild War Auto Start

Quote:
public static void StartWar()
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Wednesday)
{
if (DateTime.Now.Hour == 0 && DateTime.Now.Minute <= 05)
{
Features.GuildWars.StartWar();
}
}
}
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
greasontim is offline  
Old 04/28/2010, 06:18   #2
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Hope this doesn't sound rude, but how about you try it, then if it doesn't work you come back here for help. The best way to learn is through trial and error.
Arcо is offline  
Old 04/28/2010, 06:20   #3
 
elite*gold: 0
Join Date: Sep 2009
Posts: 159
Received Thanks: 9
I put it in world and that didn't work
and i also put it in Features.GuildWar
greasontim is offline  
Old 04/28/2010, 06:29   #4
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Wait why are you calling a method inside of itself?
Arcо is offline  
Old 04/28/2010, 06:33   #5
 
sawickas's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 617
Received Thanks: 38
Put it in program.cs araund ivents hendeling
sawickas is offline  
Old 04/28/2010, 06:34   #6
 
elite*gold: 0
Join Date: Sep 2009
Posts: 159
Received Thanks: 9
...... one sec

thanks for telling my program.cs
there is a comment right in the source telling you how to do it lol
greasontim is offline  
Old 04/28/2010, 08:34   #7
 
sawickas's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 617
Received Thanks: 38
Trai using buton "Serch" I realeised it lol!
sawickas is offline  
Reply


Similar Threads Similar Threads
{Help} How to start guild wear
05/06/2009 - CO2 Private Server - 5 Replies
{Help} How to start guild wear Pola
Looking for Englsih Guild or Willing to Start one
04/07/2009 - Archlord - 1 Replies
Hello, I am trying to find a english guild or somone that is whilling to help me. Xfire: tonykart MSn: [email protected] ~thx:D
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 20:18.


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.