Register for your free account! | Forgot your password?

You last visited: Today at 20:43

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

Advertisement



GuildWarr Start aouto!

Discussion on GuildWarr Start aouto! within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
sawickas's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 617
Received Thanks: 38
GuildWarr Start aouto!

Ok here My code To start and end GW in time it didn't work 100% i am only beginner
Firs yuo will Need His one>>>>

Go in Program.cs and search:
Quote:
if (World.BroadCastCount > 0 && DateTime.Now > World.LastBroadCast.AddMinutes(1))
if (DateTime.Now > SystemMsgTime.AddMinutes(1))
{
Under put His:
Quote:
if (DateTime.Now.DayOfWeek == DayOfWeek.Wednesday && DateTime.Now.Hour == 14 && DateTime.Now.Minute >= 15) // Day of the week
{
Features.GuildWars.StartWar();//Start GuildWar
}

else

if (DateTime.Now.DayOfWeek == DayOfWeek.Wednesday && DateTime.Now.Hour == 15 && DateTime.Now.Minute >= 15)
{
Features.GuildWars.EndWar();//End Of GuidWar
}
If any one help my make work it 100% will by nice

Thanks>>>> mattyc2580 <<<<<<< For help
sawickas is offline  
Thanks
4 Users
Old 03/19/2010, 08:05   #2
 
elite*gold: 0
Join Date: Feb 2010
Posts: 378
Received Thanks: 86
Well... no offense... but don't you think this is a bit of a ... idk... common sense release? I mean, if one reads the source or thinks "Hm, how are those messages being flashed across the screen warning players about GM titles" they'll stumble across this.

I'm not saying that it's not helpful... but i'm not saying it's helpful to most either. lol
Maybe that's just me though since I'm crazy and like to test things xP
-NewDawn- is offline  
Old 03/19/2010, 08:05   #3
 
sawickas's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 617
Received Thanks: 38
Quote:
Originally Posted by -NewDawn- View Post
no comment.
?
sawickas is offline  
Old 03/19/2010, 08:24   #4
 
elite*gold: 0
Join Date: Feb 2010
Posts: 378
Received Thanks: 86
Quote:
Originally Posted by sawickas View Post
?
There. I revised it if you want a comment.
I'm crazy 75% of the time though. lol
-NewDawn- is offline  
Old 03/19/2010, 08:27   #5
 
sawickas's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 617
Received Thanks: 38
Quote:
Originally Posted by -NewDawn- View Post
Well... no offense... but don't you think this is a bit of a ... idk... common sense release? I mean, if one reads the source or thinks "Hm, how are those messages being flashed across the screen warning players about GM titles" they'll stumble across this.

I'm not saying that it's not helpful... but i'm not saying it's helpful to most either. lol
Maybe that's just me though since I'm crazy and like to test things xP
Quote:
Originally Posted by -NewDawn- View Post
There. I revised it if you want a comment.
I'm crazy 75% of the time though. lol
Tnaks for repl
sawickas is offline  
Old 03/19/2010, 16:47   #6
 
elite*gold: 0
Join Date: Feb 2010
Posts: 378
Received Thanks: 86
Quote:
Originally Posted by sawickas View Post
Tnaks for repl
See, I am crazy!
you got a thanks =P

I guess I just like testing things too much. Most of my GM codes are for testing too xP
-NewDawn- is offline  
Old 03/19/2010, 17:01   #7
 
sawickas's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 617
Received Thanks: 38
I want make source more auto so i making his thing
sawickas is offline  
Old 07/05/2010, 12:59   #8
 
elite*gold: 0
Join Date: May 2007
Posts: 35
Received Thanks: 6
I'm working on it too and in your code thee is an error:

Code:
if (DateTime.Now.DayOfWeek == DayOfWeek.Wednesday && DateTime.Now.Hour == 14 && DateTime.Now.Minute >= 15) // Day of the week
{
Features.GuildWars.StartWar();//Start GuildWar
}
[COLOR="Red"]
else

if (DateTime.Now.DayOfWeek == DayOfWeek.Wednesday && DateTime.Now.Hour == 15 && DateTime.Now.Minute >= 15)
{
Features.GuildWars.EndWar();//End Of GuidWar
} [/COLOR]
In red mean that if it's not Wednesday 15.15, nobody can break the pole.

I tried:

Code:
               if (DateTime.Now.DayOfWeek == DayOfWeek.Monday)
                {
                    if ((DateTime.Now.Hour == 12 && DateTime.Now.Minute >= 35 && DateTime.Now.Second == 1))
                    {
                        Features.GuildWars.StartWar();
                    }
                }
            }
            catch { }
            try
            {
                if (DateTime.Now.DayOfWeek == DayOfWeek.Monday)
                {
                    if ((DateTime.Now.Hour == 12 && DateTime.Now.Minute >= 40 && DateTime.Now.Second == 1))
                    {
                        Features.GuildWars.EndWar();
                    }
                }
            }
