Welcome!

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!

[Release?] All world from GMS + Demethos.

Status
Not open for further replies.
Junior Spellweaver
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.
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.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


(This is a char I created on Mardia in my p-server)

Also:
Phinocio - [Release?] All world from GMS + Demethos. - RaGEZONE Forums


NOTE: I THINK THIS ONLY WORKS WITH v.59 PRIVATE SERVERS!!!!
 
Newbie Spellweaver
Joined
Apr 24, 2008
Messages
89
Reaction score
0
/*
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.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.getEndOfServerList());
c.getSession().write(MaplePacketCreator.getServerList(1, "Bera", LoginServer.getInstance().getLoad()));
c.getSession().write(MaplePacketCreator.getEndOfServerList());
c.getSession().write(MaplePacketCreator.getServerList(2, "Broa", LoginServer.getInstance().getLoad()));
c.getSession().write(MaplePacketCreator.getEndOfServerList());
c.getSession().write(MaplePacketCreator.getServerList(3, "Windia", LoginServer.getInstance().getLoad()));
c.getSession().write(MaplePacketCreator.getEndOfServerList());
c.getSession().write(MaplePacketCreator.getServerList(4, "Khania", LoginServer.getInstance().getLoad()));
c.getSession().write(MaplePacketCreator.getEndOfServerList());
c.getSession().write(MaplePacketCreator.getServerList(5, "Bellocan", LoginServer.getInstance().getLoad()));
c.getSession().write(MaplePacketCreator.getEndOfServerList());
c.getSession().write(MaplePacketCreator.getServerList(6, "Mardia", LoginServer.getInstance().getLoad()));
c.getSession().write(MaplePacketCreator.getEndOfServerList());
c.getSession().write(MaplePacketCreator.getServerList(7, "Kradia", LoginServer.getInstance().getLoad()));
c.getSession().write(MaplePacketCreator.getEndOfServerList());
c.getSession().write(MaplePacketCreator.getServerList(8, "Yellonde", LoginServer.getInstance().getLoad()));
c.getSession().write(MaplePacketCreator.getEndOfServerList());
c.getSession().write(MaplePacketCreator.getServerList(9, "Demethos", LoginServer.getInstance().getLoad()));
c.getSession().write(MaplePacketCreator.getEndOfServerList());
}
}



without all the excess junk.
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Erm... Is this the one that leads to one world but you can create as many characters as the world can hold? If so... I don't recommend this because you can make copies of people's name and if they are on at the same time one will dc :X
 
Legendary Battlemage
Loyal Member
Joined
Dec 7, 2007
Messages
622
Reaction score
11
Ud Need Like 1 person to host like 1 world each unless u have a comp that has around 32 gig ram lol
 
Newbie Spellweaver
Joined
Apr 13, 2008
Messages
11
Reaction score
0
Thats a bad idea seriously. I doubt you have like 10,000 people to equally split up the economy in each world. You will need alot of GM's. Not to mention the lag. But hey its your server do what you like.
 
Master Summoner
Loyal Member
Joined
Mar 4, 2007
Messages
564
Reaction score
1
Thats a bad idea seriously. I doubt you have like 10,000 people to equally split up the economy in each world. You will need alot of GM's. Not to mention the lag. But hey its your server do what you like.

That's exactly right -- it is his server, or their server, so it doesn't need to be trashed. I think this is quite amazing myself, and it does seem it would only work in v.59 of gMS. Even though -- great job.
[:
 
Newbie Spellweaver
Joined
Jun 14, 2008
Messages
8
Reaction score
0
erm..do u mind posting the link 2 dl a v0.59 localhost..?
 
Skilled Illusionist
Joined
May 22, 2008
Messages
380
Reaction score
0
Why does he fail atleast he released something pretty good

Nice release man, did any one try if this works on 55

if u try in v55 , when u want to create charater u will get over populated error
 
Experienced Elementalist
Loyal Member
Joined
Jul 19, 2008
Messages
289
Reaction score
1
What about that Korean world?

EDIT: I t seems all I'd have to do is change the server number. So this only works with v59? Cause in v55 you couldn't create new chars in new accounts.
 
Junior Spellweaver
Joined
Aug 1, 2008
Messages
145
Reaction score
0
What about that Korean world?

EDIT: I t seems all I'd have to do is change the server number. So this only works with v59? Cause in v55 you couldn't create new chars in new accounts.

That's only if you change the world ID. If you create a new world, you'll be able to make a new character. Let's say you only have Broa alone. You wouldn't be able to make a new character because Scania and Bera aren't there. It's how the MS client works. Mooblar had a custom client so Dementhos worked without the population error and without needing extra worlds.
 
Experienced Elementalist
Loyal Member
Joined
Jul 19, 2008
Messages
289
Reaction score
1
That's only if you change the world ID. If you create a new world, you'll be able to make a new character. Let's say you only have Broa alone. You wouldn't be able to make a new character because Scania and Bera aren't there. It's how the MS client works. Mooblar had a custom client so Dementhos worked without the population error and without needing extra worlds.
Wow thanks for clearing that up. I don't know why anyone else couldn't tell me that before. =/

It kind sucks though.
 
Status
Not open for further replies.
Back
Top