Register for your free account! | Forgot your password?

You last visited: Today at 02:01

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

Advertisement



how i can send Packet!!

Discussion on how i can send Packet!! within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
MrMiroBear's Avatar
 
elite*gold: 0
Join Date: Jul 2013
Posts: 120
Received Thanks: 13
Wink how i can send Packet!!

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
MrMiroBear is offline  
Old 04/10/2016, 22:15   #2
 
xxnukertube's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 578
Received Thanks: 166
i have system auto ban
xxnukertube is offline  
Old 04/11/2016, 00:51   #3
 
MrMiroBear's Avatar
 
elite*gold: 0
Join Date: Jul 2013
Posts: 120
Received Thanks: 13
Quote:
Originally Posted by xxnukertube View Post
i have system auto ban
can you tell me how to give ban with packet
MrMiroBear is offline  
Old 04/12/2016, 13:58   #4
 
elite*gold: 135
Join Date: May 2015
Posts: 627
Received Thanks: 737
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
}

}
$WeGs is offline  
Thanks
1 User
Old 04/13/2016, 01:40   #5
 
xxnukertube's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 578
Received Thanks: 166
my system give ban and dc by sql exec
xxnukertube is offline  
Reply




All times are GMT +2. The time now is 02:01.


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.