Help : Error while starting server on linux. - 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 : Error while starting server on linux. (
/showthread.php?tid=605945)
Help : Error while starting server on linux. -
HyperLink - 27.04.2016
I am getting error while starting the server on linux host.
In local host, its working file. Here is the log with error.
Код:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3x-R2, ©2005-2013 SA-MP Team
[01:14:49] filterscripts = "" (string)
[01:14:49]
[01:14:49] Server Plugins
[01:14:49] --------------
[01:14:49] Loading plugin: crashdetect.so
[01:14:49] CrashDetect v4.15.1 is OK.
[01:14:49] Loaded.
[01:14:49] Loading plugin: mysqlS.so
[01:14:49] SA:MP MySQL Plugin v2.1.1 Loaded.
[01:14:49] Loaded.
[01:14:49] Loading plugin: sscanf.so
[01:14:49]
[01:14:49] ===============================
[01:14:49] sscanf plugin loaded.
[01:14:49] © 2009 Alex "******" Cole
[01:14:49] 0.3d-R2 500 Players "dnee"
[01:14:49] ===============================
[01:14:49] Loaded.
[01:14:49] Loading plugin: streamer.so
[01:14:49]
*** Streamer Plugin v2.7.4 by Incognito loaded ***
[01:14:49] Loaded.
[01:14:49] Loading plugin: regex.so
[01:14:49]
[01:14:49] ______________________________________
[01:14:49] Regular Expression Plugin v0.2.1 loaded
[01:14:49] ______________________________________
[01:14:49] By: Fro © Copyright <TBG> 2009-2011
[01:14:49] ______________________________________
[01:14:49] Loaded.
[01:14:49] Loading plugin: nativechecker.so
[01:14:49] Loaded.
[01:14:49] Loaded 6 plugins.
[01:14:49] [MySQL] Thread running. Threadsafe: Yes.
[01:14:49]
[01:14:49] Filterscripts
[01:14:49] ---------------
[01:14:49] Loaded 0 filterscripts.
[01:14:49] Error: Function not registered: 'NetStats_PacketLossPercent'
[01:14:49] [debug] Run time error 19: "File or function is not found"
[01:14:49] [debug] NetStats_PacketLossPercent
[01:14:49] [debug] Run time error 19: "File or function is not found"
[01:14:49] [debug] NetStats_PacketLossPercent
[01:14:49] Script[gamemodes/RxD.amx]: Run time error 19: "File or function is not found"
[01:14:49] Number of vehicle models: 0
Re: Help : Error while starting server on linux. -
xPhantom - 27.04.2016
You are missing a plugin that runs with your script, post the includes that you have listed in your gamemode pwn file.
Re: Help : Error while starting server on linux. -
HyperLink - 27.04.2016
Код:
#include <a_samp>
#include <a_sampdb>
#include <mysql>
#include <a_http>
#include <required/crashdetect>
#include <streamer>
#include <progress>
#include <required/zcmd>
#include <required/sscanf2>
#include <required/explode>
#include <required/mSelection>
#include <required/fuckCleo>
#include <required/SII>
#include <required/formatex>
#include <required/uf>
#include <required/fixes>
#include <required/acuf>
#include <required/FloodControl>
#include <required/OPA>
#include <required/dldialog>
#include <required/line>
#include <cnr/cnr_defines>
#include <cnr/cnr_mysqlFunctions>
#include <required/cnr_mysqlresponse>
#include <cnr/cnr_robberyCheckpoints>
#include <cnr/cnr_anticheat>
#include <cnr/cnr_dynamiccps>
#include <cnr/cnr_textdraws>
#include <cnr/cnr_zones>
#include <cnr/cnr_functions>
#include <cnr/cnr_rappeling>
#include <cnr/cnr_houses>
#include <cnr/cnr_admincommands>
#include <cnr/cnr_policecommands>
#include <cnr/cnr_commands>
#include <cnr/cnr_jail>
// #include <cnr/cnr_businesses>
#include <cnr/cnr_animations>
#include <cnr/cnr_courier>
#include <cnr/cnr_gangs>
// #include <cnr/test>
#include <cnr/cnr_trucking>
#include <cnr/cnr_newMissions>
#include <cnr/cnr_toys>
#include <cnr/cnr_vehicles>
#include <cnr/cnr_dealership>
#include <cnr/vehicle_system>
#include <cnr/cnr_dialogresponse>
#include <cnr/cnr_explosives>
#include <cnr/cnr_moneybag>
#include <cnr/cnr_roadblocks>
#include <cnr/cnr_spike>
#include <cnr/cnr_gates>
#include <cnr/cnr_factionzones>
#include <cnr/cnr_dmevent>
#include <cnr/cnr_medic>
#include <cnr/cnr_glassevent>
#include <cnr/cnr_fallout>
#include <cnr/cnr_profiles>
#include <cnr/cnr_vehicleAC>
#pragma unused DMGate
#pragma unused pFPS
#pragma unused at
#pragma unused xmasDay
main()
{
print("\n-----------------------------------");
print("Cops and Robbers, EDIT v1.a ");
print("------------------------------------\n");
}
public OnGameModeInit()
{
profileStuff();
connection = mysql_init(LOG_ONLY_ERRORS, 1);
mysql_connect("localhost", "DB_USER", "DB_PASS", "DB_NAME", connection, 1);