SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 06/06/2019, 08:08 PM   #1
SiaReyes
Big Clucker
 
SiaReyes's Avatar
 
Join Date: Mar 2019
Location: Coordinates X,Y,Z
Posts: 159
Reputation: 15
Default Account System by SiaReyes [Bcrypt|Mysql r41-4|Admin System| Ban System]

SiaReyes's Account System


Hello I'm SiaReyes,
I made this filterscript months back and it was just sleeping in my scripting folder. I decided to release it now.


Additional Information:

Admin system: There are 3 admin levels and many admin commands includes spectating.
Ban system: Works with serial now!
Bcrypt is used to hash passwords.

About Bcrypt Plugin:
Bcrypt is slow, which makes offline bruteforce attacks very hard (depends on the work factor).
It maybe slow in processing mySQL queries while register and login!

Plugins and Includes Required:
sscanf2 - v2.8.2
a_mysql - version 41-4
bcrypt hashing plugin - latest
zcmd - latest
foreach - latest


Images:
Click Here

Download Link: ->>
Click Here

Latest Update:
Added serial in ban system. Now serial will be checked along with name in ServerBans table!
Added Anti-VPN Detection for ban evaders.

Note:
No more new version will be released, I left scripting!
You are free to re-script.

Updated latest fixes!
__________________
Piwzeeees

Last edited by SiaReyes; 09/06/2019 at 05:19 AM.
SiaReyes is offline   Reply With Quote
Old 06/06/2019, 08:46 PM   #2
hbourne
Little Clucker
 
Join Date: Jul 2012
Location: Bangkok, Thailand
Posts: 18
Reputation: 0
Default Re: Account System by SiaReyes [bcrypt, Mysql r41-4]

I got some errors :

error 075: input line too long (after substitutions)
error 037: invalid string (possibly non-terminated string)
error 017: undefined symbol "CREATE"
error 017: undefined symbol "TABLE"

`kills` int(6) unsigned NOT NULL DEFAULT 0 COMMENT 'Player Kills',\
`deaths` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'Player Deaths',\

between this 2 lines
hbourne is offline   Reply With Quote
Old 08/06/2019, 06:54 AM   #3
SiaReyes
Big Clucker
 
SiaReyes's Avatar
 
Join Date: Mar 2019
Location: Coordinates X,Y,Z
Posts: 159
Reputation: 15
Default Re: Account System by SiaReyes [bcrypt, Mysql r41-4]

Quote:
Originally Posted by hbourne View Post
I got some errors :

error 075: input line too long (after substitutions)
error 037: invalid string (possibly non-terminated string)
error 017: undefined symbol "CREATE"
error 017: undefined symbol "TABLE"

`kills` int(6) unsigned NOT NULL DEFAULT 0 COMMENT 'Player Kills',\
`deaths` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'Player Deaths',\

between this 2 lines

Edited! You can add them manually by query. Check out the script!
__________________
Piwzeeees

Last edited by SiaReyes; 08/06/2019 at 07:05 PM.
SiaReyes is offline   Reply With Quote
Old 08/06/2019, 09:49 AM   #4
coool
Gangsta
 
coool's Avatar
 
Join Date: Feb 2013
Location: Republic of Pakistan
Posts: 577
Reputation: 53
Default Re: Account System by SiaReyes [bcrypt, Mysql r41-4]

Have you tested it?

