look up "You can't wear that item." and post the code
|
any1 know why i cant wield/hold monkey gree gree?
https://gyazo.com/b32ce0ebde736165c9ec5879c85e1a1b
look up "You can't wear that item." and post the code
so i checked my source and found 4 if satements for "you can't wear that" :
Spoiler for code 1:
Spoiler for code 2:
Spoiler for code 3:
Spoiler for code 4:
Perhaps the items definitions has its equip slot set to -1. I don’t know if my definitions editor works for you, but it has a field for setting equip slot
http://prntscr.com/t78yii
equip slot is 3 which is the weapon slot i believe.
equip type is -1 , is that the cause?
ok so i found out that if i add them items into buttonhandler in this code it allowed them to be equipped:
http://prntscr.com/t7k2ag
its porbably a horrible way to do, maybe someone knows a better way?
but i guess if any1 else runs into this issue like me atleast this method fixes it
yeah, that's a pretty bad way of fixing it. It's just an easy cheaphax way of fixing a problem, which happens a lot in rsps, and eventually it makes everything super unorganized and hard to read.
Imagine you found a bunch of items that you couldn't equip and you had to fix them all manually, like you've just done. That if statement is then going to become unnecessarily long.
You can force an item to an equipment slot.
Check inventoryoptions and just make so that if you click item ids that match the monkey greegrees to set your weapon slot to that item ID.
Even if the monkey gree gree is not set to an item slot, you can still force it that it will be.
If you do not know what i mean, i can show you it over discord or teamviewer. whatever you prefer.
Kind regards,
Fallore.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |