Bit Case System Fix

Junior Spellweaver
Joined
Feb 18, 2018
Messages
117
Reaction score
10
Releasing this too,
[R]BIT_CASE_REQUEST = 521 (v179)
When dragging Bit case to the slot the receiving info is:
slea.readInt();//Update Time
int CaseItemId = slea.readInt();
so let's add the quest data
BitCaseQuestId = 7022;
if (CaseItemId > 0) {
c.getPlayer().updateInfoQuest(BitCaseQuestId, "e=" + CaseItemId + ";c=" + CaseItemIdLastDigit + ";l=" + SlotPerLine
+ ";s=" + SlotCount);
} else {
c.getPlayer().updateInfoQuest(BitCaseQuestId, "-1");
}

public static byte[] updateInfoQuest(int quest, String data) {
MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter(); mplew.writeShort(SendPacketOpcode.QUEST_RECORD_EX_MESSAGE.getValue());//SHOW_STATUS_INFO Value 91 v179
mplew.write(13);
mplew.writeInt(quest);
mplew.writeMapleAsciiString(data);
return mplew.getPacket();
}


AddInventoryInfo in addCharInfo or SetField below encoding Angelic Buster Item info
for (Item item : equipped) {
if (item.getPosition() <= -BodyPart.BitsEquippedBase.getVal() && item.getPosition() > -BodyPart.BitsEquippedEnd.getVal()) {//1400 ~ 1425
addItemPosition(mplew, item, false, false);
addItemInfo(mplew, item, chr);
}
}

and this will do.
 
Last edited:
Back