Possible Unique ID - 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: Possible Unique ID (
/showthread.php?tid=403194)
Possible Unique ID -
BlackAtom - 29.12.2012
Hi! There is some kind of plugin that returns the Computer's Name? (like User, Andrew, BlackAtom, ecc... I hope you understood...)
Believe: get the player's serial with gpci(), then concatenate the output string with the Computer's Name.
Will come out some kind of unique ID
![Cheesy](images/smilies/biggrin.png)
So,
There is some kind of plugin that returns the Computer's Name?
Re: Possible Unique ID -
.Mento - 29.12.2012
I recommend to not use gpci, it's not working 100% accurate and may inflict with other peoples computer. I used to use it too for banning players and innocent people got banned too because gpci returned the same serial.
Re: Possible Unique ID -
BlackAtom - 29.12.2012
Quote:
Originally Posted by Kalcor
It is not an SHA1. The fact that you think it is makes me think you are connected to some cheater/bot websites, which is exactly why the function exists and why it's not (and will never be) documented.
Here is all anyone needs to know about gpci:
- It is a non-reversible (lossy) hash derived from information about your San Andreas installation path.
- It is not a unique ID.
- It was added to assist owners of large servers who deal with constant attacks from cheaters and botters.
- It has been in SA-MP for 2 years.
|
I know, but read good: "concatenate the output string with the computer's name". Isn't good?