Register for your free account! | Forgot your password?

You last visited: Today at 23:04

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

Advertisement



[Release]

Discussion on [Release] within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 773
Received Thanks: 441
[Release] Msg sender (CoEmu v2)

Hello all!!

this can be a stupid release.... but for who wan't it here is...

in Nano.cs add this:
Code:
public static System.Timers.Timer MsgTimer = new System.Timers.Timer();
public static int MsgCounter = 0;
them... on StartServer add this:

Code:
            MsgTimer.Interval = 1000;
            MsgTimer.Elapsed += delegate
            {
                MsgCounter += 1000;
                if (MsgCounter == 240000)
                {
                    CoEmu_v2_GameServer.Packets.ConquerPacket.ToServer(CoEmu_v2_GameServer.Packets.ConquerPacket.Chat(0, "SYSTEM", "ALLUSERS", "MSG HERE", CoEmu_v2_GameServer.Structs.Struct.ChatType.Center), 0);
                }
                if (MsgCounter == 300000)
                {
                    CoEmu_v2_GameServer.Packets.ConquerPacket.ToServer(CoEmu_v2_GameServer.Packets.ConquerPacket.Chat(0, "SYSTEM", "ALLUSERS", "MSG HERE", CoEmu_v2_GameServer.Structs.Struct.ChatType.Center), 0);
                }
                if (MsgCounter == 360000)
                {
                    CoEmu_v2_GameServer.Packets.ConquerPacket.ToServer(CoEmu_v2_GameServer.Packets.ConquerPacket.Chat(0, "SYSTEM", "ALLUSERS", "MSG HERE", CoEmu_v2_GameServer.Structs.Struct.ChatType.Center), 0);
                }
                if (MsgCounter == 420000)
                {
                    CoEmu_v2_GameServer.Packets.ConquerPacket.ToServer(CoEmu_v2_GameServer.Packets.ConquerPacket.Chat(0, "SYSTEM", "ALLUSERS", "MSG HERE", CoEmu_v2_GameServer.Structs.Struct.ChatType.Center), 0);
                    MsgCounter = 0;
                }
                MsgTimer.Stop();
                MsgTimer.Dispose();
            };
            MsgTimer.Start();
if someone find a bug or something to be changed.... post it... i will change!
12tails is offline  
Old 08/19/2009, 01:58   #2
 
elite*gold: 0
Join Date: Jul 2009
Posts: 548
Received Thanks: 52
lol this is like emmes release but for coemu,

this ones way better =]] good release!
f0am is offline  
Old 08/19/2009, 02:01   #3
 
elite*gold: 0
Join Date: Jul 2009
Posts: 289
Received Thanks: 425
lmao you just say that cuz you dun like emme huh?
TehPwnzor is offline  
Thanks
2 Users
Old 08/19/2009, 02:36   #4
 
elite*gold: 0
Join Date: Jul 2009
Posts: 548
Received Thanks: 52
nope but hes lucky i dont HATE him .. otherwise some of his **** would be released
f0am is offline  
Old 08/19/2009, 02:43   #5
 
elite*gold: 0
Join Date: Jul 2009
Posts: 289
Received Thanks: 425
lmao thats baaad
TehPwnzor is offline  
Thanks
2 Users
Reply




All times are GMT +2. The time now is 23:04.


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.