- Joined
- Jun 23, 2008
- Messages
- 131
- Reaction score
- 0
NOTE: I THINK THIS ONLY WORKS WITH v.59 PRIVATE SERVERS!!!!
Just simply replace your everything in your ServerlistRequestHandler.java with this.
And you CAN create chars on all these worlds.
Pic proof:
(This is a char I created on Mardia in my p-server)
Also:
NOTE: I THINK THIS ONLY WORKS WITH v.59 PRIVATE SERVERS!!!!
Just simply replace your everything in your ServerlistRequestHandler.java with this.
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 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.login.handler;
import net.sf.odinms.client.MapleClient;
import net.sf.odinms.net.AbstractMaplePacketHandler;
import net.sf.odinms.net.login.LoginServer;
import net.sf.odinms.tools.MaplePacketCreator;
import net.sf.odinms.tools.data.input.SeekableLittleEndianAccessor;
public class ServerlistRequestHandler extends AbstractMaplePacketHandler {
@Override
public void handlePacket(SeekableLittleEndianAccessor slea, MapleClient c) {
c.getSession().write(MaplePacketCreator.getServerList(0, "Scania", LoginServer.getInstance().getLoad()));
//c.getSession().write(MaplePacketCreator.getServerList(1, "Scania", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerList(2, "Scania", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerList(3, "Scania", LoginServer.getInstance().getChannels(), 1200));
c.getSession().write(MaplePacketCreator.getEndOfServerList());
c.getSession().write(MaplePacketCreator.getServerList(1, "Bera", LoginServer.getInstance().getLoad()));
//c.getSession().write(MaplePacketCreator.getServerList(1, "Bera", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerList(2, "Bera", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerList(3, "Bera", LoginServer.getInstance().getChannels(), 1200));
c.getSession().write(MaplePacketCreator.getEndOfServerList());
c.getSession().write(MaplePacketCreator.getServerList(2, "Broa", LoginServer.getInstance().getLoad()));
//c.getSession().write(MaplePacketCreator.getServerList(1, "Broa", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerList(2, "Broa", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerList(3, "Broa", LoginServer.getInstance().getChannels(), 1200));
c.getSession().write(MaplePacketCreator.getEndOfServerList());
c.getSession().write(MaplePacketCreator.getServerList(3, "Windia", LoginServer.getInstance().getLoad()));
//c.getSession().write(MaplePacketCreator.getServerList(1, "Windia", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerList(2, "Windia", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerList(3, "Windia", LoginServer.getInstance().getChannels(), 1200));
c.getSession().write(MaplePacketCreator.getEndOfServerList());
c.getSession().write(MaplePacketCreator.getServerList(4, "Khania", LoginServer.getInstance().getLoad()));
//c.getSession().write(MaplePacketCreator.getServerList(1, "Khania", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerList(2, "Khania", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerList(3, "Khania", LoginServer.getInstance().getChannels(), 1200));
c.getSession().write(MaplePacketCreator.getEndOfServerList());
c.getSession().write(MaplePacketCreator.getServerList(5, "Bellocan", LoginServer.getInstance().getLoad()));
//c.getSession().write(MaplePacketCreator.getServerList(1, "Bellocan", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerList(2, "Bellocan", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerList(3, "Bellocan", LoginServer.getInstance().getChannels(), 1200));
c.getSession().write(MaplePacketCreator.getEndOfServerList());
c.getSession().write(MaplePacketCreator.getServerList(6, "Mardia", LoginServer.getInstance().getLoad()));
//c.getSession().write(MaplePacketCreator.getServerList(1, "Mardia", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerList(2, "Mardia", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerList(3, "Mardia", LoginServer.getInstance().getChannels(), 1200));
c.getSession().write(MaplePacketCreator.getEndOfServerList());
c.getSession().write(MaplePacketCreator.getServerList(7, "Kradia", LoginServer.getInstance().getLoad()));
//c.getSession().write(MaplePacketCreator.getServerList(1, "Kradia", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerList(2, "Kradia", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerList(3, "Kradia", LoginServer.getInstance().getChannels(), 1200));
c.getSession().write(MaplePacketCreator.getEndOfServerList());
c.getSession().write(MaplePacketCreator.getServerList(8, "Yellonde", LoginServer.getInstance().getLoad()));
//c.getSession().write(MaplePacketCreator.getServerList(1, "Yellonde", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerList(2, "Yellonde", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerList(3, "Yellonde", LoginServer.getInstance().getChannels(), 1200));
c.getSession().write(MaplePacketCreator.getEndOfServerList());
c.getSession().write(MaplePacketCreator.getServerList(9, "Demethos", LoginServer.getInstance().getLoad()));
//c.getSession().write(MaplePacketCreator.getServerList(1, "Demethos", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerList(2, "Demethos", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerList(3, "Demethos", LoginServer.getInstance().getChannels(), 1200));
c.getSession().write(MaplePacketCreator.getEndOfServerList());
}
}
And you CAN create chars on all these worlds.
Pic proof:
![Phinocio - [Release?] All world from GMS + Demethos. - RaGEZONE Forums Phinocio - [Release?] All world from GMS + Demethos. - RaGEZONE Forums](http://i117.photobucket.com/albums/o54/ClericPhin/Maple0002.jpg)
(This is a char I created on Mardia in my p-server)
Also:
![Phinocio - [Release?] All world from GMS + Demethos. - RaGEZONE Forums Phinocio - [Release?] All world from GMS + Demethos. - RaGEZONE Forums](http://i117.photobucket.com/albums/o54/ClericPhin/Maple0003-1.jpg)
NOTE: I THINK THIS ONLY WORKS WITH v.59 PRIVATE SERVERS!!!!