Newbie Spellweaver
- Joined
- Nov 14, 2011
- Messages
- 80
- Reaction score
- 24
The other thread is a joke, there is nothing wrong with the opcode.
Here's how to really fix it:
In CashShopOperation.java find this
and change the 47 to 48.
Now go to MTSCSPacket.redeemResponse() and change it to
credits to edwinkbs for the redeemReponse.
Now in MTSCSPacket.java change the Operation Code variable at the top to 99.
Done!
Here's how to really fix it:
In CashShopOperation.java find this
Code:
} else if (action == 47) {
c.getSession().write(MTSCSPacket.redeemResponse());
and change the 47 to 48.
Now go to MTSCSPacket.redeemResponse() and change it to
Code:
public static byte[] redeemResponse() {
MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
mplew.writeShort(SendPacketOpcode.CS_OPERATION.getValue());
mplew.write(0xC1);
mplew.writeInt(0);
mplew.write(1);
return mplew.getPacket();
}
credits to edwinkbs for the redeemReponse.
Now in MTSCSPacket.java change the Operation Code variable at the top to 99.
Done!
Last edited: