Newbie Spellweaver
- Joined
- Apr 11, 2012
- Messages
- 23
- Reaction score
- 1
Probably wrong placement of str files.
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!Probably wrong placement of str files.
Str Files?
Having problem with step 4. whem I click OK then it tells this :
WAMP server is online :
EDIT:
this doesn't work...
all have this same error in MoopleDEVHey when ever i double click the LocalHostV83 client it goes through the Nexon screen,Wizet screen It flashes the log in screen than shuts down and says this "You have disconnected from the login server.Please try again later"
Console is error free and all it says is IoSession with /MYIPHERE opened.
Also im using hamachi
package net.server.handlers.login;
import java.net.InetAddress;
import java.net.UnknownHostException;
import client.MapleClient;
import constants.ServerConstants;
import net.AbstractMaplePacketHandler;
import net.server.Server;
import tools.MaplePacketCreator;
import tools.data.input.SeekableLittleEndianAccessor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class CharSelectedWithPicHandler extends AbstractMaplePacketHandler {
private static Logger log = LoggerFactory.getLogger(CharSelectedWithPicHandler.class);
@Override
public void handlePacket(SeekableLittleEndianAccessor slea, MapleClient c) {
String pic = slea.readMapleAsciiString();
int charId = slea.readInt();
String macs = slea.readMapleAsciiString();
c.updateMacs(macs);
if (c.hasBannedMac()) {
c.getSession().close(true);
return;
}
if (c.checkPic(pic)) {
try {
if (c.getIdleTask() != null) {
c.getIdleTask().cancel(true);
}
c.updateLoginState(MapleClient.LOGIN_SERVER_TRANSITION);
String channelServerIP = MapleClient.getChannelServerIPFromSubnet(ServerConstants.HOST, c.getChannel());
if(channelServerIP.equals("0.0.0.0")) {
String[] socket = Server.getInstance().getIP(c.getWorld(), c.getChannel()).split(":");
c.announce(MaplePacketCreator.getServerIP(InetAddress.getByName(ServerConstants.HOST), Integer.parseInt(socket[1]), charId));
} else {
String[] socket = Server.getInstance().getIP(c.getWorld(), c.getChannel()).split(":");
c.announce(MaplePacketCreator.getServerIP(InetAddress.getByName(ServerConstants.HOST), Integer.parseInt(socket[1]), charId));
}
} catch (UnknownHostException e) {
log.error("Host not found", e);
}
} else {
c.announce(MaplePacketCreator.wrongPic());
}
}
}
all have this same error in MoopleDEV
have fix..
...
It exists for me at the login screen...can you help me please ?
It says 'You have been disconnected from login server.'show error o.o
edit this file CharSelectedWithPicHandler.javaIt says 'You have been disconnected from login server.'
package net.server.handlers.login;
import java.net.InetAddress;
import java.net.UnknownHostException;
import client.MapleClient;
import constants.ServerConstants;
import net.AbstractMaplePacketHandler;
import net.server.Server;
import tools.MaplePacketCreator;
import tools.data.input.SeekableLittleEndianAccessor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class CharSelectedWithPicHandler extends AbstractMaplePacketHandler {
private static Logger log = LoggerFactory.getLogger(CharSelectedWithPicHandler.class);
@Override
public void handlePacket(SeekableLittleEndianAccessor slea, MapleClient c) {
String pic = slea.readMapleAsciiString();
int charId = slea.readInt();
String macs = slea.readMapleAsciiString();
c.updateMacs(macs);
if (c.hasBannedMac()) {
c.getSession().close(true);
return;
}
if (c.checkPic(pic)) {
try {
if (c.getIdleTask() != null) {
c.getIdleTask().cancel(true);
}
c.updateLoginState(MapleClient.LOGIN_SERVER_TRANSITION);
String channelServerIP = MapleClient.getChannelServerIPFromSubnet(ServerConstants.HOST, c.getChannel());
if(channelServerIP.equals("0.0.0.0")) {
String[] socket = Server.getInstance().getIP(c.getWorld(), c.getChannel()).split(":");
c.announce(MaplePacketCreator.getServerIP(InetAddress.getByName(ServerConstants.HOST), Integer.parseInt(socket[1]), charId));
} else {
String[] socket = Server.getInstance().getIP(c.getWorld(), c.getChannel()).split(":");
c.announce(MaplePacketCreator.getServerIP(InetAddress.getByName(ServerConstants.HOST), Integer.parseInt(socket[1]), charId));
}
} catch (UnknownHostException e) {
log.error("Host not found", e);
}
} else {
c.announce(MaplePacketCreator.wrongPic());
}
}
}
I get into my localhost, when I appear in the login screen( username and password) it exits and tells it.When do you get that?