Better ban system? - 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: Better ban system? (
/showthread.php?tid=593854)
Better ban system? -
nGen.SoNNy - 10.11.2015
Hello fellows...i want to ask if it's there a better way of building a ban system. Now i see lots of shits who use ban evade programs in other "hacks" and they are getting very annoying. So post here any idea...
Re: Better ban system? -
park4bmx - 10.11.2015
ban system ?
you can block a play by IP really, if samp provided some computer details to identify the machine would be nice so even if they log in with different IP you would catch them, but many people have DNS internet, IP can change on every restart of the router.
Re: Better ban system? -
Lawbringer - 11.11.2015
Quote:
Originally Posted by park4bmx
ban system ?
you can block a play by IP really, if samp provided some computer details to identify the machine would be nice so even if they log in with different IP you would catch them, but many people have DNS internet, IP can change on every restart of the router.
|
gpci()
Re : Re: Better ban system? -
Dutheil - 11.11.2015
Quote:
Originally Posted by Lawbringer
gpci()
|
No the GPCI isn't a good anti-ban-evade.
Re: Better ban system? -
nGen.SoNNy - 12.11.2015
it's not unique!
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.
Re: Better ban system? -
nGen.SoNNy - 23.11.2015
Any other ideas?
Re: Better ban system? -
itsCody - 23.11.2015
Could just range ban the IP?
Re: Better ban system? -
PrO.GameR - 23.11.2015
Afaik there is absolutely no unique data that you can harvest directly
however a combination of ip, name, gpci and other info should be rare enough to make a great ban algorithm, unfortunately if the code is directly copy pasted from sa-mp forums it would obviously wouldn't be secure and would be much much worse than any ban system you would make yourself, so I suggest you figure an algorithm using all the semi-unique data you can gather from each player.
Re: Better ban system? -
Gammix - 23.11.2015
Fully scripted ban system.
Based on CIDR Ip system (
https://en.wikipedia.org/wiki/Classl...Domain_Routing). You can script range ban, temp ban using database (SQL) and so on.
I have done a similar job in GAdmin (fully scripted ban system):
https://sampforum.blast.hk/showthread.php?tid=585036
Re: Better ban system? -
AbyssMorgan - 23.11.2015
IP:GPCI - unique