SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Tutorials (https://forum.sa-mp.com/forumdisplay.php?f=70)
-   -   [Tutorial] Login and Register System - Dialogs - Using Y_INI (https://forum.sa-mp.com/showthread.php?t=273088)

Kush 31/07/2011 09:27 AM

Login and Register System - Dialogs - Using Y_INI
 
Login and Register System - Dialogs - Using Y_INI


What is this?
A simple tutorial on how to make a Login and Register system using Y_INI.

What is Y_INI?
Y_INI is an extensive .INI based file reader and writer, also known as a 'File Management System' created by ******. This is included in the YSI Library/Directory along with other useful includes such as y_commands (YCMD) and y_groups.


What's the difference between this and my file writer?
Y_INI has not only been said, but has been proven to be one of the fastest and most efficient .INI file readers and writers created. You can read more by visiting: http://forum.sa-mp.com/showthread.php?t=175565


How to 'install' y_ini?
You must first download y_INI ----> http://forum.sa-mp.com/showthread.php?t=175565. Once the download has finished, place the YSI folder in your includes folder.


Step I
Add the Y_INI Include at the beginning of the script.
pawn Code:
#include <YSI\y_ini>
This include contains all necessary functions needed to create our Login and Register system.


Step II
Lets define some Dialogs.

pawn Code:
#define DIALOG_REGISTER 1
#define DIALOG_LOGIN 2
#define DIALOG_SUCCESS_1 3
#define DIALOG_SUCCESS_2 4


Step III
Defining the 'PATH' of the .INI file.

pawn Code:
#define PATH "/Users/%s.ini"

Step IV
Lets add some colors.

pawn Code:
#define COL_WHITE "{FFFFFF}"
#define COL_RED "{F81414}"
#define COL_GREEN "{00FF22}"
#define COL_LIGHTBLUE "{00CED1}"

Step V
We're going to use an enum, to store our variables.

pawn Code:
enum pInfo
{
    pPass,
    pCash,
    pAdmin,
    pKills,
    pDeaths
}
new PlayerInfo[MAX_PLAYERS][pInfo];

Step VI
Now, we're going to create a function to Load the User's data.


pawn Code:
forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
{
    INI_Int("Password",PlayerInfo[playerid][pPass]);
    INI_Int("Cash",PlayerInfo[playerid][pCash]);
    INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
    INI_Int("Kills",PlayerInfo[playerid][pKills]);
    INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
    return 1;
}


Step VII
Lets create a simple stock function.

pawn Code:
stock UserPath(playerid)
{
    new string[128],playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid,playername,sizeof(playername));
    format(string,sizeof(string),PATH,playername);
    return string;
}
The stock function 'UserPath' is merely going to 'grab' the 'PATH' of the User's file.


Step VIII
Add this code below your previous stock function.
pawn Code:
/*Credits to Dracoblue*/
stock udb_hash(buf[]) {
    new length=strlen(buf);
    new s1 = 1;
    new s2 = 0;
    new n;
    for (n=0; n<length; n++)
    {
       s1 = (s1 + buf[n]) % 65521;
       s2 = (s2 + s1)     % 65521;
    }
    return (s2 << 16) + s1;
}

The stock above is a simple 'hasher', and will be used to hash passwords, Credits to Dracoblue.


Step IX
We're going to now use the 'OnPlayerConnect' callback to check whether the player is registered or not.
pawn Code:
public OnPlayerConnect(playerid)
{
    if(fexist(UserPath(playerid)))
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit");
    }
    return 1;
}
We'll be using the native 'fexist' function to search for our file. Parameters are set to our stock function which we've created. If the file exists, you will receive a 'Login' dialog. If it doesn't, you will receive a register dialog.


Step X

