Yemto Posted October 23, 2014 Share Posted October 23, 2014 I'm working on a web based RPG game, and I want the ability to run different "servers" but I'm not sure what the best way to go about it would be. First idea: Create a table which would be named, "world" when a character is created, they get to choose a world to join, and then use world_id to know what items, mobs, npc, is in that world. Here is just a quick mock-up of the table. Second idea: Create a whole new database for the game data, creature_game contains the accounts and forum data. While creature_server_x contains the rest of the game. The structure of each database would be exactly the same. I want the people that runs the different "servers" to be able to do whatever changes they want, even if that would mean to rewrite the story line. I could do it with both the first and second idea. But I want to hear about what people here think is best and why. Ofc, they won't be able to access or change the tables inside the databases, just the data the tables contains. Quote Link to comment https://forums.phpfreaks.com/topic/292023-different-databases-or-tables-to-make-servers-in-a-web-based-game/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.