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!

[Add-on] v83 3rd Person Ring Effects

Status
Not open for further replies.
Joined
Nov 27, 2009
Messages
442
Reaction score
230
Re: v83 3rd Person Ring Effects

Everyone, stop hating on Expedia :( he's awsum. This code is not in MapleBlade source, though it may be similar.

/post

Actually I think these poeple are high, MapleBlade has nothing related to rings, except updateCharLook? (Which was already included with LocalMS)
 
Custom Title Activated
Loyal Member
Joined
Jun 30, 2008
Messages
3,451
Reaction score
1,616
Re: v83 3rd Person Ring Effects

Yeah every Kevin is sexy, except Fake Kevin (insider with FAKE KEVIN xD) and cracker Kevins.
Ohai!
Dude fix you fking addItemInfo.
I see things that are completely stupid.
Like: Expiration date, ring checks (these are cash item checks)

Here check mine:
PHP:
    private static void addItemInfo(MaplePacketLittleEndianWriter mplew, IItem item, boolean zeroPosition) {
        MapleItemInformationProvider ii = MapleItemInformationProvider.getInstance();
        boolean isCash = ii.isCash(item.getItemId());
        boolean isPet = item.getPetId() > -1;
        IEquip equip = null;
        byte pos = item.getPosition();
        if (item.getType() == IItem.EQUIP)
            equip = (IEquip) item;

        if (!zeroPosition) {
            if (equip != null) {
                if (pos < 0)
	            pos *= -1;
                    mplew.writeShort(pos > 100 ? pos - 100 : pos);
	        } else {
                    mplew.write(pos);
	        }
        }

        mplew.write(isPet ? 3 : item.getType());
        mplew.writeInt(item.getItemId());
        mplew.write(isCash ? 1 : 0);
        if (isCash) {
            mplew.writeLong(isPet ? item.getPetId() : item.getCashId());
        }
        addExpirationTime(mplew, item.getExpiration());
        if (isPet) {
            MaplePet pet = MaplePet.loadFromDb(item.getItemId(), item.getPosition(), item.getPetId());
            mplew.writeAsciiString(StringUtil.getRightPaddedStr(pet.getName(), '\0', 13));
            mplew.write(pet.getLevel());
            mplew.writeShort(pet.getCloseness());
            mplew.write(pet.getFullness());
            addExpirationTime(mplew, item.getExpiration());
            mplew.writeInt(0);
            mplew.write(HexTool.getByteArrayFromHexString("50 46 00 00 00 00")); //wonder what this is
            return;
        }
        if (equip == null) {
            mplew.writeShort(item.getQuantity());
            mplew.writeMapleAsciiString(item.getOwner());
            mplew.writeShort(item.getFlag()); // flag

            if (ItemConstants.isRechargable(item.getItemId())) {
                mplew.writeInt(2);
                mplew.write(HexTool.getByteArrayFromHexString("54 00 00 34"));
            }
            return;
        }

        mplew.write(equip.getUpgradeSlots()); // upgrade slots
        mplew.write(equip.getLevel()); // level
        mplew.writeShort(equip.getStr()); // str
        mplew.writeShort(equip.getDex()); // dex
        mplew.writeShort(equip.getInt()); // int
        mplew.writeShort(equip.getLuk()); // luk
        mplew.writeShort(equip.getHp()); // hp
        mplew.writeShort(equip.getMp()); // mp
        mplew.writeShort(equip.getWatk()); // watk
        mplew.writeShort(equip.getMatk()); // matk
        mplew.writeShort(equip.getWdef()); // wdef
        mplew.writeShort(equip.getMdef()); // mdef
        mplew.writeShort(equip.getAcc()); // accuracy
        mplew.writeShort(equip.getAvoid()); // avoid
        mplew.writeShort(equip.getHands()); // hands
        mplew.writeShort(equip.getSpeed()); // speed
        mplew.writeShort(equip.getJump()); // jump
        mplew.writeMapleAsciiString(equip.getOwner()); // owner name
        mplew.writeShort(equip.getFlag()); //Item Flags

        if (isCash) {
            for (int i = 0; i < 10; i++) {
                mplew.write(0x40);
            }
        } else {
            mplew.write(0);
            mplew.write(equip.getItemLevel());
            mplew.writeShort(0);
            mplew.writeShort(1);// item exp
            mplew.writeShort(equip.getVicious());
            mplew.write(new byte[10]);
        }

        mplew.write(HexTool.getByteArrayFromHexString("00 40 E0 FD 3B 37 4F 01"));
        mplew.writeInt(-1);

    }
 
Revolution-Entrepreneur
Joined
Apr 2, 2009
Messages
451
Reaction score
19
Re: v83 3rd Person Ring Effects

But MapleBlade got 100+ players online average, and that's the fact. Players love spoon feeding
 
Custom Title Activated
Loyal Member
Joined
Nov 27, 2009
Messages
1,905
Reaction score
948
Re: v83 3rd Person Ring Effects

But MapleBlade got 100+ players online average, and that's the fact. Players love high rate servers
fix'd 
 
Newbie Spellweaver
Joined
Oct 24, 2009
Messages
5
Reaction score
0
Re: v83 3rd Person Ring Effects

Can someone please tell me where this goes? I'm noob at this =.=
 
Custom Title Activated
Loyal Member
Joined
Jun 30, 2008
Messages
3,451
Reaction score
1,616
Re: v83 3rd Person Ring Effects

I love how you're acting like you know a thing about me.
1. I don't play private servers for a while.
2. I owned a server while back at v55, no more.
3. I don't even have a source on my computer.
4. I won't download localms with npc's. :thumbup1:
U mad?
nibsauce
 
Joined
Nov 27, 2009
Messages
442
Reaction score
230
Re: v83 3rd Person Ring Effects

Ohai!
Dude fix you fking addItemInfo.
I see things that are completely stupid.
Like: Expiration date, ring checks (these are cash item checks)

Here check mine:
PHP:
    private static void addItemInfo(MaplePacketLittleEndianWriter mplew, IItem item, boolean zeroPosition) {
        MapleItemInformationProvider ii = MapleItemInformationProvider.getInstance();
        boolean isCash = ii.isCash(item.getItemId());
        boolean isPet = item.getPetId() > -1;
        IEquip equip = null;
        byte pos = item.getPosition();
        if (item.getType() == IItem.EQUIP)
            equip = (IEquip) item;

        if (!zeroPosition) {
            if (equip != null) {
                if (pos < 0)
	            pos *= -1;
                    mplew.writeShort(pos > 100 ? pos - 100 : pos);
	        } else {
                    mplew.write(pos);
	        }
        }

        mplew.write(isPet ? 3 : item.getType());
        mplew.writeInt(item.getItemId());
        mplew.write(isCash ? 1 : 0);
        if (isCash) {
            mplew.writeLong(isPet ? item.getPetId() : item.getCashId());
        }
        addExpirationTime(mplew, item.getExpiration());
        if (isPet) {
            MaplePet pet = MaplePet.loadFromDb(item.getItemId(), item.getPosition(), item.getPetId());
            mplew.writeAsciiString(StringUtil.getRightPaddedStr(pet.getName(), '\0', 13));
            mplew.write(pet.getLevel());
            mplew.writeShort(pet.getCloseness());
            mplew.write(pet.getFullness());
            addExpirationTime(mplew, item.getExpiration());
            mplew.writeInt(0);
            mplew.write(HexTool.getByteArrayFromHexString("50 46 00 00 00 00")); //wonder what this is
            return;
        }
        if (equip == null) {
            mplew.writeShort(item.getQuantity());
            mplew.writeMapleAsciiString(item.getOwner());
            mplew.writeShort(item.getFlag()); // flag

            if (ItemConstants.isRechargable(item.getItemId())) {
                mplew.writeInt(2);
                mplew.write(HexTool.getByteArrayFromHexString("54 00 00 34"));
            }
            return;
        }

        mplew.write(equip.getUpgradeSlots()); // upgrade slots
        mplew.write(equip.getLevel()); // level
        mplew.writeShort(equip.getStr()); // str
        mplew.writeShort(equip.getDex()); // dex
        mplew.writeShort(equip.getInt()); // int
        mplew.writeShort(equip.getLuk()); // luk
        mplew.writeShort(equip.getHp()); // hp
        mplew.writeShort(equip.getMp()); // mp
        mplew.writeShort(equip.getWatk()); // watk
        mplew.writeShort(equip.getMatk()); // matk
        mplew.writeShort(equip.getWdef()); // wdef
        mplew.writeShort(equip.getMdef()); // mdef
        mplew.writeShort(equip.getAcc()); // accuracy
        mplew.writeShort(equip.getAvoid()); // avoid
        mplew.writeShort(equip.getHands()); // hands
        mplew.writeShort(equip.getSpeed()); // speed
        mplew.writeShort(equip.getJump()); // jump
        mplew.writeMapleAsciiString(equip.getOwner()); // owner name
        mplew.writeShort(equip.getFlag()); //Item Flags

        if (isCash) {
            for (int i = 0; i < 10; i++) {
                mplew.write(0x40);
            }
        } else {
            mplew.write(0);
            mplew.write(equip.getItemLevel());
            mplew.writeShort(0);
            mplew.writeShort(1);// item exp
            mplew.writeShort(equip.getVicious());
            mplew.write(new byte[10]);
        }

        mplew.write(HexTool.getByteArrayFromHexString("00 40 E0 FD 3B 37 4F 01"));
        mplew.writeInt(-1);

    }

Most poeple use LocalMS, so I made this mostly based on LocalMS packets. ExpediteMS has a little diffrence from that sturcutre :love:
 
Experienced Elementalist
Joined
Feb 24, 2009
Messages
229
Reaction score
197
Re: v83 3rd Person Ring Effects

LMAO hmm this is from mapleblade source :(
try releasing v88 source instead:)
No, It's not. Let's see your v88 source...?

No i has full rings with Friend ship rings :(
No, You have no penis or friends. You are just a greedy money hungry server own, Get the thumb out of your butt and learn java, etc.

Firstable I didn't say you did something wrong Second Mapleblade has the same ring code :eek:tt1:
Because MapleBlade has ONE packet structure relating to rings, This release is from MapleBlade? lol

maybe kev sold it to them?
Could you do Ragezone and all its family members a great favor, Stop posting or simply commit suicide.

So you got this from LocalMS?
Are you the tactical private server investigation unit or something?:$:

I was asking a question T.T

Besides, no one told me how to use this yet...
*facepalm* Alot of previous questions for someone who does not know how to use this release.

Can someone please tell me where this goes? I'm noob at this =.=
Create a help thread about this post and rings and I'm sure someone will be delighted to help you.


@Ontopic

Thank you for releasing your hard work Expedia.
 
offonline
Loyal Member
Joined
Aug 5, 2009
Messages
1,403
Reaction score
164
Re: v83 3rd Person Ring Effects

I WAS selling my AutoEvents. Anyone who wanted Ring effects, I refered to you. Not sure if they did contact you, I know your poor kev. :):
 
Junior Spellweaver
Joined
Jun 18, 2010
Messages
129
Reaction score
7
Re: v83 3rd Person Ring Effects

Pretty cool. >.> ?
Anyway it doesn't matter where Expedia get this from.
He knew it himself the best.
 
Last edited:
Joined
Jun 25, 2008
Messages
923
Reaction score
269
Re: v83 3rd Person Ring Effects

I love how you're acting like you know a thing about me.
1. I don't play private servers for a while.
2. I owned a server while back at v55, no more.
3. I don't even have a source on my computer.
4. I won't download localms with npc's. :thumbup1:

Expedia - [Add-on] v83 3rd Person Ring Effects - RaGEZONE Forums
 
Master Summoner
Loyal Member
Joined
Apr 20, 2008
Messages
578
Reaction score
76
Re: v83 3rd Person Ring Effects

Ohai!
Dude fix you fking addItemInfo.
I see things that are completely stupid.
Like: Expiration date, ring checks (these are cash item checks)

Here check mine:
PHP:
    private static void addItemInfo(MaplePacketLittleEndianWriter mplew, IItem item, boolean zeroPosition) {
        MapleItemInformationProvider ii = MapleItemInformationProvider.getInstance();
        boolean isCash = ii.isCash(item.getItemId());
        boolean isPet = item.getPetId() > -1;
        IEquip equip = null;
        byte pos = item.getPosition();
        if (item.getType() == IItem.EQUIP)
            equip = (IEquip) item;

        if (!zeroPosition) {
            if (equip != null) {
                if (pos < 0)
	            pos *= -1;
                    mplew.writeShort(pos > 100 ? pos - 100 : pos);
	        } else {
                    mplew.write(pos);
	        }
        }

        mplew.write(isPet ? 3 : item.getType());
        mplew.writeInt(item.getItemId());
        mplew.write(isCash ? 1 : 0);
        if (isCash) {
            mplew.writeLong(isPet ? item.getPetId() : item.getCashId());
        }
        addExpirationTime(mplew, item.getExpiration());
        if (isPet) {
            MaplePet pet = MaplePet.loadFromDb(item.getItemId(), item.getPosition(), item.getPetId());
            mplew.writeAsciiString(StringUtil.getRightPaddedStr(pet.getName(), '\0', 13));
            mplew.write(pet.getLevel());
            mplew.writeShort(pet.getCloseness());
            mplew.write(pet.getFullness());
            addExpirationTime(mplew, item.getExpiration());
            mplew.writeInt(0);
            mplew.write(HexTool.getByteArrayFromHexString("50 46 00 00 00 00")); //wonder what this is
            return;
        }
        if (equip == null) {
            mplew.writeShort(item.getQuantity());
            mplew.writeMapleAsciiString(item.getOwner());
            mplew.writeShort(item.getFlag()); // flag

            if (ItemConstants.isRechargable(item.getItemId())) {
                mplew.writeInt(2);
                mplew.write(HexTool.getByteArrayFromHexString("54 00 00 34"));
            }
            return;
        }

        mplew.write(equip.getUpgradeSlots()); // upgrade slots
        mplew.write(equip.getLevel()); // level
        mplew.writeShort(equip.getStr()); // str
        mplew.writeShort(equip.getDex()); // dex
        mplew.writeShort(equip.getInt()); // int
        mplew.writeShort(equip.getLuk()); // luk
        mplew.writeShort(equip.getHp()); // hp
        mplew.writeShort(equip.getMp()); // mp
        mplew.writeShort(equip.getWatk()); // watk
        mplew.writeShort(equip.getMatk()); // matk
        mplew.writeShort(equip.getWdef()); // wdef
        mplew.writeShort(equip.getMdef()); // mdef
        mplew.writeShort(equip.getAcc()); // accuracy
        mplew.writeShort(equip.getAvoid()); // avoid
        mplew.writeShort(equip.getHands()); // hands
        mplew.writeShort(equip.getSpeed()); // speed
        mplew.writeShort(equip.getJump()); // jump
        mplew.writeMapleAsciiString(equip.getOwner()); // owner name
        mplew.writeShort(equip.getFlag()); //Item Flags

        if (isCash) {
            for (int i = 0; i < 10; i++) {
                mplew.write(0x40);
            }
        } else {
            mplew.write(0);
            mplew.write(equip.getItemLevel());
            mplew.writeShort(0);
            mplew.writeShort(1);// item exp
            mplew.writeShort(equip.getVicious());
            mplew.write(new byte[10]);
        }

        mplew.write(HexTool.getByteArrayFromHexString("00 40 E0 FD 3B 37 4F 01"));
        mplew.writeInt(-1);

    }

You can still improve that. A lot.

HorrorChix89 said:
I told everyone that I dont know where this goes or how to use it. Jeez I'm still learning here. I'm sry I didn't feel like paying to take a JAVA EDITING CLASS in college

Programming class is unnecessary for this sort of thing, people such as me and LightPepsi have not taken a programming class and yet we code ourselves many things, far surpassing the "editing" stage.
 
Status
Not open for further replies.
Back
Top