replica.inventoryitem:GetAtlas() and replica.inventoryitem:GetImage() return a number


Cunning fox
  • Pending

This ancient bug crashes lots of mods, such as extra equip slots. For some reason image and atlas are net_hash, so in some cases, it returns a number value, such as 3218674000. I think it's better to change the net_hash to net_string


Steps to Reproduce
Call item.replica.inventoryitem:GetAtlas() for modded item
  • Like 1
  • Thanks 1


User Feedback


.... ....

net_hash converts to a string as long as the string has been hashed on the client, you must be doing something weird if the client lacks the atlas and image names, since under normal circumstances the client has that info.

Share this comment


Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now