Item Effect's fix (v83)

Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    offonline King Grub is offline
    MemberRank
    Aug 2009 Join Date
    Spring fieldLocation
    3,303Posts

    Item Effect's fix (v83)

    Replace your "itemEffect" packet with this:

    PHP Code:
        public static MaplePacket itemEffect(int characteridint itemid) {
            
    MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
            
    mplew.writeShort(SendPacketOpcode.SHOW_ITEM_EFFECT.getValue());
            
    mplew.writeInt(characterid);
            
    mplew.writeInt(itemid);
            
    mplew.writeInt(0);
            return 
    mplew.getPacket();
        } 


  2. #2
    may web.very maple.pls. iAkira is offline
    MemberRank
    Aug 2009 Join Date
    somewhere..Location
    2,378Posts

    Re: Item Effect's fix (v83)

    So what is this for like MoopleDev or LocalMS?

  3. #3
    offonline King Grub is offline
    MemberRank
    Aug 2009 Join Date
    Spring fieldLocation
    3,303Posts

    Re: Item Effect's fix (v83)

    Both, I think. I fixed it for LocalMS-Source.
    Last edited by King Grub; 02-12-10 at 08:11 AM.

  4. #4
    Account Upgraded | Title Enabled! HorrorChix89 is offline
    MemberRank
    May 2010 Join Date
    ArkansasLocation
    1,279Posts

    Re: Item Effect's fix (v83)

    Isn't it for all V83 that doesn't have Item Effects?

  5. #5
    offonline King Grub is offline
    MemberRank
    Aug 2009 Join Date
    Spring fieldLocation
    3,303Posts

    Re: Item Effect's fix (v83)

    Quote Originally Posted by HorrorChix89 View Post
    Isn't it for all V83 that doesn't have Item Effects?
    This is for all V83 sources with wrong "itemEffect" packet.

  6. #6
    Account Upgraded | Title Enabled! HorrorChix89 is offline
    MemberRank
    May 2010 Join Date
    ArkansasLocation
    1,279Posts

    Re: Item Effect's fix (v83)

    That's what I thought. kk

  7. #7
    Account Upgraded | Title Enabled! Buya is offline
    MemberRank
    Oct 2008 Join Date
    1,303Posts

    Re: Item Effect's fix (v83)

    Thanks, the header is 0xc2 right?
    And what is this used for? Morphs?

  8. #8
    offonline King Grub is offline
    MemberRank
    Aug 2009 Join Date
    Spring fieldLocation
    3,303Posts

    Re: Item Effect's fix (v83)

    Quote Originally Posted by buya View Post
    Thanks, the header is 0xc2 right?
    And what is this used for? Morphs?
    PHP Code:
    SHOW_ITEM_EFFECT 0xB0 
    Chair effects, CS effects...etc

  9. #9
    Account Upgraded | Title Enabled! Buya is offline
    MemberRank
    Oct 2008 Join Date
    1,303Posts

    Re: Item Effect's fix (v83)

    Quote Originally Posted by PirateOwh View Post
    PHP Code:
    SHOW_ITEM_EFFECT 0xB0 
    Chair effects, CS effects...etc
    REMOVE_SPECIAL_MAPOBJECT = B0;
    I dont think 2 packets can have the same header : )

  10. #10
    while(true) spam(); kevintjuh93 is offline
    MemberRank
    Jun 2008 Join Date
    The NetherlandsLocation
    4,119Posts

    Re: Item Effect's fix (v83)

    What? This is bullshit. The writeInt(0); isn't even used. There was only one fix for the itemEffect and that was in the handler. If you don't believe me, test my source. You will see it is working. I've tested it several times.

  11. #11
    offonline King Grub is offline
    MemberRank
    Aug 2009 Join Date
    Spring fieldLocation
    3,303Posts

    Re: Item Effect's fix (v83)

    I added it, and it worked -.-'.

  12. #12
    while(true) spam(); kevintjuh93 is offline
    MemberRank
    Jun 2008 Join Date
    The NetherlandsLocation
    4,119Posts

    Re: Item Effect's fix (v83)

    Lol, what happened before? Did the other player crash? No! That's why it isn't a packet issue. Just compare my handler with yours. There was something wrong with the check if it was 0. If I remember it correctly.

  13. #13
    Gamma Xerixe is offline
    MemberRank
    Apr 2008 Join Date
    MalaysiaLocation
    3,605Posts

    Re: Item Effect's fix (v83)

    Seeing how you said the header was 0xB0, there's a huge chance this isn't item effect.
    Since 0xB0 is used to removed summons from map.
    Unless of course, your headers were wrong and item effects caused you / other people to error which caused you to think that item effects were bugged.

  14. #14
    Account Upgraded | Title Enabled! Buya is offline
    MemberRank
    Oct 2008 Join Date
    1,303Posts

    Re: Item Effect's fix (v83)

    Can anyone please clarify this?
    Either the summon or the item effect header is wrong.
    (see my previous post)

  15. #15
    Gamma Xerixe is offline
    MemberRank
    Apr 2008 Join Date
    MalaysiaLocation
    3,605Posts

    Re: Item Effect's fix (v83)

    Yea, item effect header is 0xC2. Summon is 0xB0, also, sending a the 0xB0 packet, even if the summon doesn't exist, it won't dc/error anyone. But of course, if the packet isn't complete, ( which explains why he added mplew.writeInt(0); ) it'll dc/error, i think. Not really sure.



Page 1 of 2 12 LastLast

Advertisement