Wouldn’t it be a very lagful connection?
Well, i plan to do a mmorpg so there should all quest, items, NPC-Positions, Playerpositions, and Stats of Players to be in database.
Well playerpositions just for storage after connections lost and get after login again.
Quests are more easy to be in external database insteadof ingame. So i can input more Content like items and quests while server is up and running. It just get all of the datas everyminute or so on. or just incremental data refreshing.
I was thinking about to get all datas from database into the game into arrays.
So i have a internal database for active working with it. just if something hast to be saved into database the connection will be up for data transfere.
This could really go through php.
But i have to make a data parser to get that whole informations be parsed into game internal arrays.
The PHP-Side is not a problem for me, but the Gameside thing. So i had hoped for a easy-to-use plugin or whatever, to make a direct data connection, which can get only datas from database, which are needed.
If someone starts a quest, it will be written into its char stats. so there has just to be another connection to the database, if he gets an questitem in his inventory. so its stored if connection lost ors such thing.