Register for your free account! | Forgot your password?

You last visited: Today at 23:56

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

Advertisement



Packet 0x3122 ? S>C

Discussion on Packet 0x3122 ? S>C within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
Tazdingo7's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 248
Received Thanks: 127
Packet 0x3122 ? S>C

Hi!

Anyone knows what is this packet 3122 used for ?

Sometimes an account (especially GMs accounts and yes, the account with every character in) gets bugged this cause random dcs every X seconds and the gameserver shows this message: Unhandled Game SR_MSG: 0x3122 [data size: 10].

I think the data size is vinculated with the error. But why ?

Thanks alot!


3122 | 30BF | 1 | Object thay đổi trạng thái (die, start/end bersek)
Tazdingo7 is offline  
Old 06/23/2020, 08:25   #2
 
JellyBitz's Avatar
 
elite*gold: 0
Join Date: Sep 2018
Posts: 418
Received Thanks: 929
SERVER_ENTITY_STATE_UPDATE = 0x30BF

HP / MP / BadStatus updates on any object. I never saw 0x3122 actually.

Randoms DC sounds as client crashing handling something wrong.
This is the structure I always handled with no problems:
PHP Code:
public static void EntityStatusUpdate(Packet packet)
{
    
SREntity e InfoManager.GetEntity(packet.ReadUInt());
    
// Check if the entity has been despawned already
    
if (== null)
        return;
    
SRModel entity = (SRModel)e;
    
    
byte unkByte01 packet.ReadByte();
    
byte unkByte02 packet.ReadByte();
    
    
SRTypes.EntityStateUpdate updateType = (SRTypes.EntityStateUpdate)packet.ReadByte();
    switch (
updateType)
    {
        case 
SRTypes.EntityStateUpdate.HP:
            
entity.HP packet.ReadUInt();
            break;
        case 
SRTypes.EntityStateUpdate.MP:
            
entity.MP packet.ReadUInt();
            break;
        case 
SRTypes.EntityStateUpdate.HPMP:
        case 
SRTypes.EntityStateUpdate.EntityHPMP:
            
entity.HP packet.ReadUInt();
            
entity.MP packet.ReadUInt();
            break;
        case 
SRTypes.EntityStateUpdate.BadStatus:
            
entity.BadStatusFlags = (SRModel.BadStatus)packet.ReadUInt();
            break;
    }
    
// End of Packet
    
InfoManager.OnEntityStatusUpdated(updateTypeentity);

source:
JellyBitz is offline  
Old 06/27/2020, 03:49   #3

 
MeGaMaX's Avatar
 
elite*gold: 29890
Join Date: Sep 2006
Posts: 1,086
Received Thanks: 2,565
Quote:
Originally Posted by Tazdingo7 View Post
Hi!

Anyone knows what is this packet 3122 used for ?

Sometimes an account (especially GMs accounts and yes, the account with every character in) gets bugged this cause random dcs every X seconds and the gameserver shows this message: Unhandled Game SR_MSG: 0x3122 [data size: 10].

I think the data size is vinculated with the error. But why ?

Thanks alot!


3122 | 30BF | 1 | Object thay đổi trạng thái (die, start/end bersek)

0x3122 // Green book update.
MeGaMaX is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Help] Weather Packet (My First Packet)
06/07/2014 - CO2 Private Server - 95 Replies
delete this thread.
Understanding the Packet System - Basics of a Packet explained
11/03/2012 - Cabal Online - 30 Replies
Read the advice first... *****************UPDATED 12/11/2011********************************* **** ADDED VB6 PROXY BOT SOURCE-CODE, WORKING EXAMPLE OF PROXY BOT****** ************************************************* ***************** The following CONSTANTS have been flagged, this means they appear in EVERY Packet exchange from client to server and server to client Red = Packet Id - Each packet has a unique ID number, in this case AA02, Each Packet id Relates to a specific...
[Request] Packet Structure for CharData Packet
05/16/2011 - Silkroad Online - 4 Replies
can someone tell me which structure the CharData packet has? i would really appreciate this, since im still noob in such things. its just too high for me/ too much information for my head. :handsdown: S->C(3013)...
[Question] Packet data , packet editing ??
10/13/2009 - 9Dragons - 2 Replies
I would like to know : What is packet data? How do i get the address for hacking a item in game? How to use it ??



All times are GMT +1. The time now is 23:56.


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.