ID:137735
 
Is there any way to use a mysql database to store data of the byond game??

I have a web with php,cgi and mysql. How can i integrate my byond game with it??
On 8/3/01 6:33 pm Seryu wrote:
Is there any way to use a mysql database to store data of the byond game??

I have a web with php,cgi and mysql. How can i integrate my byond game with it??

Integrated database connectivity is something that would be great to get into 3.0 or 4.0...

Meantime, to access a database you'd need to create the mechanisms yourself. That is, you need to create commands that can be called on the command-line to get data out of the database. Then you can use system() in BYOND to make those calls and get the return value.

If you talk more about what you want to do, some of us might have suggestions.
In response to Deadron
On 8/3/01 6:35 pm Deadron wrote:
On 8/3/01 6:33 pm Seryu wrote:
Is there any way to use a mysql database to store data of the byond game??

I have a web with php,cgi and mysql. How can i integrate my byond game with it??

Integrated database connectivity is something that would be great to get into 3.0 or 4.0...

Meantime, to access a database you'd need to create the mechanisms yourself. That is, you need to create commands that can be called on the command-line to get data out of the database. Then you can use system() in BYOND to make those calls and get the return value.

If you talk more about what you want to do, some of us might have suggestions.

OK, i want to store the player data in my database instead my pc, because i dont have a server to my put online my game. In trying to find any form to run the game without any server, only conecting to my web.

also, i want to unificate my list of web-users to my game-users, to make a byond key automaticaly when any was registered in my web.
In response to Seryu
On 8/3/01 6:48 pm Seryu wrote:
OK, i want to store the player data in my database instead my pc, because i dont have a server to my put online my game. In trying to find any form to run the game without any server, only conecting to my web.

also, i want to unificate my list of web-users to my game-users, to make a byond key automaticaly when any was registered in my web.

Hmm...no matter what you do you are going to need a server that has BYOND installed somewhere along the way...

BYOND has a CGI mode, by the way, so you can connect through the web to it without needing anything extra.