PtokaX forum

PtokaX => Support => Topic started by: DJ TWEETY on 11 January, 2010, 21:03:45

Title: Save User Data in Mysql database
Post by: DJ TWEETY on 11 January, 2010, 21:03:45
Hello dear user, it is possible to save Ptokax the user and retrieve data via MySQL.

I've heard that there is to be clever scripts, but I find nothing in the direction

If so what I need to it?


Excuse my English it is translated by a translator

??? ??? ???
Title: Re: Save User Data in Mysql database
Post by: sphinx_spb on 12 January, 2010, 15:58:49
Quote from: DJ TWEETY on 11 January, 2010, 21:03:45
Hello dear user, it is possible to save Ptokax the user and retrieve data via MySQL.

I've heard that there is to be clever scripts, but I find nothing in the direction

If so what I need to it?


Excuse my English it is translated by a translator

??? ??? ???
Hello dear author DJ TWEETY,
save and retrieve userdata via MySQL is not possible for now and
string.gsub("Only god knows if it will in future","god","PPK")
Title: Re: Save User Data in Mysql database
Post by: DJ TWEETY on 12 January, 2010, 16:15:53
is there any software that supports it began and runs under windows
Title: Re: Save User Data in Mysql database
Post by: PPK on 12 January, 2010, 16:34:53
Quote from: sphinx_spb on 12 January, 2010, 15:58:49
save and retrieve userdata via MySQL is not possible for now and
string.gsub("Only god knows if it will in future","god","PPK")
Depends on what he mean by user data. My opinion is that mysql is waste of resources for registered users, banlist etc. If he want this then sorry but that is not in my todo.
If he want something else then it should be possible by script, if someone compile mysql support for lua :P
Quote from: DJ TWEETY on 12 January, 2010, 16:15:53
is there any software that supports it began and runs under windows
Afaik YnHub and (win)verlihub supporting mysql  ::)
Title: Re: Save User Data in Mysql database
Post by: DJ TWEETY on 12 January, 2010, 17:07:52
Winverlihub I once tried to bring a test basis to run to the database connection also comes to pass but not

And for Yhub So hmm, he even works great together so it saves my opinion, the data is not in the database so as far as the registrations
Title: Re: Save User Data in Mysql database
Post by: Thor on 12 January, 2010, 17:58:37
I don't think it's necessary in hub-side, but if you want, it (http://forum.ptokax.org/index.php?topic=7456.0) can do that for you (even it's lite).
Title: Re: Save User Data in Mysql database
Post by: DJ TWEETY on 12 January, 2010, 18:06:36
if you were so nice otherwise I would be a very helpful manual
Title: Re: Save User Data in Mysql database
Post by: Thor on 16 January, 2010, 12:51:28
You can find a manual here: http://luasqlite.luaforge.net/lsqlite3.html
Then open the RegisteredUsers.xml file, and put the nick-pass-profile there (and the things you want to store, eg. last login). Note, even the accounts stored there, PtokaX will still use the XML file.
Title: Re: Save User Data in Mysql database
Post by: DJ TWEETY on 16 January, 2010, 15:01:45
ok thanks for this answer