Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] Fix for Magic Scales

Initiate Mage
Joined
Sep 6, 2007
Messages
10
Reaction score
2
Just a small release. This fixes you cannot login after equipped Magic Scales.
If Magic Scales is released, this fix is needed for that.

Open net\sf\odinms\tools\MaplePacketCreator.java.
Find in
Code:
private static void addCharLook(MaplePacketLittleEndianWriter mplew, MapleCharacter chr, boolean mega)
Replace
Code:
} else if (pos > 100 && pos != 111) { // don't ask. o.o
to
Code:
} else if ((pos > 100 || pos == -128) && pos != 111) { // don't ask. o.o

And, Find in
Code:
private static void addItemInfo(MaplePacketLittleEndianWriter mplew, IItem item, boolean zeroPosition,
                                                                boolean leaveOut)
Replace
Code:
if (pos > 100) {
to
Code:
if (pos > 100 || pos == -128) {
 
Junior Spellweaver
Joined
Apr 6, 2008
Messages
140
Reaction score
0
i think it's no important but idk maybe it would help later
 
Back
Top