pawn Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch( dialogid )
    {
        case DIALOG_REGISTER:
        {
            if (!response) return Kick(playerid);
            if(response)
            {
                if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, ""COL_WHITE"Registering...",""COL_RED"You have entered an invalid password.\n"COL_WHITE"Type your password below to register a new account.","Register","Quit");
                new INI:File = INI_Open(UserPath(playerid));
                INI_SetTag(File,"data");
                INI_WriteInt(File,"Password",udb_hash(inputtext));
                INI_WriteInt(File,"Cash",0);
                INI_WriteInt(File,"Admin",0);
                INI_WriteInt(File,"Kills",0);
                INI_WriteInt(File,"Deaths",0);
                INI_Close(File);

                SetSpawnInfo(playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0);
                SpawnPlayer(playerid);
                ShowPlayerDialog(playerid, DIALOG_SUCCESS_1, DIALOG_STYLE_MSGBOX,""COL_WHITE"Success!",""COL_GREEN"Great! Your Y_INI system works perfectly. Relog to save your stats!","Ok","");
            }
        }

        case DIALOG_LOGIN:
        {
            if ( !response ) return Kick ( playerid );
            if( response )
            {
                if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
                {
                    INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
                    GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
                    ShowPlayerDialog(playerid, DIALOG_SUCCESS_2, DIALOG_STYLE_MSGBOX,""COL_WHITE"Success!",""COL_GREEN"You have successfully logged in!","Ok","");
                }
                else
                {
                    ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_RED"You have entered an incorrect password.\n"COL_WHITE"Type your password below to login.","Login","Quit");
                }
                return 1;
            }
        }
    }
    return 1;
}

Instead of using the 'if' statement to define my dialogs, I've used cases as they seem to take less space and are supposedly 'faster'. The (!response) is the function if the first Button hasn't been clicked, it will then kick the player.

The if(!strlen(inputtext)) explains if nothing has been entered into the dialog (input), you would then be prompted to another dialog which shows you 'Incorrect Password'.

If all goes well, the function INI_Open is then 'executed' which loads and opens the Userfile. Once open, the function 'INI_WriteInt' is then called and starts writing the data into the userfile. The udb_hash would generate a hash code from the player's inputtext (what you've typed). And after all this is completed, it is then closed by 'INI_Close' function.

Once finished, you will then be prompted to the 'Login' dialog.


In 'DIALOG_LOGIN', if the response is false (you have clicked 'QUIT), you would then be kicked. If given the correct information (password provided), the INI_Parsefile function would then scan and load your player's data.


Step XI
Don't forget, you would need a way to save those variables. The OnPlayerDisconnect callback simply re-opens the files, write what-ever values which has been stored and then closes it.
pawn Code:
public OnPlayerDisconnect(playerid, reason)
{
    new INI:File = INI_Open(UserPath(playerid));
    INI_SetTag(File,"data");
    INI_WriteInt(File,"Cash",GetPlayerMoney(playerid));
    INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
    INI_WriteInt(File,"Kills",PlayerInfo[playerid][pKills]);
    INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]);
    INI_Close(File);
    return 1;
}

Step XII
Finally, add this to OnPlayerDeath to add value(s) to kills and deaths.

pawn Code:
public OnPlayerDeath(playerid, killerid, reason)
{
    PlayerInfo[killerid][pKills]++;
    PlayerInfo[playerid][pDeaths]++;
    return 1;
}

Downloads:



Credits:

****** - y_ini.

Black_Death 31/07/2011 09:30 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
Great job ;)

Tyler_Cordwell 31/07/2011 09:31 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
nice guide i will learn it right now :)

Kush 31/07/2011 09:38 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
Thanks!

kingchandio 31/07/2011 09:44 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
wow very nice i was looking for easy tutorial now i can learn y_ini thank you so much you are helpul guy... how can up ur repu?

Basicz 31/07/2011 09:56 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
@kingchandio, just press the star button at below of his avatar ( below : Reputation: 10 ).

NICE, now I got my script working again after I used my sucky stock :\

pawn Code:
reputation[ Kush ] ++;

TIP: Explain more parts!

Kush 31/07/2011 09:59 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
Quote:

Originally Posted by Basicz (Post 1320092)
@kingchandio, just press the star button at below of his avatar ( below : Reputation: 10 ).

NICE, now I got my script working again after I used my sucky stock :\

pawn Code:
reputation[ Kush ] ++;

TIP: Explain more parts!

I've done them in the previous tutorial, no one cares but to download the .pwn file.

kingchandio 31/07/2011 10:10 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
one little problem i have added /kill cmd and i entered 5 times but still my data on dissconnect looks

Quote:

[data]
Password = 104268307
Cash = 0
Admin = 0
Kills = 0
Deaths = 0

Kush 31/07/2011 10:28 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
Quote:

Originally Posted by kingchandio (Post 1320121)
one little problem i have added /kill cmd and i entered 5 times but still my data on dissconnect looks

PHP Code:

