Mythruna

General Category => Tech Support => Topic started by: Xentarok on March 04, 2012, 07:33:48 AM



Title: Problem with server
Post by: Xentarok 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:

(http://img20.imageshack.us/img20/6172/serwerowyproblem.png) (http://imageshack.us/photo/my-images/20/serwerowyproblem.png/)

Uploaded with ImageShack.us (http://imageshack.us)

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



Title: Re: Problem with server
Post by: pspeed 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.


Title: Re: Problem with server
Post by: Xentarok 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?


Title: Re: Problem with server
Post by: pspeed 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


Title: Re: Problem with server
Post by: Xentarok 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)


Title: Re: Problem with server
Post by: randomprofile on March 04, 2012, 02:25:52 PM
Try moving starting the CMD from the folder where the server is?


Title: Re: Problem with server
Post by: pspeed 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.


Title: Re: Problem with server
Post by: Xentarok 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.


Title: Re: Problem with server
Post by: pspeed 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?


Title: Re: Problem with server
Post by: Xentarok on March 04, 2012, 03:17:42 PM
Well, I am trying to make public server.


Title: Re: Problem with server
Post by: Xentarok on March 04, 2012, 03:23:23 PM
Ok, I used my localhost and now it say:

SocketException: Network is Unreachable: connect


Title: Re: Problem with server
Post by: randomprofile on March 04, 2012, 03:39:26 PM
Have you tried your internal IP?
1.)CMD -> ipconfig
2.)Read IPv4Address
3.)???
4.)Profit


Title: Re: Problem with server
Post by: Xentarok 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.


Title: Re: Problem with server
Post by: pspeed 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?


Title: Re: Problem with server
Post by: Xentarok 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.


Title: Re: Problem with server
Post by: pspeed on March 04, 2012, 05:09:36 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.

Booo... I get this too with a server I just downloaded.

That means of the 450 downloads I've seen for the server, not a single one of them actually worked and no one complained.  Depressing.

There does not seem to be an easy way to fix this.  In the mean time, it looks like you will have to go back to running the server from the command line as you were originally trying (just making sure to do it from the right directory).

I plan to cut a new release tonight or tomorrow.  That will fix this issue.  Sorry for the trouble.



Title: Re: Problem with server
Post by: Xentarok on March 04, 2012, 05:14:12 PM
No problem :) I'll just wait for tommorow for fixed stand-alone.
PS: Is there any hope for my host? (i know, that this question is problably getting annoying for you)


Title: Re: Problem with server
Post by: pspeed on March 04, 2012, 05:21:15 PM
No problem :) I'll just wait for tommorow for fixed stand-alone.
PS: Is there any hope for my host? (i know, that this question is problably getting annoying for you)


I don't know what's wrong with the host.  That's something to do with your network configuration.  If "ping" won't ping your host then nothing will be able to resolve it... at least not locally.  Maybe it's a case that your host name only works from outside of your network... in which case it will be tough for you to test on your own.


Title: Re: Problem with server
Post by: Xentarok on March 04, 2012, 05:25:10 PM
Thanks, i'll have to make some odd tricks, but now i know the main problem.

PS: Thank you for all of the anserws :D


Title: Re: Problem with server
Post by: randomprofile on March 04, 2012, 08:18:04 PM
Wait... so did I win?


Title: Re: Problem with server
Post by: Xentarok on March 05, 2012, 01:09:09 AM
Eeee... Moustly...

Anyway, is there a fixed stand-alone released?


Title: Re: Problem with server
Post by: pspeed on March 05, 2012, 01:55:05 AM
I will release a new client and server sometime in the next day or so.  I have to clean some things up to get the latest changes good enough to release and I don't want to spend time patching the old release when I'm so close to the new one.


Title: Re: Problem with server
Post by: Xentarok on March 05, 2012, 02:32:37 PM
YEAH! I fixed my Host problem! :D :D


Title: Re: Problem with server
Post by: pspeed on March 05, 2012, 02:41:15 PM
YEAH! I fixed my Host problem! :D :D

Yay!  What did it turn out to be?


Title: Re: Problem with server
Post by: Xentarok on March 05, 2012, 02:46:46 PM
What a shame... I don't even want to talk about it, becouse it was so ridiculous...   :-\


Title: Re: Problem with server
Post by: pspeed on March 05, 2012, 03:01:03 PM
What a shame... I don't even want to talk about it, becouse it was so ridiculous...   :-\

Ooops.  I hate it when that happens.  I was only asking in case it helps someone else.

Thanks for letting us know that you got it working.


Title: Re: Problem with server
Post by: Xentarok on March 05, 2012, 03:04:57 PM
All about host problem, was my fault so there is no need to explain how I fixed it. By now I am only waiting for update, to log to the server without this  strange error.


Title: Re: Problem with server
Post by: pspeed on March 08, 2012, 01:30:41 AM
The latest server release (20120308) should work now.


Title: Re: Problem with server
Post by: Moonkey on March 08, 2012, 12:12:53 PM
And then, the evil port-forwarding jumps in your life.