PHP Code:
public OnPlayerCommandText(playeridcmdtext[])
{
  if(
Jailed[playerid] > 0) return SendClientMessage(playeridCOLOR_RED"Server: You aren't allowed to chat while you are in jail");
  return 
1;

It should be public OnPlayerText, and return 0;

And you shall not be using UsePlayerPedAnims();
__________________
coool is offline   Reply With Quote
Old 08/06/2019, 10:31 AM   #5
SiaReyes
Big Clucker
 
SiaReyes's Avatar
 
Join Date: Mar 2019
Location: Coordinates X,Y,Z
Posts: 159
Reputation: 15
Default Re: Account System by SiaReyes [bcrypt, Mysql r41-4]

Quote:
Originally Posted by coool View Post
Have you tested it?

PHP Code:
public OnPlayerCommandText(playeridcmdtext[])
{
  if(
Jailed[playerid] > 0) return SendClientMessage(playeridCOLOR_RED"Server: You aren't allowed to chat while you are in jail");
  return 
1;


It should be public OnPlayerText, and return 0;

And you shall not be using UsePlayerPedAnims();
Actually I made that because if player is jailed. then he cannot teleport or can not use any command that gives him advantage to escape from the jail! (basically for Stunt servers and the SCM is wrong. corrected it)

I forgot to remove UsePlayerPedAnims();.

Updated!

Thanks for your compliments!
__________________
Piwzeeees
SiaReyes is offline   Reply With Quote
Old 08/06/2019, 05:04 PM   #6
coool
Gangsta
 
coool's Avatar
 
Join Date: Feb 2013
Location: Republic of Pakistan
Posts: 577
Reputation: 53
Default Re: Account System by SiaReyes [bcrypt, Mysql r41-4]

Quote:
Originally Posted by SiaReyes View Post
Actually I made that because if player is jailed. then he cannot teleport or can not use any command that gives him advantage to escape from the jail! (basically for Stunt servers and the SCM is wrong. corrected it)

I forgot to remove UsePlayerPedAnims();.

Updated!

Thanks for your compliments!
Have you tested it? I don't think OnPlayerCommandText works with zcmd. Plus return 0;
__________________
coool is offline   Reply With Quote
Old 08/06/2019, 05:33 PM   #7
RANGER44
Big Clucker
 
Join Date: Oct 2016
Location: India 🇮🇳
Posts: 115
Reputation: 33
Default Re: Account System by SiaReyes [bcrypt, Mysql r41-4]

Quote:
Originally Posted by SonnyGamer View Post
Quote:
Originally Posted by SiaReyes View Post
firstly, It was scripted before few months. This is just a basic admin and VIP system.

Secondly, xTreme Stunt Universe is yours and your server is up before few days in SA-MP as Test server. Don't forget it!
We are not afraid of any server becoming popular nor I don't care, it's your server and your script.
I still have my chat logs that you insulted your server players by misunderstood, in my beta server(which was for fun made)!
If i post that in my signature, everyone will come to know your true face. (Already my signature speaks everything)

Ban Evade? Actually, this isn't my account! This is my friend's account he said to release my scripts here. That's why i released in this account! Nothing anythng like ban evade, I left sa-mp many days ago!
If you are going to report this account that's useles, this is my friend named Losia.. I have proof of giving his account to him, if you want i will post here!

Ranger44, and many people is also using this signature, ask them and they are my eye witness for your server and your discord insults!

If you want, i will call them here and post those messages of your insults here!



Now you are lying again and Ranger44 and Marv will lie either.
So how everything was really:

After attacks on my "Test server"

I went in your "Beta Server" to talk with you, but your friends Ranger44 and Marv started abusing, and Since Marv was Admin and he did not take administrative actions against Ranger44, he did not give me other choice rather than insult to defend myself. Paste those logs here. Go ahead!
Code:
JaKe Elite	:
Re: Account System by SiaReyes [bcrypt, Mysql r41-4]
Going off topic for a bit, This issue should have been handled privately but since they brought it out in the public by spreading hate and some random conversations in their forum signatures, I have the right to say things about them through here. I won't be discussing this issue any further the next time these guys responded to this post, this should have been handled privately.

Quote:
Originally Posted by SiaReyes  View Post
firstly, It was scripted before few months. This is just a basic admin and VIP system. 

Secondly, xTreme Stunt Universe is yours and your server is up before few days in SA-MP as Test server. Don't forget it!
We are not afraid of any server becoming popular nor I don't care, it's your server and your script. 
I still have my chat logs that you insulted your server players by misunderstood, in my beta server(which was for fun made)!
If i post that in my signature, everyone will come to know your true face. (Already my signature speaks everything)

Ban Evade? Actually, this isn't my account! This is my friend's account he said to release my scripts here. That's why i released in this account! Nothing anythng like ban evade, I left sa-mp many days ago!
If you are going to report this account that's useless, this is my friend's account by named Losia.. I have proof of giving his account to me, if you want i will post here!

Ranger44, and many people is also using this signature, ask them and they are my eye witness for your server and your discord insults!

If you want, i will call them here and post those messages of your insults here!

Quote:
PS: Nice lies about server which is not started yet. Afraid that it will become popular?
Code:
Please, here is the proof for your serve is up right now

Anyhow, Thanks for your complements!
Sharing a forum account as far as I know is forbidden, and second we didn't insult your "players" I am not even trying to insult them to begin with. They misunderstood and took it to their heads taking it personal lol. 

We have our server opened for Beta Testing but that doesn't mean it's officially up, we are slowly starting from grounds-up. 

Spreading hate by putting a random screenshot of our Discord Convo in SAMP Forum won't make any changes in the situation, you are just making it worst. This should've been brought and discuss privately.

Quote:
Originally Posted by SiaReyes  View Post
We do not attack anyone nor any server, You are the one who said Ranger44's server will be get ripped! 
That was a fun made server and anyone can play in it as admin or normal players. I said the rcon pass to them once. 
They can set them as admin. Anyhow, I don't care about that, it was started for fun and then it was closed by the host yesterday itself!
Finally, Me or Ranger44 or anyone who left your server didn't attack your server, it could be you server bugs or normal crash, check that!

Btw, Can your explain us why you said "i have your password, email" to your server past members?
The server log clearly shows the server being spammed with bots with similar names and random numbers, tell me how is that a server bug or server crash related?

We didn't say anything about your server getting ripped.

Y'all clearly took the bait on "I have your password, email etc" he was just joking, yet your "players" took it out as a real major threat.

Quote:
Originally Posted by SiaReyes  View Post
That's your discord channel and your account, you said it by yourself. Don't lie to people!
Say sorry for insulting Marv and Ranger44, then I will leave remove! Even Jake_Elite should for insulting Marv's mom as Jake is your server developer!
That was clearly a joke and shouldn't be taken seriously, I wouldn't apologize as they started it escalating real quick by saying some random words using their own language (I have no clue if they are swearing or insulting)





Going on topic, The script needs some improvements as there are tons of colors that nearly almost all of them aren't used, and there are way more better techniques that can be use to optimize the whole script otherwise good job. No hate.
.


By the way, this Filterscript is good for beginners since it's base script, you deserve a cookie.
RANGER44 is offline   Reply With Quote
Old 08/06/2019, 05:33 PM   #8
SiaReyes
Big Clucker
 
SiaReyes's Avatar
 
Join Date: Mar 2019
Location: Coordinates X,Y,Z
Posts: 159
Reputation: 15
Default Re: Account System by SiaReyes [bcrypt, Mysql r41-4]

Quote:
Originally Posted by coool View Post
Have you tested it? I don't think OnPlayerCommandText works with zcmd. Plus return 0;
Yeah, moved to OnPlayerCommandReceived and works fine!
Btw, I like your avatar man!


Quote:
Originally Posted by RANGER44 View Post
[/IMG]

BtW this Filterscript is good for beginners since it's base script, you deserve a cookie.
Thanks you!
__________________
Piwzeeees
SiaReyes is offline   Reply With Quote
Old 08/06/2019, 11:39 AM   #9
SonnyGamer
Huge Clucker
 
SonnyGamer's Avatar
 
Join Date: Jun 2017
Posts: 312
Reputation: 81
Default Re: Account System by SiaReyes [bcrypt, Mysql r41-4]

Non-properly scripted Admin system. You did not spent much time scripting it.


PS: Nice lies about server which is not started yet. Afraid that it will become popular?
Why did you ban evade btw?:
https://forum.sa-mp.com/member.php?u=312825
SonnyGamer is offline   Reply With Quote
Old 08/06/2019, 12:14 PM   #10
SiaReyes
Big Clucker
 
SiaReyes's Avatar
 
Join Date: Mar 2019
Location: Coordinates X,Y,Z
Posts: 159
Reputation: 15
Default Re: Account System by SiaReyes [bcrypt, Mysql r41-4]

Quote:
Originally Posted by SonnyGamer View Post
Non-properly scripted Admin system. You did not spent much time scripting it.


PS: Nice lies about server which is not started yet. Afraid that it will become popular?
Why did you ban evade btw?:
https://forum.sa-mp.com/member.php?u=312825


firstly, It was scripted before few months. This is just a basic admin and VIP system.

Secondly, xTreme Stunt Universe is yours and your server is up before few days in SA-MP as Test server. Don't forget it!
We are not afraid of any server becoming popular nor I don't care, it's your server and your script.
I still have my chat logs that you insulted your server players by misunderstood, in my beta server(which was for fun made)!
If i post that in my signature, everyone will come to know your true face. (Already my signature speaks everything)

Ban Evade? Actually, this isn't my account! This is my friend's account he said to release my scripts here. That's why i released in this account! Nothing anythng like ban evade, I left sa-mp many days ago!
If you are going to report this account that's useless, this is my friend's account by named Losia.. I have proof of giving his account to me, if you want i will post here!

Ranger44, and many people is also using this signature, ask them and they are my eye witness for your server and your discord insults!

If you want, i will call them here and post those messages of your insults here!

[quote]PS: Nice lies about server which is not started yet. Afraid that it will become popular? [/qoute]

Please, here is the proof for your serve is up right now

Anyhow, Thanks for your complements!
__________________
Piwzeeees
SiaReyes 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] Account system with MySQL [R34][ORM] BullseyeHawk Tutorials 8 08/11/2015 03:25 PM
[HELP] Mysql account system. bgedition Scripting Help 2 13/01/2015 07:45 PM
[Tutorial] MySQL Account and Admin System Keyhead Tutorials 9 16/04/2014 02:39 PM
Register Account System (MySQL) Jeff_Hardy1 Everything and Nothing 7 17/07/2012 01:57 PM
[Tutorial] C-MySQL - Account System. Carlton Tutorials 16 10/09/2011 09:24 PM


All times are GMT. The time now is 12:23 AM.


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