What does this do?
Simply put all this does is the following: catching player's data in a file called Database in scriptfiles under their name, records player ip, hardware id, name, changing hardware id , changing ip and the player's client version. Afterwards, it saves them in a file, also saves the player's LAST connected time through OnPlayerDisconnect, ALSO it gives u the ability to detect multiaccounters explained by the following:
When you try catching a value through a name using dini you save it under like Password: 1234,
what was used here is the reversed mode, saving the player's ip,hardware id then putting his name next to it and constantly checking if that ip /hardware id exists before and adding names/new hardware ids/ips if they didn't exist before, all of this can be viewed THROUGH THE GAME by doing a /getpstats [playername] command.
PLEASE NOTE THAT: player's who haven't connected after u implement this in your script won't get recorded, the system works onplayerconnect.
HOW TO USE:
YOU MUST create 4 files ,A FOLDER CALLED MultiAccountersBase (IN SCRIPTFILES) AND PUT IN THAT TWO .TXT FORMAT FILES, FIRST: haka.txt AND SECOND: aka.txt AND CREATE A FOLDER NAMED Database(IN SCRIPTFILES)
And as stated above, simply login, login as rcon because thats the admin system used in my script, u can change that, do /getpstats [playername] and you'll get a dialog containing his stats, note that onplayerconnect first time the changing hardware id/changing ip will equal the constant ones and always will until the player changes either and connects ( makes sense? ).
WARNING: the hardware id matching detection function is not very accurate as it can match up too many users who aren't related, but it's there just for doubts, the IP one is WAY more recommended to be used as a constant multi-account detector.
SOURCE THROUGH PASTEBIN:
https://pastebin.com/jSG4m5L0
=======================
Anyone is free to edit this as they want there's also no need for credits as i don't really care about that either, if you find any bugs which i doubt you'd cuz i already tested it, kindly report them in the comments and i'll reply with a fix, thanks and hope you enjoy it explained and widened on the pastebin
PIC:
Not attaching files to avoid constant upload/reupload. if i ever update this it's gonna exist on the pastebin link.
(of course i hid my values but on yours will give you your wanted values.)