a_mysql Fehler Neue Version?

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
  • C:\servertests\pawno\include\mxINI.inc(1) : error 010: invalid function or declaration
    C:\servertests\filterscripts\OSSEN.pwn(81) : error 017: undefined symbol "mysql_debug"
    C:\servertests\filterscripts\OSSEN.pwn(118) : error 017: undefined symbol "mysql_connect"
    C:\servertests\filterscripts\OSSEN.pwn(122) : error 017: undefined symbol "mysql_stat"
    C:\servertests\filterscripts\OSSEN.pwn(200) : error 017: undefined symbol "mysql_real_escape_string"
    C:\servertests\filterscripts\OSSEN.pwn(201) : error 017: undefined symbol "mysql_real_escape_string"
    C:\servertests\filterscripts\OSSEN.pwn(203) : error 017: undefined symbol "mysql_query"
    C:\servertests\filterscripts\OSSEN.pwn(240) : error 017: undefined symbol "mysql_ping"
    C:\servertests\filterscripts\OSSEN.pwn(240) : error 017: undefined symbol "mysql_close"
    C:\servertests\filterscripts\OSSEN.pwn(248) : error 017: undefined symbol "mysql_ping"
    C:\servertests\filterscripts\OSSEN.pwn(248) : error 017: undefined symbol "mysql_connect"
    C:\servertests\filterscripts\OSSEN.pwn(270) : error 017: undefined symbol "mysql_query"
    C:\servertests\filterscripts\OSSEN.pwn(272) : error 017: undefined symbol "mysql_store_result"
    C:\servertests\filterscripts\OSSEN.pwn(273) : error 017: undefined symbol "mysql_num_rows"
    C:\servertests\filterscripts\OSSEN.pwn(291) : error 017: undefined symbol "mysql_free_result"
    C:\servertests\filterscripts\OSSEN.pwn(327) : error 017: undefined symbol "mysql_real_escape_string"
    C:\servertests\filterscripts\OSSEN.pwn(328) : error 017: undefined symbol "mysql_real_escape_string"
    C:\servertests\filterscripts\OSSEN.pwn(331) : error 017: undefined symbol "mysql_query"
    C:\servertests\filterscripts\OSSEN.pwn(332) : error 017: undefined symbol "mysql_store_result"
    C:\servertests\filterscripts\OSSEN.pwn(334) : error 017: undefined symbol "mysql_fetch_row_format"
    C:\servertests\filterscripts\OSSEN.pwn(336) : error 017: undefined symbol "mysql_fetch_field_row"
    C:\servertests\filterscripts\OSSEN.pwn(338) : error 017: undefined symbol "mysql_fetch_field_row"
    C:\servertests\filterscripts\OSSEN.pwn(340) : error 017: undefined symbol "mysql_fetch_field_row"
    C:\servertests\filterscripts\OSSEN.pwn(343) : error 017: undefined symbol "mysql_free_result"
    C:\servertests\filterscripts\OSSEN.pwn(396) : error 017: undefined symbol "mysql_real_escape_string"
    C:\servertests\filterscripts\OSSEN.pwn(397) : error 017: undefined symbol "mysql_real_escape_string"


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



    26 Errors.


    was brauch ich da? hab die a_mysql schon drinne.. geht aber nicht.


    Oder woher bekomm ich ne neuere version?

  • Das hier hat sicher nichts mit Klammerfehler zu tun. Der Compiler zeigt bloß nicht mehr als 26 Errors an. => Du hast wahrscheinlich wirklich das Include vergessen.

  • EDIT:


    /**
    *
    *MySQL Native Functions
    *More information about the function usage at mysql.com
    *
    **/


    #if defined mysql_included
    #endinput
    #endif
    #define mysql_included


    //Definitions


    #define mysql_fetch_row(%1) mysql_fetch_row_format(%1,"|")
    #define mysql_get_field(%1,%2) mysql_fetch_field_row(%2,%1)


    //Native functions


    native mysql_affected_rows(connectionHandle = 1);
    native mysql_close(connectionHandle = 1);
    native mysql_connect(const host[],const user[],const database[],const password[]);
    native mysql_debug(enable = 1);
    native mysql_errno(connectionHandle = 1);
    native mysql_fetch_int(connectionHandle = 1);
    native mysql_fetch_field(number,dest[],connectionHandle = 1);
    native mysql_fetch_field_row(string[],const fieldname[],connectionHandle = 1);
    native mysql_fetch_float(&Float:result,connectionHandle = 1);
    native mysql_fetch_row_format(string[],const delimiter[] = "|",connectionHandle = 1);
    native mysql_field_count(connectionHandle = 1);
    native mysql_free_result(connectionHandle = 1);
    native mysql_get_charset(destination[],connectionHandle = 1);
    native mysql_insert_id(connectionHandle = 1);
    native mysql_num_rows(connectionHandle = 1);
    native mysql_num_fields(connectionHandle = 1);
    native mysql_ping(connectionHandle = 1);
    native mysql_query(query[],resultid = (-1),extraid = (-1),connectionHandle = 1);
    native mysql_real_escape_string(const source[],destination[],connectionHandle = 1);
    native mysql_reconnect(connectionHandle = 1);
    native mysql_reload(connectionHandle = 1) = mysql_reconnect;
    native mysql_retrieve_row(connectionHandle = 1);
    native mysql_set_charset(charset[],connectionHandle = 1);
    native mysql_stat(const destination[],connectionHandle = 1);
    native mysql_store_result(connectionHandle = 1);
    native mysql_warning_count(connectionHandle = 1);


    //Callback


    forward OnQueryFinish(query[], resultid, extraid, connectionHandle);


    2 Mal editiert, zuletzt von GooMan ()