HILFE Gamemode hat Fehler beim connecten

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
  • Beitrag von Jack94 ()

    Dieser Beitrag wurde von Douq gelöscht ().
  • Hey,


    das scheint mir nicht der vollständige Log zu sein, denn es fehlt eindeutig noch etwas (es wird keine Angaben zu den anderen plugins gegeben + es fehlt die obligatorische Nachricht, wie viele Fahrzeuge geladen wurden).

  • [11:27:05] --- Server Shutting Down.


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


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


    [11:27:13] mapname = "San Andreas" (string)
    [11:27:13] language = "" (string)
    [11:27:13]
    [11:27:13] Server Plugins
    [11:27:13] --------------
    [11:27:13] Loading plugin: sscanf.so
    [11:27:13]


    [11:27:13] ===============================


    [11:27:13] sscanf plugin loaded.


    [11:27:13] Version: 2.8.1


    [11:27:13] (c) 2012 Alex "Y_Less" Cole


    [11:27:13] ===============================


    [11:27:13] Loaded.
    [11:27:13] Loading plugin: crashdetect.so
    [11:27:13] CrashDetect v4.18.1 is OK.
    [11:27:13] Loaded.
    [11:27:13] Loading plugin: hashlib.so
    [11:27:13] --------------------------------------------------------
    [11:27:13] hashlib version 1.2.0 successfully loaded!
    [11:27:13] Developer: Manuel Schnitzer
    [11:27:13] Website: https://github.com/mschnitzer/hashlib
    [11:27:13] --------------------------------------------------------
    [11:27:13] Loaded.
    [11:27:13] Loading plugin: mysql.so
    [11:27:13] >> plugin.mysql: R39-5 successfully loaded.
    [11:27:13] Loaded.
    [11:27:13] Loading plugin: streamer.so
    [11:27:13]


    * Streamer Plugin v2.8.2 by Incognito loaded *


    [11:27:13] Loaded.
    [11:27:13] Loading plugin: timeutils.so
    [11:27:13] --------------------------------------------------------
    [11:27:13] timeutils version 1.1.0 successfully loaded!
    [11:27:13] Developer: Manuel Schnitzer
    [11:27:13] Website: https://github.com/mschnitzer/time
    [11:27:13] --------------------------------------------------------
    [11:27:13] Loaded.
    [11:27:13] Loaded 6 plugins.


    [11:27:13]
    [11:27:13] Filterscripts
    [11:27:13] ---------------
    [11:27:13] Loading filterscript 'goto.amx'...
    [11:27:14]
    Now Loading ShivRP Goto System V1.0
    [11:27:14] Goto System V1.0 By ShivRp
    [11:27:14] Loaded Successfully.


    [11:27:14] Loaded 1 filterscripts.


    [11:27:14] [debug] Run time error 19: "File or function is not found"
    [11:27:14] [debug] random_range
    [11:27:14] [debug] Run time error 19: "File or function is not found"
    [11:27:14] [debug] random_range
    [11:27:14] Script[gamemodes/ilovecrime.amx]: Run time error 19: "File or function is not found"
    [11:27:14] Number of vehicle models: 0
    [11:28:11] --- Server Shutting Down.
    [11:28:11] [debug] Run time error 19: "File or function is not found"
    [11:28:11] [debug] random_range
    [11:28:11]
    Unloading ShivRP Goto System V1.0
    [11:28:11] Goto System V1.0 By ShivRp
    [11:28:11] UnLoaded Successfully.


    [11:28:11]


    [11:28:11] ===============================


    [11:28:11] sscanf plugin unloaded.


    [11:28:11] ===============================


    [11:28:11] * hashlib was unloaded.
    [11:28:11] plugin.mysql: Unloading plugin...
    [11:28:11] plugin.mysql: Plugin unloaded.
    [11:28:11]


    * Streamer Plugin v2.8.2 by Incognito unloaded *


    [11:28:11] * timeutils was unloaded.


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


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


    [11:28:19] mapname = "San Andreas" (string)
    [11:28:19] language = "" (string)
    [11:28:19]
    [11:28:19] Server Plugins
    [11:28:19] --------------
    [11:28:19] Loading plugin: sscanf.so
    [11:28:19]


    [11:28:19] ===============================


    [11:28:19] sscanf plugin loaded.


    [11:28:19] Version: 2.8.1


    [11:28:19] (c) 2012 Alex "Y_Less" Cole


    [11:28:19] ===============================


    [11:28:19] Loaded.
    [11:28:19] Loading plugin: crashdetect.so
    [11:28:19] CrashDetect v4.18.1 is OK.
    [11:28:19] Loaded.
    [11:28:19] Loading plugin: hashlib.so
    [11:28:19] --------------------------------------------------------
    [11:28:19] hashlib version 1.2.0 successfully loaded!
    [11:28:19] Developer: Manuel Schnitzer
    [11:28:19] Website: https://github.com/mschnitzer/hashlib
    [11:28:19] --------------------------------------------------------
    [11:28:19] Loaded.
    [11:28:19] Loading plugin: mysql.so
    [11:28:19] >> plugin.mysql: R39-5 successfully loaded.
    [11:28:19] Loaded.
    [11:28:19] Loading plugin: streamer.so
    [11:28:19]


    * Streamer Plugin v2.8.2 by Incognito loaded *


    [11:28:19] Loaded.
    [11:28:19] Loading plugin: timeutils.so
    [11:28:19] --------------------------------------------------------
    [11:28:19] timeutils version 1.1.0 successfully loaded!
    [11:28:19] Developer: Manuel Schnitzer
    [11:28:19] Website: https://github.com/mschnitzer/time
    [11:28:19] --------------------------------------------------------
    [11:28:19] Loaded.
    [11:28:19] Loading plugin: samputils.so
    [11:28:19] --------------------------------------------------------
    [11:28:19] samp utils version 1.0.0-stable successfully loaded!
    [11:28:19] Developer: Manuel Schnitzer
    [11:28:19] Website: https://github.com/mschnitzer/samp-utils
    [11:28:19] --------------------------------------------------------
    [11:28:19] Loaded.
    [11:28:19] Loaded 7 plugins.


    [11:28:19]
    [11:28:19] Filterscripts
    [11:28:19] ---------------
    [11:28:19] Loaded 0 filterscripts.


    [11:28:19]
    [11:28:19]
    [11:28:19]
    [11:28:19] =======================================
    [11:28:19] | |
    [11:28:19] | YSI version 4.00.0001 |
    [11:28:19] | By Alex "Y_Less" Cole |
    [11:28:19] | |
    [11:28:19] =======================================
    [11:28:19]
    [11:28:19] [MySQL Connection]: Host: , User: , Database:
    [11:28:19] Konnte keine Verbindung zur Datenbank aufbauen!
    [11:28:19]
    ----------------------------------
    [11:28:19] I Love Crime by Dexter, KnoLe_x3 and Slider
    [11:28:19] ----------------------------------


    [11:28:19] Number of vehicle models: 0
    [11:28:19] --- Server Shutting Down.
    [11:28:19]


    [11:28:19] ===============================


    [11:28:19] sscanf plugin unloaded.


    [11:28:19] ===============================


    [11:28:19] * hashlib was unloaded.
    [11:28:19] plugin.mysql: Unloading plugin...
    [11:28:19] plugin.mysql: Plugin unloaded.
    [11:28:19]


    * Streamer Plugin v2.8.2 by Incognito unloaded *


    [11:28:19] * timeutils was unloaded.
    [11:28:19] * samp utils was unloaded.


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


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


    [11:32:11] mapname = "San Andreas" (string)
    [11:32:11] language = "" (string)
    [11:32:11]
    [11:32:11] Server Plugins
    [11:32:11] --------------
    [11:32:11] Loading plugin: sscanf.so
    [11:32:11]


    [11:32:11] ===============================


    [11:32:11] sscanf plugin loaded.


    [11:32:11] Version: 2.8.1


    [11:32:11] (c) 2012 Alex "Y_Less" Cole


    [11:32:11] ===============================


    [11:32:11] Loaded.
    [11:32:11] Loading plugin: crashdetect.so
    [11:32:11] CrashDetect v4.18.1 is OK.
    [11:32:11] Loaded.
    [11:32:11] Loading plugin: hashlib.so
    [11:32:11] --------------------------------------------------------
    [11:32:11] hashlib version 1.2.0 successfully loaded!
    [11:32:11] Developer: Manuel Schnitzer
    [11:32:11] Website: https://github.com/mschnitzer/hashlib
    [11:32:11] --------------------------------------------------------
    [11:32:11] Loaded.
    [11:32:11] Loading plugin: mysql.so
    [11:32:11] >> plugin.mysql: R39-5 successfully loaded.
    [11:32:11] Loaded.
    [11:32:11] Loading plugin: streamer.so
    [11:32:11]


    * Streamer Plugin v2.8.2 by Incognito loaded *


    [11:32:11] Loaded.
    [11:32:11] Loading plugin: timeutils.so
    [11:32:11] --------------------------------------------------------
    [11:32:11] timeutils version 1.1.0 successfully loaded!
    [11:32:11] Developer: Manuel Schnitzer
    [11:32:11] Website: https://github.com/mschnitzer/time
    [11:32:11] --------------------------------------------------------
    [11:32:11] Loaded.
    [11:32:11] Loading plugin: samputils.so
    [11:32:11] --------------------------------------------------------
    [11:32:11] samp utils version 1.0.0-stable successfully loaded!
    [11:32:11] Developer: Manuel Schnitzer
    [11:32:11] Website: https://github.com/mschnitzer/samp-utils
    [11:32:11] --------------------------------------------------------
    [11:32:11] Loaded.
    [11:32:11] Loaded 7 plugins.


    [11:32:11]
    [11:32:11] Filterscripts
    [11:32:11] ---------------
    [11:32:11] Loaded 0 filterscripts.


    [11:32:11]
    [11:32:11]
    [11:32:11]
    [11:32:11] =======================================
    [11:32:11] | |
    [11:32:11] | YSI version 4.00.0001 |
    [11:32:11] | By Alex "Y_Less" Cole |
    [11:32:11] | |
    [11:32:11] =======================================
    [11:32:11]
    [11:32:11] [MySQL Connection]: Host: , User: , Database:
    [11:32:11] Konnte keine Verbindung zur Datenbank aufbauen!
    [11:32:11]
    ----------------------------------
    [11:32:11] I Love Crime by Dexter, KnoLe_x3 and Slider
    [11:32:11] ----------------------------------


    [11:32:11] Number of vehicle models: 0
    [11:32:11] --- Server Shutting Down.
    [11:32:11]


    [11:32:11] ===============================


    [11:32:11] sscanf plugin unloaded.


    [11:32:11] ===============================


    [11:32:11] * hashlib was unloaded.
    [11:32:11] plugin.mysql: Unloading plugin...
    [11:32:11] plugin.mysql: Plugin unloaded.
    [11:32:11]


    * Streamer Plugin v2.8.2 by Incognito unloaded *


    [11:32:11] * timeutils was unloaded.
    [11:32:11] * samp utils was unloaded.

  • hast du alle benötigten Plugins eingetragen und sind sie aktuell?


    Mit freundlichen Grüßen,


    iTzTrappY

  • Such mal nach "Konnte keine Verbindung zur Datenbank aufbauen!" oder "mysql_connect". Da wirst du dann entweder eine Funktion oder einen Codeabschnitt innerhalb von OnGameModeInit finden.


    Du hattest am Anfang deine Daten per Screenshot drin - die hatte ich gelöscht. Es ist zu vermuten, dass durch die fehlerhafte Verbindung zur Datenbank das Skript die Verbindung beendet. Sicher, dass die Daten richtig sind? Kannst du dich per phpMyAdmin o.ä. verbinden? Wenn ich mich recht entsinne hattest du die "öffentliche IP" drin. Ist die Datenbank auf dem Server, auf welchem die SA:MP Instanz läuft? Falls ja, probiere mal 127.0.0.1 als IP einzutragen.


    Sofern du nämlich keinen externen Zugriff erlaubst, sollte auch die IP theoretisch für die Datenbankverbindung geblockt werden.