Hey Everyone!
I decided that I'm going to just keep my 5165 source, thus I'm picking up where I left off. =]
This is my goal in the Broadcast System:
I want to be able to broadcast a message without CPs.
I started by doing this:
After that, I tested it with 100 CPs in my pocket.
It worked....
Then my testers tried it and couldn't use it.
It requires 5 Cps to get to the Broadcast window (Packet 2050).
Help? =\
I decided that I'm going to just keep my 5165 source, thus I'm picking up where I left off. =]
This is my goal in the Broadcast System:
I want to be able to broadcast a message without CPs.
I started by doing this:
Code:
case 2050:
{
if (Data[4] == 3 && GC.MyChar.Silvers >= 100000)
{
if (Game.World.BroadCastCount <= 100)
{
GC.MyChar.Silvers -= 100000;
string Message = "";
for (byte i = 0; i < Data[13]; i++)
Message += Convert.ToChar(Data[14 + i]);
Game.BroadCastMessage B = new NewestCOServer.Game.BroadCastMessage();
B.Name = GC.MyChar.Name + GC.AuthInfo.Status;
B.Message = Message;
B.Place = Game.World.BroadCastCount;
Game.World.BroadCasts[Game.World.BroadCastCount] = B;
Game.World.BroadCastCount++;
Data[8] = B.Place;
GC.AddSend(Data);
}
}
break;
}
It worked....
Then my testers tried it and couldn't use it.
It requires 5 Cps to get to the Broadcast window (Packet 2050).
Help? =\