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!

Show gauge Pirate Revamp?

Legendary Battlemage
Joined
Mar 7, 2013
Messages
686
Reaction score
43
Hi can you help me with this change?
what happens is that the job had a pirate Buccanner megaRevamp update in RED


and now change the way to get energybuff
mixtamal6 - Show gauge Pirate Revamp? - RaGEZONE Forums


mixtamal6 - Show gauge Pirate Revamp? - RaGEZONE Forums

Now this gauge is shown, but not how to achieve this: c
i use v144 and my energy packet is

Code:
public static byte[] giveEnergyChargeTest(int bar, int bufflength) {
            return giveEnergyChargeTest(-1, bar, bufflength);
        }

public static byte[] giveEnergyChargeTest(int cid, int bar, int bufflength) {
            if (true) {
                return CWvsContext.enableActions();
            }
            MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();


            if (cid == -1) {
                mplew.writeShort(SendPacketOpcode.GIVE_BUFF.getValue());
            } else {
                mplew.writeShort(SendPacketOpcode.GIVE_FOREIGN_BUFF.getValue());
                mplew.writeInt(cid);
            }
            PacketHelper.writeSingleMask(mplew, MapleBuffStat.ENERGY_CHARGE);
            mplew.writeShort(0);
            mplew.write(0);
            mplew.writeInt(Math.min(bar, 10000));
            mplew.writeLong(0L);
            mplew.write(0);


            mplew.writeInt(bar >= 10000 ? bufflength : 0);
            mplew.write(0);
            mplew.write(6);
            return mplew.getPacket();
        }
 
Back
Top