SA-MP Forums Archive
What does the letter and shutdown the server? - 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)
+--- Thread: What does the letter and shutdown the server? (/showthread.php?tid=526279)



What does the letter and shutdown the server? - AfikAtashga - 16.07.2014

Hey, when someone registered to my server, He put an password that shutdown the server.
Which letters are can do it (except %, i know about it).

Thanks.


Re : What does the letter and shutdown the server? - Varkoll - 16.07.2014

It's because you didn't put the right folder (the registration folder) in your scriptifles's folder.
With LARP based servers, it's usually a folder named "users".


Re: Re : What does the letter and shutdown the server? - AfikAtashga - 16.07.2014

Quote:
Originally Posted by Varkoll
Посмотреть сообщение
It's because you didn't put the right folder (the registration folder) in your scriptifles's folder.
With LARP based servers, it's usually a folder named "users".
My dear, i have 3,600 users that registers, Don't tell me i didn't open a folder.

Quote:
Originally Posted by ******
Посмотреть сообщение
Did you try (badly) to write your own user system, or did you download and use a proper one?
My self.

I'm not an idiot my friends, That's inside my server with my own gamemode, And the server is On Air already 6 months.


I just need the letters that when player register they may take off the server. like percent.


Re: What does the letter and shutdown the server? - AfikAtashga - 17.07.2014

Quote:
Originally Posted by ******
Посмотреть сообщение
Download a decent one - don't try writing your own.
Give a download? i don't know about what you talking..


Re: What does the letter and shutdown the server? - biker122 - 17.07.2014

Just restrict them from using "%" maybe?


Re: What does the letter and shutdown the server? - AfikAtashga - 17.07.2014

Quote:
Originally Posted by biker122
Посмотреть сообщение
Just restrict them from using "%" maybe?
I did it. I Replace any % letter to #. but still, some-how they keep doing that.
I think there's other letter, i think.


Re: What does the letter and shutdown the server? - biker122 - 17.07.2014

Don't replace, Just send the error to the user that invalid characters are not allowed.
If this doesn't help you yet, you have something wrong in your code..


Re: What does the letter and shutdown the server? - AfikAtashga - 17.07.2014

Quote:
Originally Posted by biker122
Посмотреть сообщение
Don't replace, Just send the error to the user that invalid characters are not allowed.
If this doesn't help you yet, you have something wrong in your code..
It is not my question.
There's an other letter that doesn't exists in SA-MP has percent(%)?


Re: What does the letter and shutdown the server? - SKAzini - 18.07.2014

You should look into password hashing and escape your SQL query (if you use MySQL/SQLite) to solve your problem.


Re: What does the letter and shutdown the server? - Hanger - 18.07.2014

Restrict length and complexity of passwords. And everything else ^