---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3.7, ©2005-2015 SA-MP Team [23:13:09] password = "" (string) [23:13:09] filterscripts = "" (string) [23:13:09] [23:13:09] Server Plugins [23:13:09] -------------- [23:13:09] Loading plugin: streamer.so [23:13:09] *** Streamer Plugin v2.5 by Incognito loaded *** [23:13:09] Loaded. [23:13:09] Loading plugin: sscanf.so [23:13:09] [23:13:09] =============================== [23:13:09] sscanf plugin loaded. [23:13:09] © 2009 Alex "******" Cole [23:13:09] 0.3d-R2 500 Players "dnee" [23:13:09] =============================== [23:13:09] Loaded. [23:13:09] Loading plugin: mysql.so [23:13:09] > MySQL plugin R6 successfully loaded. [23:13:09] Loaded. [23:13:09] Loaded 3 plugins. [23:13:09] [23:13:09] Filterscripts [23:13:09] --------------- [23:13:09] Loaded 0 filterscripts. [23:13:09] Script[gamemodes/TW_V2514.amx]: Run time error 19: "File or function is not found" [23:13:09] Number of vehicle models: 0 please help me,thank you |
/* Anonfake and xMonkey Work , Enjoy ! */ #define TEST 0 #include < a_samp > #include < zcmd > #include < sscanf2 > #if TEST == 0 #include < mysql > #endif #include < lethaldudb2 > #include < foreach > #include < streamer > #include < a_http > //#include <mSelection> //#include < progress > #define mysql_fetch_int(%0,%1) mysql_fetch_field(%0,field); \ %1=strval(field) #define mysql_fetch_float(%0,%1) mysql_fetch_field(%0,field); \ %1=floatstr(field) #define mysql_fetch_string(%0,%1) mysql_fetch_field(%0,%1) #define String( format(string,sizeof(string), #define Query( format(query,sizeof(query), #pragma unused ret_memcpy #define PUB:%0(%1) forward %0(%1); \ public %0(%1) #undef MAX_PLAYERS #define MAX_PLAYERS 500 #define MAX_TEAMS 11 #define MAX_CLASSES 5 #define MAX_SPAWNS 150 #define MAX_CAPZONES 50 #define MAX_RANKS 7 #define MAX_BRIEFCASES 16 #define MAX_MONEYSPOTS 20 #define MAX_GRAPPLE_DISTANCE \ (350.0) #define GRAPPLE_CROSS_INTERVAL \ (0.25) #define PLAYER_MOVE_SPEED \ (20.0) new grappled[MAX_PLAYERS]; #define None 0 #define TEAM_UNITEDSTATES 1 #define TEAM_SFOFTW 2 #define TEAM_AFGHANISTAN 3 #define TEAM_CHINA 4 #define TEAM_GERMANY 5 #define TEAM_INDIA 6 #define TEAM_Brazil 7 #define TEAM_FRANCE 8 #define TEAM_NETHERLANDS 9 #define TEAM_RUSSIA 10 //#define TEAM_AFGHANISTAN 3 #define ZONE_DESERTAIRPORT 0 #define ZONE_BIGEAR 1 #define HAARP_Superweapon 11 //SYNCED ROCKETLAUNCHERS //#define speed 100 //new Float:gtpos[10],Float:gtpos2[20]; //new bool:leftgg[MAX_PLAYERS] = false; new boolerverlocked = false; new blacklist[500];new Text:mBox[5]; //Text:cTeam[11] new mString[5][128], Text:Textdraw12; //new Bar:aBar[MAX_PLAYERS]; // Classes #define CLASS_ASSAULT 0 #define CLASS_ENGINEER 1 #define CLASS_SNIPER 2 #define CLASS_MEDIC 3 #define CLASS_SUPPORTER 4 //temporary class till V3 - Anonfake #define FREEZE_SECONDS 4 //MySQL #define db "" #define host "localhost" #define user "" #define pass "" #define MAX_FIELD 256 new MySQL:mysql; #define DS 10000 #define solid_red 0xFF0000FF #define purple 0x7F00FFFF //purple by Anonfake #define red 0xFF0000AA #define green 0x33FF33AA #define NICEGREEN 0x20FF20FF // smooth green by moker #define NICEBLUE 0x2894FFFF #define COLOR_BLUE 0x2894FFFF // smooth blue by moker #define CYAN 0x00F4F4FF // nice-light blue by moker #define TEAMRADIO 0x00BF00FF // light darkgreen #define RED 0xFF030DAA #define limegreen 0x00FF00FF #define GREY 0xAFAFAFAA #define GREEN 0x33AA33AA #define YELLOW 0xFFFF00AA #define ORANGE 0xFF9900AA #define WHITE 0xFFFFFFAA #define COLOR_ADMCHAT 0xD65CFFFF #define APINK 0xFF66FFFF #define COLOR_LIGHTBLUE 0x00D0F6AA // by Anonfake // CONFIG #define SERVER_MAX_LEVEL 7 // Server max admin level #define SERVER_MIN_LEVEL 0 // Server min admin level new MAX_PING = 1000; // Server max ping ( it's a variable because it's changeable ), 500 by deufault. #define BOT_NAME "Spongebob_Squarepants" #define MAX_CONNECTIONS_FROM_IP 5 |
if you're using ultra-host , the sscanf wont work sometimes (that's happening to me).
If no, make sure to add "sscanf streamer MySQL" in your server configurations next to the line "Plugins". If you don't that line ,add it. |
Oh my god, i doubt this is not your work (cause you dont know how to setup a MYSQL DB)
The reasons why you are getting uknown error are: 1) You didn't put a mysql db so server can connect. This is important the mysql connection. 2)You are using an outdated version of MYSQL. 3) I believe sscanf is outdated too. Soo..update the 2 plugins and setup MYSQL. |