Register for your free account! | Forgot your password?

You last visited: Today at 01:55

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

Advertisement



Guild War

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

Reply
 
Old   #1
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
Guild War

Hey guys, I am wondering how to make guild war start at a certain time. like just the weekend or a few days a week. something like that.
Code:
                        if (DateTime.Now.DayOfWeek == DayOfWeek.Wednesday) // Day of the week
                        {
                            if (DateTime.Now.Hour == 14 && DateTime.Now.Minute >= 15 && !Features.GuildWars.War)
                                Features.GuildWars.StartWar();
                        }
I am guessing i would have to use something like this, But i am not sure where to put it :S if someone could advise me it would help alot thanks
.Beatz is offline  
Old 03/18/2010, 20:50   #2
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
You Can Follow This Guide ()

Or Go To MyThread.cs and Search for

PHP Code:
Thread.Sleep(1);
                { 
And Add

PHP Code:
if (DateTime.Now.DayOfWeek == DayOfWeek.Wednesday && DateTime.Now.Hour == 14 && DateTime.Now.Minute >= 15// Day of the week
                    
{
                            
Features.GuildWars.StartWar();
                    } 
Right Below it

For the Way
Code:
DateTime.Now.Minute >= 15
Is Going to Keep On Spamming it for those 5 Minutes till the Time Switches to 20, You Can Do DateTime.Now.Minute == 15 and do a Second time check DateTime.Now.Second w,e
-Shunsui- is offline  
Thanks
2 Users
Old 03/20/2010, 07:09   #3
 
sawickas's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 617
Received Thanks: 38
Quote:
Originally Posted by -Shunsui- View Post
You Can Follow This Guide ()

Or Go To MyThread.cs and Search for

PHP Code:
Thread.Sleep(1);
                { 
And Add

PHP Code:
if (DateTime.Now.DayOfWeek == DayOfWeek.Wednesday && DateTime.Now.Hour == 14 && DateTime.Now.Minute >= 15// Day of the week
                    
{
                            
Features.GuildWars.StartWar();
                    } 
Right Below it

For the Way
Code:
DateTime.Now.Minute >= 15
Is Going to Keep On Spamming it for those 5 Minutes till the Time Switches to 20, You Can Do DateTime.Now.Minute == 15 and do a Second time check DateTime.Now.Second w,e
Dont Work i checked
sawickas is offline  
Old 03/20/2010, 10:11   #4
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
Quote:
Originally Posted by sawickas View Post
Dont Work i checked
i am working on it still. I got it the other day but my comp crashed and i cant remember what i done lmao
.Beatz is offline  
Old 04/09/2010, 14:21   #5
 
elite*gold: 0
Join Date: Jan 2009
Posts: 84
Received Thanks: 9
i have a command that makes guild war last 48 hours, when the pole dies, respawns and gw starts again, untill the time runs out...48 hours later... then the pole reheals from where ever it was and winner is decided =) (pole becomes un-attackable again =)

yey for me lol.
lukejonesy is offline  
Reply


Similar Threads Similar Threads
Guild master banned, guild storage access?
09/05/2009 - Archlord - 11 Replies
Guild leader was banned off the game and there are some stuff in the guild storage. Is there anyway to take them?



All times are GMT +1. The time now is 02:01.


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