SA-MP Forums Archive
Help please! - 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: Help please! (/showthread.php?tid=473546)



Help please! - HrvojeII - 03.11.2013

Hello guys,
I downloaded gamemode from this forum few days ago and when i wanted to start server i couldn't.. In gamemode Thread says that i have to put newest version of streamer so i did and started samp-server but can't load gamemode.. i think it's because of GeoIP_Plugin but i can't find plugin anywhere for download.. only .inc and filterscript!!
Here is copy of server_log:
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[12:07:04] weburl = "www.sa-mp.com" (string)
[12:07:04]
[12:07:04] Server Plugins
[12:07:04] --------------
[12:07:04] Loading plugin: streamer
[12:07:04]

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[12:07:04] Loaded.
[12:07:04] Loading plugin: y_files
[12:07:04]

[12:07:04] ===============================

[12:07:04] y_files loaded

[12:07:04] © 2010 Alex "******" Cole

[12:07:04] ===============================

[12:07:04] Loaded.
[12:07:04] Loading plugin: Whirlpool
[12:07:04]
[12:07:04] ==================
[12:07:04]
[12:07:04] Whirlpool loaded
[12:07:04]
[12:07:04] ==================
[12:07:04]
[12:07:04] Loaded.
[12:07:04] Loading plugin: GeoIP_Plugin
[12:07:04] Error loading GeoIP_Plugin.
[12:07:04] Failed.
[12:07:04] Loading plugin: sscanf
[12:07:04]

[12:07:04] ===============================

[12:07:04] sscanf plugin loaded.

[12:07:04] © 2009 Alex "******" Cole

[12:07:04] 0.3d-R2 500 Players "dnee"

[12:07:04] ===============================

[12:07:04] Loaded.
[12:07:04] Loading plugin: FileManager
[12:07:04] ******************
[12:07:04] ** FILE MANAGER **
[12:07:04] ** Loaded **
[12:07:04] ** Version 1.1 **
[12:07:04] ******************
[12:07:04] Loaded.
[12:07:04] Loading plugin: itd
[12:07:04]
* iTD Plugin loaded. (Support for textdraw editor mouse/keyboard)

[12:07:04] Loaded.
[12:07:04] Loading plugin: irc
[12:07:04]

*** IRC Plugin v1.4 by Incognito loaded ***

[12:07:04] Loaded.
[12:07:04] Loading plugin: nativechecker
[12:07:04] Loaded.
[12:07:04] Loaded 8 plugins.

[12:07:04]
[12:07:04] Ban list
[12:07:04] --------
[12:07:04] Loaded: samp.ban
[12:07:04]
[12:07:04]
[12:07:04] Filterscripts
[12:07:04] ---------------
[12:07:04] Loading filterscript 'geoIP.amx'...
[12:07:04] GeoIP script by Slice loaded.
[12:07:04] Loading filterscript 'house.amx'...
[12:07:04]
--------------------------------------
[12:07:04] ---combined fs loaded ok happy-----------
[12:07:04] --------------------------------------

[12:07:04] Loading filterscript 'xdrift.amx'...
[12:07:04]
--------------------------------------
[12:07:04] --------Xdrift by candyboy loaded------
[12:07:04] --------------------------------------

[12:07:04] Loading filterscript 'hell.amx'...
[12:07:04] - Streamer world White_Angel loaded.
[12:07:04] Loading filterscript 'vspawner.amx'...
[12:07:05]
--Admin Vehicle Spawner Loaded

[12:07:05] Loading filterscript 'AFK.amx'...
[12:07:05]
--------------------------------------
[12:07:05] -------------Candy Afk System-----------
[12:07:05] --------------------------------------

[12:07:05] Loading filterscript 'animations.amx'...
[12:07:05]
--------------------------------------
[12:07:05] Anims Loading
[12:07:05] By Tony
[12:07:05] --------------------------------------

[12:07:05] Loaded 7 filterscripts.

[12:07:05] Error: Function not registered: 'GetCountryName'
[12:07:05] Script[gamemodes/FreeroamFun.amx]: Run time error 19: "File or function is not found"
[12:07:05] Number of vehicle models: 1

Please help!!


Re: Help please! - rappy93 - 03.11.2013

Install the crashdetect plugin and show us the server log after that. This way we'll be able to help you.


Re: Help please! - MBilal - 03.11.2013

check is Geo_IP_Plugins check is it exist in Plugins folder then check is the spelling are same which u write in Server.CFG
here are plugins link check it i hope it will work https://sampforum.blast.hk/showthread.php?tid=32509


Re: Help please! - HrvojeII - 03.11.2013

Ok, here you go:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[14:07:31] weburl = "www.sa-mp.com" (string)
[14:07:31]
[14:07:31] Server Plugins
[14:07:31] --------------
[14:07:31] Loading plugin: streamer
[14:07:31]

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[14:07:31] Loaded.
[14:07:31] Loading plugin: y_files
[14:07:31]

[14:07:31] ===============================

[14:07:31] y_files loaded

[14:07:31] © 2010 Alex "******" Cole

[14:07:31] ===============================

[14:07:31] Loaded.
[14:07:31] Loading plugin: Whirlpool
[14:07:31]
[14:07:31] ==================
[14:07:31]
[14:07:31] Whirlpool loaded
[14:07:31]
[14:07:31] ==================
[14:07:31]
[14:07:31] Loaded.
[14:07:31] Loading plugin: GeoIP_Plugin
[14:07:31] Error loading GeoIP_Plugin.
[14:07:31] Failed.
[14:07:31] Loading plugin: sscanf
[14:07:31]

