Getting user computer ID -
MTCool - 25.03.2013
Hey guys
I noticed that LS-RP has a secret word system that basiclly if you register you put a secret word with a password
and it never asks you to put the secret word until your from another computer
so basiclly I think it works on computer ID
but how can you get computer ID in samp?
Re: Getting user computer ID -
kamzaf - 25.03.2013
no it doesnt work on computer id, its most likely an IP address that the script checks to see if its the same or different, if its different IP (possibly meaning different computer) then it will ask you for the secret word, if not it will continue.
Re: Getting user computer ID -
MTCool - 25.03.2013
Quote:
Originally Posted by kamzaf
no it doesnt work on computer id, its most likely an IP address that the script checks to see if its the same or different, if its different IP (possibly meaning different computer) then it will ask you for the secret word, if not it will continue.
|
But the thing is the other computer i went through was my moms and it is connected to same network which means the same ip
Re: Getting user computer ID -
[ABK]Antonio - 25.03.2013
There's a function that get's something similar....It's really inaccurate though, can't remember what it's called
Re: Getting user computer ID -
Bakr - 25.03.2013
pawn Код:
native gpci(playerid, serial[], len);
Re: Getting user computer ID -
[ABK]Antonio - 25.03.2013
Quote:
Originally Posted by Bakr
|
Oh right, that function. That's what is, don't bother with it...It won't help you very much
Re: Getting user computer ID - Joao Pedro - 25.03.2013
That is a forbidden function, isn't it?
Re: Getting user computer ID -
Dubya - 25.03.2013
Quote:
Originally Posted by [ABK]Antonio
Oh right, that function. That's what is, don't bother with it...It won't help you very much
|
Actually, it will help you very much. If you are trying to ban someone who is using a proxy, they can continuously come back, over and over, as there IP will be changed, where as if you ban them by there GPCI (computer serial) that computer is banned from the server, and your GPCI cannot be changed, not ever. (Unless you buy a new computer.)
Re: Getting user computer ID -
[ABK]Antonio - 25.03.2013
Quote:
Originally Posted by Dubya
Actually, it will help you very much. If you are trying to ban someone who is using a proxy, they can continuously come back, over and over, as there IP will be changed, where as if you ban them by there GPCI (computer serial) that computer is banned from the server, and your GPCI cannot be changed, not ever. (Unless you buy a new computer.)
|
That's not even what it is.
Quote:
Originally Posted by RealCop228
While the gpci function is helpful in some instances, you really shouldn't bother using it. Some people chose to make it a banning method, but honestly, people can simply reinstall SA:MP to get around being "found."
You'd be better off just logging IP addresses and using those for this type of system, rather than the unstable gpci function.
(sorry if that made no sense, I'm tired as hell right now)
|
You can also catch people in it who did nothing
Re: Getting user computer ID -
Dubya - 25.03.2013
Quote:
Originally Posted by [ABK]Antonio
That's not even what it is.
|
Actually, yes that is what is is. Your GPCI is your computer serial code that no other computer has. Which would make even a more accurate ban than a range ban.