SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Tutorials

Reply
 
Thread Tools Display Modes
Old 02/05/2011, 05:00 PM   #11
Rivera
Big Clucker
 
Join Date: Feb 2011
Posts: 143
Reputation: 7
Default Re: Login/Register System with dialog

'k Now

Quote:
Where do I create folder "Users"? I tried registering but no couldn't find a Users folder or a file with my name on it.
Go to your script folder, and create a new folder named 'Users' that's all

Quote:
You forgot to add this
pawn Code:
#pragma unused ret_memcpy
Not needed. It's just more professional 'cause without it you will get a warning...
__________________
My works

[Tutorial]Full usage of dcmd(updated)
[Tutorial]Login/Register System with dialogs


// Prefered Servers------------------------------

US-RP.INFO / Best Roleplay Server / 213.5.176.156:7777

^^__^^
Rivera is offline   Reply With Quote
Old 02/05/2011, 05:59 PM   #12
kirk
Huge Clucker
 
Join Date: Oct 2010
Posts: 221
Reputation: 75
Default Respuesta: Re: Login/Register System with dialog

Quote:
Originally Posted by Jmarr View Post
Where do I create folder "Users"? I tried registering but no couldn't find a Users folder or a file with my name on it.
Inside the scriptfile folder you create the folder called ''Users''
__________________
kirk is offline   Reply With Quote
Old 02/05/2011, 07:15 PM   #13
Rivera
Big Clucker
 
Join Date: Feb 2011
Posts: 143
Reputation: 7
Default Re: Login/Register System with dialog

Quote:
Inside the scriptfile folder you create the folder called ''Users''
You can create the folder anywhere.
__________________
My works

[Tutorial]Full usage of dcmd(updated)
[Tutorial]Login/Register System with dialogs


// Prefered Servers------------------------------

US-RP.INFO / Best Roleplay Server / 213.5.176.156:7777

^^__^^
Rivera is offline   Reply With Quote
Old 31/03/2012, 05:07 PM   #14
Manvydas
Little Clucker
 
Join Date: Mar 2012
Posts: 5
Reputation: 0
Default Re: Login/Register System with dialog

Very very thx tutorial 100procent working
Manvydas is offline   Reply With Quote
Old 31/03/2012, 06:22 PM   #15
mehdi-jumper
Big Clucker
 
mehdi-jumper's Avatar
 
Join Date: Sep 2011
Location: New-Zealand
Posts: 187
Reputation: 51
Default Re : Login/Register System with dialog

Good but with num_hash we can't see the password ^^
mehdi-jumper is offline   Reply With Quote
Old 12/04/2012, 07:15 PM   #16
Djumza
Big Clucker
 
Join Date: Apr 2012
Posts: 62
Reputation: 3
Default Re: Login/Register System with dialog

Hello...
This is my problem :
When i start server, dialog showup, but when i type my password and press REGISTER, there is no Classes, cant spawn and 5 sec. after that server loses connection.. :/
Djumza is offline   Reply With Quote
Old 13/04/2012, 04:40 PM   #17
Sasino97
Banned
 
Join Date: Dec 2010
Location: Soon Banned...
Posts: 1,396
Reputation: 127
Default Re: Login/Register System with dialog

Quote:
Originally Posted by kirk View Post
Doesnt matter it works like this too

Code:
Users/%s.ini
I do use it like that, just create the folder Users.
Quote:
Originally Posted by Jmarr View Post
Where do I create folder "Users"? I tried registering but no couldn't find a Users folder or a file with my name on it.
The standard file functions provided with sa-mp server can't create Folders, you have to create them manually.
Sasino97 is offline   Reply With Quote
Old 13/04/2012, 04:49 PM   #18
MarTaTa
Big Clucker
 
MarTaTa's Avatar
 
Join Date: Mar 2012
Location: Bulgaria
Posts: 86
Reputation: 19
Default Re: Login/Register System with dialog

Very nice but when I hit "Compile" It shows me some errors , which actually are the same but on diferent places so here is the error
Quote:
undefined symbol "AdminLevel"
P.S. I am using SAM[P]CE does it matter ?
MarTaTa is offline   Reply With Quote
Old 13/04/2012, 04:57 PM   #19
Sasino97
Banned
 
Join Date: Dec 2010
Location: Soon Banned...
Posts: 1,396
Reputation: 127
Default Re: Login/Register System with dialog

Quote:
Originally Posted by MarTaTa View Post
Very nice but when I hit "Compile" It shows me some errors , which actually are the same but on diferent places so here is the error


P.S. I am using SAM[P]CE does it matter ?

In your code there's no variable defined called AdminLevel

And no, it doesn't matter what IDE you are using, the compiler is the same, pawncc
Sasino97 is offline   Reply With Quote
Old 14/04/2012, 08:56 AM   #20
newbienoob
High-roller
 
newbienoob's Avatar
 
Join Date: Jan 2012
Location: Follow the moaning coming from your parents' bedroom
Posts: 1,534
Reputation: 265
Default Re: Login/Register System with dialog

It gave me an errors

Code:
C:\Users\abc123\Desktop\samp\gamemodes\loginreigster.pwn(103) : error 028: invalid subscript (not an array or too many subscripts): "pInfo"
C:\Users\abc123\Desktop\samp\gamemodes\loginreigster.pwn(103) : warning 215: expression has no effect
C:\Users\abc123\Desktop\samp\gamemodes\loginreigster.pwn(103) : error 001: expected token: ";", but found "]"
C:\Users\abc123\Desktop\samp\gamemodes\loginreigster.pwn(103) : error 029: invalid expression, assumed zero
C:\Users\abc123\Desktop\samp\gamemodes\loginreigster.pwn(103) : fatal error 107: too many error messages on one line

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


4 Errors.
Code:
dini_IntSet(file, "pw", pInfo[playerid][pw]);  //error line
EDIT: FIXED !
newbienoob is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] Dialog Register/Login System using DJson sekol Tutorials 15 28/04/2015 08:18 AM
Login/Register System with dialog Rivera Help Archive 3 27/04/2011 12:56 PM
[Help] Register/Login System with DIALOG BMGP Help Archive 5 14/12/2010 05:34 PM
How to make login/register system with DIALOG? juseong111 Help Archive 3 20/10/2009 01:20 PM


All times are GMT. The time now is 03:21 PM.


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