Guten Tag,
Habe folgendes Problem:
Ich habe mir ein Dynamisches Teleportsystem herausgesucht und auf Mysql umgeschrieben.
Nun habe ich leider das Problem, dass er die Daten nicht lädt aber speichern tut er sie.
Es gibt keine Errors etc.
Hier die mysql.log (Von einer Variable)
[14:45:03] CMySQLHandler::Query(SELECT `VW` FROM `Teleport` WHERE `Name` = '') - Successfully executed.
[14:45:03] >> mysql_store_result( Connection handle: 1 )
[14:45:03] CMySQLHandler::StoreResult() - Result was stored.
[14:45:03] >> mysql_fetch_int( Connection handle: 1 )
[14:45:03] >> mysql_free_result( Connection handle: 1 )
[14:45:03] CMySQLHandler::FreeResult() - Result was successfully free'd.
[14:45:03] >> mysql_real_escape_string( Connection handle: 1 )
[14:45:03] CMySQLHandler::EscapeString(Teleport); - Escaped 8 characters to Teleport.
[14:45:03] >> mysql_real_escape_string( Connection handle: 1 )
[14:45:03] CMySQLHandler::EscapeString(Int); - Escaped 3 characters to Int.
[14:45:03] >> mysql_real_escape_string( Connection handle: 1 )
[14:45:03] CMySQLHandler::EscapeString(Name); - Escaped 4 characters to Name.
[14:45:03] >> mysql_real_escape_string( Connection handle: 1 )
[14:45:03] CMySQLHandler::EscapeString(); - Escaped 0 characters to .
[14:45:03] >> mysql_query( Connection handle: 1 )
Alles anzeigen
stock Teleportload()
{
for(new i = 0; i < MAX_TELES; i++)
{
format(TeleInfo[i][tName],32,"%s", mysql_GetString("Teleport", "Name", "Name", TeleInfo[i][tName]));
TeleInfo[i][tX] = Float:mysql_GetFloat("Teleport", "X", "Name", TeleInfo[i][tName]);
TeleInfo[i][tY] = Float:mysql_GetFloat("Teleport", "Y", "Name", TeleInfo[i][tName]);
TeleInfo[i][tZ] = Float:mysql_GetFloat("Teleport", "Z", "Name", TeleInfo[i][tName]);
TeleInfo[i][tA] = Float:mysql_GetFloat("Teleport", "A", "Name", TeleInfo[i][tName]);
TeleInfo[i][tVW] = mysql_GetInt("Teleport", "VW", "Name", TeleInfo[i][tName]);
TeleInfo[i][tInt] = mysql_GetInt("Teleport", "Int", "Name", TeleInfo[i][tName]);
}
return 1;
}