Deceth / Battle-City

Build a city, hire a team, drive a tank, orb the enemy! Multiplayer online game.
http://battlecity.org
GNU General Public License v3.0
48 stars 24 forks source link

Database Modernization #53

Open Deceth opened 11 years ago

Deceth commented 11 years ago

The Battle City Database has several issues that need to be addressed.

We also need to consider that Battle City was always a single dedicated server game. I think that hinders innovation from our creative community, that are not all developers. We want to encourage players to host their own unique servers. To build their own worlds. To add their own fun twists to the game. Of course, making that possible will require making more and more things configurable on the server, such as maps, available items, team size, etc...

... but I'm getting off-topic :)

We need to consider, how do we setup the database in a world where there might be multiple servers?

Should there be a central server for authentication, that passes the player name and ID to servers? Then each server can assign their own stats/ranks to that ID? Otherwise players will need to create a new account on every server and there is no guarantee their username won't be taken, etc...

Maybe the best approach would be to develop a "lobby" client. This "lobby" client would be where players create an account and login. They would then enter a chat-room which would also have a list of all Battle City servers. For each server you would see who is online, and the server settings. This lobby is what could be minimized to the system-tray. When you select a server, your username+id will be sent-over (not password) so you can play there with your account without risk. All this of course, has an impact on the database structure...!

Just some ideas!

rileyw commented 11 years ago

@Deceth Great gems in this issue. I may create sub-issues to address the challenges for complicated issues. I think your ideas are great and just require some definition in order to set milestones in development.