SA-MP Forums Archive
[Tutorial] Login and Register System - Dialogs - Using Y_INI - 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: Tutorials (https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] Login and Register System - Dialogs - Using Y_INI (/showthread.php?tid=273088)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14


Re: Login and Register System - Dialogs - Using Y_INI - jstowe96 - 27.07.2013

Quote:
Originally Posted by Hargrave
Посмотреть сообщение
Why doesn't it give $5000 money ingame when you are making an account? I had to add GivePlayerMoney, but it would be better if that could give money instead. How?
Im having the same problem but not with just money all my stats. It doesnt set my level it only saves the password apparantly.


Re: Login and Register System - Dialogs - Using Y_INI - ThaCrypte - 01.08.2013

after registring, it says: SUCCES, but then i have to relog in order to login, how to fix that?


Re: Login and Register System - Dialogs - Using Y_INI - Ryan_Bowe - 01.08.2013

....


Re: Login and Register System - Dialogs - Using Y_INI - Tuntun - 01.08.2013

Why i getting this errors:
Код:
D:\Trucking\gamemodes\Beta.pwn(11) : error 017: undefined symbol "pInfo"
D:\Trucking\gamemodes\Beta.pwn(11) : error 009: invalid array size (negative, zero or out of bounds)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.



Re: Login and Register System - Dialogs - Using Y_INI - EmpireSk - 02.08.2013

Why if my INI_WriteInt mode (File, "Cash", 600), and add the server Registered players and the servers have $ 0


Re: Login and Register System - Dialogs - Using Y_INI - CH | FuDo - 02.08.2013

Quote:
Originally Posted by Tuntun
Посмотреть сообщение
Why i getting this errors:
Код:
D:\Trucking\gamemodes\Beta.pwn(11) : error 017: undefined symbol "pInfo"
D:\Trucking\gamemodes\Beta.pwn(11) : error 009: invalid array size (negative, zero or out of bounds)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
If you give us a line, we could easly help you. Check first this line:
Код:
new PlayerInfo[MAX_PLAYERS][pInfo];



Re: Login and Register System - Dialogs - Using Y_INI - Tuntun - 02.08.2013

Perfect! thanks for this tutorial.


Re: Login and Register System - Dialogs - Using Y_INI - RedJohn - 04.08.2013

Kush, when you join for the first time, do not type any password, just press quit. You got your *.ini file created even if you pressed quit. Basically, next time you will have your account without password.

Think about it.


Re: Login and Register System - Dialogs - Using Y_INI - bustern - 31.08.2013

Can you give the script to me(PM me)Please ?


Re: Login and Register System - Dialogs - Using Y_INI - DanishHaq - 31.08.2013

Just download it again, open up the script from the pawno application inside the Login and Registration System server directory and then compile it, it's not Rocket Science and me giving you the script won't help because it's exactly the same.


Re: Login and Register System - Dialogs - Using Y_INI - bustern - 31.08.2013

Can someone make it to doesnt need to relog when register to play ?


Re: Login and Register System - Dialogs - Using Y_INI - bustern - 04.09.2013

All works fine, but this system makes random admins


Re: Login and Register System - Dialogs - Using Y_INI - qazwsx - 21.09.2013

Kush, Very Great Tutorial. Ima learn from this tutorial

But got a question, what folder should i make on scriptfiles folder?


Re: Login and Register System - Dialogs - Using Y_INI - DanishHaq - 21.09.2013

Quote:
Originally Posted by qazwsx
View Post
Kush, Very Great Tutorial. Ima learn from this tutorial

But got a question, what folder should i make on scriptfiles folder?
If you defined your PATH as /Users/%s.ini, then you need to make a folder called "Users". Basically the folder of the path with the same capital letters and same characters.


Re: Login and Register System - Dialogs - Using Y_INI - rogueshinobi - 25.09.2013

[16:27:46] *** YSI Error: INI_Open could not find or create file
login dialog doesnot appear for already registered acc.


Re: Login and Register System - Dialogs - Using Y_INI - rogueshinobi - 03.10.2013

Y-less are you the best scriptor


Re: Login and Register System - Dialogs - Using Y_INI - DanishHaq - 04.10.2013

Quote:
Originally Posted by rogueshinobi
View Post
[16:27:46] *** YSI Error: INI_Open could not find or create file
login dialog doesnot appear for already registered acc.
Make sure you've created the folder, and the PATH is the exact correct folder syntax including the characterization and the capital letters.

Quote:
Originally Posted by rogueshinobi
View Post
Y-less are you the best scriptor
And don't make useless posts.


Re: Login and Register System - Dialogs - Using Y_INI - AnonScripter - 14.10.2013

2 problems:
1. it's not necessary but why the player's password look like digits in the user file [Password = 104268307]

2. when an unregistered player join the server and click on "Quit" instead of entering a password and click on "Register", the server will kick him and the account will be save in users file even he didn't press on "Register"
So the problem is when he join the server another time, the server will ask him to login using a password. and he didn't enter a password on last time, he did "Quit" ..


Re: Login and Register System - Dialogs - Using Y_INI - DownDuckling - 21.11.2013

How would I go about and make some admin commands? (Barely learning scripting :P) Thanks


Re: Login and Register System - Dialogs - Using Y_INI - Audi_Quattrix - 22.11.2013

You have lose identitation on line 306 remove the tab so its all in line to fix it