MTS button open a shop

Status
Not open for further replies.
Junior Spellweaver
Joined
Feb 3, 2008
Messages
183
Reaction score
2
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:
/*
    This file is part of the OdinMS Maple Story Server
    Copyright (C) 2008 Patrick Huy <[email protected]> 
                       Matthias Butz <[email protected]>
                       Jan Christian Meyer <[email protected]>

    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 slea, MapleClient 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:
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
 
Re: [Mini-RELEASE] MTS button open a shop

Wansn't this released on the odinms forums quite a while ago?
 
Re: RELEASE] MTS button open a shop

im using the MTS button to save funtion, is best.
 
Status
Not open for further replies.
Back