You are Unregistered, please register to gain Full access.
    


RaGEZONE sponsored advertisment:

Dragonica Image
The free 3D side scrolling MMORPG.

 
 
LinkBack (2) Thread Tools
Old 07-03-2008   2 links from elsewhere to this Post. Click to view. #1 (permalink)
XtinctMS Coming Soon...
 
frantier123's Avatar
 
Rank: Member +
Join Date: May 2008
Posts: 662
Thanked 0 Times in 0 Posts

[Tut]The Everything About Worlds! [Update: Test if multi-host world work!]

Your Ad Here
Changing World's Name:



First, go to: odinms>src>net>sf>odinms>net>login>handler>Serverl istrequest.java

Second, look for this:
Code:
c.getSession().write(MaplePacketCreator.getServerList(1, "Zenith", LoginServer.getInstance().getLoad()));
  //c.getSession().write(MaplePacketCreator.getServerList(1, "Zenith", LoginServer.getInstance().getChannels(), 1200));
  //c.getSession().write(MaplePacketCreator.getServerList(2, "Zenith", LoginServer.getInstance().getChannels(), 1200));
  //c.getSession().write(MaplePacketCreator.getServerList(3, "Zenith", LoginServer.getInstance().getChannels(), 1200));
	c.getSession().write(MaplePacketCreator.getEndOfServerList());
Change the first Zenith to your desired name and compile it.


Changing the world's pictures:

First, go to: odinms>src>net>sf>odinms>net>login>handler>Serverl istrequest.java

Second, look for this:
Code:
c.getSession().write(MaplePacketCreator.getServerList(1, "Zenith", LoginServer.getInstance().getLoad()));
  //c.getSession().write(MaplePacketCreator.getServerList(1, "Zenith", LoginServer.getInstance().getChannels(), 1200));
  //c.getSession().write(MaplePacketCreator.getServerList(2, "Zenith", LoginServer.getInstance().getChannels(), 1200));
  //c.getSession().write(MaplePacketCreator.getServerList(3, "Zenith", LoginServer.getInstance().getChannels(), 1200));
	c.getSession().write(MaplePacketCreator.getEndOfServerList());
Under the first 1, which I bold it, change it to another number that recognized the picture of another world:

Quote:
* 0 = Scania
* 1 = Bera
* 2 = Broa
* 3 = Windia
* 4 = Khania
* 5 = Bellocan
* 6 = Mardia
* 7 = Kradia
* 8 = Yellonde
* 9 = Demethos
* 10 (hex 0A) = Elnido
* 11 (hex 0B) = Kastia
* 12 (hex 0C) = Judis
* 13 (hex 0D) = Arkenia
* 14 (hex 0E) = Plana
* 15 (hex 0F) = Galicia
* 16 (hex 10) = Kalluna
* 17 (hex 11) = Stius
* 18 (hex 12) = Croa
* 19 (hex 13) = Zenith
* 20 (hex 14) = Medere (Korean)
Go to MySQL, and under the character>world, change 0 to the number that you change it in Serverlistrequest.java.

There, you are done =P


Adding a Second world:

This is quite simple. Just go to:

odinms>src>net>sf>odinms>net>login>handler>Serverl istrequest.java and add this line before the "}"s

Code:
c.getSession().write(MaplePacketCreator.getServerList(1, "Zenith", LoginServer.getInstance().getLoad()));
  //c.getSession().write(MaplePacketCreator.getServerList(1, "Zenith", LoginServer.getInstance().getChannels(), 1200));
  //c.getSession().write(MaplePacketCreator.getServerList(2, "Zenith", LoginServer.getInstance().getChannels(), 1200));
  //c.getSession().write(MaplePacketCreator.getServerList(3, "Zenith", LoginServer.getInstance().getChannels(), 1200));
	c.getSession().write(MaplePacketCreator.getEndOfServerList());

