Aber mein Freund hat das Script compiled und dann geschickt, also
da kann doch kein Klammer fehler sein oder ?
Ich hatte das Problem auch, wenn da z.B.
#define SQL_HOST "BLABLA"
#define SQL_NAME "BLABLA"
etc.
Aber mein Freund hat das Script compiled und dann geschickt, also
da kann doch kein Klammer fehler sein oder ?
Ich hatte das Problem auch, wenn da z.B.
#define SQL_HOST "BLABLA"
#define SQL_NAME "BLABLA"
etc.
Hallo Brotfische,
ich habe wiedermal ein Problem.
Wir haben an einem Script gearbeitet, doch wenn ich Compile
stürzt Pawn Compile Library ab, aber bei meinem Freund nicht.
Bei dem klappt alles, aber bei mir nicht..
Kann mir einer bitte helfen ?
Mit freundlichen Grüßen,
Scarface
Ja erlauben sie ...
doch die stimmen ganz sicher
MYSQL_log ist 144 MB groß O.o
Könnt ne Weile dauern ...
ZitatAlles anzeigen
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_free_result( Connection handle: 0 )
[17:00:16] >> mysql_free_result() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_store_result( Connection handle: 0 )
[17:00:16] >> mysql_store_result() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_num_rows( Connection handle: 0 )
[17:00:16] >> mysql_num_rows() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_free_result( Connection handle: 0 )
[17:00:16] >> mysql_free_result() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_store_result( Connection handle: 0 )
[17:00:16] >> mysql_store_result() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_num_rows( Connection handle: 0 )
[17:00:16] >> mysql_num_rows() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_free_result( Connection handle: 0 )
[17:00:16] >> mysql_free_result() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_store_result( Connection handle: 0 )
[17:00:16] >> mysql_store_result() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_num_rows( Connection handle: 0 )
[17:00:16] >> mysql_num_rows() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_free_result( Connection handle: 0 )
[17:00:16] >> mysql_free_result() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_store_result( Connection handle: 0 )
[17:00:16] >> mysql_store_result() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_num_rows( Connection handle: 0 )
[17:00:16] >> mysql_num_rows() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_free_result( Connection handle: 0 )
[17:00:16] >> mysql_free_result() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_store_result( Connection handle: 0 )
[17:00:16] >> mysql_store_result() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_num_rows( Connection handle: 0 )
[17:00:16] >> mysql_num_rows() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_free_result( Connection handle: 0 )
[17:00:16] >> mysql_free_result() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_store_result( Connection handle: 0 )
[17:00:16] >> mysql_store_result() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_num_rows( Connection handle: 0 )
[17:00:16] >> mysql_num_rows() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_free_result( Connection handle: 0 )
[17:00:16] >> mysql_free_result() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_store_result( Connection handle: 0 )
[17:00:16] >> mysql_store_result() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_num_rows( Connection handle: 0 )
[17:00:16] >> mysql_num_rows() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_free_result( Connection handle: 0 )
[17:00:16] >> mysql_free_result() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_store_result( Connection handle: 0 )
[17:00:16] >> mysql_store_result() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_num_rows( Connection handle: 0 )
[17:00:16] >> mysql_num_rows() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:00:16] >> mysql_free_result( Connection handle: 0 )
[17:00:16] >> mysql_free_result() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:00:16] >> mysql_query( Connection handle: 1 )
[17:00:16] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[17:01:21] >> mysql_ping( Connection handle: 0 )
[17:01:21] >> mysql_ping() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:01:21] >> mysql_connect( )
[17:01:22] CMySQLHandler::Connect() - Can't connect to MySQL server on '85.214.94.65' (10061) (Error ID: 2003)
[17:02:26] >> mysql_ping( Connection handle: 0 )
[17:02:26] >> mysql_ping() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:02:26] >> mysql_connect( )
[17:02:27] CMySQLHandler::Connect() - Can't connect to MySQL server on '85.214.94.65' (10061) (Error ID: 2003)
[17:03:32] >> mysql_ping( Connection handle: 0 )
[17:03:32] >> mysql_ping() - Invalid connection handle. (You set: 0, Highest connection handle ID is 2).
[17:03:32] >> mysql_connect( )
[17:03:32] CMySQLHandler::Connect() - Can't connect to MySQL server on '85.214.94.65' (10061) (Error ID: 2003)
Kleiner Auszug davon ist sehr viel drinnen, falls ihr mehr sehen müsst bitte Bescheid Sagen.
/edit.
Kevin1 debug ist auch drinnen.
Kann mir keiner per Teamviewer helfen ?
Ja die existieren.
Verbindet der Anfangs mit MYSQL ?
Nein.
Ist der MYSQL-Server denn gestartet ?
Ja müsste es eig. weiß ich aber ehrlich gesagt nicht genau haben phpadmin control panel.
Wurden die Daten richtig in die .pwn eingetragen ?
Ja wurden sie.
Wir haben das RGR Script entbuggt nun haben wir den Server gestartet und das kommt jetzt.
Wir wissen nicht wo der Fehler liegt, aber falls jemand sich auskennt und uns helfen könnte wäre das sehr nett.
Ich könnt auch im Gegenzug für euch was tun. Z.b bin ich Forum-/Teamspeak Techniker. (außer dafür bezahlen).
Mit freundlichen Grüßen,
[VIP]Scarface[VIP]
Mache ich auch, dann kommt ja das, also der Fehler.
Wenn ich nichts reinschreibe, dann klappt alles, aber sobald ich was
rein geschrieben habe, dann muss Pawn Compile geschlossen werden, wegen diesem Fehler
Hallo Community,
ich wollte heute die Daten eintragen, wo
#if defined MySQL
new MySQLConnection;
#define MySQL_Host ""
#define MySQL_User ""
#define MySQL_DB ""
#define MySQL_Passwort ""
#endif
Aber immer wenn ich das mache, kommt, dass Pawn Compile Library ein Fehler gefunden hat
und geschlossen werden muss. Ich kann also nicht meinen Server öffnen, da die Daten nicht gespeichert werden.
Habs auch so gemacht, da steht auch, dass die Plugins geladen wurden.
Schon draussen..
ZitatAlles anzeigen
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3e-R2, (C)2005-2012 SA-MP Team
filterscripts = "" (string)
Server Plugins
--------------
Loading plugin: filemanager.dll
******************
** FILE MANAGER **
** Loaded **
** Version 1.1 **
******************
Loaded.
Loading plugin: mysql.dll
> MySQL plugin R5 successfully loaded.
Loaded.
Loaded 2 plugins.
Started server on port: 7777, with maxplayers: 100 lanmode is OFF.
Filterscripts
---------------
Loaded 0 filterscripts.
Script[gamemodes/Script.amx]: Run time error 19: "File or function is not found"
Number of vehicle models: 0
Windows
Habs gemacht. Klappt trz. nicht
Hab einen Error
Ich hab bei unserem Script (RGR) soweit alles gefixt, aber der Server will nicht starten..
ZitatAlles anzeigen
Zitat
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3e-R2, (C)2005-2012 SA-MP Team
filterscripts = "" (string)
Server Plugins
--------------
Loading plugin: filemanager.dll
******************
** FILE MANAGER **
** Loaded **
** Version 1.1 **
******************
Loaded.
Loading plugin: mysql.dll
> MySQL plugin R5 successfully loaded.
Loaded.
Loading plugin: nativechecker.dll
Failed.
Loaded 2 plugins.
Started server on port: 7777, with maxplayers: 100 lanmode is OFF.
Filterscripts
---------------
Loaded 0 filterscripts.
Script[gamemodes/Script.amx]: Run time error 19: "File or function is not found"
Number of vehicle models: 0
INFO: Bei meinem Freund kommen keine Error's beim Complieren, aber bei mir schon, dutils error...
"plugins sscanf streamer"
in die server.cfg reinschreiben..
Habe das gemacht, aber jetzt kommen wieder die Warnings mit
C:\Dokumente und Einstellungen\XXX\Desktop\Neuer Ordner (4)\gamemodes\Script.pwn(6537) : warning 213: tag mismatch
WantedLabel[playerid][i] = CreatePlayer3DTextLabel(i, string, COLOR_KNALLROT, 0.0, 0.0, 1.0, 50.0, playerid, INVALID_VEHICLE_ID, 1);
19 Warnings kommen jetzt nicht, aber
Das hier kommt
C:\Dokumente und Einstellungen\XXX\Desktop\Neuer Ordner (4)\gamemodes\Script.pwn(4672) : error 017: undefined symbol "WantedLabel"
C:\Dokumente und Einstellungen\XXX\Desktop\Neuer Ordner (4)\gamemodes\Script.pwn(4672) : warning 215: expression has no effect
C:\Dokumente und Einstellungen\XXX\Desktop\Neuer Ordner (4)\gamemodes\Script.pwn(4672) : error 001: expected token: ";", but found "]"
C:\Dokumente und Einstellungen\XXX\Desktop\Neuer Ordner (4)\gamemodes\Script.pwn(4672) : error 029: invalid expression, assumed zero
C:\Dokumente und Einstellungen\XXX\Desktop\Neuer Ordner (4)\gamemodes\Script.pwn(4672) : fatal error 107: too many error messages on one line
Zeile:
for(new i = 0; i < MAX_PLAYERS; i++)
{
WantedLabel[playerid][i] =- 1;
}