Solved
Thanks you very much.
Solved
Thanks you very much.
Last edited by divinesam; 03-07-14 at 08:08 PM.
Did you compile and replace the jar?
Yup compiled and replaced. The problem lies in the npc scripting I believe is the slot[selected] holder that is not stored.
You haven't defined the "selected". I am not a MapleStory dev but I think something like this should do the trick?
But, yeah, you haven't defined the "selected".Code:local oldSelect = item.select local selected function item.select(slot) selected = slot oldSelect(slot) end function item.getSelectedSlot() return selected end
I think the full error would be "method cm.tierItem(Int) does not exist".
Try (byte) slot[selected].
Should work if the selected slot can be a byte.
Thank you everyone for your replies.
Turn out my syntax error caused the problem.
Solved :))