marcusmoller / pyorpg-client

Client for the PyORPG project
Other
56 stars 48 forks source link

GUI fails to update on 'Use Character' #10

Closed ghost closed 11 years ago

ghost commented 11 years ago

Python Version: 2.7.4 Pygame Version: 1.9.1

  1. Download and extract server, run python main.py
  2. Download and extract client, run python pyorpg.py
  3. Click Login, music plays, PLAYER NAME and PLAYER LEVEL/CLASS displays in red.
  4. Click Use Character.
  5. New music plays but screen does not change
marcusmoller commented 11 years ago

Ah, I've screwed up a few places here.

  1. The game shouldn't change state to MENU_CHAR unless the server has actually recognized the account.
  2. Currently the client only connects to the server when logging in, which means that there is no connection when the client is trying to create a new account. D'oh.

I'll get on this ASAP. Cheers for opening the issue!

marcusmoller commented 11 years ago

BTW: If you want to log in and give the game a try until I've fixed it, you can login as the user 'admin'.

Username: admin Password: admin

marcusmoller commented 11 years ago

Please do recheck if it's working out now.

I've made it so that the client connects and then disconnects when creating a new account. It should then connect again when logging in.

ghost commented 11 years ago

Yeah works now. When I log in, after choosing a character the map is all black.

I dunno if i'm supposed to generate a world for the server?

Perhaps a quickstart guide would help.

marcusmoller commented 11 years ago

@trideceth12: Yes, the maps are totally blank until you start creating them yourself. For this, you need your account to be of admin or atleast map maker status.

The default user (username "admin", password "admin") is already set to admin status, so you can use this character right from the start, to create your maps.

To start the map editor while in-game, simply type in chat: /mapeditor

You can find a few in-game commands here: https://github.com/marcusmoller/pyorpg-client/wiki/In-game-commands Or check out the source code here: https://github.com/marcusmoller/pyorpg-client/blob/master/src/gamelogic.py#L15-L204

I will eventually create a tutorial and quickstart guide.

marcusmoller commented 11 years ago

@trideceth12: I've added a few wiki entries, so go have a look!

https://github.com/marcusmoller/pyorpg-client/wiki