Register for your free account! | Forgot your password?

You last visited: Today at 16:48

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


Guild War Auto Start

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2009
Posts: 159
Received Thanks: 8
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
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
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: 8
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
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
Wait why are you calling a method inside of itself?


Arcо is offline  
Old 04/28/2010, 06:33   #5
 
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: 8
...... 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
 
elite*gold: 0
Join Date: Sep 2008
Posts: 617
Received Thanks: 38
Trai using buton "Serch" I realeised it lol!


sawickas is offline  
Reply



« xpskill error with coemu | Elite-CoEmu Open Source Project »

Similar Threads
{Help} How to start guild wear
05/06/2009 - CO2 PServer - Discussions / Questions - 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 PServer - Discussions / Questions - 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 +1. The time now is 16:48.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.