So, after you have added your second world, your ServerListRequest.java should look like 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, "Zenith", LoginServer.getInstance().getLoad()));
  //c.getSession().write(MaplePacketCreator.getServerList(1, "Zenith", LoginServer.getInstance().getChannels(), 1200));
  //c.getSession().write(MaplePacketCreator.getServerList(2, "Zenith", LoginServer.getInstance().getChannels(), 1200));
  //c.getSession().write(MaplePacketCreator.getServerList(3, "Zenith", LoginServer.getInstance().getChannels(), 1200));
  c.getSession().write(MaplePacketCreator.getEndOfServerList());
  c.getSession().write(MaplePacketCreator.getServerList(1, "Zenith", LoginServer.getInstance().getLoad()));
  //c.getSession().write(MaplePacketCreator.getServerList(1, "Zenith", LoginServer.getInstance().getChannels(), 1200));
  //c.getSession().write(MaplePacketCreator.getServerList(2, "Zenith", LoginServer.getInstance().getChannels(), 1200));
  //c.getSession().write(MaplePacketCreator.getServerList(3, "Zenith", LoginServer.getInstance().getChannels(), 1200));
	c.getSession().write(MaplePacketCreator.getEndOfServerList());
}
}
And then, all you got to do is to compile it.

Double Hosting for multiple world
Not sure if this works, but you can give it a try =D

Go to MySQL Adminstrator -> User Adminstration ->Right click ROOT ->Add host in which user can connect ->Host name type your hoster's IP address.

Next, enable all schema privilege of your database.

Now, go to channel in MySQL QUery Browser. Type in the any channel ID, any number, SHA1 for release, and for the world, type in your 2nd world's picture number. (eg: Bera is 1.)

After that, go to channelconfig. Put any number for channelconfig, channel ID is the previous you have typed, and under name, put "net.sf.odinms.channel.net.interface" and under value, put your hoster's IP.

Now, send your pack to your hoster. All they got to do is to run world and channel.bat.

Please tell me if it work, or should there be any other configuration. thx =D

p/s: I am currently discovering if it is possible to have 2 different world with 2 different channels using MySQL and channel.properties

Credits:
juju987 for his file for adding another world =P

Some Question pondering you:

Q: How did my second world got its channels from?
A: The second world, if correctly from the script, get from your first world. So, it means that both world are sharing the same channel ports.

Q: How do I know which world did my characters was in?
A: Go to MySQL, and under character, world, you can see the number. Each number represents a world.


Please post any question here =P
Another project of The Amazing Odin's Dev Distribution!

Last edited by frantier123; 07-06-2008 at 11:44 AM.
frantier123 is offline   Reply With Quote

RaGEZONE sponsored advertisment:
Old 07-03-2008   #2 (permalink)
Average Member
 
Rank: Hobbit
Join Date: Mar 2008
Posts: 57
Thanked 0 Times in 0 Posts

Re: All about worlds!

oh my id !! ty ~ hh
juju987 is offline   Reply With Quote

Endorsement
Old 07-03-2008   #3 (permalink)
Average Member
 
Rank: Hobbit
Join Date: Mar 2008
Posts: 57
Thanked 0 Times in 0 Posts

Re: All about worlds!

juju978 << no 987

ok??
juju987 is offline   Reply With Quote

Endorsement

Old 07-03-2008   #4 (permalink)
Pikachu!
 
r1c31shg00d's Avatar
 
Rank: Member +
Join Date: Apr 2008
Location: Corona, California =)
Posts: 338
Thanked 0 Times in 0 Posts

Re: All about worlds!

I get Stuck At Character Select And It Gives Me Thiss Error On The Channels .bat cyaing sumthing bout maple monster spawnpoint blah blah
r1c31shg00d is offline   Reply With Quote
Old 07-03-2008   #5 (permalink)
Account Upgraded | Title Enabled!
 
xiaojintai's Avatar
 
Rank: Member +
Join Date: May 2008
Location: behind U!!!
Posts: 489
Thanked 0 Times in 0 Posts

Re: All about worlds!

1 error C:\Documents and Settings\user\Desktop\CioRepack v1 Beta\src\net\sf\odinms\net\login\handler\Serverlis tRequestHandler.java:37: reached end of file while parsing
c.getSession().write(MaplePacketCreator.getEndOfSe rverList()); how?
xiaojintai is offline   Reply With Quote
Old 07-03-2008   #6 (permalink)
XtinctMS Coming Soon...
 
frantier123's Avatar
 
Rank: Member +
Join Date: May 2008
Posts: 662
Thanked 0 Times in 0 Posts

Re: All about worlds!

Did you compile it?
frantier123 is offline   Reply With Quote
Old 07-03-2008   #7 (permalink)
XtinctMS Coming Soon...
 
frantier123's Avatar
 
Rank: Member +
Join Date: May 2008
Posts: 662
Thanked 0 Times in 0 Posts

Re: All about worlds!

Originally Posted by r1c31shg00d View Post
I get Stuck At Character Select And It Gives Me Thiss Error On The Channels .bat cyaing sumthing bout maple monster spawnpoint blah blah
Did you change your MySQL character>world?
frantier123 is offline   Reply With Quote
Old 07-03-2008   #8 (permalink)
XtinctMS Coming Soon...
 
