Run Time Error bearbeitetes PrP Script

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 AlterHase. ()

    Dieser Beitrag wurde gelöscht, Informationen über den Löschvorgang sind nicht verfügbar.
  • Bekomme nun :


    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(4622) : warning 205: redundant code: constant expression is zero
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(4622) : warning 215: expression has no effect
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(4632) : error 017: undefined symbol "mysql_ping"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(4641) : error 017: undefined symbol "mysql_ping"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(4620) : warning 204: symbol is assigned a value that is never used: "oldtime"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(12913) : warning 204: symbol is assigned a value that is never used: "oldtime"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(19495) : error 017: undefined symbol "mysql_free_result"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(19619) : error 017: undefined symbol "mysql_free_result"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(28038) : warning 217: loose indentation
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(28038) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(29075) : error 017: undefined symbol "mysql_free_result"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(31460) : warning 225: unreachable code
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(31613) : error 017: undefined symbol "mysql_free_result"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(31778) : error 017: undefined symbol "mysql_free_result"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(32803) : warning 225: unreachable code
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(32828) : warning 225: unreachable code
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(32891) : warning 225: unreachable code
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(32921) : warning 225: unreachable code
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(32959) : warning 225: unreachable code
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(32987) : warning 225: unreachable code
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(33045) : warning 225: unreachable code
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(45821) : warning 204: symbol is assigned a value that is never used: "string"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(45977) : error 017: undefined symbol "mysql_free_result"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(46032) : error 017: undefined symbol "mysql_free_result"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(46061) : error 017: undefined symbol "mysql_free_result"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(56913) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(56947) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(56981) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57015) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57049) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57083) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57117) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57151) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57185) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57219) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57253) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57287) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57321) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57355) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(58740) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(58740) : warning 204: symbol is assigned a value that is never used: "string"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(58734) : warning 204: symbol is assigned a value that is never used: "string"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(60667) : error 017: undefined symbol "mysql_free_result"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(62083) : error 017: undefined symbol "mysql_free_result"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(62397) : error 017: undefined symbol "mysql_free_result"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(62550) : error 017: undefined symbol "mysql_free_result"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(63298) : error 017: undefined symbol "mysql_free_result"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(72710) : error 017: undefined symbol "mysql_free_result"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(73714) : warning 204: symbol is assigned a value that is never used: "string"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(77245) : error 017: undefined symbol "mysql_ping"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(77765) : error 017: undefined symbol "mysql_ping"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(78228) : error 017: undefined symbol "mysql_ping"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(78339) : error 017: undefined symbol "mysql_free_result"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(78369) : error 017: undefined symbol "mysql_ping"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(79771) : warning 217: loose indentation
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(79798) : error 017: undefined symbol "mysql_free_result"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(79865) : error 017: undefined symbol "mysql_free_result"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(79895) : error 017: undefined symbol "mysql_free_result"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(80024) : error 017: undefined symbol "mysql_free_result"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(81867) : warning 219: local variable "pLevel" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(81867) : warning 203: symbol is never used: "pLevel"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(82083) : warning 224: indeterminate array size in "sizeof" expression (symbol "max_len")
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(82084) : warning 224: indeterminate array size in "sizeof" expression (symbol "max_len")
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(82085) : warning 224: indeterminate array size in "sizeof" expression (symbol "max_len")
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(82086) : warning 224: indeterminate array size in "sizeof" expression (symbol "max_len")
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(83927) : error 017: undefined symbol "mysql_free_result"


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    26 Errors.

  • Mal eine ganz dumme frage,was wollen alle mit dem pRP Script ist doch mittlerweile Mainstream..
    Macht doch selber ein Script da habt ihr mehr von als euch mit den Errors und Warning's rum zu schlagen..
    Oder nehmt ein anderes Script den wen der server online geht werdet ihr 100pro Geddost war schon so oft bei Servern mit dem Script aber viel glück.

  • Kannst du die bitte mal posten, damit wir sehen, ob das mit MySQL zu tun hat oder nicht.
    Ansonsten müsstest du alles MySQL Plugin Versionen probieren, aber das sind so an die 50 verschiedenen, das macht wenig Sinn.



    Hast du vielleicht auch den Thread von wo du den Code her hast?

  • Jeffry


    Pure Roleplay Script| Das Script wo ich nutze


    Log :

    SQL
    ----------Loaded log file: "server_log.txt".----------SA-MP Dedicated Server----------------------v0.3z-R4, (C)2005-2014 SA-MP Team[13:23:56] filterscripts = ""  (string)[13:23:56] weburl = "www.sa-mp.com"  (string)[13:23:56] [13:23:56] Server Plugins[13:23:56] --------------[13:23:56]  Loading plugin: streamer.so[13:23:56] *** Streamer Plugin v2.7.5.2 by Incognito loaded ***[13:23:56]   Loaded.[13:23:56]  Loading plugin: sscanf.so[13:23:56] [13:23:56]  ===============================[13:23:56]       sscanf plugin loaded.     [13:23:56]    (c) 2009 Alex "Y_Less" Cole[13:23:56]    0.3d-R2 500 Players "dnee"[13:23:56]  ===============================[13:23:56]   Loaded.[13:23:56]  Loading plugin: nativechecker.so[13:23:56]   Loaded.[13:23:56]  Loading plugin: mysql.so[13:23:56]   Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)[13:23:56]  Loaded 3 plugins.[13:23:56] [13:23:56] Filterscripts[13:23:56] ---------------[13:23:56]   Loaded 0 filterscripts.[13:23:57]    Error: Function not registered: 'mysql_debug'[13:23:57]    Error: Function not registered: 'mysql_connect'[13:23:57]    Error: Function not registered: 'mysql_ping'[13:23:57]    Error: Function not registered: 'mysql_function_query'[13:23:57]    Error: Function not registered: 'mysql_free_result'[13:23:57]    Error: Function not registered: 'cache_get_data'[13:23:57]    Error: Function not registered: 'cache_get_field_content'[13:23:57]    Error: Function not registered: 'mysql_real_escape_string'[13:23:57] Script[gamemodes/syntroprp.amx]: Run time error 19: "File or function is not found"[13:23:57] Number of vehicle models: 0


    Warns r7

    Spoiler anzeigen
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(4620) : warning 204: symbol is assigned a value that is never used: "oldtime"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(12913) : warning 204: symbol is assigned a value that is never used: "oldtime"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(28038) : warning 217: loose indentation
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(28038) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(31460) : warning 225: unreachable code
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(32803) : warning 225: unreachable code
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(32828) : warning 225: unreachable code
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(32891) : warning 225: unreachable code
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(32921) : warning 225: unreachable code
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(32959) : warning 225: unreachable code
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(32987) : warning 225: unreachable code
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(33045) : warning 225: unreachable code
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(45821) : warning 204: symbol is assigned a value that is never used: "string"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(56913) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(56947) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(56981) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57015) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57049) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57083) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57117) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57151) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57185) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57219) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57253) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57287) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57321) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(57355) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(58740) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(58740) : warning 204: symbol is assigned a value that is never used: "string"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(58734) : warning 204: symbol is assigned a value that is never used: "string"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(73714) : warning 204: symbol is assigned a value that is never used: "string"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(79771) : warning 217: loose indentation
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(81867) : warning 219: local variable "pLevel" shadows a variable at a preceding level
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(81867) : warning 203: symbol is never used: "pLevel"
    C:\Users\Nina\Desktop\SyntropRP\gamemodes\syntroprp.pwn(88491) : warning 203: symbol is never used: "ImmobilienTimer"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

    Spoiler anzeigen
    35 Warnings.

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • SQL
    ----------Loaded log file: "server_log.txt".----------SA-MP Dedicated Server----------------------v0.3z-R4, (C)2005-2014 SA-MP Team[18:50:51] filterscripts = ""  (string)[18:50:51] weburl = "www.sa-mp.com"  (string)[18:50:51] [18:50:51] Server Plugins[18:50:51] --------------[18:50:51]  Loading plugin: streamer.so[18:50:51] *** Streamer Plugin v2.7.5.2 by Incognito loaded ***[18:50:51]   Loaded.[18:50:51]  Loading plugin: sscanf.so[18:50:51] [18:50:51]  ===============================[18:50:51]       sscanf plugin loaded.     [18:50:51]    (c) 2009 Alex "Y_Less" Cole[18:50:51]    0.3d-R2 500 Players "dnee"[18:50:51]  ===============================[18:50:51]   Loaded.[18:50:51]  Loading plugin: nativechecker.so[18:50:51]   Loaded.[18:50:51]  Loading plugin: mysql.so[18:50:51]   > MySQL plugin R8 (google code Revision 5) successfully loaded.[18:50:51]   Loaded.[18:50:51]  Loaded 4 plugins.[18:50:51] [18:50:51] Filterscripts[18:50:51] ---------------[18:50:51]   Loaded 0 filterscripts.[18:50:51]    Error: Function not registered: 'mysql_debug'[18:50:51]    Error: Function not registered: 'mysql_connect'[18:50:51]    Error: Function not registered: 'mysql_ping'[18:50:51]    Error: Function not registered: 'mysql_function_query'[18:50:51]    Error: Function not registered: 'mysql_free_result'[18:50:51]    Error: Function not registered: 'cache_get_data'[18:50:51]    Error: Function not registered: 'cache_get_field_content'[18:50:51]    Error: Function not registered: 'mysql_real_escape_string'[18:50:51] Server-Info:	Es konnte keine Verbindung zur Mysql-Datenbank hergestellt werden![18:50:51] Es wird erneut versucht eine Verbindung zur Mysql-Datenbank herzustellen..[18:50:51] Server-Info:	Es konnte keine Verbindung zur Mysql-Datenbank hergestellt werden![18:50:51] Der Server wird wieder heruntergefahren..[18:50:51] Dieses Script steht unter Datenschutz und darf[18:50:51] nur von dem Besitzer benutzt/verwendet werden.[18:50:51] © Copyright by Alex aka. Syntro[18:50:51] Number of vehicle models: 0[18:50:51] --- Server Shutting Down.[18:50:51] Server-Speichert..[18:50:51] - Gangzonen gespeichert 9/9 -[18:50:51] - Drogenpflanzen gespeichert 0/50 -[18:50:51] - Funkmasten gespeichert 0/50 -[18:50:51] - Werbetafeln gespeichert 22/22 -[18:50:51] - Rennen gespeichert 0/50 -[18:50:51] - Schwarzmärkte gespeichert 1/20 -[18:50:51] - Stuff wurde gespeichert -[18:50:51] - Fraktionsvewaltungen gespeichert 18/18 -[18:50:51] - Gutscheine 1/50 -[18:50:51] - Häuser gespeichert 1/300 -[18:50:51] - Fraktionsfahrzeuge gespeichert 0/500 -[18:50:51] - Businesse gespeichert 1/100 -[18:50:51] Die Server Speicherung war erfolgreich ...[18:50:51] *** Streamer Plugin v2.7.5.2 by Incognito unloaded ***[18:50:51] [18:50:51]  ===============================[18:50:51]      sscanf plugin unloaded.    [18:50:51]  ===============================


    Script lädt nur der Server startet nicht mehr dann. - MYSQL Daten sind richtig 1:1 ^^

  • In dem Gamemode den du kompilierst. Suche einfach danach mit STRG+F.
    Danach kompiliere den Gamemode und starte den Server nochmal, dann poste was in der mysql_log.txt steht (zuvor natürlich leeren, das alte Zeug brauchen wir nicht mehr).

  • Jeffry