CMD:kill(playeridparams[])
{
    
PlayerInfo[playerid][pDeaths]++;
    return 
1;


You have to be killed by a player in order for the value to change.

The command given would be an example of being killed by a player, only in command form ;D

kingchandio 31/07/2011 10:31 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
oh i see thanks

Tony213 31/07/2011 10:56 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
Wow really nice... ima go and try to learn this y_ini

Jack_Leslie 01/08/2011 12:10 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
Finally a decent y_ini tutorial, keep up the good work!

Kush 01/08/2011 12:21 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
Quote:

Originally Posted by Jack_Leslie (Post 1321486)
Finally a decent y_ini tutorial, keep up the good work!

Thanks!

963852741 01/08/2011 01:16 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
Yay, I am using it (also edited)
thanks, Kush

Dan. 01/08/2011 02:12 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
Huh, hello again Kush, I keep having problems with your REGISTER/LOGIN scripts, take a look at this:

pawn Code:
(242) : error 017: undefined symbol "UserPath"
(244) : error 017: undefined symbol "UserPath"
(245) : error 017: undefined symbol "DIALOG_LOGIN"
(245) : warning 215: expression has no effect
(245) : error 001: expected token: ";", but found "-string-"
(245) : warning 215: expression has no effect
(245) : error 001: expected token: "-string end-", but found "-identifier-"
(245) : fatal error 107: too many error messages on one line

And here are the lines:

pawn Code:
public OnPlayerConnect(playerid)
{
    if(fexist(UserPath(playerid))) // 242
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid); // 244
       ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit"); //245
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit");
    }
    return 1;
}

I guess the errors are because DIALOG_LOGIN and UserPath are not defined, but take a look at this:

pawn Code:
// Register system things
#define DIALOG_REGISTER 1
#define DIALOG_LOGIN 2
#define DIALOG_SUCCESS_1 3
#define DIALOG_SUCCESS_2 4

#define UserPath "/Users/%s.ini"

The #define UserPath was "PATH" before.. changed it but still the same thing, so maybe you could help. And dont offer me your pastebin version, not going to copy my whole script into there, so some help, please.

Snowman12 01/08/2011 03:07 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
Nice tutorial but i dont know if i missed anything but when the player registers he can play once logged in but when he goes t login a second time the password come up wrong time and time again can you help?

Thanks

Shockey HD 01/08/2011 05:35 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
Quote:

Originally Posted by Snowman12 (Post 1322328)
Nice tutorial but i dont know if i missed anything but when the player registers he can play once logged in but when he goes t login a second time the password come up wrong time and time again can you help?

Thanks

Are you sure you have your scriptfile correctly?

Shockey HD 01/08/2011 05:39 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
Quote:

Originally Posted by Dan. (Post 1322241)
Huh, hello again Kush, I keep having problems with your REGISTER/LOGIN scripts, take a look at this:

pawn Code:
(242) : error 017: undefined symbol "UserPath"
(244) : error 017: undefined symbol "UserPath"
(245) : error 017: undefined symbol "DIALOG_LOGIN"
(245) : warning 215: expression has no effect
(245) : error 001: expected token: ";", but found "-string-"
(245) : warning 215: expression has no effect
(245) : error 001: expected token: "-string end-", but found "-identifier-"
(245) : fatal error 107: too many error messages on one line

And here are the lines:

pawn Code:
public OnPlayerConnect(playerid)
{
    if(fexist(UserPath(playerid))) // 242
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid); // 244
       ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit"); //245
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit");
    }
    return 1;
}

I guess the errors are because DIALOG_LOGIN and UserPath are not defined, but take a look at this:

pawn Code:
// Register system things
#define DIALOG_REGISTER 1
#define DIALOG_LOGIN 2
#define DIALOG_SUCCESS_1 3
#define DIALOG_SUCCESS_2 4

#define UserPath "/Users/%s.ini"

The #define UserPath was "PATH" before.. changed it but still the same thing, so maybe you could help. And dont offer me your pastebin version, not going to copy my whole script into there, so some help, please.


I will show you mine.

pawn Code:
#define DIALOG_REGISTER 1
#define DIALOG_LOGIN 2
#define DIALOG_SUCCESS_1 3
#define DIALOG_SUCCESS_2 4

#define PATH "/Users/%s.ini"

#define COL_WHITE "{FFFFFF}"
#define COL_RED "{F81414}"
#define COL_GREEN "{00FF22}"
#define COL_LIGHTBLUE "{00CED1}"
#define COLOR_RED 0xAA3333AA
#define COLOR_LIGHTBLUE 0x00BFFFFF

