You are Unregistered, please register to gain Full access.
    


RaGEZONE sponsored advertisment:

Dragonica Image
The free 3D side scrolling MMORPG.

 
 
LinkBack (7) Thread Tools
Old 06-22-2008   7 links from elsewhere to this Post. Click to view. #1 (permalink)
aka xXMaxxyXx aka PIAMP
 
-Jay's Avatar
 
Rank: Member +
Join Date: Dec 2007
Posts: 1,172
Blog Entries: 3
Thanked 16 Times in 13 Posts

[Tut][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of channels.

Your Ad Here
This guide is meant to handle the problems of using 2 or more computers to host a single MapleStory server.

Written By Death4ngel <--- OWNER OF GUIDE

SETUP

1.Both Database must be the same
Make sure both db.properties are pointing to the same IP address. Meaning using only one database for both channels. Make sure that in MYSQL Admin. You allow the 2nd computer for access.



Click on root -> Right click -> Add host from which the user can connect

The IP "5.206.79.105" is from the 2nd computer. Make sure you allow it to access to the odinms schema.

2.MYSQL Browser



As you can see, the key defined in channel.properties should be the same as the one in your channels table. Please note that the key there is actually "release1" but in encyption SHA1.

Make sure you go to channelconfig table and set a new port so there will not be a conflict. Also set a new "net.sf.odinms.channel.net.interface" for the 2nd computer. Make sure this is the IP of the 2nd computer so that any connections will be redirected to there.

channelid is the channel # that is being hosted.

also note that the 0 in "net.sf.odinms.channel.0.key=release1" does not mean channel1 or so on. You have to use the key "release1" and look it up in channels table to find out what channel it actually is.

Running the server

Run the server on the main computer like normal.
World->Login->Channel.
Then go the 2nd computer and run "launch_channel.bat". Just channel will do for the 2nd computer.
Make sure you run World and Login on the main computer first.



You can see that on the main computer. I only hosted one channel. But in the World cmd console. A channel 3 pop out of nowhere. It is actually from the 2nd computer.



When giving the IP for your friends to play. It is the main computer IP.

There might be some problems if you tried this with your friend. Because I have only tried this with my 2nd computer which is connected through wireless LAN I believe.

Remember to update the JCE files of the 2nd Computer.
__________________
I fart in your General Direction.


[img]http://i35.tinypic.com/jt5kt5.jpg[img]
-Jay is offline  

RaGEZONE sponsored advertisment:
Old 06-23-2008   #2 (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][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

woo thanks maxy
xiaojintai is offline  

Endorsement
Old 06-23-2008   #3 (permalink)
ThiefStory - Dev
 
Stars0fLight's Avatar
 
Rank: Member +
Join Date: Apr 2008
Location: src\net\sf\odinms\
Posts: 238
Thanked 1 Time in 1 Post

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

O_O"
Tytytytyty!!
Stars0fLight is offline  

Endorsement

Old 06-23-2008   #4 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Jun 2008
Posts: 5
Thanked 0 Times in 0 Posts

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

sorry for my noob question , but if u multi host ,
can the 2nd computer host de whole server , when the 1st computer is not on at all?
Dumbnut is offline  
Old 06-23-2008   #5 (permalink)
ThiefStory - Dev
 
Stars0fLight's Avatar
 
Rank: Member +
Join Date: Apr 2008
Location: src\net\sf\odinms\
Posts: 238
Thanked 1 Time in 1 Post

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

Originally Posted by Dumbnut View Post
sorry for my noob question , but if u multi host ,
can the 2nd computer host de whole server , when the 1st computer is not on at all?
i would guess yes, only that channel YOU were hosting would disable? thus d/c'ing everyone in that channel? unless u tell them to cc 1st xP


Originally Posted by xXMaxxyXx View Post
When giving the IP for your friends to play. It is the main computer IP.
hmm... could you explain what IP you're talking about? hamachi? or, can you just use the WAN IP since both computer's have the same WAN IP?
[Just for note] i am talking about lan~
Stars0fLight is offline  
Old 06-23-2008   #6 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Feb 2008
Posts: 11
Thanked 0 Times in 0 Posts

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

Hello

I am trying to setup my private server i have had going for a long time now on my Laptop. When i transfer all the files and mysql stuff and configure it all correctly and run the 3 bats, no errors occur, but when people try to connect to my server from my laptop it will not let them.

I am wondering if that is even possible to run it JUST on my laptop, or do i have to use my hamachi ip on my main computer in the mysql host editing.


ps. I prefer not to use hamachi if that is the case

Thanks, i will be checking on this thread every 5 min because im extremely desperate.
bamfreak is offline  
Old 06-26-2008   #7 (permalink)
ThiefStory - Dev
 
Stars0fLight's Avatar
 
Rank: Member +
Join Date: Apr 2008
Location: src\net\sf\odinms\
Posts: 238
Thanked 1 Time in 1 Post

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

Originally Posted by bamfreak View Post
Hello

I am trying to setup my private server i have had going for a long time now on my Laptop. When i transfer all the files and mysql stuff and configure it all correctly and run the 3 bats, no errors occur, but when people try to connect to my server from my laptop it will not let them.

I am wondering if that is even possible to run it JUST on my laptop, or do i have to use my hamachi ip on my main computer in the mysql host editing.


ps. I prefer not to use hamachi if that is the case

Thanks, i will be checking on this thread every 5 min because im extremely desperate.
do u mean like, not multi-hosting? just on ur laptop?
or.. can u explain a bit more? ><
__________________
My proudest Release:
[Release] cm.getText Warper

I'll try and help all i can with OdinMS and TitanMS~
Stars0fLight is offline  
Old 06-28-2008   #8 (permalink)
Average Member
 
chy1991's Avatar
 
Rank: Hobbit
Join Date: Jun 2008
Posts: 64
Thanked 0 Times in 0 Posts

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

Glad that I found this guide... Couldn't find it anymore after OdinMS got shut down.

Question here,
For the 2nd PC, he'll just have to run channels.bat right? So, let's say I've updated the src and recompiled in my Main Computer, do I have to update the src on the 2nd PC too? Or no need to change anything on 2nd pc ?
chy1991 is offline  
Old 06-29-2008   #9 (permalink)
The Technology Dude
 
KingdomVolc's Avatar
 
Rank: Member +
Join Date: Aug 2007
Location: Montana, USA
Posts: 560
Thanked 9 Times in 8 Posts

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

I still can't figure this out, when i try to get the 2nd computer loading channel.bat it has issues, when i try adding channels to my own server it doesn't count them in channel.bat or
in game. Is there an easier guide on what we're supposed to edit where? Can someone make it a little more specific?
KingdomVolc is offline  
Old 07-01-2008   #10 (permalink)
Member
 
Jorniman's Avatar
 
Rank: Hobbit
Join Date: Apr 2008
Posts: 44
Thanked 0 Times in 0 Posts

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

Hi,

This tutorial is great but... I got some problems. I want 2 hosters on my server but I want us to switch of hoster. Like from that hour to that computer 2 hosts. And I will do from that to that hour. But I want to shut my pc while the other one is hosting and the other way around. If this is possible please help me how to do it o.o
Nice tut anyway.

Btw


Quote:
Originally Posted by Dumbnut View Post
sorry for my noob question , but if u multi host ,
can the 2nd computer host de whole server , when the 1st computer is not on at all?
---
i would guess yes, only that channel YOU were hosting would disable? thus d/c'ing everyone in that channel? unless u tell them to cc 1st xP
---
--> Wouldn't this shut the server at all? Because nobody is running the world and login anymore o_o ?? I just think this. xD
Jorniman is offline  
Old 07-02-2008   #11 (permalink)
ThiefStory - Dev
 
Stars0fLight's Avatar
 
Rank: Member +
Join Date: Apr 2008
Location: src\net\sf\odinms\
Posts: 238
Thanked 1 Time in 1 Post

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

Originally Posted by Jorniman View Post
Hi,

This tutorial is great but... I got some problems. I want 2 hosters on my server but I want us to switch of hoster. Like from that hour to that computer 2 hosts. And I will do from that to that hour. But I want to shut my pc while the other one is hosting and the other way around. If this is possible please help me how to do it o.o
Nice tut anyway.

Btw


Quote:
Originally Posted by Dumbnut View Post
sorry for my noob question , but if u multi host ,
can the 2nd computer host de whole server , when the 1st computer is not on at all?
---
i would guess yes, only that channel YOU were hosting would disable? thus d/c'ing everyone in that channel? unless u tell them to cc 1st xP
---
--> Wouldn't this shut the server at all? Because nobody is running the world and login anymore o_o ?? I just think this. xD
oh right o.o" didn't read the tut very well, lol.. ya ur right xP
__________________
My proudest Release:
[Release] cm.getText Warper

I'll try and help all i can with OdinMS and TitanMS~
Stars0fLight is offline  
Old 07-02-2008   #12 (permalink)
Member
 
Jorniman's Avatar
 
Rank: Hobbit
Join Date: Apr 2008
Posts: 44
Thanked 0 Times in 0 Posts

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

Crap then I'm fucked xD Unless there is an other way. o_O Maybe set the database on an online database? If you have a site with SQL. o_O Or the 2nd comp sets all the IP's to the hamachi IP of first computer? And then run world & login & channel on 2nd comp? Hmm I think 1st comp will have to be online on hamachi then.
Jorniman is offline  
Old 07-02-2008   #13 (permalink)
What?
 
rogue1234567's Avatar
 
Rank: Member +
Join Date: Apr 2008
Posts: 468
Thanked 5 Times in 3 Posts

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

could u explain better i just keep getting this

Exception in thread "main" java.rmi.ConnectException: Connection refused to host
: 71.197.69.231; nested exception is:
java.net.ConnectException: Connection timed out: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknow n Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection( Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unk nown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at net.sf.odinms.net.channel.ChannelServer.main(Chann elServer.java:499)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect (Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>( Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl. createSocket(Unknow
n Source)
at javax.rmi.ssl.SslRMIClientSocketFactory.createSock et(Unknown Source)
... 6 more
Press any key to continue . . .
rogue1234567 is offline  
Old 07-04-2008   #14 (permalink)
Monster Member
 
Rank: Member
Join Date: Apr 2006
Location: Hell
Posts: 180
Thanked 0 Times in 0 Posts

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

This is great!

If i got more ppl to host the channels, it means less lag?
Woots =)
testing321123 is offline  
Old 07-06-2008   #15 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Jun 2008
Posts: 24
Thanked 0 Times in 0 Posts

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

its say that promlem me too
blvosh2 is offline  
Old 07-06-2008   #16 (permalink)
 
darkXmatt's Avatar
 
Rank: Member +
Join Date: Jun 2008
Location: Hong Kong
Posts: 340
Thanked 0 Times in 0 Posts

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

woot. Maxxy pwning as usual : )

~Very useful.

--dXm
__________________



-MacOSX 10.5 User-
Originally Posted by giro58 View Post
Sharing Failure is the best.
darkXmatt is offline  
Old 07-10-2008   #17 (permalink)
Member
 
Rank: Hobbit
Join Date: Jul 2008
Posts: 42
Thanked 0 Times in 0 Posts

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

im sorta confused... if 4 ppl r going to host a server, would the 2nd 3rd and 4th person all open channel.bat while i open world and login?
AnswerMe is offline  
Old 07-12-2008   #18 (permalink)
Λκαяυz føяeνeя
 
Roamer's Avatar
 
Rank: Moderator
Join Date: Jun 2008
Location: Philadelphia, U
Posts: 3,499
Blog Entries: 11
Thanked 81 Times in 13 Posts

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

Can someone post a UPDATED/NEW GUIDE? THIS IS WINDOWS 98!!!
__________________
SteamID: elitegg_roamer ---- MSN: aista@live.com ---- AIM: hardcoreplox
Roamer is offline  
Old 07-15-2008   #19 (permalink)
Average Member
 
chy1991's Avatar
 
Rank: Hobbit
Join Date: Jun 2008
Posts: 64
Thanked 0 Times in 0 Posts

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

Originally Posted by Roamer View Post
Can someone post a UPDATED/NEW GUIDE? THIS IS WINDOWS 98!!!
Are you sure that, you don't know there's something called 'Windows Classic theme' ?
chy1991 is offline  
Old 07-23-2008   #20 (permalink)
What?
 
rogue1234567's Avatar
 
Rank: Member +
Join Date: Apr 2008
Posts: 468
Thanked 5 Times in 3 Posts

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

i cant get this to work D:
rogue1234567 is offline  
Old 07-28-2008   #21 (permalink)
Alpha
 
Rank: Member
Join Date: Jun 2007
Posts: 144
Thanked 0 Times in 0 Posts

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

channel # on 2nd server is up but when i connecter to that server i can't change channel back to Main server channel,can't use command ....??
Do i have to use same source file for 2 server ?
musicazx is offline  
Old 07-28-2008   #22 (permalink)
♣ Hectic ♣
 
Regurgitate's Avatar
 
Rank: Member +
Join Date: Apr 2008
Posts: 1,205
Thanked 0 Times in 0 Posts

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

Learnt a lot about Multi-Hosting. Well written~
__________________
Coolies, I'm back :)
Regurgitate is offline  
Old 08-04-2008   #23 (permalink)
=]
 
zcikkita's Avatar
 
Rank: Member +
Join Date: Jul 2008
Location: Europe.
Posts: 351
Thanked 0 Times in 0 Posts

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

does this work ?? non-lan?
zcikkita is offline  
Old 08-05-2008   #24 (permalink)
Hmm.
 
lvazn93's Avatar
 
Rank: Member +
Join Date: Jun 2008
Posts: 521
Thanked 0 Times in 0 Posts

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

do u have to portfoward on both computers? cause me and my friend were thinking about
multihosting
lvazn93 is offline  
Old 08-11-2008   #25 (permalink)
The Omega
 
Rank: Member
Join Date: Jun 2008
Posts: 110
Thanked 0 Times in 0 Posts

Re: [Guide][OdinMS Retrieval Guide] All about channels. Multi-hosts / number of chann

It doesn't work for me.
The 2nd computer always gets an error. Or it just says "Press any key to exit..."
Any ideas?
__________________
aimsucks0917 is offline  
 

Bookmarks

Thread Tools


LinkBacks (?)
LinkBack to this Thread: http://forum.ragezone.com/f428/tut-odinms-retrieval-guide-all-about-channels-multi-hosts-number-of-channels-418072/
Posted By For Type Date
MapleStory Development Team: February 2009 This thread Refback 09-03-2009 04:08 AM
Untitled document This thread Refback 07-09-2009 10:55 AM
MapleStory Development Team: OdinMS Based: Big Ol' List of Things! This thread Refback 07-04-2009 02:05 PM
[Release] [Library of Useful OdinMS Stuff] [Fixes] [Guides] [Registration Pages] - GameCheetah This thread Refback 04-05-2009 04:20 AM
[OdinMS]Releases,Guides,Repacks,Revs,orials,HTML-PHP,Tools,Handbook - Maplestory Releases - ServerFiles.org This thread Refback 04-03-2009 04:25 AM
MapleStory Development Team This thread Refback 03-28-2009 09:31 PM
OdinMS Source Releases,Guides,Repacks,Revs,Tutorials,HTML-PHP,Tools,Handbook - GameCheetah This thread Refback 03-26-2009 02:15 PM



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