Register for your free account! | Forgot your password?

You last visited: Today at 04:42

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

Advertisement



CharData Packet

Discussion on CharData Packet within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2009
Posts: 15
Received Thanks: 6
CharData Packet

Hi all

I just tried to make a little program to see packets and parse them to have infos about my char, ..., but I have a little problem at the end of the inventory part of the packet.

Here are the last lines of the inventory :
Code:
 
00 00 00 00 ..................................Always 00 00 00 00
7D 88 00 00 ..................................Item Id
00 ...........................................Plus
00 00 00 00 00 00 00 00 ......................White stats
00 00 ........................................Durability
00 ...........................................Blues
00 00 ........................................???
01 ...........................................Socket 1
00 ...........................................No socket
02 ...........................................Socket 2
00 
03 
00 
04 
00 
09 ...........................................Slot
00 00 00 00 BB 87 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 03 00 04 00 0A 
00 00 00 00 AB 87 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 03 00 04 00 00 01 01 02 00 00 00 01 02 02 00 00 00 01 03 02 00 00 00
In the last line, where is the slot ? It should be 0B, since it's the second ring of the job set, but where it is ?

And also, what means the 01 01 02, 01 02 02 and 01 03 02 at the end ?

For the rest I think I can have the infos I want, I just need to make some tests ^^
frogi55 is offline  
Old 08/03/2013, 13:59   #2
 
elite*gold: 0
Join Date: Jan 2009
Posts: 314
Received Thanks: 686
Durability is DWORD (4 Bytes)

09 Slot
00 00 00 00 Event
BB 87 00 00 RefItemID
00 OptLevel
00 00 00 00 00 00 00 00 Variance
00 00 00 00 Dura
00 MagParamNum
01 00 Socket 1
02 00 Socket 2
03 00 Socket 3
04 00 Socket 4

0A Slot
00 00 00 00 Event
AB 87 00 00 RefItemID
00 OptLevel
00 00 00 00 00 00 00 00 Variance
00 00 00 00 Data
00 MagParamNum
01 00 Socket 1
02 00 Socket 2
03 00 Socket 3
04 00 Socket 4

00 01 01 02 00 00 00 01 02 02 00 00 00 01 03 02 00 00 00

Would be helpful to have the full packet


Update:
Code:
	06                                                Slot
	00 00 00 00                                       nRentType (1 =, 2 =, 3 = ) 
	if(nRentType == 1)
	{
		01 00                                             CanDelete (Will be deleted when time period is over)
		60 67 22 52                                       PeriodBeginTime
		F0 3D 70 52                                       PeriodEndTime
	}
	
	if(nRentType == 2)
	{
		00 00                                             CanDelete (Will be deleted when time period is over)
		00 00                                             CanRecharge (Able to extend)
		08 E6 2D 00                                       MeterRateTime
	}
	
	if(nRentType == 3)
	{	
		01 00                                             CanDelete (Will be deleted when time period is over)
		60 67 22 52                                       PeriodBeginTime
		E0 A2 48 52                                       PeriodEndTime
		01 00                                             CanRecharge (Able to extend)
		1C F4 17 00                                       PackingTime
	}
	30 0E 00 00                                       RefItemID
	
	if(itemType == Equipment)
	{
		00                                                Plus
		00 00 00 00 00 00 00 00                           Variance
		89 00 00 00                                       Durability
		00                                                MagParamNum
		{
			00 00 00 00 || 00 00 00 00						MagParamIndex | MagParamValue
		}
		01                                                bOptType - 1 = Socket
		03                                                Amount of Socket Slots
		{
			00                                                nSlot
			FA 79 01 00 | E8 65 00 00                         nOptID | nParam1
		}
		02                                                bOptType - 2 = Advanced elixir
		01                                                Amount of Advanced elixirs
		{ 
			00                                                nSlot
			7B 65 00 00 | 02 00 00 00                         nOptID | nOptValue
		}
		//Notice for Advanced Elixir modding.
		//Mutiple adv elixirs only possible with db edit. nOptValue of last nSlot will be shown as elixir in effect but total Plus value is correct
		//You also have to fix error when "Buy back" from NPC
		//## Stored procedure Error(-1): {?=CALL _Bind_Option_Manager (3, 174627, 1, 0, 0, 0, 0, 0, 0)} ## D:\WORK2005\Source\SilkroadOnline\Server\SR_GameServer\AsyncQuery_Storage.cpp AQ_StorageUpdater::DoWork_AddBindingOption 1366
		//Storage Operation Failed!!! [OperationType: 34, ErrorCode: 174627]
		//Query: {CALL _STRG_RESTORE_SOLDITEM_ITEM_MAGIC (174628, ?, ?, 34, 6696,13, 137,8,0,137, 1,4294967506,0,0,0,0,0,0,0,0,0,0,0,199970734269)}
		//AQ Failed! Log out!! [AQType: 1]	
	}
DaxterSoul is offline  
Thanks
1 User
Old 08/03/2013, 15:28   #3
 
elite*gold: 0
Join Date: Feb 2009
Posts: 15
Received Thanks: 6
Oh, I took the slot at the end of each item instead at the beginning, that's why i couldn't find the one for the last item, thank you

I skipped the part 00 01 01 02 00 00 ... until I found out what it means

Skills, Quests, Items, it's ok now, I've understood the most part of the packet
frogi55 is offline  
Old 11/12/2013, 18:50   #4
 
elite*gold: 0
Join Date: Nov 2013
Posts: 168
Received Thanks: 117
thanks that helps
Skullsoil is offline  
Old 11/18/2013, 00:33   #5
 
elite*gold: 0
Join Date: May 2011
Posts: 669
Received Thanks: 407
Quote:
Originally Posted by sielaaaa69 View Post
+1
If you +1 only one more thread...
Bartic is offline  
Old 11/18/2013, 01:09   #6
 
lesderid's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
Quote:
Originally Posted by Bartic View Post
If you +1 only one more thread...
Then he would've +1'd 48 threads (believe me, I counted).
lesderid is offline  
Thanks
1 User
Old 11/18/2013, 03:39   #7
 
CastieI's Avatar
 
elite*gold: 20
Join Date: Sep 2007
Posts: 689
Received Thanks: 774
Quote:
Originally Posted by lesderid View Post
Then he would've +1'd 48 threads (believe me, I counted).
Is "post farming" no reason to be reported?
If so, it would be sad.

€dit: Seems it is
CastieI is offline  
Thanks
1 User
Old 11/18/2013, 05:13   #8
 
elite*gold: 19
Join Date: Jul 2013
Posts: 223
Received Thanks: 290
These packets are actually fully parsed and documented on stealthex dot org forums, if i remember correctly. Might help ya to go and have a look over there.

No advertisment intended
Royalblades is offline  
Reply


Similar Threads Similar Threads
Loading CharData
02/23/2012 - SRO Private Server - 10 Replies
Hello, and first sorry for asking like a retard... But I have some problems with the Shardmanager and Gameserver. So far I could get logged in, everything works fine. I create a new char(chinese region is loaded only) and tried to get in... But everytime I get Disconnected, Shard Manager http://img7.imagebanana.com/img/ke6u5pmi/1.png Gameserver http://img7.imagebanana.com/img/3322k03l/2.png
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] 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)...



All times are GMT +1. The time now is 04:43.


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.