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-04-2008   2 links from elsewhere to this Post. Click to view. #1 (permalink)
Account Upgraded | Title Enabled!
 
timmy123's Avatar
 
Rank: Member +
Join Date: Apr 2008
Posts: 390
Thanked 0 Times in 0 Posts

[Tut] Changing the world's pictures

Your Ad Here
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.

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:
juju978 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. Which means, you are actually playing the second world with the first world channel, and simplyfly it, it means, all character are in same world...

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.

Credits:
go to FrAnTier from http://www.dev-odinms.com
__________________
Owner Of SpartaStory
Long Live Sparta
timmy123 is offline   Reply With Quote

RaGEZONE sponsored advertisment:
Old 07-05-2008   #2 (permalink)
} else if ( ) {
 
Rank: Member +
Join Date: Jun 2008
Location: nyc
Posts: 266
Thanked 0 Times in 0 Posts

Re: [Guide] Changing the world's pictures

aww man, theres no way i can edit the real picture to my own?
ericm1 is offline   Reply With Quote

Endorsement
Old 07-05-2008   #3 (permalink)
 
darkXmatt's Avatar
 
Rank: Member +
Join Date: Jun 2008
Location: Hong Kong
Posts: 340
Thanked 0 Times in 0 Posts

Re: [Guide] Changing the world's pictures

^Lol ~ that would be funny O.o

posted many times : P
but still a repost is always good : )

~dXm
__________________



-MacOSX 10.5 User-
Originally Posted by giro58 View Post
Sharing Failure is the best.
darkXmatt is offline   Reply With Quote

Endorsement

Old 07-05-2008   #4 (permalink)
Owner of RLVHosting
 
keroh93's Avatar
 
Rank: Member +
Join Date: Apr 2008
Location: Las Vegas
Posts: 1,235
Thanked 2 Times in 1 Post

Re: [Guide] Changing the world's pictures

so if i open up another world. Its like 2 servers?
But people wont be able to see each other people?
__________________

Studio Ghibli Films - Full Movies
http://www.rlvhosting.com
keroh93 is online now   Reply With Quote
Old 07-05-2008   #5 (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

Lolx, I tot I post it oleidi?

http://forum.ragezone.com/f428/tut-the-everything-about-worlds-update-test-if-multi-host-world-work-424608/

p/s: I am FrAnTiEr in Dev-OdinMS!!
frantier123 is offline   Reply With Quote
Old 07-05-2008   #6 (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] Changing the world's pictures

Originally Posted by frantier123 View Post
Lolx, I tot I post it oleidi?

http://forum.ragezone.com/f428/tut-the-everything-about-worlds-update-test-if-multi-host-world-work-424608/

p/s: I am FrAnTiEr in Dev-OdinMS!!
lols yup u posted it aready lols~
xiaojintai is offline   Reply With Quote
Old 07-07-2008   #7 (permalink)
TacoStory? o.o
 
iFLON's Avatar
 
Rank: Member +
Join Date: May 2008
Posts: 557
Thanked 0 Times in 0 Posts

Re: [Guide] Changing the world's pictures

So far my server has Croa and Zenith.. im still figuring out how to make two world different
__________________
[admin]Signature Edited - Akaruz loves everyone - Akaruz . [/admin]
iFLON is offline   Reply With Quote
Old 07-07-2008   #8 (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 iFLON View Post
So far my server has Croa and Zenith.. im still figuring out how to make two world different
I have figure out, but not sure if work...
frantier123 is offline   Reply With Quote
Old 07-07-2008   #9 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Jul 2008
Posts: 6
Thanked 0 Times in 0 Posts

Re: [Guide] Changing the world's pictures

Well it all work well but i've found a bug in this method.
e.g when you want to make a new char in this new world you sometime get the error below:

xmenlawn is offline   Reply With Quote
Old 08-18-2008   #10 (permalink)
Crisis.
 
TotalMs's Avatar
 
Rank: Member +
Join Date: Apr 2008
Location: Coderaid.com
Posts: 222
Thanked 0 Times in 0 Posts

Re: [Guide] Changing the world's pictures

