[FilterScript] Login/Register using ZCMD SSCANF & Y_INI.
#1

Register / Login System
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
  1. Commands /register and /login of course.
  2. It auto-saves your information on exist.
  3. Saves Moneys, score and Registration date (for now)
  4. A fast system of writing/reading.
  5. A very smooth and friendly coding type.
  6. 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
Remember the 'A', a big capital A at the beggining.



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.
Reply
#2

Nice , good job bro. :P
Reply
#3

Very nice 0 :P
Reply
#4

Nice, Good Job Zh3r0.
Reply
#5

fuu now i can understand y_ini fully big thanks Zh3r0!
Reply
#6

Quote:
Originally Posted by Mаkaveli
Посмотреть сообщение
fuu now i can understand y_ini fully big thanks Zh3r0!
I find it easier to use myself! I had a rough time understanding it too.
Reply
#7

Quote:
Originally Posted by Zh3r0
Посмотреть сообщение
I find it easier to use myself! I had a rough time understanding it too.
i raped y_ini 2 day but i stucked in reading strings)) coz after dini its kinda harder
Reply
#8

Ok, I will use it to learn y_ini And what Encode does?
Reply
#9

Quote:
Originally Posted by Gh0sT_
Посмотреть сообщение
Ok, I will use it to learn y_ini And what Encode does?
Since file names do not support characters like #$%^&*, it it used to replace, for example

[ becomes _1
] becomes _2
{ becomes _3


And soo on, and Decode is vice versa

it reads _1 as a [
_2 as a ]

Got me ?

Version 1.2 coming with VIP System + commands and Admin Level + commands
Reply
#10

Thanks you a lot Zh3r0!!!
Reply
#11

Very Nice 10/10
Reply
#12

Awsome work. )
Reply
#13

New version coming right up! Doing some bug-fixing.
Reply
#14

error:
fatal error 100: cannot read from file: "YSI/y_ini"
Reply
#15

Download this: https://sampforum.blast.hk/showthread.php?pid=884701#pid884701

OFF: Tйnyleg ? o_O xD
Reply
#16

Good job
Reply
#17

Quote:
Originally Posted by kurta999
Посмотреть сообщение
What are you saying there ?
Reply
#18

Nice one. I won't use it since I find MySQL more convenient and easier to script, but overall good job. Great for newbies starting their own script, Y_Ini seems to be a good and fast method for saving.
Reply
#19

Holy hell, so many damned dialogs! I like that you are using y_ini, good work!
Reply
#20

Great login script, I so love the colours inside these pics
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)