[v83]GM and Admin trading and merchants v83 Localms

Results 1 to 7 of 7
  1. #1
    Account Upgraded | Title Enabled! blkancientss is offline
    MemberRank
    Oct 2009 Join Date
    248Posts

    [v83]GM and Admin trading and merchants v83 Localms

    Hey guys. This is my first release. In this release its how to enable trading and making merchants for GM's and Admins.

    First. In your source open MaplePacketCreator.java

    Second. Search for:

    Code:
    mplew.write(c.gmLevel() > 0 ? 1 : 0);
    or
    Code:
    getAuthSuccessRequestPin
    And you will see

    Code:
     //mplew.write((byte) (c.gmLevel() > 0 ? 1 : 0)); //admin byte
            // 00 -- GM Byte
            mplew.write(c.gmLevel() > 0 ? 1 : 0);
    replace
    Code:
    mplew.write(c.gmLevel() > 0 ? 1 : 0);
    with

    Code:
    mplew.write(0);
    compile and replace the jar file and test it out!
    Last edited by Shawn; 31-10-10 at 08:40 PM.


  2. #2
    bleh.... Shawn is offline
    MemberRank
    Oct 2008 Join Date
    Mississauga, CaLocation
    5,904Posts

    Re: GM and Admin trading and merchants v83 Localms

    This is more of a Guide than a Release, so moved to the tutorial section.

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

    Re: [v83]GM and Admin trading and merchants v83 Localms

    Whats the befenit for writing a 1?
    Does that enable admin commands?

  4. #4
    Account Upgraded | Title Enabled! blkancientss is offline
    MemberRank
    Oct 2009 Join Date
    248Posts

    Re: [v83]GM and Admin trading and merchants v83 Localms

    I've still been able to use commands after changing it to 0. All I can tell is 1 makse you not be able to trade or set up merchants.

  5. #5
    Infraction Banned rice is offline
    MemberRank
    Nov 2009 Join Date
    2,905Posts

    Re: [v83]GM and Admin trading and merchants v83 Localms

    lol trade packet :p
    may as well just je the address, ya know?

  6. #6
    Everything is possible~ Diamondo25 is offline
    MemberRank
    Jan 2008 Join Date
    The NetherlandsLocation
    1,116Posts

    Re: [v83]GM and Admin trading and merchants v83 Localms

    Quote Originally Posted by blkancientss View Post
    I've still been able to use commands after changing it to 0. All I can tell is 1 makse you not be able to trade or set up merchants.
    You are not able to use the real commands such as /pos, /ch, /c and a lot more others.

  7. #7
    Apprentice EminDaRulezZ is offline
    MemberRank
    Aug 2010 Join Date
    8Posts

    Re: [v83]GM and Admin trading and merchants v83 Localms

    soo can i put something like this?
    PHP Code:
    if (c.gmLevel() > 0) {
      
    mplew.write(0);




Advertisement