Skip to content

difficulties with items #53

Description

@D1abll0

Hi guys. i have a couple questions.
First. when I inspect the item's paintwear, it's an integer. Why? in game, this is a float value.
example

inspect_params= {'param_a': 15145586192, 'param_d': 16595344889481721483, 'param_s': 76561198282463169}
cs.send(ECsgoGCMsg.EMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest, inspect_params)
response=cs.wait_event(ECsgoGCMsg.EMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse, timeout=10)
{
itemid: 15145586192
defindex: 9
paintindex: 279
rarity: 6
quality: 4
**paintwear: 1049016027**
paintseed: 492
stickers {
slot: 3
sticker_id: 3171
}
inventory: 51
origin: 4
}

Second. is it possible to send a list of items to the server and get a response with the data of all the items instead of doing it one by one? more or less like this:

cs.send( ECsgoGCMsg.EMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest,
[ 'itemLink1', 'itemLink2', 'itemLinkN', ] )

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions