how i can send Packet!!

04/10/2016 06:11 MrMiroBear#1
hey guys
i need to know something before send Packet
about C>S and S>C
if i use like GM i will use C>S to do what i want in game?
and if i make something like filter i will use S>C to retarn and replay like DC or ban?


and i want to know this is right or what? i hope someone explain this point


this my first Q


next how i can send this Packet ?


PHP Code:
C>SCLIENT_CHAT 0x7025 



PHP Code:
S>CSERVER_CHAT 0x3026 



how i can give DC and Ban and respawn to wait some sec






sorry for my bad English it's not my Mother language
04/10/2016 22:15 xxnukertube#2
i have system auto ban
04/11/2016 00:51 MrMiroBear#3
Quote:
Originally Posted by xxnukertube View Post
i have system auto ban
can you tell me how to give ban with packet
04/12/2016 13:58 $WeGs#4
you can use 7025 opcode

byte type = pck.ReadUInt8(); -- type of chat (0x07) for GM cmds

if (type == 7)
{
string name = pck.ReadAscii();
msg = pck.ReadAscii();

you can filter the msg
ex: if (msg.Contains("Bla bla")
{
here what todo
}

}
04/13/2016 01:40 xxnukertube#5
my system give ban and dc by sql exec