hikilaka / minigolf-client

1 stars 0 forks source link

Help needed getting standalone minigolf working #1

Open PhilippvK opened 5 years ago

PhilippvK commented 5 years ago

@hikilaka I know that this repository is not maintained actively but I would be very happy if you would take a short look at this, if possible..

Unfortunately Playforia has been closed a few months ago.

I was very happy, when I found your source code (client and server) of the awesome minigolf game, here on your GitHub.

What I already have done is:

At this point a am able to navigate through the menus/lobbies. Now I would like to start a single-player session, but every time, when I click Start the Applet stays in the One moment please... Loading Screen.

This is what happens in the Logs: Client:

     [java] CLIENT> WRITE "c pong"
     [java] CLIENT> WRITE "d 7 lobby    cspt    10  1   0"
     [java] CLIENT> READ "c ping"
     [java] CLIENT> WRITE "c pong"

Server:

Registered session #0: Session{id:ef7c9 addr:::ffff:127.0.0.1 state:loading/version}
wrote: d 0 versok
wrote: d 1 status   login
jamal-5161 has logged in
wrote: d 2 basicinfo    t   0   t   f
wrote: d 3 status   lobbyselect 300
wrote: d 4 lobbyselect  nop 0   0   0
wrote: d 5 status   lobby   1
wrote: d 6 lobby    numberofusers   0   0   0   0   0   0
wrote: d 7 lobby    users
wrote: d 8 lobby    ownjoin 3:jamal-5161^w^0^en_US^-^-
jamal-5161 joined lobby single
wrote: c ping
wrote: c ping
wrote: c ping

I found out that the AApplet-Class stays there because this.endState is always equal 0. The WRITE "d 7 lobby cspt 10 1 0" seems to be ignored.

Is there anything missing to get this working? Maybe data about the available tracks?

Thanks in advance. If you are not interested in this topic anymore, I would definitely understand it.

qsek1 commented 5 years ago

If you make any progress with this i would like to know. This game has been so much fun for me and my friends, its a shame it is not hosted anymore even though its a browser game. Also if you need someone to test, shoot me a msg.

PhilippvK commented 5 years ago

@qsek1 Hey, if you are still interested in running the Playforia Minigolf Game, make sure you check out my Reimplementation at: https://github.com/PhilippvK/playforia-minigolf.

It should compile and run easily with an Ant build file and even local multiplayer should work fine.