[Release] MTS 100% Complete

Page 1 of 11 123456789 ... LastLast
Results 1 to 15 of 157
  1. #1
    Novice serpendiiem is offline
    MemberRank
    Jan 2009 Join Date
    1Posts

    [Release] MTS 100% Complete

    EDIT:
    FOR YOU ASSES THAT WANT "CREDIT" ITS ALREADY THERE!!
    @author Bassoe
    READ THE SCRIPT LIKE THE FUCKING DETECTIVE YOU RAGEZONERS ARE.


    HEY! DON'T DELETE MY THREAD!
    READ THE GUI!
    /*
    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/>.
    */
    THAT BEING SAID...

    HERE IT IS!

    Lets start
    sendops.properties
    add
    PHP Code:
    START_MTS 0x5D
    GET_MTS_TOKENS 
    0x113
    MTS_OPERATION 
    0x114
    recvops
    .properties 
    add

    PHP Code:
    MTS_TAB 0xD9 
    ----------------------------------------------------------------------------

    Replace (MaplePacketCreator.java)
    PHP Code:
    public static MaplePacket enableCSUse0() {
            
    MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();

            
    mplew.write(HexTool.getByteArrayFromHexString("12 00 00 00 00 00 00"));

            return 
    mplew.getPacket();
        } 
    With


    PHP Code:
    public static MaplePacket enableCSorMTS() {
            
    MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
            
            
    mplew.write(HexTool.getByteArrayFromHexString("12 00 00 00 00 00 00"));
            
            return 
    mplew.getPacket();
        } 
    In BuyCSItemHandler.java
    replace all
    PHP Code:
    enablecsuse0 
    with
    PHP Code:
    enableCSorMTS 
    In CouponCodeHandler.java
    replace all
    PHP Code:
    enablecsuse0 
    with
    PHP Code:
    enableCSorMTS 
    In EnterCashShopHandler.java
    replace all
    PHP Code:
    enablecsuse0 
    with
    PHP Code:
    enableCSorMTS 
    Back to MaplePacketCreator.java
    add this at the bottom
    http://pastebin.com/f3c24fa47

    -------------------------------------------------------------

    Replace everything in EnterMTSHandler.java with

    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.client.MapleClient;
    import net.sf.odinms.net.AbstractMaplePacketHandler;
    //import net.sf.odinms.server.maps.FakeCharacter;
    import net.sf.odinms.tools.MaplePacketCreator;
    import net.sf.odinms.tools.data.input.SeekableLittleEndianAccessor;

     
    /**
    *
    * @author Bassoe
    */
    public class EnterMTSHandler extends AbstractMaplePacketHandler {
        @
    Override
            
    public void handlePacket(SeekableLittleEndianAccessor sleaMapleClient c) {
                if (
    c.getPlayer().getNoPets() > 0) {
                    
    c.getPlayer().unequipAllPets();
                }
                if (
    c.getPlayer().getCSPoints(0) < 0) {
                    
    c.getPlayer().gainNX(-(c.getPlayer().getCSPoints(0)));
                }
                
    //if (c.getPlayer().hasFakeChar()) {
                //    for (FakeCharacter ch : c.getPlayer().getFakeChars()) {
                //        c.getPlayer().getMap().removePlayer(ch.getFakeChar());
                //    }
                //    c.getPlayer().deleteFakeChars();
                //}
                
    c.getPlayer().cancelAllBuffs();
                
    c.getPlayer().getMap().removePlayer(c.getPlayer());
                
    c.getSession().write(MaplePacketCreator.startMTS(c.getPlayer()));
                
    c.getSession().write(MaplePacketCreator.enableCSorMTS());
                
    c.getSession().write(MaplePacketCreator.enableMTS1());
                
    c.getSession().write(MaplePacketCreator.getMTSItems(c.getPlayer(), 10));
                
    c.getSession().write(MaplePacketCreator.getMTSTransfer(c.getPlayer()));
                
    c.getSession().write(MaplePacketCreator.getMTSNotYet(c.getPlayer()));
                
    c.getSession().write(MaplePacketCreator.getMTSTokens(c.getPlayer()));
            }

    In SendPacketOpcode replace all mts stuff with this

    PHP Code:
    START_MTS,
             
    MTS_OPERATION,
             
    GET_MTS_TOKENS
    In RecvPacketOpcode add

    PHP Code:
    MTS_TAB
    In PacketProcessor add

    PHP Code:
    registerHandler(RecvPacketOpcode.MTS_TAB, new MTSHandler()); 
    at net.sf.odinms.net.channel.handler
    create a new empty java file called MTSHandler

    put this in it
    http://pastebin.com/f39ca0864


    Then at last execute these SQL's

    PHP Code:
    SET FOREIGN_KEY_CHECKS=0;
    -- ----------------------------
    -- 
    Table structure for mtsitems
    -- ----------------------------
    DROP TABLE IF EXISTS `mtsitems`;
    CREATE TABLE `mtsitems` (
      `
    mtsitemidint(11unsigned NOT NULL auto_increment,
      `
    itemidint(11unsigned NOT NULL,
      `
    typeint(11unsigned NOT NULL default '0',
      `
    positionint(11NOT NULL default '0',
      `
    priceint(11unsigned NOT NULL default '0',
      `
    upgradeslotsint(11NOT NULL default '0',
      `
    levelint(11NOT NULL default '0',
      `
    strint(11NOT NULL default '0',
      `
    dexint(11NOT NULL default '0',
      `
    intint(11NOT NULL default '0',
      `
    lukint(11NOT NULL default '0',
      `
    hpint(11NOT NULL default '0',
      `
    mpint(11NOT NULL default '0',
      `
    watkint(11NOT NULL default '0',
      `
    matkint(11NOT NULL default '0',
      `
    wdefint(11NOT NULL default '0',
      `
    mdefint(11NOT NULL default '0',
      `
    accint(11NOT NULL default '0',
      `
    avoidint(11NOT NULL default '0',
      `
    handsint(11NOT NULL default '0',
      `
    speedint(11NOT NULL default '0',
      `
    jumpint(11NOT NULL default '0',
      `
    quantityint(11NOT NULL,
      `
    ownervarchar(13) default NULL,
      `
    selleraccountnamevarchar(13NOT NULL,
      `
    sellercharnamevarchar(13NOT NULL,
      `
    transferint(11NOT NULL default '0',
      `
    selleridint(11NOT NULL default '0',
      
    PRIMARY KEY  (`mtsitemid`)
    ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=latin1
    And


    PHP Code:
    SET FOREIGN_KEY_CHECKS=0;
    -- ----------------------------
    -- 
    Table structure for cart
    -- ----------------------------
    DROP TABLE IF EXISTS `cart`;
    CREATE TABLE `cart` (
      `
    characteridint(11NOT NULL,
      `
    mtsitemidint(11NOT NULL,
      
    PRIMARY KEY  (`characterid`)
    ENGINE=InnoDB DEFAULT CHARSET=latin1
    Please tell me if there are bugs or if i forgot something
    Rep would be appreciated? =]

    Updates:
    Go to MTSHandler.java
    change

    PHP Code:
    slea.readShort();//0
    slea.readInt();//unknown - B9 B3 16 01
    slea.readInt();//unknown - 00 00 00 7C 
    to

    PHP Code:
    slea.readInt();//0
    slea.readInt();//unknown - B9 B3 16 01
    slea.readInt();//unknown - 00 00 00 7C 
    [/quote]
    Last edited by serpendiiem; 03-01-09 at 07:39 PM.


  2. #2
    Alpha Member josho192837 is offline
    MemberRank
    Apr 2008 Join Date
    PennsylvaniaLocation
    1,950Posts

    Re: [Release] MTS 100% Complete

    Give credit's noob.

  3. #3
    Durex Member pokkax is offline
    MemberRank
    Apr 2008 Join Date
    352Posts

    Re: [Release] MTS 100% Complete

    stop posting...

    This has missing function which make MTS wouldnt fully work.

  4. #4
    Alpha Member evill33t is offline
    MemberRank
    Sep 2005 Join Date
    /int/Location
    2,603Posts

    Re: [Release] MTS 100% Complete

    this is valid

  5. #5
    Kaotic Owner resinate is offline
    MemberRank
    Oct 2005 Join Date
    no mans landLocation
    2,376Posts

    Re: [Release] MTS 100% Complete

    if ppl dont stop with all this u guys are gonna get this whole maple forum shut down. all i see in every single post is flame. if u guys want maple section removed pm mental.

    dam newbs,

    btw the equip lines in the packet file dont work with the false false true statements.

  6. #6
    Apprentice idontremember is offline
    MemberRank
    Apr 2008 Join Date
    21Posts

    Re: [Release] MTS 100% Complete

    This reminds me of yesterday. The 30 minutes of chaos caused by some leak...

  7. #7
    Account Upgraded | Title Enabled! Signalize is offline
    MemberRank
    Nov 2008 Join Date
    USALocation
    363Posts

    Re: [Release] MTS 100% Complete

    This doesn't work, missing functions in maplepacketcreator

  8. #8
    Account Upgraded | Title Enabled! yuniordiaz is offline
    MemberRank
    May 2008 Join Date
    C: DriveLocation
    1,045Posts

    Re: [Release] MTS 100% Complete

    Quote Originally Posted by resinate View Post
    if ppl dont stop with all this u guys are gonna get this whole maple forum shut down. all i see in every single post is flame. if u guys want maple section removed pm mental.

    dam newbs,

    btw the equip lines in the packet file dont work with the false false true statements.
    change to true true and it will be fixed!

  9. #9
    Proficient Member -SakaeSushi- is offline
    MemberRank
    Dec 2008 Join Date
    N/ALocation
    165Posts

    Re: [Release] MTS 100% Complete

    can we use this?

  10. #10
    Account Upgraded | Title Enabled! Signalize is offline
    MemberRank
    Nov 2008 Join Date
    USALocation
    363Posts

    Re: [Release] MTS 100% Complete

    Quote Originally Posted by yuniordiaz View Post
    change to true true and it will be fixed!
    post screens of it working for you
    true true doesn't work, it gets rid of errors, but the MTS will not work ingame

  11. #11
    Account Upgraded | Title Enabled! yuniordiaz is offline
    MemberRank
    May 2008 Join Date
    C: DriveLocation
    1,045Posts

    Re: [Release] MTS 100% Complete

    Quote Originally Posted by Signalize View Post
    post screens of it working for you
    true true doesn't work, it gets rid of errors, but the MTS will not work ingame
    MTS won't work because you we need the buy and some other functions.... it will work but it won't lol its confusing

  12. #12
    Account Upgraded | Title Enabled! Lanny is offline
    MemberRank
    Aug 2008 Join Date
    In your screen!Location
    399Posts

    Re: [Release] MTS 100% Complete

    Quote Originally Posted by Signalize View Post
    post screens of it working for you
    true true doesn't work, it gets rid of errors, but the MTS will not work ingame
    Actually the fartest you could go is sell 1 item and enter., You need a seperate function for showing all the items you sell and other people are selling.

  13. #13
    Alpha Member Anujan is offline
    MemberRank
    May 2008 Join Date
    Ontario, CanadaLocation
    1,633Posts

    Re: [Release] MTS 100% Complete

    Quote Originally Posted by evill33t View Post
    this is valid
    I don't see Snow's sniffer in the GUI

  14. #14
    Alpha Member evill33t is offline
    MemberRank
    Sep 2005 Join Date
    /int/Location
    2,603Posts

    Re: [Release] MTS 100% Complete

    its GPL, and like we care for those guys who made a rippof like snow,valhalla whatever
    its valid release and end of discussion further spam reporters get infracted

    have a nice day

  15. #15
    Infraction Banned MrMysterious is offline
    MemberRank
    Dec 2008 Join Date
    In a treeLocation
    752Posts

    Re: [Release] MTS 100% Complete

    Is it just me or are the mods playing around with our posts =/ ? Mine seems to have moved up etc.



Page 1 of 11 123456789 ... LastLast

Advertisement