danke ist behoben,
Ich hoffe das morgen oder übermorgen die domain gerichtet ist.
danke ist behoben,
Ich hoffe das morgen oder übermorgen die domain gerichtet ist.
Ich weis nicht aber bei mir geht das ganze nur das speichern und abfragen von der Datenbank geht nicht bei erstellt er noch nicht einmall die Tabelen
MySQL_Log.txt
[Mon Jun 13 15:07:58 2011] -------------------------
[Mon Jun 13 15:07:58 2011] Logging Started
[Mon Jun 13 15:07:58 2011] -------------------------
bitte tausche die alte mysql connect funktion gegen diese:
forward DTDC_MySQLConnect(sqlhost[], sqluser[], sqlpass[], sqldb[]);
public DTDC_MySQLConnect(sqlhost[], sqluser[], sqlpass[], sqldb[]) // by Luk0r Edited by [DT]Sniper
{
Dtdc_Log(5,"MYSQL: Versuche zum MySql-Server zu Connecten...");
mysql_connect(sqlhost,sqluser,sqlpass,sqldb,mysql_init());
if(!mysql_ping())
{
Dtdc_Log(5,"MYSQL: Datenbank-Verbindung stabil.");
return 1;
}
else
{
Dtdc_Log(5,"MYSQL: Connection Error, Erneut veruschen...");
mysql_connect(sqlhost,sqluser,sqlpass,sqldb,mysql_init());
if(!mysql_ping())
{
Dtdc_Log(5,"MYSQL: Datenbank-Verbindung stabil.");
return 1;
}
else
{
Dtdc_Log(5,"MYSQL: Kann nicht zum MYSQL-Server verbinden, Schalte DT_DynamicCar aus...");
new str[126];
mysql_error(str);
format(str,sizeof(str),"MYSQL-ERROR: %s",str);
Dtdc_Log(5,str);
OnFilterScriptExit();
return 0;
}
}
}
dann server neustraten und den inhalt von MySQL_Log.txt hier posten.
[Mon Jun 13 15:44:52 2011] Error (0): Failed to connect. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_ping called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_query called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_query called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_query called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_query called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_query called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_query called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_query called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_store_result called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_errno called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_free_result called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_query called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_store_result called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_errno called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_free_result called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_query called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_store_result called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_num_rows called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_query called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_store_result called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_num_rows called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_free_result called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_query called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_store_result called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_num_rows called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_free_result called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_query called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_store_result called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_num_rows called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_free_result called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_query called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_store_result called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_num_rows called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_query called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_store_result called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Mon Jun 13 15:44:52 2011] Error (0): Function: mysql_num_rows called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
hehe xD Das bringt mich jetzt weiter xd
naja trotzdem danke für deine Hilfe
Irgendwie geht diese Version bei mir nicht. Beim Vorgänger hat alles geklappt. Wenn ich nin hier /dtdcamenu eingebe passiert nichts. Selbstverständlich bin ich als rcon admin eingeloggt.
Das Script ist meiner Meinung nach sehr gut gelungen.
Ist das script an der ersten stelle der filterscriptliste?
ist das mysqlplugin installiert.
Eine Frage noch ist es normal wenn ich mir ein Car in so einem Shop kaufe, dass ich das Geld wiederbekomme, dass ist nähmlich bisschen kacke...
Plz help kann man das ändern??
Mfg HighLiveZ
Ach ja und wie kann man den Shop verlassen ohne das Car kaufen zu müssen ( Befehl oder so)???
Dürfte eigentlich nicht passieren. Hast du irgendwas bearbeitet was mit GetPlayerMoney oder GivePlayerMoney zu tun hat?
@ Highlive
Das ist ein Thema welches schon oft angeesprochen nwurde, du benutzt sicherlich ein GF mit dem M-Bot
Musst du rausnehmen
Zum rausgehen ohne kaufen glaub STRG taste
PS: Sry wegen der Rechtschreibung die Tastatur spinnt grad
Jo wie macht man den denn raus xD
ZitatZum rausgehen ohne kaufen glaub TAB taste
nein sollte strg sein
@ High-Live, dieses Thema wurde schon oft durchgekaut, bitte eigenständig suchen!
Bitte kann mir einer helfen
[Sat Jun 18 09:45:47 2011] Error (0): Failed to connect. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_ping called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_query called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_query called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_query called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_query called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_query called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_query called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_query called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_store_result called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_errno called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_free_result called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_query called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_store_result called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_errno called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_free_result called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_query called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_store_result called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_num_rows called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_query called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_store_result called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_num_rows called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_free_result called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_query called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_store_result called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_num_rows called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_free_result called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_query called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_store_result called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_num_rows called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_free_result called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_query called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_store_result called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_num_rows called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_query called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_store_result called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
[Sat Jun 18 09:45:47 2011] Error (0): Function: mysql_num_rows called when not connected to any database. Unknown MySQL server host 'db372014337.db.1and1.com' (11001).
Alles anzeigen
Was ist mein Fehler ?
Die lagen beide auf unterschiedlichen Servern
Also das funktioniert nicht!
am besten auf einen server. ansonsten müsste der mysql server connections von überall zulassen.
Moin, ich habe mal wieder ein Problem, man kann sich jetzt Fahrzeuge kaufen und sie werden gespawnt.
Doch nach einem Serverrestart sind die Autos weg!
In der Mysql Datenbank sind sie aber eingetragen.
Sehr schönes Filterscript 10/10