Jump to content
McKay Development

unable to read price_sheet from CMsgStoreGetUserData


Therepower

Recommended Posts

hey,

i try to fetch CSGO in-game store prices via CMsgStoreGetUserData.

message CMsgStoreGetUserData {
	optional fixed32 price_sheet_version = 1;
	optional int32 currency = 2;
}

 

message CMsgStoreGetUserDataResponse {
	optional int32 result = 1;
	optional int32 currency_deprecated = 2;
	optional string country_deprecated = 3;
	optional fixed32 price_sheet_version = 4;
	optional bytes price_sheet = 8;
}

 

When i receive the "CMsgStoreGetUserDataResponse" i can read result, price_sheet_version without problems but "price_sheet" itself is provided as bytes. When i try to read it i get some unreadable text. I also tried to parse it with  binarykvparser which gives  an error "KV type 48 encountered at offset 207"

How could i read the data provided by price_sheet?

thank you in advance

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...