SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 29/05/2020, 06:46 PM   #1
Juvanii
Huge Clucker
 
Juvanii's Avatar
 
Join Date: Jun 2014
Location: San Andreas
Posts: 373
Reputation: 21
Default Ban System: Dealing with Dynamic IPs

Hello SA-MP

How do you deal with dynamic IPs that is provided by player's ISP ?

For example a player yesterday's IP address is 85.54.6.70 and today is 74.92.44.8

How to deal in ban system in this situation ?

Thank you
__________________
Juvanii is offline   Reply With Quote
Old 29/05/2020, 07:12 PM   #2
SharpenBlade
Huge Clucker
 
Join Date: May 2020
Posts: 202
Reputation: 25
Default Re: Ban System: Dealing with Dynamic IPs

You could ban player serial(gpci). There could be some glitches, like two players with the same gpci, but it could work for you.
https://wiki.sa-mp.com/wiki/Gpci
SharpenBlade is offline   Reply With Quote
Old 29/05/2020, 11:46 PM   #3
cuber
Gangsta
 
cuber's Avatar
 
Join Date: Oct 2016
Posts: 849
Reputation: 213
Default Re: Ban System: Dealing with Dynamic IPs

And why exactly did you think it was a good idea to share your players IP address?
__________________


A new Heavy Roleplay server.

Forums | Discord

cuber is offline   Reply With Quote
Old 31/07/2020, 08:50 AM   #4
Juvanii
Huge Clucker
 
Juvanii's Avatar
 
Join Date: Jun 2014
Location: San Andreas
Posts: 373
Reputation: 21
Default Re: Ban System: Dealing with Dynamic IPs

Bump, i need more replies on this and how to use this GPCI thing !

What if both players living in the same hood, does GPCI returns the same for them ?
__________________
Juvanii is offline   Reply With Quote
Old 31/07/2020, 05:21 PM   #5
rt-2
Huge Clucker
 
rt-2's Avatar
 
Join Date: Jun 2011
Location: Montréal, Québec, Canada
Posts: 342
Reputation: 43
Default Re: Ban System: Dealing with Dynamic IPs

Quote:
Originally Posted by Juvanii View Post
Bump, i need more replies on this and how to use this GPCI thing !

What if both players living in the same hood, does GPCI returns the same for them ?
The GPCI is a result of multiple factor, on the wiki it says "hash derived from information about your San Andreas installation path", but I think you also would need to have the same 'computer name' and maybe other stuff for it to be the same. Like explained on the wiki, you should not ban only from that usually, unless your dealing with a special case, otherwise some random people might be banned for no reason if you rely on it too much.
__________________
rt-2
-------------------------------------------------

Last edited by rt-2; 01/08/2020 at 02:56 PM. Reason: typo
rt-2 is offline   Reply With Quote
Old 03/08/2020, 01:44 PM   #6
Juvanii
Huge Clucker
 
Juvanii's Avatar
 
Join Date: Jun 2014
Location: San Andreas
Posts: 373
Reputation: 21
Default Re: Ban System: Dealing with Dynamic IPs

Quote:
Fetch the CI of a user, this is linked to their SAMP/GTA on their computer.
What CI stands for ? and how couldn't GPCI be unique ? what path does it exactly hash ?
Is it the path where GTA installed ? or the path where SA-MP folder lives ?

if it deals with where sa-mp folder lives, this would be unique unless two players have the same username in C:/Users

I'm a lil bit confused , any explaination would be appreciated
__________________
Juvanii is offline   Reply With Quote
Old 03/08/2020, 02:24 PM   #7
Proxus
Huge Clucker
 
Proxus's Avatar
 
Join Date: May 2018
Location: United Kingdom
Posts: 463
Reputation: 20
Default Re: Ban System: Dealing with Dynamic IPs

Quote:
Originally Posted by Juvanii View Post
What CI stands for ? and how couldn't GPCI be unique ? what path does it exactly hash ?
Is it the path where GTA installed ? or the path where SA-MP folder lives ?

if it deals with where sa-mp folder lives, this would be unique unless two players have the same username in C:/Users

I'm a lil bit confused , any explaination would be appreciated
GPCI won't always be unique because people may have the same copy of GTA (if they've shared it) or if they have a cracked version of GTA.
__________________
Developer @ Trucknation
"Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity"


IMPORTANT LINKS
An upcoming mix of trucking & light roleplay
Proxus is offline   Reply With Quote
Old 03/08/2020, 02:35 PM   #8
Juvanii
Huge Clucker
 
Juvanii's Avatar
 
Join Date: Jun 2014
Location: San Andreas
Posts: 373
Reputation: 21
Default Re: Ban System: Dealing with Dynamic IPs

Quote:
Originally Posted by Proxus View Post
GPCI won't always be unique because people may have the same copy of GTA (if they've shared it) or if they have a cracked version of GTA.
So it doesn't only hash the user path ?
C:\Users\username\Documents\GTA San Andreas User Files\SAMP

How can i deal with bans then ? range bans won't work, sometimes the ISP provides a completely different start of IP than the previous one.
__________________
Juvanii is offline   Reply With Quote
Old 03/08/2020, 03:11 PM   #9
Proxus
Huge Clucker
 
Proxus's Avatar
 
Join Date: May 2018
Location: United Kingdom
Posts: 463
Reputation: 20
Default Re: Ban System: Dealing with Dynamic IPs

Quote:
Originally Posted by Juvanii View Post
So it doesn't only hash the user path ?
C:\Users\username\Documents\GTA San Andreas User Files\SAMP

How can i deal with bans then ? range bans won't work, sometimes the ISP provides a completely different start of IP than the previous one.
Ban evading will always be an issue because of IP changes (incl. VPNs). The way we manage it is through human intervention. Admins can view the GPCI of the player and see if it was likely they evaded or not. If you have a way of searching for bans as well, you can log their IP at the time and if an admin banned them for ban evading before, they may being doing it again because even though the IP has changed, it may not have changed at the time of previous bans.
__________________
Developer @ Trucknation
"Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity"


IMPORTANT LINKS
An upcoming mix of trucking & light roleplay
Proxus is offline   Reply With Quote
Old 03/08/2020, 03:51 PM   #10
rt-2
Huge Clucker
 
rt-2's Avatar
 
Join Date: Jun 2011
Location: Montréal, Québec, Canada
Posts: 342
Reputation: 43
Default Re: Ban System: Dealing with Dynamic IPs

If this guy switches IP 5 times a day for a month, now you have 150 IPs banned for 1 guy, someone else that never cheated could be ban if he receives one of those IPs...

I really suggest you flush those regularly.
Personally I only kick.
__________________
rt-2
-------------------------------------------------
rt-2 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
A new gun dealing system for Roleplay servers? BittleRyan General 4 05/08/2012 01:14 AM
gun dealing NPC Santox14 Scripting Help 3 17/10/2011 05:19 PM
help with drug dealing system [SF]RobMob Help Archive 15 02/04/2010 05:07 AM
Car Dealing System Jo1Nt Help Archive 3 14/03/2010 10:13 PM


All times are GMT. The time now is 11:53 PM.


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