Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 22:35

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

Advertisement



[Request]a small request.

Discussion on [Request]a small request. within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2007
Posts: 220
Received Thanks: 63
[Request]a small request.

ok so i was kinda playing around with the CO pserver files in C# and i tried to make a GM msg to show every like minute or so...i tried to make a timer for it with the command "World.SendMsgToAll("bla bla bla msg", "GM", 2011);"
but it didnt work, any one has any ideas on how to make a GM msg to show every 1-5mins just like in CO "Dont trust any one who doesnt have a [GM]/[PH] in their names....bla bla bla"? thx
BlooD-BoY is offline  
Old 09/30/2008, 16:17   #2
 
elite*gold: 0
Join Date: Jun 2007
Posts: 323
Received Thanks: 30
Make a timer in general.cs and er yea?
Zanzibar is offline  
Old 09/30/2008, 16:36   #3
 
elite*gold: 0
Join Date: Jan 2007
Posts: 220
Received Thanks: 63
Quote:
Originally Posted by Zanzibar View Post
Make a timer in general.cs and er yea?
thats wat i did, where the restart timer and umm savechar timer O.O
BlooD-BoY is offline  
Old 09/30/2008, 22:55   #4
 
LetterX's Avatar
 
elite*gold: 20
Join Date: May 2007
Posts: 1,125
Received Thanks: 332
Well, not that hard... I added one to my server
LetterX is offline  
Old 09/30/2008, 23:05   #5
 
elite*gold: 0
Join Date: Jan 2007
Posts: 220
Received Thanks: 63
Quote:
Originally Posted by LetterX View Post
Well, not that hard... I added one to my server
ok..so could u give me a hint on how to make it? cuz i made a timer, and it should say that but it doesnt O.O
BlooD-BoY is offline  
Old 10/01/2008, 02:36   #6
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
Quote:
Originally Posted by LetterX View Post
Well, not that hard... I added one to my server
That f*ken annoying thing >_>
tao4229 is offline  
Old 10/01/2008, 02:54   #7
 
LetterX's Avatar
 
elite*gold: 20
Join Date: May 2007
Posts: 1,125
Received Thanks: 332
Ehh, here is the code for LOTF:

In General.cs (Underneath "thetimer") put:
Code:
                BroadCastTimer = new System.Timers.Timer();
                BroadCastTimer.Interval = 1000000;
                BroadCastTimer.Elapsed += new ElapsedEventHandler(BroadCastTimer_Elapsed);
                BroadCastTimer.Start();
Then, find the second "thetimer" section, and underneath put:
Code:
        public static void BroadCastTimer_Elapsed(object sender, ElapsedEventArgs e)
        {
            World.SendMsgToAll("Put Message Here", "SYSTEM", 2011);
        }
Edit: This timer shows up every 10 minutes.
LetterX is offline  
Old 10/01/2008, 13:47   #8
 
elite*gold: 0
Join Date: Jan 2007
Posts: 220
Received Thanks: 63
Quote:
Originally Posted by LetterX View Post
Ehh, here is the code for LOTF:

In General.cs (Underneath "thetimer") put:
Code:
                BroadCastTimer = new System.Timers.Timer();
                BroadCastTimer.Interval = 1000000;
                BroadCastTimer.Elapsed += new ElapsedEventHandler(BroadCastTimer_Elapsed);
                BroadCastTimer.Start();
Then, find the second "thetimer" section, and underneath put:
Code:
        public static void BroadCastTimer_Elapsed(object sender, ElapsedEventArgs e)
        {
            World.SendMsgToAll("Put Message Here", "SYSTEM", 2011);
        }
Edit: This timer shows up every 10 minutes.
lolz my only mistake was here : "(BroadCastTimer_Elapsed);"
thx for the guide, dude :P
BlooD-BoY is offline  
Old 10/01/2008, 13:49   #9
 
elite*gold: 0
Join Date: Jun 2007
Posts: 323
Received Thanks: 30
In the beginning with all the timers add
Code:
public static System.Timers.Timer BroadCastTimer;
Zanzibar is offline  
Old 10/01/2008, 14:11   #10
 
elite*gold: 0
Join Date: Jan 2007
Posts: 220
Received Thanks: 63
Quote:
Originally Posted by Zanzibar View Post
In the beginning with all the timers add
Code:
public static System.Timers.Timer BroadCastTimer;
yeah i was about to post that you had to def. the var. O.O but nvm ok you can delete this thread, i got the help i needed thx. =)
BlooD-BoY is offline  
Reply


Similar Threads Similar Threads
[help] a small request
10/05/2008 - CO2 Private Server - 2 Replies
i was wondering if anyone who know the real reason to the login freeze give a little hint on what it is and where to start in fixing it.... because 90% of the people who know what it is wont even bother telling me what is the cause.....either they say no find out for urself noob or not telling... if anyone can kindly tell me what the cause is. it wud be great
[REQUEST]2 small simple request please look in here
09/20/2008 - CO2 Private Server - 6 Replies
Hello all no one here knows me i am Rukia Owner Od DarkAngelzCO 2.0 i was wondering if anyone can kindly show me 1 solutions first off can anyone tell me how i can add day/night to work for everyone i have been searching deeply for it can anyone please show me with a guide how to get it on my server?
small request
12/09/2007 - Conquer Online 2 - 2 Replies
I'm probably going to be flamed for this but.. I still use VB6.0. I know how to inject DLL's into processes (made myown injector even).. how would I go about sending data across a connection already open by a program with one? I would like to know so that I could enginere a quick dll to auto-train intensify and meditate (with randomized timing of course to avoid detection by any sort of anti-bot scripts TQ might add (there are none currently except that whole dropping while jumping thing...
small request
12/05/2007 - CO2 Weapon, Armor, Effects & Interface edits - 3 Replies
EDIT:nvm i did on my own
A Small Request
03/04/2006 - Conquer Online 2 - 7 Replies
Oh my! I'm asking for a hack/bot/clicker!!! Anyways. Is it possible in some way to make you able to attack guards without holding ctrl? If so, what do I edit? I just want to make two (so I can use a .bat and toggle) for when I'm traiing weapon skills. If I can do that, I can use a guard in a house (much safer than guild door) and use COPartner on two clients...one client attackin "****guard" and the other continuously summoning it.



All times are GMT +2. The time now is 22:35.


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.