SA-MP Forums Archive
GeoIP - Plugin vs Include - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: GeoIP - Plugin vs Include (/showthread.php?tid=424385)



GeoIP - Plugin vs Include - Konstantinos - 21.03.2013

I'd be interested to know what you think about the differences between plugin and include for GeoIP. I decided to use it and I was in a dilemma.

I'd like to see which one do you use and prefer and of course, which one is faster, doesn't cause server lag when a players joins the server so I can take a decision!


Re: GeoIP - Plugin vs Include - ScRaT - 30.05.2013

The include is much faster, few milliseconds to detect it.
The plugin takes like 3 seconds to detect the country. (2 years ago, idk now)


Re: GeoIP - Plugin vs Include - Kirollos - 30.05.2013

honestly, i only tested the plugin and it works fast and no lagg at all.


Re: GeoIP - Plugin vs Include - Kyle - 31.05.2013

I prefer the plugin so you don't have to mess around with the SQL db in the include version.


Re: GeoIP - Plugin vs Include - Sinner - 31.05.2013

A plugin should always be faster since it doesn't have the overhead PAWN has. I'm sure the current plugin is faster, if not it's probably badly written.


Re: GeoIP - Plugin vs Include - Lightning[SV] - 31.05.2013

I tested the plugin & whitetiger's SQLite filterscript. The plugin is faster as expected, less than 1 ms per lookup on my machine.

I modified the plugin to do isp & city lookups as well, since the original plugin hasn't been updated for a long time.

I will release it if there is enough interest and its allowed by the moderators.