B3akers / csgo-fake-opening

Fake opening for csgo
MIT License
99 stars 63 forks source link

skin rarity issue #4

Closed xevss closed 3 years ago

xevss commented 3 years ago

skin rarity messes up and makes normal skins appear as reds etc , example image attached image

Ebzdyberybencjusz commented 3 years ago

same issue, only red items drop ;/

willn1337 commented 3 years ago

i think it's only dropping reds because econ_paint_kit_definition::get_rarity_value() is only returning 32, so the if statement at line 129 in csgo_sdk.cpp is always passing and the rarity value gets set to 6, dunno how to fix though

B3akers commented 3 years ago

fixed