Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 16:51

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

Advertisement



[Disgus]How to send packet from SR_GameServer to Client?

Discussion on [Disgus]How to send packet from SR_GameServer to Client? within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2009
Posts: 27
Received Thanks: 1
[Disgus]How to send packet from SR_GameServer to Client?

I want to add some new things to sro, so I hooked SRO_Client.

To to thins, I need to send a custom packet eg: 0x6655 from SR_GameServer to the client, how to do it?

I found that each player has a unique ID in the memory of SR_Gameserver by debug, what I can imagine is that there should be a function similar to this:

class Player{
int UserID;
int CharID;
int uniqueID;
}

SR_GameServer.SendToPlayer(Player player, Packet packet)
{
....
}

I cant find that function, Can anyone shre your work for me?
asuradoll is offline  
Old 05/26/2022, 11:31   #2
 
elite*gold: 0
Join Date: Dec 2021
Posts: 16
Received Thanks: 5
I Think gameserver Lib cherno has this function as i remember
UnkownW is offline  
Old 05/26/2022, 12:42   #3
 
elite*gold: 0
Join Date: May 2009
Posts: 27
Received Thanks: 1
Quote:
Originally Posted by UnkownW View Post
I Think gameserver Lib cherno has this function as i remember
Searched but cant find something like that.
you mean this one?
asuradoll is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Packet Editor Got me botjailed and client disconnected when send same packet
10/11/2015 - CO2 Programming - 1 Replies
#Request Closed : I hate conquer encryptions Fangy its based bot http://prntscr.com/8q2211



All times are GMT +1. The time now is 16:52.


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.