- Joined
- Oct 15, 2011
- Messages
- 261
- Reaction score
- 140
@dread84
You have incorrect 0x1A2 in sendpacket.
You have incorrect 0x1A2 in sendpacket.
World online.
Exception in thread "main" java.lang.RuntimeException: Could not connect to worl
d server.
at net.login.LoginServer.run(LoginServer.java:93)
at net.login.LoginServer.main(LoginServer.java:141)
Caused by: java.rmi.ConnectException: Connection refused to host: 192.168.2.2; n
ested exception is:
java.net.ConnectException: Connection timed out: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unkn
own Source)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)
at $Proxy0.registerLoginServer(Unknown Source)
at net.login.LoginServer.run(LoginServer.java:85)
... 1 more
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(Unknow
n Source)
at javax.rmi.ssl.SslRMIClientSocketFactory.createSocket(Unknown Source)
... 9 more
java.rmi.ConnectException: Connection refused to host: 192.168.2.2; nested excep
tion is:
java.net.ConnectException: Connection timed out: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unkn
own Source)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)
at $Proxy0.registerChannelServer(Unknown Source)
at net.channel.ChannelServer.run(ChannelServer.java:188)
at net.channel.ChannelServer.main(ChannelServer.java:448)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(Unknow
n Source)
at javax.rmi.ssl.SslRMIClientSocketFactory.createSocket(Unknown Source)
... 9 more
Loading Skills:::
java.lang.NullPointerException
at net.channel.ChannelServer.run(ChannelServer.java:221)
at net.channel.ChannelServer.main(ChannelServer.java:448)
/*
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;
}
}
/*
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 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);
synchronized (client.getSendCrypto()) {
MapleCustomEncryption.encryptData(unencrypted);
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 {
}
}
init:
Deleting: C:\Users\Darren\Desktop\lololol\build\built-jar.properties
deps-jar:
Updating property file: C:\Users\Darren\Desktop\lololol\build\built-jar.properties
Compiling 2 source files to C:\Users\Darren\Desktop\lololol\build\classes
C:\Users\Darren\Desktop\Musics\Private\v97\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:\Users\Darren\Desktop\Musics\Private\v97\src\net\mina\MaplePacketDecoder.java:38: method does not override or implement a method from a supertype
@Override
C:\Users\Darren\Desktop\Musics\Private\v97\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:\Users\Darren\Desktop\Musics\Private\v97\src\net\mina\MaplePacketEncoder.java:47: 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:\Users\Darren\Desktop\Musics\Private\v97\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:\Users\Darren\Desktop\lololol\nbproject\build-impl.xml:521: The following error occurred while executing this line:
C:\Users\Darren\Desktop\lololol\nbproject\build-impl.xml:258: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 0 seconds)
Help me please I can't play
To view the content, you need to sign in or register
Actually it is the only "public" v97 source with an OK amount of things working. Why else do you think noobs flock to it, its "new and shiny" and like we've already established, they can't tell the quality either way, all they see is "oops; error, time to leech/beg/spam for help!"Listen up guys, for those who keeps posting on how to fix stuffs and seeking for help, as I can say, you won't be able to proceed. If you can't even launch a batch file and start the server, how could you proceed into game? And if you managed to get into it, you'll ask for another one, "how to fix skillz?", "why i dc", "help me plz" and so on. Seriously, stop it. Start learning some basics before using this source, Xeon isn't the one and only source out there, there're loads.
fix your movementsomeone can tell me how to fix that the messos disappears when im doing flash jump for example ? or when im change map and then back, messos disappears from the floor.