[Guide]How To Create A Maplestory Private With ShootSource[In Text]

is it normal to get this?
PHP:
init:
deps-clean:
Created dir: C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\bubbles\build
Updating property file: C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\bubbles\build\built-clean.properties
Deleting directory C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\bubbles\build
clean:
init:
deps-jar:
Created dir: C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\bubbles\build
Updating property file: C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\bubbles\build\built-jar.properties
Created dir: C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\bubbles\build\classes
Created dir: C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\bubbles\build\empty
Compiling 412 source files to C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\bubbles\build\classes
C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\src\net\mina\MaplePacketDecoder.java:31: net.mina.MaplePacketDecoder is not abstract and does not override abstract method doDecode(org.apache.mina.common.IoSession,org.apache.mina.common.ByteBuffer,org.apache.mina.filter.codec.ProtocolDecoderOutput) in org.apache.mina.filter.codec.CumulativeProtocolDecoder
public class MaplePacketDecoder extends CumulativeProtocolDecoder {
C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\src\net\mina\MaplePacketDecoder.java:38: method does not override or implement a method from a supertype
    @Override
C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\src\net\mina\MaplePacketEncoder.java:31: net.mina.MaplePacketEncoder is not abstract and does not override abstract method dispose(org.apache.mina.common.IoSession) in org.apache.mina.filter.codec.ProtocolEncoder
public class MaplePacketEncoder implements ProtocolEncoder {
C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\src\net\mina\MaplePacketEncoder.java:46: write(org.apache.mina.common.ByteBuffer) in org.apache.mina.filter.codec.ProtocolEncoderOutput cannot be applied to (org.apache.mina.core.buffer.IoBuffer)
                out.write(out_buffer);
C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\src\net\mina\MaplePacketEncoder.java:50: write(org.apache.mina.common.ByteBuffer) in org.apache.mina.filter.codec.ProtocolEncoderOutput cannot be applied to (org.apache.mina.core.buffer.IoBuffer)
            out.write(IoBuffer.wrap(((MaplePacket) message).getBytes()));
5 errors
C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\bubbles\nbproject\build-impl.xml:406: The following error occurred while executing this line:
C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\bubbles\nbproject\build-impl.xml:196: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 15 seconds)

how to solve?, btw im not a nib made servers and compiled before.... but shootscource works different and always gives me this stuff...

Did u only change the ServerConstants?
 
suggestions

add some screenshots better than words!

Nice Guide! =D you add some screenshots!



Stop spamming to get posts >.> Two freaking posts with the same **** >.>
*On Topic*
Nice clean guide. Maybe you should resize the text (Smaller) it's way to big, hurts my eyes Lol.
 
Stop spamming to get posts >.> Two freaking posts with the same **** >.>
*On Topic*
Nice clean guide. Maybe you should resize the text (Smaller) it's way to big, hurts my eyes Lol.

Thanks for the tip :P

---------- Post added at 08:58 PM ---------- Previous post was at 08:57 PM ----------

Updated to smaller text.
 
im getting this error
Code:
init:
Deleting: C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\bubbles\build\built-jar.properties
deps-jar:
Updating property file: C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\bubbles\build\built-jar.properties
Compiling 90 source files to C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\bubbles\build\classes
C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\src\net\mina\MaplePacketDecoder.java:31: net.mina.MaplePacketDecoder is not abstract and does not override abstract method doDecode(org.apache.mina.common.IoSession,org.apache.mina.common.ByteBuffer,org.apache.mina.filter.codec.ProtocolDecoderOutput) in org.apache.mina.filter.codec.CumulativeProtocolDecoder
public class MaplePacketDecoder extends CumulativeProtocolDecoder {
C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\src\net\mina\MaplePacketDecoder.java:38: method does not override or implement a method from a supertype
    @Override
C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\src\net\mina\MaplePacketEncoder.java:31: net.mina.MaplePacketEncoder is not abstract and does not override abstract method dispose(org.apache.mina.common.IoSession) in org.apache.mina.filter.codec.ProtocolEncoder
public class MaplePacketEncoder implements ProtocolEncoder {
C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\src\net\mina\MaplePacketEncoder.java:46: write(org.apache.mina.common.ByteBuffer) in org.apache.mina.filter.codec.ProtocolEncoderOutput cannot be applied to (org.apache.mina.core.buffer.IoBuffer)
                out.write(out_buffer);
C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\src\net\mina\MaplePacketEncoder.java:50: write(org.apache.mina.common.ByteBuffer) in org.apache.mina.filter.codec.ProtocolEncoderOutput cannot be applied to (org.apache.mina.core.buffer.IoBuffer)
            out.write(IoBuffer.wrap(((MaplePacket) message).getBytes()));
5 errors
C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\bubbles\nbproject\build-impl.xml:406: The following error occurred while executing this line:
C:\Documents and Settings\Kaz\Bureaublad\BubblesDev\bubbles\nbproject\build-impl.xml:196: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 7 seconds)
wich means that these files have script errors:

MaplePacketEncoder.java
Code:
/*
	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 as
    published by the Free Software Foundation 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.mina;

import client.MapleClient;
import net.MaplePacket;
import org.apache.mina.core.buffer.IoBuffer;
import org.apache.mina.core.session.IoSession;
import org.apache.mina.filter.codec.ProtocolEncoder;
import org.apache.mina.filter.codec.ProtocolEncoderOutput;

public class MaplePacketEncoder implements ProtocolEncoder {
    public synchronized void encode(IoSession session, Object message, ProtocolEncoderOutput out) throws Exception {
        final MapleClient client = (MapleClient) session.getAttribute(MapleClient.CLIENT_KEY);
        if (client != null) {
            final byte[] input = ((MaplePacket) message).getBytes();
            final byte[] unencrypted = new byte[input.length];
            System.arraycopy(input, 0, unencrypted, 0, input.length);
            final byte[] ret = new byte[unencrypted.length + 4];
            final byte[] header = client.getSendCrypto().getPacketHeader(unencrypted.length);
            MapleCustomEncryption.encryptData(unencrypted);
            synchronized (client.getSendCrypto()) {
                client.getSendCrypto().crypt(unencrypted);
                System.arraycopy(header, 0, ret, 0, 4);
                System.arraycopy(unencrypted, 0, ret, 4, unencrypted.length);
                IoBuffer out_buffer = IoBuffer.wrap(ret);
                out.write(out_buffer);
            }
        } else // no client object created yet, send unencrypted (hello)
        {
            out.write(IoBuffer.wrap(((MaplePacket) message).getBytes()));
        }
    }

    public void dispose(IoSession session) throws Exception {
    }
}

and

MaplePacketDecoder.java
Code:
/*
	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 as
    published by the Free Software Foundation 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.mina;

import client.MapleClient;
import tools.MapleAESOFB;
import org.apache.mina.core.buffer.IoBuffer;
import org.apache.mina.core.session.IoSession;
import org.apache.mina.filter.codec.CumulativeProtocolDecoder;
import org.apache.mina.filter.codec.ProtocolDecoderOutput;

public class MaplePacketDecoder extends CumulativeProtocolDecoder {
    private static final String DECODER_STATE_KEY = MaplePacketDecoder.class.getName() + ".STATE";

    private static class DecoderState {
        public int packetlength = -1;
    }

    @Override
    protected boolean doDecode(IoSession session, IoBuffer in, ProtocolDecoderOutput out) throws Exception {
        final MapleClient client = (MapleClient) session.getAttribute(MapleClient.CLIENT_KEY);
        DecoderState decoderState = (DecoderState) session.getAttribute(DECODER_STATE_KEY);
        if (decoderState == null) {
            decoderState = new DecoderState();
            session.setAttribute(DECODER_STATE_KEY, decoderState);
        }
        if (in.remaining() >= 4 && decoderState.packetlength == -1) {
            int packetHeader = in.getInt();
            if (!client.getReceiveCrypto().checkPacket(packetHeader)) {
                session.close(true);
                return false;
            }
            decoderState.packetlength = MapleAESOFB.getPacketLength(packetHeader);
        } else if (in.remaining() < 4 && decoderState.packetlength == -1) {
            return false;
        }
        if (in.remaining() >= decoderState.packetlength) {
            byte decryptedPacket[] = new byte[decoderState.packetlength];
            in.get(decryptedPacket, 0, decoderState.packetlength);
            decoderState.packetlength = -1;
            client.getReceiveCrypto().crypt(decryptedPacket);
            MapleCustomEncryption.decryptData(decryptedPacket);
            out.write(decryptedPacket);
            return true;
        }
        return false;
    }
}
I'm not sure if the building error has to do with a wrong file in netbeans that makes it unable to clean this or whatever, so can someone help!? (or just give me they're working scripts)
 
Last edited:
Hey thanks for the tut works good, only one thing though whenever i teleport i get d/c everything shuts down then once i start up again and try to go on character it d/c again.

thanks

edit: just tried going through without using !map and once i got off boat form south perry i get d/c.

edit: ok i now figured out its not on all maps. i can use the pirate town
 
Last edited:
Hey thanks for the tut works good, only one thing though whenever i teleport i get d/c everything shuts down then once i start up again and try to go on character it d/c again.

thanks

edit: just tried going through without using !map and once i got off boat form south perry i get d/c.

edit: ok i now figured out its not on all maps. i can use the pirate town

dude, a little while ago u had the same error im having with netbeans how did u solve it?
 
how do i fix this problem?

dman765 - [Guide]How To Create A Maplestory Private With ShootSource[In Text] - RaGEZONE Forums


thanks in advance!
 
i need help with this problem when i run the launch_world.bat:
Exception in thread "main" java.lang.NoClassDefFoundError: net/world/WorldServer

Caused by: java.lang.ClassNotFoundException: net.world.WorldServer
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: net.world.WorldServer. Program will exit.
Press any key to continue . . .

help?

btw whenever my wamp is connected to port 3306 its 2/3 yellow, and when it connected to port 1000 its all white.
 
Last edited:
Back