Server Problem mit datenbank

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Gute tag ich habe der server mit der daten bank von samp4you datenbank
    verbunden und dar steht !Script[gamemodes/(GRG).amx]: Run time error 19:
    "File or function is not found"




    PS: kontakt TS IP: ts79.nitrado.net:11250

  • ----------
    Loaded log file: "server_log.txt".
    ----------



    SA-MP Dedicated Server
    ----------------------
    v0.3.7-R2, (C)2005-2015 SA-MP Team



    [19:17:30] weburl = "www.sa-mp.com" (string)
    [19:17:30]
    [19:17:30] Server Plugins
    [19:17:30] --------------
    [19:17:30] Loading plugin: sscanf
    [19:17:30]



    [19:17:30] ===============================



    [19:17:30] sscanf plugin loaded.



    [19:17:30] Version: 2.8.1



    [19:17:30] (c) 2012 Alex "Y_Less" Cole



    [19:17:30] ===============================



    [19:17:30] Loaded.
    [19:17:30] Loading plugin: mysql
    [19:17:30] >> plugin.mysql: R34 successfully loaded.
    [19:17:30] Loaded.
    [19:17:30] Loaded 2 plugins.



    [19:17:30]
    [19:17:30] Filterscripts
    [19:17:30] ---------------
    [19:17:30] Loading filterscript 'test.amx'...
    [19:17:30] Loaded 1 filterscripts.



    [19:17:30] Number of vehicle models: 24
    [19:18:04] [connection] 127.0.0.1:56695 requests connection cookie.
    [19:18:05] [connection] incoming connection: 127.0.0.1:56695 id: 0
    [19:18:05] [join] [GRG]kevin7372 has joined the server (0:127.0.0.1)
    [19:20:09] [part] [GRG]kevin7372 has left the server (0:1)



    ----------
    Loaded log file: "server_log.txt".
    ----------



    SA-MP Dedicated Server
    ----------------------
    v0.3.7-R2, (C)2005-2015 SA-MP Team



    [19:36:56] weburl = "www.sa-mp.com" (string)
    [19:36:56]
    [19:36:56] Server Plugins
    [19:36:56] --------------
    [19:36:56] Loading plugin: sscanf
    [19:36:56]



    [19:36:56] ===============================



    [19:36:56] sscanf plugin loaded.



    [19:36:56] Version: 2.8.1



    [19:36:56] (c) 2012 Alex "Y_Less" Cole



    [19:36:56] ===============================



    [19:36:56] Loaded.
    [19:36:56] Loading plugin: mysql
    [19:36:56] >> plugin.mysql: R34 successfully loaded.
    [19:36:56] Loaded.
    [19:36:56] Loaded 2 plugins.



    [19:36:56]
    [19:36:56] Filterscripts
    [19:36:56] ---------------
    [19:36:56] Loading filterscript 'test.amx'...
    [19:36:56] Loaded 1 filterscripts.



    [19:36:56] Number of vehicle models: 24
    [19:37:17] [connection] 127.0.0.1:51356 requests connection cookie.
    [19:37:18] [connection] incoming connection: 127.0.0.1:51356 id: 0
    [19:37:19] [join] [GRG]kevin7372 has joined the server (0:127.0.0.1)



    ----------
    Loaded log file: "server_log.txt".
    ----------



    SA-MP Dedicated Server
    ----------------------
    v0.3.7-R2, (C)2005-2015 SA-MP Team



    [15:56:37] weburl = "www.sa-mp.com" (string)
    [15:56:37]
    [15:56:37] Server Plugins
    [15:56:37] --------------
    [15:56:37] Loading plugin: sscanf
    [15:56:37]



    [15:56:37] ===============================



    [15:56:37] sscanf plugin loaded.



    [15:56:37] Version: 2.8.1



    [15:56:37] (c) 2012 Alex "Y_Less" Cole



    [15:56:37] ===============================



    [15:56:37] Loaded.
    [15:56:37] Loading plugin: mysql
    [15:56:37] >> plugin.mysql: R34 successfully loaded.
    [15:56:37] Loaded.
    [15:56:37] Loaded 2 plugins.



    [15:56:37]
    [15:56:37] Filterscripts
    [15:56:37] ---------------
    [15:56:37] Loading filterscript 'test.amx'...
    [15:56:37] Loaded 1 filterscripts.



    [15:56:37] Number of vehicle models: 24



    ----------
    Loaded log file: "server_log.txt".
    ----------



    SA-MP Dedicated Server
    ----------------------
    v0.3.7-R2, (C)2005-2015 SA-MP Team



    [23:48:26] weburl = "www.sa-mp.com" (string)
    [23:48:26]
    [23:48:26] Server Plugins
    [23:48:26] --------------
    [23:48:26] Loading plugin: sscanf
    [23:48:26] Failed.
    [23:48:26] Loading plugin: mysql
    [23:48:26] Failed.
    [23:48:26] Loaded 0 plugins.



    [23:48:26]
    [23:48:26] Filterscripts
    [23:48:26] ---------------
    [23:48:26] Loading filterscript 'test.amx'...
    [23:48:26] Loaded 1 filterscripts.



    [23:48:26] Script[gamemodes/script.amx]: Run time error 19: "File or function is not found"
    [23:48:26] Number of vehicle models: 23



    ----------
    Loaded log file: "server_log.txt".
    ----------



    SA-MP Dedicated Server
    ----------------------
    v0.3.7-R2, (C)2005-2015 SA-MP Team



    [23:48:56] weburl = "www.sa-mp.com" (string)
    [23:48:56]
    [23:48:56] Server Plugins
    [23:48:56] --------------
    [23:48:56] Loading plugin: sscanf.so
    [23:48:56] Failed.
    [23:48:56] Loading plugin: mysql.so
    [23:48:56] Failed.
    [23:48:56] Loaded 0 plugins.



    [23:48:56]
    [23:48:56] Filterscripts
    [23:48:56] ---------------
    [23:48:56] Loading filterscript 'test.amx'...
    [23:48:56] Loaded 1 filterscripts.



    [23:48:56] Script[gamemodes/script.amx]: Run time error 19: "File or function is not found"
    [23:48:56] Number of vehicle models: 23



    ----------
    Loaded log file: "server_log.txt".
    ----------



    SA-MP Dedicated Server
    ----------------------
    v0.3.7-R2, (C)2005-2015 SA-MP Team



    [23:50:05] weburl = "www.sa-mp.com" (string)
    [23:50:05]
    [23:50:05] Server Plugins
    [23:50:05] --------------
    [23:50:05] Loading plugin: sscanf.so
    [23:50:05] Failed.
    [23:50:05] Loading plugin: mysql.so
    [23:50:05] Failed.
    [23:50:05] Loaded 0 plugins.



    [23:50:05]
    [23:50:05] Filterscripts
    [23:50:05] ---------------
    [23:50:05] Loading filterscript 'test.amx'...
    [23:50:05] Loaded 1 filterscripts.



    [23:50:05] Script[gamemodes/(GRG).amx]: Run time error 19: "File or function is not found"
    [23:50:05] Number of vehicle models: 23



    ----------
    Loaded log file: "server_log.txt".
    ----------



    SA-MP Dedicated Server
    ----------------------
    v0.3.7-R2, (C)2005-2015 SA-MP Team



    [00:13:19] weburl = "www.sa-mp.com" (string)
    [00:13:19]
    [00:13:19] Server Plugins
    [00:13:19] --------------
    [00:13:19] Loading plugin: sscanf.so
    [00:13:19] Failed.
    [00:13:19] Loading plugin: mysql.so
    [00:13:23] Failed.
    [00:13:23] Loaded 0 plugins.



    [00:13:23]
    [00:13:23] Filterscripts
    [00:13:23] ---------------
    [00:13:23] Loading filterscript 'test.amx'...
    [00:13:23] Loaded 1 filterscripts.



    [00:13:23] Script[gamemodes/(GRG).amx]: Run time error 19: "File or function is not found"
    [00:13:23] Number of vehicle models: 23



    ----------
    Loaded log file: "server_log.txt".
    ----------



    SA-MP Dedicated Server
    ----------------------
    v0.3.7-R2, (C)2005-2015 SA-MP Team



    [00:13:43] weburl = "www.sa-mp.com" (string)
    [00:13:43]
    [00:13:43] Server Plugins
    [00:13:43] --------------
    [00:13:43] Loading plugin: sscanf
    [00:13:43] Failed.
    [00:13:43] Loading plugin: mysql
    [00:13:43] >> plugin.mysql: R34 successfully loaded.
    [00:13:43] Loaded.
    [00:13:43] Loaded 1 plugins.



    [00:13:43]
    [00:13:43] Filterscripts
    [00:13:43] ---------------
    [00:13:43] Loading filterscript 'test.amx'...
    [00:13:43] Loaded 1 filterscripts.



    [00:13:43] Script[gamemodes/(GRG).amx]: Run time error 19: "File or function is not found"
    [00:13:43] Number of vehicle models: 23

  • komm einfach im ts weil ich kann nichtrichtig erklären

  • Wozu TS, die Log sagt doch alles. sscanf.so und mysql.so konnten nicht geladen werden, also am besten noch einmal überprüfen ob die richtigen mysql.so und sscanf.so im plugins Ordner vorhanden sind.


    Edit: Bzw., wenn ich das Richtig sehe, liegt es ja nur an der sscanf.so


    Gruß

  • @[RSS]kevin7372
    Wir sind hier nicht bei Wünsch dir was.
    Du kannst nicht einfach jeden nur weil du Hilfe benötigst ins Teamspeak³ bestellen. Das hier ist ein öffentliches Forum wo nicht nur du Hilfe benötigst wo kommen wir den hier hin wenn jeder der einmal ein
    Problem mit dem Scripten hat direkt immer einen ins Teamspeak³ bestellt weil er sonst nicht weiter kommt. Solltest echt mal überlegen..


    @AdamRuzek und @Crowley haben dir bereits die Lösung gesagt
    sscanf.so und mysql.so überprüfen wenn du ein Windows Server besitzt die mysql und sscanf ohne .so einbinden.

  • Achte drauf das die Includes & Plugins, die gleiche Version haben.
    Sobald du das überprüft hast, kompiliere dein Skript mit den richtigen Includes & pack die richtigen Plugins, die dazu gehören, auf deinen Server.
    Bei einem SAMP Win32 System, benötigst du keine Endung für die Plugins in der Konfiguration, die allgemeine Endung schadet nicht(.dll=windows), ist aber wie gesagt nicht nötig.
    Wenn du dein SAMP Server aber auf einem Linux Server aufgespielt hast, ist es zwingend nötig, die Datei Endung anzugeben. (.so)