Register for your free account! | Forgot your password?

You last visited: Today at 02:21

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

[Request]Broadcast timer O.O

Old   #1
elite*gold: 0
Join Date: Jan 2007
Posts: 220
Received Thanks: 63
[Request]Broadcast timer O.O

umm could any one help me with a broadcast timer...i want it to go like that "if "Broadcast timer = #" then it would send your msg O.O lets say person #1 send a msg then person #2 sends a msg right after him....the timer will stop it for like 10 secs and then release it O.O any ideas? thx =)

BlooD-BoY is offline  
Old 10/21/2008, 04:28   #2
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,877
So you want a queued broadcast? Like after 10 seconds (or more) if a message is pending, the next message gets appended to (sent)? If so...

//using System.Threading;
//using System.Collections.Generic;

// call BroadcastQueue.Init() when the server starts up

    public class BroadcastQueue
        private static Queue<byte[]> Queue;

        private static void ExportGlobalPacket(byte[] Packet)
            // method to send the packet to everyone on the server
        public static void Init()
            Queue = new Queue<byte[]>();
            new Thread(
                    while (true)
                        const int Ten_Seconds = 10 * 1000;
                        byte[] Outgoing;
                        lock (Queue)
                            Outgoing = Queue.Dequeue();
        public static void Add(byte[] BroadcastMsgPacket)
            lock (Queue)

InfamousNoone is offline  

« Pervade... | [help]Chars Atks!! »

Similar Threads
[Request] Timer-Freeze
09/15/2010 - S4 League - 7 Replies
Is it possible to freeze/increase/lower the time in matches? Like say your playing touchdown, the game would keep going until one team scored 10points. Or if anyone knows what to search with cheat-engine, that would be great too =3 Also I was wondering if it was possible to save the searched values on cheat-engine. Like while playing a game or w.e, suspend s4, search your health, somehow save your search, close CE, resume s4, get hit or something, suspend, open the search back up, filter...
Request: War Timer Alarm
07/13/2010 - 12Sky2 - 5 Replies
Hey I was wondering if anyone had made a program that makes an alarm go off when war is near... this would be useful for people who dont wanna have to look at there account every 10 minutes to see if war is about to start.
[Request]CountDown timer
05/27/2010 - CO2 PServer - Discussions / Questions - 11 Replies
Hey, Can I request the code for a 10 minute countdown timer like Timer T = new timer(); int minutes = 10; int seconds = 0; T.Start(); T.Tick
[REQUEST~GUIDE]How to make a Timer
02/12/2010 - CO2 PServer - Discussions / Questions - 1 Replies
Hei all, i need a guide to make a timer, ive made the start but i want to end it if (DateTime.Now.DayOfWeek == DayOfWeek.Sunday) { if (DateTime.Now.Hour == 13 && DateTime.Now.Minute >= 59) Please someone gimme a guide to do that
Request Unlimited Party Timer
02/06/2010 - Mabinogi - 15 Replies
Is there a mod or something you can change to make the party unlimited?

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

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

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.