Register for your free account! | Forgot your password?

You last visited: Today at 05:23

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

Advertisement



[HELP]My GW Command

Discussion on [HELP]My GW Command within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2009
Posts: 874
Received Thanks: 174
[HELP]My GW Command

here's the one in my source it works
Code:
                                        if (Splitter[0] == "/gwstart")
                                        {
                                            General.GW.Enabled = false;
                                            GuildWarStart.Start();

                                            World.SendMsgToAll("Guild War has now started and will last 1 hour", "SYSTEM", 2011);
                                            Console.WriteLine("Guild War Started");

                                            General.RestartTimer.Enabled = false;
                                            General.RestartMsg30sec.Enabled = false;
                                            General.RestartMsg2min.Enabled = false;
                                            General.RestartMsg1min.Enabled = false;

                                            GuildWarStop.Interval = 3600000;
                                            GuildWarStop.Elapsed += new ElapsedEventHandler(GuildWarStop_Elapsed);
                                            GuildWarStop.Start();

                                            GuildWarStop5min.Interval = 3300000;
                                            GuildWarStop5min.Elapsed += new ElapsedEventHandler(GuildWarStop5min_Elapsed);
                                            GuildWarStop5min.Start();
                                        }
and to turn it off
Code:
                                        if (Splitter[0] == "/gwstop") 
                                        {
                                            General.GW.Enabled = false;
                                            GuildWarStart.Enabled = false;
                                            GuildWarStop1min.Enabled = false;
                                            GuildWarStop.Enabled = false;
                                            GuildWarStop2min.Enabled = false;
                                            GuildWarStop30sec.Enabled = false;
                                            GuildWarStop3min.Enabled = false;
                                            GuildWarStop4min.Enabled = false;
                                            GuildWarStop5min.Enabled = false;

                                            General.RestartTimer.Enabled = true;
                                            General.RestartMsg2min.Enabled = true;

                                            World.SendMsgToAll("Guild War has ended and servers will restart", "SYSTEM", 2011);
                                            General.ServerRestart();
                                        }
i been told that this needs improving....
any1 wanna tell me what you think needs immproving on it,
like what needs to be taken out and/or added
Arcotemple:) is offline  
Old 07/13/2009, 04:21   #2
 
elite*gold: 0
Join Date: Jul 2009
Posts: 548
Received Thanks: 52
Too much timers, I think i had the source you have.
f0am is offline  
Old 07/13/2009, 04:30   #3
 
elite*gold: 0
Join Date: May 2009
Posts: 874
Received Thanks: 174
Quote:
Originally Posted by f0am View Post
Too much timers, I think i had the source you have.
you probably did cuz i released it a while back

but you wanna fix it up and repost it for me?
Arcotemple:) is offline  
Old 07/13/2009, 04:47   #4
 
elite*gold: 0
Join Date: Jul 2009
Posts: 548
Received Thanks: 52
No i mean i might of had it way before you... just take out the timers make it work without lol
f0am is offline  
Reply


Similar Threads Similar Threads
command
06/27/2010 - CO2 Private Server - 8 Replies
Using:CoSX Source hey guys i have my p server and i am PM and i have a normal the name of it is test1 i do /kick test1 ok so it gets dc so now my other friend has an acc name xSplashx i do /kick xSplashx and nothing happens i get a error on my CoSX console
GM command-s
04/06/2010 - SRO Private Server - 8 Replies
Please start I Silkroad server 1.236 (CRSEMU) how to fix that I am GM and what are the command-s to spawn the NPC-s and MOB-s and ITEM-s and GOLD please help, give me command-s, ty
[HELP] command
02/05/2010 - EO PServer Hosting - 4 Replies
I would like to know how the write command in data base For example when a player kills a monster, that you mosntro of an item, if he kills the monster again, the action of this monster would be saying he already got the item that day, your not experienced in programming but I'm doing my own quest. thank you very much excuse the English
i want command
02/24/2009 - CO2 Private Server - 3 Replies
hi guys what command for skill reflect and why star guild war in cov2 cource thanx ..
o:- can't do both of that command plz some help ...
02/13/2008 - Kal Online - 9 Replies
hi u guys , sup every ?? hope all fine i have some problem .. i'm a gm in private server and when i type /moveto name of player none moving from my place it's mean not work so any 1 can just say me what can i do ?? 2 get place's player 2nd problem i can't attacking moobs while away from them i should get close enough like normal player ?? i need some help plz 3rd how i can get stuff mixing Demon Blood ?? or should admin make it 4 me 4th why i can't upgrade it egg's 4 ppl or me ?? or same...



All times are GMT +1. The time now is 05:25.


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.