Wintermute Engine Forum

Game development => Help wanted and offered => Topic started by: leucome on August 12, 2007, 05:57:09 AM

Title: Help wanted to make an sql plugin.
Post by: leucome on August 12, 2007, 05:57:09 AM
Ok i wish to make a wme plugin to query a mysql database.

With some seach i found MySQLDriverCS http://sourceforge.net/projects/mysqldrivercs/ (http://sourceforge.net/projects/mysqldrivercs/)

It seam to be the things i need to start but i do not know what to do next ... Maybe i can directly use the dll without write new plugin.




The objective: Query my Simple Machine forum database from wme game and if the player is registred on the forum he can play the game ...
In the future i wish to add more features.

If somewone is interested email me leucome@hotmail.com




Title: Re: Help wanted to make an sql plugin.
Post by: Mnemonic on August 12, 2007, 11:26:45 AM
Wouldn't it be better to make some PHP based system using SMF API and use the HTTP protocol to communicate with the server? (wow, so many abbreviations).

The library you linked is meant for .NET applications only, plus your MySQL database server would have to allow external access (don't know about yours, but my webhost doesn't allow that), and SMF does some additional password encoding...
Title: Re: Help wanted to make an sql plugin.
Post by: leucome on August 15, 2007, 11:52:42 AM
Yes i will do PHP based system finally.
At first i wished to connect to MYsql directly but it seem to be a wrong way.
For what web host allow me. It is not a real trouble, i host it in my own server.

But in fact i am not that much experienced with the use of HTTP protocol inside a wme plugin ... and not experienced with wme plugin .. and not with c++ and any other c languange ... and not ... with php ... hum ...


Maybe Nostradamus have not predicted it but i am sure it will take me many hours to make it work ..
Title: Re: Help wanted to make an sql plugin.
Post by: leucome on August 19, 2007, 08:26:45 AM
I think i will stop this project ... to many hours later i am not even close to a solution and i dont want to wast to much time ...
I cant even find some tutorial sample demo help who can give me a clue how to open, get or send data, variable or string to php using c++

ANd i dont want to get an other email who say me how it is happy,funny and easy ... to do ... GRRRRRRR
Title: Re: Help wanted to make an sql plugin.
Post by: metamorphium on August 19, 2007, 04:48:41 PM
http://www.codeproject.com/useritems/SCS.asp
Title: Re: Help wanted to make an sql plugin.
Post by: leucome on August 20, 2007, 03:42:34 PM
Thanks ...
I will take look on it next week end.