PtokaX forum

Archive => Archived 5.1 boards => Finished Scripts => Topic started by: UwV on 13 September, 2006, 12:22:17

Title: GeoIP-0.7c (for PtokaX_0.3.5.1b.lua5.1.1)
Post by: UwV on 13 September, 2006, 12:22:17
--// GeoIP V 0.7a by Mogli //--
--// Rescripted Version of GeoIP from VidFamne //--

--// "This product runs with GeoIP data created by MaxMind, available from http://maxmind.com/" //--

--// You may use/copy/edit this code, but you may never compile one single bit of it //--
--// Open code rocks, I am not ashaimed of my sloppy coding :), I like it //--
--// Try to compile your words and then try to make yourself understood //--
--// Open Code is like sharing thaughts, and as we know sharing is caring, feels good //--


--// INSTALLATION //--
-- This script must run as last script, and all other scripts, must return 1 after user:Disconnect() in NewUserConnected()

--// CHANGELOG //--

-- V 0.7c Edited by UwV  for PX 0.3.5.1b.lua5.1.1
-- renamed: math.mod/.fmod, string.gfind/gmatch (since it is fixed in pxlua 5.1 now)
-- changed: table.foreach and table.foreachi with  " for pairs and ipairs in"
--      edited some other small things (local host adding, etc.)

-- V 0.7b Edited by UwV  for PX 0.3.5.0.lua5.1.1
-- lua 5.0 to 5.1

-- V 0.7a
-- Top online Countries added ( Idea from UwV )
-- Added Saving All Stats to file ( requested by UwV )