frantier123's Avatar
 
Rank: Member +
Join Date: May 2008
Posts: 662
Thanked 0 Times in 0 Posts

Re: All about worlds!

Originally Posted by juju987 View Post
juju978 << no 987

ok??
Srry>.<
frantier123 is offline   Reply With Quote
Old 07-03-2008   #9 (permalink)
 
darkXmatt's Avatar
 
Rank: Member +
Join Date: Jun 2008
Location: Hong Kong
Posts: 340
Thanked 0 Times in 0 Posts

Re: All about worlds!

working perfectly, thanks : ) ~
btw you can change 'Zenith' to something else, eg, 'Barney'
before:
when you type /find username, it will show as 'username is at Zenith-1'

now:
when you type /find username, it will show as 'username is at Barney-1'

have fun : )

~dXm
__________________



-MacOSX 10.5 User-
Originally Posted by giro58 View Post
Sharing Failure is the best.
darkXmatt is offline   Reply With Quote
Old 07-03-2008   #10 (permalink)
Account Upgraded | Title Enabled!
 
xiaojintai's Avatar
 
Rank: Member +
Join Date: May 2008
Location: behind U!!!
Posts: 489
Thanked 0 Times in 0 Posts

Re: All about worlds!

Originally Posted by frantier123 View Post
Did you compile it?
hmm i don know y when i compile i get error any helps?
xiaojintai is offline   Reply With Quote
Old 07-03-2008   #11 (permalink)
Average Member
 
Rank: Hobbit
Join Date: Apr 2008
Location: behind my laptop
Posts: 56
Thanked 0 Times in 0 Posts

Re: [Guide]Changing the world's pictures

how to compile ? please tell me thx.

Sick0w.
coooby is offline   Reply With Quote
Old 07-03-2008   #12 (permalink)
XtinctMS Coming Soon...
 
frantier123's Avatar
 
Rank: Member +
Join Date: May 2008
Posts: 662
Thanked 0 Times in 0 Posts

Re: All about worlds!

Originally Posted by xiaojintai View Post
hmm i don know y when i compile i get error any helps?
You use wad to compile? I suggest you to use eclipse as Netbeans always have symbol errors when compiling to me >.>
frantier123 is offline   Reply With Quote
Old 07-03-2008   #13 (permalink)
XtinctMS Coming Soon...
 
frantier123's Avatar
 
Rank: Member +
Join Date: May 2008
Posts: 662
Thanked 0 Times in 0 Posts

Re: [Guide]Changing the world's pictures

Originally Posted by coooby View Post
how to compile ? please tell me thx.

Sick0w.
Search around the forum dude...


p/s: Wad u mean sick0w? >.>
frantier123 is offline   Reply With Quote
Old 07-03-2008   #14 (permalink)
Member
 
Rank: Hobbit
Join Date: May 2008
Posts: 33
Thanked 0 Times in 0 Posts

Re: [Guide]The Everything About Worlds!

is there anyway to have two worlds Like Broa And Bera But have diff exp rates?

Bera = x1
Broa = x20
zarnick is offline   Reply With Quote
Old 07-03-2008   #15 (permalink)
In Da House
 
Rank: Member +
Join Date: Apr 2008
Location: The Netherlands
Posts: 276
Thanked 0 Times in 0 Posts

Re: [Guide]The Everything About Worlds!

Nice guide. It Helped. ;)
brainbracker is offline   Reply With Quote
Old 07-03-2008   #16 (permalink)
RaGEZONER
 
Rank: Hobbit
Join Date: Jun 2008
Posts: 73
Thanked 0 Times in 0 Posts

Re: [Guide]The Everything About Worlds!

can somone tell me how to build?
i need it so much!
vikiv is offline   Reply With Quote
Old 07-04-2008   #17 (permalink)
OH!,The Massacre
 
Simonxsadist's Avatar
 
Rank: Member +
Join Date: May 2008
Posts: 298
Thanked 0 Times in 0 Posts

Re: [Guide]The Everything About Worlds!

Hey
my current world=

c.getSession().write(MaplePacketCreator.getServerL ist(0, "Vheissu", LoginServer.getInstance().getLoad()));
//c.getSession().write(MaplePacketCreator.getServerL ist(1, "Vheissu", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerL ist(2, "Vheissu", LoginServer.getInstance().getChannels(), 1200));
//c.getSession().write(MaplePacketCreator.getServerL ist(3, "Vheissu", LoginServer.getInstance().getChannels(), 1200));

