04.01.2011, 18:20
Register / Login System
Using ZCMD + SSCANF + Y_INI
Using ZCMD + SSCANF + Y_INI
Information
I made this system for you guys to start learning about Y_Ini, I've seen many people asking about, how to read, how to write, how to do this, with Y_Ini, well now you guys got a good chance to start a look at the code and learn.
This was not made, for an official release, or for a proper usage, it as released most for the fact that you guys can now start learning some stuff.
Extra
- Commands /register and /login of course.
- It auto-saves your information on exist.
- Saves Moneys, score and Registration date (for now)
- A fast system of writing/reading.
- A very smooth and friendly coding type.
- A /stats command for you to see the stats(Also to learn on how to show your stats trough a dialog)
Picutres
Remember, the language is full English, i just didn't had the change to redo the pictures with the translation, I first released this script on another foreign forum, so excuse the language.
Oh, wait, i got images, but in large sizes, was convenable if they were cut to size....







Instalation
WARNING: To make this work, you need a folder called "Accounts" without the "" of course, in your scriptfiles folder.
So it should be:
Код:
/scriptfiles/Accounts
Player File
This is how your file will look like when you done the registration.
Код:
NAME = (SRC)Zh3r0 PASSWORD = Drunken REG_DATE = 21:10:41 4/1/2011 MONEYS = 5000 SCORE = 15
Credits
****** - Y_Ini, SSCANF
Zeex - ZCMD
Dracoblue - Set, strreplace, pName, Encode, INI_Exist
Zh3r0 - Building up this system using the above functions...
Download
Only pastebin for now. Mirrors accepted.
http://pastebin.com/CSZrCsyG
Enjoy.