Originally Posted by xmenlawn View Post
Well it all work well but i've found a bug in this method.
e.g when you want to make a new char in this new world you sometime get the error below:

Bump
__________________
Yar.
TotalMs is offline   Reply With Quote
Old 08-18-2008   #11 (permalink)
Alpha
 
TeamCanada's Avatar
 
Rank: Member
Join Date: Jul 2008
Location: Toronto, Canada
Posts: 139
Thanked 0 Times in 0 Posts

Re: [Guide] Changing the world's pictures

Great guide, thank you.
Screenshots be helpful though.
TeamCanada is offline   Reply With Quote
Old 08-19-2008   #12 (permalink)
Will code for food
 
DaichiKokujo's Avatar
 
Rank: Member +
Join Date: Jul 2008
Location: I live nowhere
Posts: 514
Thanked 0 Times in 0 Posts

Re: [Guide] Changing the world's pictures

Wow TotalMS, you just bumped up an old thread, I wonder what will happen to you =]
Timmy, nice copying and pasting skills, after someone posted this 1 day before o.o How smart
__________________

Helping people portforward for $0.88 PM Me.
Setting up MapleStory servers for $2 PM Me.
DaichiKokujo is offline   Reply With Quote
Old 08-19-2008   #13 (permalink)
lolwut
 
Emulation's Avatar
 
Rank: Member +
Join Date: Jul 2008
Posts: 210
Thanked 1 Time in 1 Post

Re: [Guide] Changing the world's pictures

Originally Posted by TotalMs View Post
Bump
Go screw yourself.
Emulation is offline   Reply With Quote
Old 08-19-2008   #14 (permalink)
Crisis.
 
TotalMs's Avatar
 
Rank: Member +
Join Date: Apr 2008
Location: Coderaid.com
Posts: 222
Thanked 0 Times in 0 Posts

Re: [Guide] Changing the world's pictures

Originally Posted by DaichiKokujo View Post
Wow TotalMS, you just bumped up an old thread, I wonder what will happen to you =]
Timmy, nice copying and pasting skills, after someone posted this 1 day before o.o How smart
Why does it matter how old it is? It's not outdated...
__________________
Yar.
TotalMs is offline   Reply With Quote
Old 08-19-2008   #15 (permalink)
lol i trol u
 
xxandycxx's Avatar
 
Rank: Member +
Join Date: Jun 2008
Location: In your pants
Posts: 898
Thanked 0 Times in 0 Posts

Re: [Guide] Changing the world's pictures

Originally Posted by totalms View Post
why does it matter how old it is? It's not outdated...
*cough*

Originally Posted by dandune View Post
5. Do not revive/bump old topics.
xxandycxx is offline   Reply With Quote
Old 08-19-2008   #16 (permalink)
blue skies.
 
Innovative's Avatar
 
Rank: Member +
Join Date: Nov 2007
Location: Hong Kong
Posts: 1,263
Thanked 34 Times in 21 Posts

Re: [Guide] Changing the world's pictures

This will give you the "World Is too Populated" error.
__________________


StoryBox is back! Recruitment Thread found here
Innovative is online now   Reply With Quote
Old 08-19-2008   #17 (permalink)
ForbiddenMS GM
 
merdo's Avatar
 
Rank: Member
Join Date: Jul 2008
Location: California, USA
Posts: 199
Thanked 0 Times in 0 Posts

Re: [Guide] Changing the world's pictures

OMG doesn't work don't use it...it corrupts everything!!
__________________
merdo is offline   Reply With Quote
Old 08-20-2008   #18 (permalink)
Owner Of ThugStory
 
xElkinx's Avatar
 
Rank: Member +
Join Date: Aug 2008
Location: USA
Posts: 238
Thanked 0 Times in 0 Posts

Cool Re: [Guide] Changing the world's pictures

nice release rlly like

it helped
__________________
xElkinx is offline   Reply With Quote
 

Bookmarks

Thread Tools


LinkBacks (?)
LinkBack to this Thread: http://forum.ragezone.com/f428/tut-changing-the-worlds-pictures-425340/
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-27-2009 10:38 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