Mythruna
May 07, 2024, 08:48:44 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to the new forums. See "Announcements" for a note for new users.
 
   Home   Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: Problem with server  (Read 16711 times)
Xentarok
Newbie
*
Posts: 19


View Profile
« on: March 04, 2012, 07:33:48 AM »

Hello guys

At the beginning i want to notice, that i have not very goog english.

My problem is, that when i'm trying to run my server i have something like that:



Uploaded with ImageShack.us

I don't know what to do, so maybe someone could possibly anserw?

Logged
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #1 on: March 04, 2012, 10:19:25 AM »

One guess is that the Mythruna-20120224.jar isn't in that directory.  The way that command is written, you would have to run it from the directory where you installed Mythruna.

There is a separate stand alone server that can be run much more easily.  You just download it, unzip it, and double click it.  It also gives a much better user interface.  It's available on this page: http://mythruna.com/download-now/    Down at the bottom.
Logged
Xentarok
Newbie
*
Posts: 19


View Profile
« Reply #2 on: March 04, 2012, 11:35:15 AM »

OK, now i can see it clearly, but when i'm trying to connect it says "UnknownHostException"

Maybe i did something wrong?
Logged
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #3 on: March 04, 2012, 11:55:37 AM »

OK, now i can see it clearly, but when i'm trying to connect it says "UnknownHostException"

Maybe i did something wrong?

Depends on where you are trying to connect, what you firewall settings are, etc..

UnknownHostException usually indicates that the host name you are using can't be resolved to an IP address.  In the command line, try pinging the host name that you are using:
ping somehost
Logged
Xentarok
Newbie
*
Posts: 19


View Profile
« Reply #4 on: March 04, 2012, 12:46:37 PM »

About my firewall, it should be ok, becouse i have a server in another game.
When i am trying to ping my host it says that ping command can't find my host (i wast trying with another hosts names, but it didn't work too)
Logged
randomprofile
Global Moderator
Sr. Member
*****
Posts: 265


View Profile WWW
« Reply #5 on: March 04, 2012, 02:25:52 PM »

Try moving starting the CMD from the folder where the server is?
Logged
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #6 on: March 04, 2012, 02:31:57 PM »

About my firewall, it should be ok, becouse i have a server in another game.
When i am trying to ping my host it says that ping command can't find my host (i wast trying with another hosts names, but it didn't work too)

Then this isn't really a Mythruna problem.  If ping can't find your host then your host name isn't right.

You can try localhost as that is the loop-back connection.  But that doesn't really help figure out how others would connect to you.
Logged
Xentarok
Newbie
*
Posts: 19


View Profile
« Reply #7 on: March 04, 2012, 02:46:46 PM »

Ok, i'll try to use localhost, but if i want to have MY host what should i do? I was trying to use diffrent host names but it didn't work too.
Logged
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #8 on: March 04, 2012, 02:51:50 PM »

Ok, i'll try to use localhost, but if i want to have MY host what should i do? I was trying to use diffrent host names but it didn't work too.

There is really no way that I can guess what your host name is.  You could try directly using the IP address, I guess.  But even that will probably be different inside your network as opposed to outside.  (That's also why it's impossible for the game to tell you what the host name is... it doesn't really know either as it's entirely up to your network.)

Are you trying to host the game on your local network or over the internet for your friends or something?
Logged
Xentarok
Newbie
*
Posts: 19


View Profile
« Reply #9 on: March 04, 2012, 03:17:42 PM »

Well, I am trying to make public server.
Logged
Xentarok
Newbie
*
Posts: 19


View Profile
« Reply #10 on: March 04, 2012, 03:23:23 PM »

Ok, I used my localhost and now it say:

SocketException: Network is Unreachable: connect
Logged
randomprofile
Global Moderator
Sr. Member
*****
Posts: 265


View Profile WWW
« Reply #11 on: March 04, 2012, 03:39:26 PM »

Have you tried your internal IP?
1.)CMD -> ipconfig
2.)Read IPv4Address
3.)Huh
4.)Profit
Logged
Xentarok
Newbie
*
Posts: 19


View Profile
« Reply #12 on: March 04, 2012, 03:48:32 PM »

Thank you! I totally forgot about IP possibillity! But now I have another problem, becouse it say that i have old server file, but i have not.
Logged
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #13 on: March 04, 2012, 04:29:52 PM »

Thank you! I totally forgot about IP possibillity! But now I have another problem, becouse it say that i have old server file, but i have not.

If you run the 20120224 client with the 20120224 server then you shouldn't get this error.  If they are different versions then you will definitely get an error.

Are you still trying to run the server the original way from this thread or did you download the stand-alone server?
Logged
Xentarok
Newbie
*
Posts: 19


View Profile
« Reply #14 on: March 04, 2012, 04:36:09 PM »

I downloaded Stand-Alone, and I checked client and server version, they are the same, but i still have this error.
I am happy becouse of this IP solution, but I still want to have my own host.
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!