[14:07:31] ===============================

[14:07:31] sscanf plugin loaded.

[14:07:31] © 2009 Alex "******" Cole

[14:07:31] 0.3d-R2 500 Players "dnee"

[14:07:31] ===============================

[14:07:31] Loaded.
[14:07:31] Loading plugin: FileManager
[14:07:31] ******************
[14:07:31] ** FILE MANAGER **
[14:07:31] ** Loaded **
[14:07:31] ** Version 1.1 **
[14:07:31] ******************
[14:07:31] Loaded.
[14:07:31] Loading plugin: itd
[14:07:32]
* iTD Plugin loaded. (Support for textdraw editor mouse/keyboard)

[14:07:32] Loaded.
[14:07:32] Loading plugin: irc
[14:07:32]

*** IRC Plugin v1.4 by Incognito loaded ***

[14:07:32] Loaded.
[14:07:32] Loading plugin: crashdetect
[14:07:32] crashdetect v4.8.5 is OK.
[14:07:32] Loaded.
[14:07:32] Loading plugin: nativechecker
[14:07:32] Loaded.
[14:07:32] Loaded 9 plugins.

[14:07:32]
[14:07:32] Ban list
[14:07:32] --------
[14:07:32] Loaded: samp.ban
[14:07:32]
[14:07:32]
[14:07:32] Filterscripts
[14:07:32] ---------------
[14:07:32] Loading filterscript 'geoIP.amx'...
[14:07:32] GeoIP script by Slice loaded.
[14:07:32] Loading filterscript 'house.amx'...
[14:07:32]
--------------------------------------
[14:07:32] ---combined fs loaded ok happy-----------
[14:07:32] --------------------------------------

[14:07:32] Loading filterscript 'xdrift.amx'...
[14:07:32]
--------------------------------------
[14:07:32] --------Xdrift by candyboy loaded------
[14:07:32] --------------------------------------

[14:07:32] Loading filterscript 'hell.amx'...
[14:07:32] - Streamer world White_Angel loaded.
[14:07:32] Loading filterscript 'vspawner.amx'...
[14:07:32]
--Admin Vehicle Spawner Loaded

[14:07:32] Loading filterscript 'AFK.amx'...
[14:07:33]
--------------------------------------
[14:07:33] -------------Candy Afk System-----------
[14:07:33] --------------------------------------

[14:07:33] Loading filterscript 'animations.amx'...
[14:07:33]
--------------------------------------
[14:07:33] Anims Loading
[14:07:33] By Tony
[14:07:33] --------------------------------------

[14:07:33] Loaded 7 filterscripts.

[14:07:33] Error: Function not registered: 'GetCountryName'
[14:07:33] [debug] Run time error 19: "File or function is not found"
[14:07:33] [debug] GetCountryName
[14:07:33] [debug] Run time error 19: "File or function is not found"
[14:07:33] [debug] GetCountryName
[14:07:33] Script[gamemodes/FreeroamFun.amx]: Run time error 19: "File or function is not found"
[14:07:33] Number of vehicle models: 1


Re: Help please! - rappy93 - 03.11.2013

Код:
[14:07:33] Error: Function not registered: 'GetCountryName'
This is most likely due to the geoIP filterscript.. try using another one from the web.


Re: Help please! - HrvojeII - 03.11.2013

Quote:
Originally Posted by MBilal
Посмотреть сообщение
check is Geo_IP_Plugins check is it exist in Plugins folder then check is the spelling are same which u write in Server.CFG
here are plugins link check it i hope it will work https://sampforum.blast.hk/showthread.php?tid=32509
It's all good.. I checked it few times!!
All the download links are broken.. can't enter them :/


Re: Help please! - HrvojeII - 03.11.2013

Quote:
Originally Posted by rappy93
Посмотреть сообщение
Код:
[14:07:33] Error: Function not registered: 'GetCountryName'
This is most likely due to the geoIP filterscript.. try using another one from the web.
Do you know where to find.. i just find some small scripts like this:
#include <a_http> /// <- Add this include, it's needed to HTTP() function.

public OnPlayerConnect(playerid) // Your OnPlayerConnect Callback.
{
new req[256];
new IP[16];
GetPlayerIp(playerid,IP,sizeof(IP));
// format(IP,sizeof(IP),"117.56.0.98"); //Un-comment this line if you want to put some random Dummy IP to test the script

if(strlen(IP)<1) return 1;
format(req, sizeof(req),"geoip.freevar.com/?IP=%s",IP); //// Peplace the address (geoip.freevar.com) by whatever your server's IP Address/Domain Name
HTTP(playerid, HTTP_GET, req,"","GEOIP_HTTPREQUEST");
return 1;
}

forward GEOIP_HTTPREQUEST(playerid, response_code, location[]);
public GEOIP_HTTPREQUEST(playerid, response_code, location[]) // The GEO-IP Callback.
{
new string[128];
if(response_code == 200) {
new Pname[64];
GetPlayerName(playerid,Pname,sizeof(Pname));
format(string, sizeof(string), ">> %s joined the server from %s",Pname,location);
SendClientMessage(playerid, 0x00CCFFFF, string);
return 1;
}
else {
format(string, sizeof(string), "%d : Request Failed", response_code);
SendClientMessage(playerid, 0xCC9900FF, string);
return 0;
}
}
Is that it or something else?
Like i said.. i'm new in this things!