SA-MP Forums Archive
Register Dialog - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Register Dialog (/showthread.php?tid=189745)



Register Dialog - iLcke - 13.11.2010

Everything works fine, my login dialog to, besides ONE thing, when a player registers, the password is not saving for some reason, Ideas?


Re: Register Dialog - X35B - 13.11.2010

Pastebin the register system so we can see the possible probem(s).


Re: Register Dialog - iLcke - 13.11.2010

http://pastebin.com/RfYacypN


Re: Register Dialog - Retardedwolf - 13.11.2010

iLcke, firstly I recommend you to use another type of saving system. Such as djSon, y_ini, SII or MySQL.
Then, I recommend you just make a huge string and put all the stats into one line and save it all at once.


Re: Register Dialog - iLcke - 13.11.2010

The current one is perfectly fine to me, however soon i will be making it MySQL, Just not yet, Currently, I just need the dialog setting the password to what they used to register'd with..


Re: Register Dialog - Scenario - 13.11.2010

Quote:
Originally Posted by iLcke
Посмотреть сообщение
The current one is perfectly fine to me, however soon i will be making it MySQL, Just not yet, Currently, I just need the dialog setting the password to what they used to register'd with..
I understand it's your choice and your system, but transferring the system after development is basically done would be a HORRIBLE choice. I looked at your code on pastebin and noticed how inefficient it was.


Re: Register Dialog - DRIFT_HUNTER - 13.11.2010

Well i dont see that you get player "inputtext"
these is how i save it with dini (outdated)
pawn Код:
dini_Set(file,"Password",inputtext);