MTS button open a shop

Results 1 to 10 of 10
  1. #1
    Account Inactive Supiangel is offline
    InactiveRank
    Feb 2008 Join Date
    439Posts

    MTS button open a shop


    RaGEZONE Recommends

    RaGEZONE Recommends

    This is a useless release but... i do this to learn java XP... (I almost finish the edit of the Supiangel... The Mutant Snail... the problem was that the .xml have to finish at 9999999.img i will change the name and test)

    Tested! so you just have to go to net\sf\odinms\net\channel\handler

    Then open EnterMTSHandler.java and DELETE All then put this :

    PHP Code:
    /*
        This file is part of the OdinMS Maple Story Server
        Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc> 
                           Matthias Butz <matze@odinms.de>
                           Jan Christian Meyer <vimes@odinms.de>

        This program is free software: you can redistribute it and/or modify
        it under the terms of the GNU Affero General Public License version 3
        as published by the Free Software Foundation. You may not use, modify
        or distribute this program under any other version of the
        GNU Affero General Public License.

        This program is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU Affero General Public License for more details.

        You should have received a copy of the GNU Affero General Public License
        along with this program.  If not, see <http://www.gnu.org/licenses/>.
    */

      
    package net.sf.odinms.net.channel.handler;

     
    import net.sf.odinms.server.MapleShopFactory
     
    import net.sf.odinms.server.MapleShop;
     
    import net.sf.odinms.client.MapleClient;
     
    import net.sf.odinms.net.AbstractMaplePacketHandler;
     
    import net.sf.odinms.tools.MaplePacketCreator;
     
    import net.sf.odinms.tools.data.input.SeekableLittleEndianAccessor;
     
    import net.sf.odinms.net.channel.ChannelServer;

     public class 
    EnterMTSHandler extends AbstractMaplePacketHandler {
           @
    Override
           
    public void handlePacket(SeekableLittleEndianAccessor sleaMapleClient c) {
                    
    MapleShopFactory sfact MapleShopFactory.getInstance();
                    
    MapleShop shop sfact.getShop(heregoestheshopid);
                    
    shop.sendShop(c);
                    
    c.getSession().write(MaplePacketCreator.enableActions());
                }

    Bugs : When you open the shop and close it , you have to do !fakerelog or CC or change map to open it again

    Just change the ...(heregoestheshopid); with the shopid... EXAMPLE : ...(1337);

    Credits : Me? XP
    Last edited by Supiangel; 02-08-08 at 05:21 AM.


  2. #2
    Account Inactive LiTAL1 is offline
    InactiveRank
    May 2008 Join Date
    I'm not sure..Location
    106Posts

    Re: [Mini-RELEASE] MTS button open a shop

    good job, but i think its kinda useless cuz every1 uses the mts button for warping to fm :S
    , no offence

  3. #3
    Account Inactive Supiangel is offline
    InactiveRank
    Feb 2008 Join Date
    439Posts

    Re: [Mini-RELEASE] MTS button open a shop

    Quote Originally Posted by LiTAL1 View Post
    good job, but i think its kinda useless cuz every1 uses the mts button for warping to fm :S
    , no offence
    ya , i know... xD! i wrongly write isnt XP the right word is "is" xD...

  4. #4
    Account Inactive RMZero213 is offline
    InactiveRank
    Apr 2008 Join Date
    Far, far awayLocation
    1,281Posts

    Re: [Mini-RELEASE] MTS button open a shop

    Code:
    c.getSession().write(MaplePacketCreator.enableActions());
    Add that to solve your bug, whee.

  5. #5
    Account Inactive echicken is offline
    InactiveRank
    Apr 2008 Join Date
    1,403Posts

    Re: [Mini-RELEASE] MTS button open a shop

    Wansn't this released on the odinms forums quite a while ago?

  6. #6
    Account Inactive Regurgitate is offline
    InactiveRank
    Apr 2008 Join Date
    1,157Posts

    Re: [Mini-RELEASE] MTS button open a shop

    Getting you warped is better in my opinion.

  7. #7
    Account Inactive RMZero213 is offline
    InactiveRank
    Apr 2008 Join Date
    Far, far awayLocation
    1,281Posts

    Re: [Mini-RELEASE] MTS button open a shop

    Quote Originally Posted by Regurgitate View Post
    Getting you warped is better in my opinion.
    Going back anytime/going anytime causes problems.

  8. #8
    Account Inactive Supiangel is offline
    InactiveRank
    Feb 2008 Join Date
    439Posts

    Re: [Mini-RELEASE] MTS button open a shop

    Quote Originally Posted by RMZero213 View Post
    Code:
    c.getSession().write(MaplePacketCreator.enableActions());
    Add that to solve your bug, whee.
    Thanks , *Testing*

  9. #9
    Developer Power klyster is offline
    True MemberRank
    Apr 2008 Join Date
    241Posts

    Re: RELEASE] MTS button open a shop

    im using the MTS button to save funtion, is best.

  10. #10
    Account Inactive Supiangel is offline
    InactiveRank
    Feb 2008 Join Date
    439Posts

    Re: [Mini-RELEASE] MTS button open a shop

    Quote Originally Posted by RMZero213 View Post
    Code:
    c.getSession().write(MaplePacketCreator.enableActions());
    Add that to solve your bug, whee.
    dude... it worked XP

    *Edited the first post*

    New bug




Advertisement