Jump to content
McKay Development

Storage units (limits) and def-/paintindices


Recommended Posts

Posted

Hey there,

I've been working with storage units for the past 2 days via the 'globaloffensive' module and it is working like a charm!

However there's a small problem: I would like to have a list (or something similar) with every item available for storage that matches the defindices and paintindices with actual item names.

Unfortunately my Google search didn't yield any results. I was so desperate that I also jumped into the items_game.txt file under csgo/scripts/items with hopes of parsing this mess, but was grounded very fast. 

Can anyone help me out or point me in the right direction?

 

On another note: Are there any rate limits if I just add/remove items to/from storage units? Only tested it with 15 items at a time (fetched the inventory once) on a bot and they were instantly added/removed.

 

Thanks in advance! 

All the best and stay safe

Posted

I really wouldn't recommend that you try parsing item attributes and using them to determine what various items actually are. CS:GO is a complete mess and that's a really good way to go insane.

You're far better off keeping track of which items are which IDs before you put them in your storage unit.

I'm not aware of any storage unit rate-limits, but I do recommend that you wait for an add/remove request to complete before you issue the next one.

Posted (edited)

Yeah, that's what I figured. I guess waiting for a request to complete would only be necessary for different items? I'll implement it and see if it takes considerably more time.

 

Thanks, I really appreciate it!

Edited by Epic

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...