But when it start it keep sarting each second and same for endWar..
flex30 is offline  
Thanks
1 User
Old 07/05/2010, 13:35   #9
 
elite*gold: 0
Join Date: May 2010
Posts: 298
Received Thanks: 57
A catch before a try? that's new.
MonstersAbroad is offline  
Thanks
2 Users
Old 07/05/2010, 14:08   #10
 
elite*gold: 0
Join Date: Sep 2008
Posts: 494
Received Thanks: 120
well i saw on mine it was already added but disabled it was like /* code */ idk if other ppl got it too but they just need to check program.cs
Adziunia is offline  
Old 07/05/2010, 16:30   #11
 
elite*gold: 0
Join Date: Feb 2009
Posts: 700
Received Thanks: 79
Wow really something else released not 100%, that's dumb.
copz1337 is offline  
Old 07/05/2010, 17:10   #12
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Onetime swickass should learn english.

Ill do now.
~Yuki~ is offline  
Old 07/05/2010, 17:14   #13
 
elite*gold: 0
Join Date: May 2007
Posts: 35
Received Thanks: 6
Just put that in program.cs and it works:

Code:
               if (DateTime.Now.DayOfWeek == DayOfWeek.Monday)
                {
                    if ((DateTime.Now.Hour == 12 && DateTime.Now.Minute == 35 && DateTime.Now.Second == 1))
                    {
                        Features.GuildWars.StartWar();
                    }
                }
            }
            catch { }
            try
            {
                if (DateTime.Now.DayOfWeek == DayOfWeek.Monday)
                {
                    if ((DateTime.Now.Hour == 12 && DateTime.Now.Minute == 40 && DateTime.Now.Second == 1))
                    {
                        Features.GuildWars.EndWar();
                    }
                }
            }
flex30 is offline  
Reply


Similar Threads Similar Threads
PC-Start = Programm Start?
08/10/2010 - AutoIt - 5 Replies
Hi! Kann man ein AutoIt Program gleich wie den Begrüßungscenter wenn der PC hochfährt starten? Oder wie ICQ, das es einfach kommt? Brauche dringend hilfe :)
Start Npc(also start Equiqment)und wie connectet man(Navicat)
05/02/2010 - WoW Private Server - 1 Replies
Hallo Elitepvpers, ich hoffe ich bin hier im richtigen Forum. Wie macht man einen Npc für start Equiqment? und wie connectet man in Navicat(for MySQL)? danke im vorraus:handsdown::handsdown:
start problem by start (win7)
02/13/2010 - Silkroad Online - 4 Replies
when i start sro than is the connection picture small and i cant see the connection window .... pls help ^^ sry for my bad english
Want to start my own Bot
01/19/2010 - Silkroad Online - 10 Replies
Hey Guys. I want to start creating my own Bot. I was reading something about SR33 and edx33. But i cant find any download on the net. Some question from me: 1.) Is there any Forum whitch only talk about SRO Coding or Coding with SR33/ edx33 tools/ sources ? (i found EdxLabs.com/Forum but its down) 2.) What i need to start coding in sro ? 3.) Is there a good packet analyse tutorial about silkroad what is easy to understand ?
Get Outside Av as WL before Start :)
11/24/2007 - WoW Exploits, Hacks, Tools & Macros - 6 Replies
WarcraftMovies.com - World of Warcraft Movies And a seed bug. ;)



All times are GMT +1. The time now is 20:45.


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

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