• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

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
Top