Notice the TOP "Scania"= Vheissu", Now, if thats what it is iset to, how come when i sign in, it brings to world select, still says scania, but when im logged in and i type. /find -insertnamehere-, it says Vheissu, i REALLY want my damn server to have a different name, not just my INGAME server.
Simonxsadist is offline   Reply With Quote
Old 07-04-2008   #18 (permalink)
Account Upgraded | Title Enabled!
 
xiaojintai's Avatar
 
Rank: Member +
Join Date: May 2008
Location: behind U!!!
Posts: 489
Thanked 0 Times in 0 Posts

Re: All about worlds!

Originally Posted by frantier123 View Post
You use wad to compile? I suggest you to use eclipse as Netbeans always have symbol errors when compiling to me >.>
hmm can u add me maplesea_1145@hotmail.com to help me thx i using netbeans
xiaojintai is offline   Reply With Quote
Old 07-04-2008   #19 (permalink)
XtinctMS Coming Soon...
 
frantier123's Avatar
 
Rank: Member +
Join Date: May 2008
Posts: 662
Thanked 0 Times in 0 Posts

Re: [Guide]The Everything About Worlds!

You can download Eclipse jus googling o0
frantier123 is offline   Reply With Quote
Old 07-04-2008   #20 (permalink)
Account Upgraded | Title Enabled!
 
xiaojintai's Avatar
 
Rank: Member +
Join Date: May 2008
Location: behind U!!!
Posts: 489
Thanked 0 Times in 0 Posts

Re: [Guide]The Everything About Worlds!

which one lols can u gif me the site i cant find eclipse has many downloads lols
xiaojintai is offline   Reply With Quote
Old 07-04-2008   #21 (permalink)
XtinctMS Coming Soon...
 
frantier123's Avatar
 
Rank: Member +
Join Date: May 2008
Posts: 662
Thanked 0 Times in 0 Posts

Re: [Guide]The Everything About Worlds!

Here: http://www.eclipse.org/
frantier123 is offline   Reply With Quote
Old 07-04-2008   #22 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Sep 2007
Posts: 20
Thanked 0 Times in 0 Posts

Re: [Guide]The Everything About Worlds!

ok how to add 20 chs?
hooky2 is offline   Reply With Quote
Old 07-05-2008   #23 (permalink)
XtinctMS Coming Soon...
 
frantier123's Avatar
 
Rank: Member +
Join Date: May 2008
Posts: 662
Thanked 0 Times in 0 Posts

Re: [Guide]The Everything About Worlds!

Any1 know about the Ribbon thingy?
frantier123 is offline   Reply With Quote
Old 07-05-2008   #24 (permalink)
XtinctMS Coming Soon...
 
frantier123's Avatar
 
Rank: Member +
Join Date: May 2008
Posts: 662
Thanked 0 Times in 0 Posts

Re: [Guide]The Everything About Worlds!

Originally Posted by hooky2 View Post
ok how to add 20 chs?
There is a post from maxxy that teaches u:

http://forum.ragezone.com/f428/tut-odinms-retrieval-guide-all-about-channels-multi-hosts-number-of-channels-418072/
frantier123 is offline   Reply With Quote
Old 07-05-2008   #25 (permalink)
Average Member
 
deltahunter's Avatar
 
Rank: Hobbit
Join Date: Jun 2008
Posts: 61
Thanked 0 Times in 0 Posts

Re: [Guide]The Everything About Worlds!

I get the "population error" how do i fix?

this means that i can't create a character because creation has been disabled
deltahunter is offline   Reply With Quote
 

Bookmarks

Thread Tools


LinkBacks (?)
LinkBack to this Thread: http://forum.ragezone.com/f428/tut-the-everything-about-worlds-update-test-if-multi-host-world-work-424608/
Posted By For Type Date
OdinMS Source Releases,Guides,Repacks,Revs,Tutorials,HTML-PHP,Tools,Handbook - GameCheetah This thread Refback 03-29-2009 07:27 PM
[OdinMS]Releases,Guides,Repacks,Revs,orials,HTML-PHP,Tools,Handbook - Maplestory Releases - ServerFiles.org This thread Refback 03-29-2009 03:39 AM



Translated by Google
Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Maltese Norwegian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swedish Taiwanese Thai Turkish Ukrainian Vietnamese
no new posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274