29.02.2012, 12:21
server_log.txt
server.cfg
Everything runs fine until I add the mysql_query function as I said.
Edit:
Oops I figured out the problem.
BlueG's MySQL version 7 only supports threaded scripts.
I didn't realize I updated my MySQL version to version 7, I downgraded it back to version 6-2 and now my code works perfectly.
Code:
---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3d-R2, ©2005-2011 SA-MP Team [20:06:07] filterscripts = "" (string) [20:06:07] [20:06:07] Server Plugins [20:06:07] -------------- [20:06:07] Loading plugin: mysql [20:06:07] > MySQL plugin R7 successfully loaded. [20:06:07] Loaded. [20:06:07] Loading plugin: sscanf [20:06:07] [20:06:07] =============================== [20:06:07] sscanf plugin loaded. [20:06:07] © 2009 Alex "******" Cole [20:06:07] 0.3d-R2 500 Players "dnee" [20:06:07] =============================== [20:06:07] Loaded. [20:06:07] Loading plugin: streamer [20:06:07] *** Streamer Plugin v2.5.2 R2 by Incognito loaded *** [20:06:07] Loaded. [20:06:07] Loaded 3 plugins. [20:06:07] [20:06:07] Filterscripts [20:06:07] --------------- [20:06:07] Loaded 0 filterscripts. [20:06:07] Script[gamemodes/TheLazySloth.amx]: Run time error 19: "File or function is not found" [20:06:07] Number of vehicle models: 0
Code:
echo Executing Server Config... gamemode0 TheLazySloth 1 filterscripts plugins mysql sscanf streamer hostname This Server Failed to Load port 1994 announce 1 query 1 lanmode 1 rcon_password xxxxxxxxx maxplayers 5 weburl www.******.com onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 maxnpc 0 logtimeformat [%H:%M:%S]
Edit:
Oops I figured out the problem.
BlueG's MySQL version 7 only supports threaded scripts.
I didn't realize I updated my MySQL version to version 7, I downgraded it back to version 6-2 and now my code works perfectly.