Register for your free account! | Forgot your password?

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

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

Advertisement



Daxter's char parsing guide.

Discussion on Daxter's char parsing guide. within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2013
Posts: 23
Received Thanks: 2
Question Daxter's char parsing guide.

In the guide made by @DaxterSoul ; here in this link:

SERVER_AGENT_CHARACTER_DATA (0x3013):
Code:
    4   uint    item.RefItemID
    if(item.TypeID1 == 3)
    {
        //ITEM_        
        if(item.TypeID2 == 1)
        {
            //ITEM_CH
            //ITEM_EU
            //AVATAR_
            1   byte    item.OptLevel
            8   ulong   item.Variance
            4   uint    item.Data       //Durability
            1   byte    item.MagParamNum
            fo
------------------------------------------------
SERVER_AGENT_ENTITY_SPAWN (0x3015, 0x3019):
Code:
4   uint    RefObjID
if(obj.TypeID1 == 1)
{
    //BIONIC:
    //  CHARACTER
    //  NPC
    //      NPC_FORTRESS_STRUCT
    //      NPC_MOB
    //      NPC_COS
    //      NPC_FORTRESS_COS    
    
    if(obj.TypeID2 == 1)
    {
        //CHARACTER
        1   byte    Scale
I need to know what are the (item.TypeID1, item.TypeID2) in both examples, nor where they come from.
ReviveSRO is offline  
Old 04/01/2018, 12:19   #2


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,653
Quote:
Originally Posted by ReviveSRO View Post
In the guide made by @DaxterSoul ; here in this link:



SERVER_AGENT_CHARACTER_DATA (0x3013):

Code:
    4   uint    item.RefItemID

    if(item.TypeID1 == 3)

    {

        //ITEM_        

        if(item.TypeID2 == 1)

        {

            //ITEM_CH

            //ITEM_EU

            //AVATAR_

            1   byte    item.OptLevel

            8   ulong   item.Variance

            4   uint    item.Data       //Durability

            1   byte    item.MagParamNum

            fo
------------------------------------------------

SERVER_AGENT_ENTITY_SPAWN (0x3015, 0x3019):

Code:
4   uint    RefObjID

if(obj.TypeID1 == 1)

{

    //BIONIC:

    //  CHARACTER

    //  NPC

    //      NPC_FORTRESS_STRUCT

    //      NPC_MOB

    //      NPC_COS

    //      NPC_FORTRESS_COS    

    

    if(obj.TypeID2 == 1)

    {

        //CHARACTER

        1   byte    Scale


I need to know what are the (item.TypeID1, item.TypeID2) in both examples, nor where they come from.


[SRO_VT_SHARD].[_RefObjCommon].dbo


Sent from my iPhone using Tapatalk
​Exo is offline  
Thanks
1 User
Old 04/01/2018, 17:50   #3
 
elite*gold: 0
Join Date: Aug 2013
Posts: 23
Received Thanks: 2
I have nothing to do with the server, I mean I am not a gm nor have access to the sql database. so I want to read and record everything in the spawn/entity packets as I am working on a clientless tool just for my personal use, so asking for an interpretation.
ReviveSRO is offline  
Old 04/01/2018, 19:13   #4
 
elite*gold: 0
Join Date: Jan 2009
Posts: 314
Received Thanks: 686
_RefObjCommon and their derived tables _RefObjChar, _RefObjStruct, _RefObjItem are represented in the client as characterdata.txt, teleportbuilding.txt, itemdata.txt with the exception of Resist columns.
DaxterSoul is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Parsing Char-Spawn Paket correctly
04/01/2016 - SRO Coding Corner - 2 Replies
Dear Coding Community, I am stucking with the parsing of the Single-Spawn Char Paket... Below u can find the whole Paket of a single Spawn 74 07 00 00 t............... 44 D...............
Parsing EliteSro Chardata [ mostly done ]
07/07/2011 - SRO Coding Corner - 1 Replies
Ok .. Well guys , i mostly parsed the elitesro chardata. But i can't find out x and y coords , and im not sure if my quests part is true. Here we go , i paste my code : Dim Pos As sPos Dim glr As UInt32 Dim type As Byte bn.ReadBytes(9) ' ? , model , volume Dim Level As Byte = bn.ReadByte bn.ReadByte() ' highest mastery level Dim EXP As UInt64 = bn.ReadUInt64
[Request]Parsing the navdata files
11/29/2010 - SRO Coding Corner - 1 Replies
so,I would like to know how to parse the navdata files..if someone could help me that would be great:)
DMap File Parsing
03/02/2008 - Conquer Online 2 - 12 Replies
I finished the app, it correctly parses the DMap files and renders them to the screen (from what i could tell on the ones i tried, its slow because its using PSet plus its in vb, but at this point, i dont care about efficiency, i'll worry about that later, the fact is it works. Refer to: http://www.elitepvpers.com/forum/co2-main-discussio ns-questions/112647-new-bot-development.html for the COBot Project which this is part of. I took this from my reply i made on my new bot i'm developing,...



All times are GMT +1. The time now is 11:49.


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.