OK GUYS! Today i'm gonna release this fix for all of you.
What is totem in maplestory? (Don't know what is it? Google it and you will know)
Caution: Flame Shield ON
First, find the equip function in MapleInventoryManipulator (there's an incorrect item pos values) , just edit it become :
After edited, you can wear those equipment but... (It will gone after logged out or change channel)Code:else if ( ((dst <= -1200 && dst > -5000 ) || (dst >= -999 && dst < -99)) && !stats.containsKey("cash")) { c.getSession().write(CWvsContext.enableActions()); return; } else if ((dst <= -1300 && dst > -5000 ) && c.getPlayer().getAndroid() == null) { c.getSession().write(CWvsContext.enableActions()); return; }
Go to packerHELPER
below
addCode:for (Item item : equipped) { if (item.getPosition() <= -1200 ) { addItemPosition(mplew, item, false, false); addItemInfo(mplew, item, chr); } }
And go to addCharLook and add a hash associative containers mapCode:mplew.writeShort(0); for (Item item : equipped) { if ( (item.getPosition() <= -5000 && item.getPosition() >= -5003)) { addItemPosition(mplew, item, false, false); addItemInfo(mplew, item, chr); } } mplew.writeShort(0);
BelowCode:Map<Byte, Integer> totem = new LinkedHashMap<>();addCode:for (final Entry<Byte, Integer> item : equip.entrySet())
And the last one,Code:if ( pos <= -118 && pos >= -120 ) totem.put((byte)(Byte.valueOf(pos) + 118) , item.getValue());
Between
AddCode:mplew.write(255); mplew.write(255);
Ok! There you go! But it still doesn't show any function, why?Code:for (Map.Entry entry : tote.entrySet()) { mplew.write(((Byte) entry.getKey()).byteValue()); mplew.writeInt(((Integer) entry.getValue()).intValue()); }
It is because GMS doesn't have include the totem effect in 117 (ERR?? LOL ARE YOU KIDDING ME?)
Please find those totem in other version WZ and add in your own WZ.
Credits: a9965



Reply With Quote


