Mythruna

General Category => Tech Support => Topic started by: jdlsmith on February 29, 2012, 09:10:33 PM



Title: An odd error with the startup menu...
Post by: jdlsmith on February 29, 2012, 09:10:33 PM
First, all on Win7...  and java has been updated recently.  On my primary pc, Mythruna runs fine.  But on the two laptops, from the menu, if I choose single player, the "Launch Game" button does not work.  It appears to click, but does nothing.  Multiplayer loads/runs fine.  Have tried copying the files from the computer that works correctly... makes no difference.

Any ideas?  Is there something I'm missing?

Thanks,

JS

Btw, the world looks great, and I love the idea of being able to actually build/craft.  Looking forward to seeing more of what you have planned.


Title: Re: An odd error with the startup menu...
Post by: pspeed on February 29, 2012, 09:17:41 PM
Just in case, wiggle the mouse before you click on the "Launch Game".  The GUI library that I used for the menus is riddled with bugs and that one in particular is one of them.  I just haven't had a chance to replace it with something better yet.

That's probably not your issue but it was worth checking.

If the game fails to launch then it probably generates an error log.  This will look like error-12345678.log where 12345678 is a random number.

Also, each time the game is run it backs up the existing client.log files (to client1.log, client2.log up to 5) and creates a new client.log.  If there is no error log then sometimes I can figure things out from the client.log from the run where single player launching failed.



Title: Re: An odd error with the startup menu...
Post by: jdlsmith on March 02, 2012, 04:54:06 PM
No errors in the error log.  It doesn't look like it actually registers that I've clicked the Launch button/text. This is only for the Launch in Single Player and for the main Exit button.

The error logs go in the same directory as the Mythruna executable, right?


Title: Re: An odd error with the startup menu...
Post by: pspeed on March 02, 2012, 06:20:07 PM
No errors in the error log.  It doesn't look like it actually registers that I've clicked the Launch button/text. This is only for the Launch in Single Player and for the main Exit button.

The error logs go in the same directory as the Mythruna executable, right?

Odd.  If wiggling the mouse doesn't work then you can also try using the cursor keys to switch from one option to another. "enter" should select an option.

If the cursor keys work on the main menu but not that menu then it says to me that something (probably out of my control) is locked hard. :(


Title: Re: An odd error with the startup menu...
Post by: Sean on March 02, 2012, 08:53:05 PM
I have had this problem 3 times when trying to login to the server. I click the button and nothing happens so I have to restart.


Title: Re: An odd error with the startup menu...
Post by: pspeed on March 02, 2012, 09:09:06 PM
I have had this problem 3 times when trying to login to the server. I click the button and nothing happens so I have to restart.

In multiplayer it's a different issue.  When you click the connect button, all kinds of stuff happens (connects to server, transfers some messages, etc.)... and the UI isn't always good about reporting the errors... or more likely if it's a random connection problem it can take a long time to timeout.

But in single player, clicking launch should just launch the game... or error out.  There really isn't any in between.


Title: Re: An odd error with the startup menu...
Post by: jdlsmith on March 03, 2012, 12:31:07 AM
nothing at all happens...

of course, as for the exit button, hitting escape closes the game window.

I'm probably in need of reinstalling something, or updating something... but I've redone the Java install, and OpenGL works fine, as is seen when playing multiplayer.


Title: Re: An odd error with the startup menu...
Post by: pspeed on March 03, 2012, 02:37:00 AM
nothing at all happens...

of course, as for the exit button, hitting escape closes the game window.

I'm probably in need of reinstalling something, or updating something... but I've redone the Java install, and OpenGL works fine, as is seen when playing multiplayer.

I'm trying to understand what "nothing" means in this case.  Moving the cursor keys does nothing?  Hitting "enter" does nothing?  These things also do nothing on the main menu? (before going to single player game)


Title: Re: An odd error with the startup menu...
Post by: Evtal on March 03, 2012, 10:22:33 PM
they can't click the launch button? i can't even go into the game. it stops after the first settings menu appears. i use Ubuntu 10.10.


Title: Re: An odd error with the startup menu...
Post by: Sean on March 04, 2012, 08:22:17 AM
they can't click the launch button? i can't even go into the game. it stops after the first settings menu appears. i use Ubuntu 10.10.
I have a suggestion for you, instead of using Open JDK, use Sun Java 6.
Also can you run a java program in Wine? If it's possible you might just get lucky.


Title: Re: An odd error with the startup menu...
Post by: Evtal on March 05, 2012, 09:43:53 AM
i already am using Sun Java 6. i am using the launcher meant for Linux. unless there is a certain one for Ubuntu?


Title: Re: An odd error with the startup menu...
Post by: pspeed on March 05, 2012, 09:52:51 AM
i already am using Sun Java 6. i am using the launcher meant for Linux. unless there is a certain one for Ubuntu?

If you got as far as the menus then the launcher worked ok.

I'm still waiting to hear from you if the cursor keys and enter key allow you to navigate the main menu... and if it still doesn't let you launch that way.

For this next release I will try to add some more debugging to that path.  The UI library I use tends to swallow errors if I don't specifically watch for them (can't wait to replace it).  It's just strange, though.