pawn Code:
public OnPlayerConnect(playerid)
{
    if(fexist(UserPath(playerid)))
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
    }
    else
    {
    ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit");
    }
    return 1;
}

Make sure you have your includes correct.

pawn Code:
#include <YSI\y_ini>

Only an idiot cant fuck this up.

Kush 01/08/2011 06:11 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
Quote:

Originally Posted by Dan. (Post 1322241)
Huh, hello again Kush, I keep having problems with your REGISTER/LOGIN scripts, take a look at this:

pawn Code:
(242) : error 017: undefined symbol "UserPath"
(244) : error 017: undefined symbol "UserPath"
(245) : error 017: undefined symbol "DIALOG_LOGIN"
(245) : warning 215: expression has no effect
(245) : error 001: expected token: ";", but found "-string-"
(245) : warning 215: expression has no effect
(245) : error 001: expected token: "-string end-", but found "-identifier-"
(245) : fatal error 107: too many error messages on one line

And here are the lines:

pawn Code:
public OnPlayerConnect(playerid)
{
    if(fexist(UserPath(playerid))) // 242
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid); // 244
       ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit"); //245
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit");
    }
    return 1;
}

I guess the errors are because DIALOG_LOGIN and UserPath are not defined, but take a look at this:

pawn Code:
// Register system things
#define DIALOG_REGISTER 1
#define DIALOG_LOGIN 2
#define DIALOG_SUCCESS_1 3
#define DIALOG_SUCCESS_2 4

#define UserPath "/Users/%s.ini"

The #define UserPath was "PATH" before.. changed it but still the same thing, so maybe you could help. And dont offer me your pastebin version, not going to copy my whole script into there, so some help, please.

The main idea for this tutorial was to explain the uses of each method used, including the different callbacks, functions, and responses. This is the same tutorial as my SII, only it's done in Y_INI and a few things has been changed. Either download the .pwn and see how everything is placed, or actually READ what I have written.

jot16 02/08/2011 05:01 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
I got this error.
Quote:

C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(4) : fatal error 100: cannot read from file: "YSI\y_ini"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
here are my includes.

http://i.imgur.com/7z3mE.jpg
http://i.imgur.com/sEffX.jpg

Shockey HD 02/08/2011 05:21 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
Quote:

Originally Posted by jot16 (Post 1323567)
I got this error.


here are my includes.

http://i.imgur.com/7z3mE.jpg
http://i.imgur.com/sEffX.jpg

Make sure you open the .pwn file from the correct Compiler. So instead of double clicking .pwn go to Pawno.exe then open the .pwn

jot16 02/08/2011 05:23 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
I don't want to open but fix my error.i just showed the pic's to show my includes.

Shockey HD 02/08/2011 05:28 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
Quote:

Originally Posted by jot16 (Post 1323580)
I don't want to open but fix my error.i just showed the pic's to show my includes.

Did i just tell you a way to fix it?

Make sure you open the .pwn file from the correct Compiler. So instead of double clicking .pwn go to Pawno.exe then open the .pwn

jot16 02/08/2011 05:30 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
i want u to fix my warnings.plz

Shockey HD 02/08/2011 05:32 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
Quote:

Originally Posted by jot16 (Post 1323585)
i want u to fix my warnings.plz

The warning is?!

jot16 02/08/2011 05:33 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
i showed in my first post.lol

Shockey HD 02/08/2011 05:34 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
Quote:

Originally Posted by jot16 (Post 1323589)
i showed in my first post.lol

You know theres a difference from a Error and a Warning right?

fatal error 100: cannot read from file: "YSI\y_ini"

is exactly what it looks like.

It cannot read from the file YSI\y_INI

Reason of causing-

File doesn't exist, or your compiling it from the wrong Folder.

For an example lets say you have 2 Gamemodes on your Computer, The compiler could open from a different compiler that dosnt have YSI

jot16 02/08/2011 05:36 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
yes.bro don't make this complicated just tell me how to fix it.

Shockey HD 02/08/2011 05:37 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
Quote:

Originally Posted by jot16 (Post 1323591)
yes.bro don't make this complicated just tell me how to fix it.

Latest post edited

jot16 02/08/2011 05:40 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
im not compiling from wrong folder.
just tell me step by step how to fix it.and not what's causing it.

Kush 02/08/2011 06:06 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
Full Working Copy with all includes and needed files.

http://www.sendspace.com/file/5sv2hj

Shockey HD 02/08/2011 06:09 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
Quote:

