Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 17:03

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

Advertisement



[Release] Real Broadcast (Same as in Real Co)

Discussion on [Release] Real Broadcast (Same as in Real Co) within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2008
Posts: 470
Received Thanks: 264
[Release] Real Broadcast (Same as in Real Co)

hey my first release since im back at epvp and the owner from copals asked me for this (that is the reason why i quited his team) so here is the release from the real broadcast.

Requirements:
  • one of the lotf sources
  • eyes
  • hands

first open the project from your source and go to client.cs, then search for;
Code:
MyChar.CPs -= 5;
you will see the broadcast stuff and replace the whole case for;
Code:
        public unsafe void GetPacket(byte[] data)
        {
            try
            {
                byte[] Data = data;

                Crypto.Decrypt(ref Data);

                ushort PacketId = (ushort)((Data[3] << 8) | Data[2]);
                int PacketType;

                if (PacketId == 53101 || PacketId == 53110)
                    Drop();


                switch (PacketId)
                {
                    case 2050:
                        {
                            if (Data[4] == 3 && MyChar.CPs >= 5)
                            {
                                MyChar.CPs -= 5;
                                SendPacket(General.MyPackets.Vital(MyChar.UID, 30, MyChar.CPs));
                                byte Len = Data[13];
                                string Message = "";
                                for (int i = 0; i < Len; i++)
                                {
                                    Message += Convert.ToChar(Data[14 + i]);
                                }
                                World.SendMsgToAll(Message, MyChar.Name, 2500);
                            }
                            break;
                        }
login, broadcast a message, hit thanks

do you have questions? ask it here.

NOTE: i tested it in "Powerco Source" "First Lotf Release" "ShadowCo" "UltimateCo" "TCWN"
XxArcherMasterxX is offline  
Thanks
33 Users
Old 10/06/2008, 20:08   #2
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
going to test
$HaDoW is offline  
Old 10/06/2008, 20:17   #3
 
elite*gold: 0
Join Date: Apr 2008
Posts: 470
Received Thanks: 264
Quote:
Originally Posted by $HaDoW View Post
going to test
so... what is the result?
XxArcherMasterxX is offline  
Old 10/06/2008, 20:25   #4
 
elite*gold: 0
Join Date: Sep 2008
Posts: 348
Received Thanks: 141
Wooow thanks
!DeX! is offline  
Old 10/06/2008, 20:27   #5
 
elite*gold: 0
Join Date: Apr 2008
Posts: 470
Received Thanks: 264
Quote:
Originally Posted by E*PvPers View Post
Wooow thanks
np m8
XxArcherMasterxX is offline  
Old 10/06/2008, 22:07   #6
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
working great !
Btw I dont know how mutch the msg must stay in real co :P can you tell ? because this one was staying for more then 20 I think ( I didint been all the time on so dont know when its disappear )
$HaDoW is offline  
Old 10/06/2008, 22:09   #7
 
elite*gold: 0
Join Date: Apr 2008
Posts: 470
Received Thanks: 264
Quote:
Originally Posted by $HaDoW View Post
working great !
Btw I dont know how mutch the msg must stay in real co :P can you tell ? because this one was staying for more then 20 I think ( I didint been all the time on so dont know when its disappear )
sorry i cant help you with that i think xD
XxArcherMasterxX is offline  
Old 10/06/2008, 22:18   #8
 
elite*gold: 0
Join Date: Jan 2007
Posts: 220
Received Thanks: 63
Quote:
Originally Posted by XxArcherMasterxX View Post
hey my first release since im back at epvp and the owner from copals asked me for this (that is the reason why i quited his team) so here is the release from the real broadcast.

Requirements:
  • one of the lotf sources
  • eyes
  • hands

first open the project from your source and go to client.cs, then search for;
Code:
MyChar.CPs -= 5;
you will see the broadcast stuff and replace the whole case for;
Code:
        public unsafe void GetPacket(byte[] data)
        {
            try
            {
                byte[] Data = data;

                Crypto.Decrypt(ref Data);

                ushort PacketId = (ushort)((Data[3] << 8) | Data[2]);
                int PacketType;

                if (PacketId == 53101 || PacketId == 53110)
                    Drop();


                switch (PacketId)
                {
                    case 2050:
                        {
                            if (Data[4] == 3 && MyChar.CPs >= 5)
                            {
                                MyChar.CPs -= 5;
                                SendPacket(General.MyPackets.Vital(MyChar.UID, 30, MyChar.CPs));
                                byte Len = Data[13];
                                string Message = "";
                                for (int i = 0; i < Len; i++)
                                {
                                    Message += Convert.ToChar(Data[14 + i]);
                                }
                                World.SendMsgToAll(Message, MyChar.Name, 2500);
                            }
                            break;
                        }
login, broadcast a message, hit thanks

do you have questions? ask it here.

NOTE: i tested it in "Powerco Source" "First Lotf Release" "ShadowCo" "UltimateCo" "TCWN"

tyvm man, but for PowerSource you dun need that line
Code:
        public unsafe void GetPacket(byte[] data)
        {
            try
            {
                byte[] Data = data;

                Crypto.Decrypt(ref Data);

                ushort PacketId = (ushort)((Data[3] << 8) | Data[2]);
                int PacketType;

                if (PacketId == 53101 || PacketId == 53110)
                    Drop();


                switch (PacketId)
you just change that
Code:
                    {
                        if (Data[4] == 3 && MyChar.CPs >= 5)
                        {
                            MyChar.CPs -= 5;
                            SendPacket(General.MyPackets.Vital(MyChar.UID, 30, MyChar.CPs));
                            byte Len = Data[13];
                            string Message = "";
                            for (int i = 0; i < Len; i++)
                            {
                                Message += Convert.ToChar(Data[14 + i]);
                            }
                            World.SendMsgToAll(Message, MyChar.Name, [color=red]2010[/color]);
                        }
                        break;
                    }
into that

Code:
{
                            if (Data[4] == 3 && MyChar.CPs >= 5)
                            {
                                MyChar.CPs -= 5;
                                SendPacket(General.MyPackets.Vital(MyChar.UID, 30, MyChar.CPs));
                                byte Len = Data[13];
                                string Message = "";
                                for (int i = 0; i < Len; i++)
                                {
                                    Message += Convert.ToChar(Data[14 + i]);
                                }
                                World.SendMsgToAll(Message, MyChar.Name, [color=red]2500[/color]);
                            }
                            break;
                        }
BlooD-BoY is offline  
Thanks
2 Users
Old 10/06/2008, 22:21   #9
 
elite*gold: 0
Join Date: Apr 2008
Posts: 470
Received Thanks: 264
Quote:
Originally Posted by BlooD-BoY View Post
tyvm man, but for PowerSource you dun need that line
Code:
        public unsafe void GetPacket(byte[] data)
        {
            try
            {
                byte[] Data = data;

                Crypto.Decrypt(ref Data);

                ushort PacketId = (ushort)((Data[3] << 8) | Data[2]);
                int PacketType;

                if (PacketId == 53101 || PacketId == 53110)
                    Drop();


                switch (PacketId)
you just change that
Code:
                    {
                        if (Data[4] == 3 && MyChar.CPs >= 5)
                        {
                            MyChar.CPs -= 5;
                            SendPacket(General.MyPackets.Vital(MyChar.UID, 30, MyChar.CPs));
                            byte Len = Data[13];
                            string Message = "";
                            for (int i = 0; i < Len; i++)
                            {
                                Message += Convert.ToChar(Data[14 + i]);
                            }
                            World.SendMsgToAll(Message, MyChar.Name, 2010);
                        }
                        break;
                    }
into that

Code:
{
                            if (Data[4] == 3 && MyChar.CPs >= 5)
                            {
                                MyChar.CPs -= 5;
                                SendPacket(General.MyPackets.Vital(MyChar.UID, 30, MyChar.CPs));
                                byte Len = Data[13];
                                string Message = "";
                                for (int i = 0; i < Len; i++)
                                {
                                    Message += Convert.ToChar(Data[14 + i]);
                                }
                                World.SendMsgToAll(Message, MyChar.Name, 2500);
                            }
                            break;
                        }
yeah but i dont want to make the thread to long
XxArcherMasterxX is offline  
Old 10/06/2008, 22:27   #10
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
Lol, whatever, not that hard of a fix if you know the type.. TBH I got it myself from... something that's not mine (Not a LOTF source D:<)
tao4229 is offline  
Old 10/06/2008, 22:28   #11
 
elite*gold: 0
Join Date: Apr 2008
Posts: 470
Received Thanks: 264
Quote:
Originally Posted by tao4229 View Post
Lol, whatever, not that hard of a fix if you know the type.. TBH I got it myself from... something that's not mine (Not a LOTF source D:<)
uuuhhhm.....

okay
XxArcherMasterxX is offline  
Old 10/07/2008, 02:26   #12
 
elite*gold: 0
Join Date: Sep 2008
Posts: 92
Received Thanks: 21
ty good work broo nice release
reborn666 is offline  
Old 10/07/2008, 04:52   #13
 
elite*gold: 0
Join Date: Jul 2005
Posts: 157
Received Thanks: 14
lovely release thanks 50 cent lover xD
vietkidd510 is offline  
Old 10/07/2008, 14:48   #14
 
leavemealone's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 2,168
Received Thanks: 8,593
You use more code then whats needed, and if people can't do this on there own they shouldn't even bother making a server, its just a chat packet with a different id.
leavemealone is offline  
Old 10/07/2008, 18:30   #15
 
glupkotrup's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 1,195
Received Thanks: 457
/Agreed


And archermaster.... About your "CoIntron"... Just another stolen CSS Templace w/o links coz' you don't know how to edit it.
glupkotrup is offline  
Closed Thread




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


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.