Title: Re: An odd error with the startup menu...
Post by: Evtal on March 06, 2012, 12:40:14 PM
i still can't reach the main menu. i will get the logs when i can.


Title: Re: An odd error with the startup menu...
Post by: pspeed on March 06, 2012, 12:42:24 PM
i still can't reach the main menu. i will get the logs when i can.

Oh, sorry... I got confused between your problem and the original poster's problem.  been a long couple of days. :)


Title: Re: An odd error with the startup menu...
Post by: Evtal on March 07, 2012, 12:18:16 PM
okay. i understand. i guess it was a little confusing posting in a thread mainly about a previously posted problem.


Title: Re: An odd error with the startup menu...
Post by: pspeed on March 08, 2012, 01:29:38 AM
To the original poster...

The release I put up adds some additional error checking in the main menu.  I don't suspect it will work any better than it did but I'm 99% certain that we'll get an error log this time.


Title: Re: An odd error with the startup menu...
Post by: jdlsmith on March 18, 2012, 03:02:17 PM
Ok, I've got it working on one laptop (newer one).  What I had been doing was dropping it into a "Program Files\Mythruna" folder.  When I leave the folder on the desktop, it works just fine, but trying to run it from Program Files, it doesn't work for Single Player mode.

I haven't tested this from 15 dif directions yet.. just got it working so the kids could enjoy building.

On a side note, I'm impressed with how easily the server gets up and running...  it worked without any issues or adjustments.  Nicely done!


Title: Re: An odd error with the startup menu...
Post by: pspeed on March 18, 2012, 07:12:13 PM
Ok, I've got it working on one laptop (newer one).  What I had been doing was dropping it into a "Program Files\Mythruna" folder.  When I leave the folder on the desktop, it works just fine, but trying to run it from Program Files, it doesn't work for Single Player mode.

I haven't tested this from 15 dif directions yet.. just got it working so the kids could enjoy building.

On a side note, I'm impressed with how easily the server gets up and running...  it worked without any issues or adjustments.  Nicely done!

Nice that the server worked well for you. :)

On the program files issue, that is weird.  Perhaps it's a permission issue or something.  If it got to the Mythruna menu for selecting a game then it was at least able to extract the DLLs but then maybe couldn't create the mythruna.db folder.  If it didn't even get that far then it couldn't even create those files.

Glad you were able to find a way to get it working and now there is one more thing I can check when other people have problems.


Title: Re: An odd error with the startup menu...
Post by: pspeed on March 19, 2012, 04:39:37 PM
See my post here:
http://mythruna.com/forum/index.php?topic=381.msg3213#msg3213