Originally Posted by Kush (Post 1323612)
Full Working Copy with all includes and needed files.

http://www.sendspace.com/file/5sv2hj

I fixed it for him over team viewer, he installed it wrong

jot16 02/08/2011 01:16 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
bro the the files don't get stored and I have to register everytime i go on.after click on registering some message appears can't read it cuz it disappears in 2 secs

Scenario 02/08/2011 02:12 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
Let me show you something: http://forum.sa-mp.com/showthread.php?t=65567

If that thread doesn't make sense to you then stop writing "tutorials" because you clearly don't understand how to do so. You might as well create a working game-mode/filter-script and release it rather than write a tutorial about using y_ini and dialogs.

A tutorial explains WHY you do things and WHEN you do them as well as WHY you do them WHEN you do them.

Kush 02/08/2011 04:35 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
Quote:

Originally Posted by RealCop228 (Post 1324186)
Let me show you something: http://forum.sa-mp.com/showthread.php?t=65567

If that thread doesn't make sense to you then stop writing "tutorials" because you clearly don't understand how to do so. You might as well create a working game-mode/filter-script and release it rather than write a tutorial about using y_ini and dialogs.

A tutorial explains WHY you do things and WHEN you do them as well as WHY you do them WHEN you do them.

Then why don't you write up on something on Y_INI. I can actually care less about what you actually thought about this thread cause it's actually helping a couple of people. Don't you think I've attempted to explain the functions as clearly as possible? They're not the best definition as one can give but I've attempted. Don't you think people actually like seeing something new instead of the same ol' Dini all the time? People like you, as long as you've been on the forums needs to simply calm down, you may think your a 'High Roller' but your in denial of actually being horrible. Maybe you should taken a dose of your own advice > http://forum.sa-mp.com/showthread.php?t=200697. I can shit over all your threads and topics but reality is, I'm not as but hurt as you were when you posted your tutorial.

Shockey HD 02/08/2011 05:05 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
Quote:

Originally Posted by jot16 (Post 1324107)
bro the the files don't get stored and I have to register everytime i go on.after click on registering some message appears can't read it cuz it disappears in 2 secs

Okay, chat me and ill help you out again D:

™BilaBonG™ 02/08/2011 06:08 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
ok , this System Not good !.

Kush 02/08/2011 06:13 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
What's not good? The fact your not understanding? Or the fact your attempting to change everything and call it yours?

Shockey HD 02/08/2011 07:13 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
Quote:

Originally Posted by ™BilaBonG™ (Post 1324614)
ok , this System Not good !.

This code is very good. Learn how to use it.

Scenario 02/08/2011 09:14 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
Quote:

Originally Posted by Kush (Post 1324447)
Then why don't you write up on something on Y_INI.

I don't feel like wasting my time doing so- especially since ****** himself wrote up a tutorial on using y_ini!

Quote:

Originally Posted by Kush (Post 1324447)
I can actually care less about what you actually thought about this thread cause it's actually helping a couple of people.

It isn't helping them at all. Someone uses a tutorial to LEARN HOW TO DO SOMETHING. Where as this tutorial just gives them something and tells them where to place it all.

Quote:

Originally Posted by Kush (Post 1324447)
Don't you think I've attempted to explain the functions as clearly as possible? They're not the best definition as one can give but I've attempted.

Uh... no.

Quote:

Originally Posted by Kush (Post 1324447)
Don't you think people actually like seeing something new instead of the same ol' Dini all the time?

Actually, a lot of people have been migrating to the more efficient systems. People use Dini because hardly anyone can create GOOD tutorials on using other systems.

Quote:

Originally Posted by Kush (Post 1324447)
People like you, as long as you've been on the forums needs to simply calm down, you may think your a 'High Roller' but your in denial of actually being horrible.

Just because my "rank" is set to "High Roller" it doesn't mean anything about me. Actually, it means I have posted over 1,000 times. That rank is nothing special in all honesty. Any of the other "High Rollers" with any sense (Calg00ne, iLinx, etc) would tell you the same thing.

Quote:

Originally Posted by Kush (Post 1324447)
Maybe you should taken a dose of your own advice > http://forum.sa-mp.com/showthread.php?t=200697.

You must not of read the thread.

Quote:

Originally Posted by Kush (Post 1324447)
I can shit over all your threads and topics but reality is, I'm not as but hurt as you were when you posted your tutorial.

Go ahead. By the way, there is nothing wrong with my tutorial.


All times are GMT. The time now is 10:46 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.