Schönen Abend breadfish,
mein problem liegt beim speichern, Ingame klappt das System wunderbar, aber es wird leider nichts in die Datenbank geschrieben.
MySQL_Log:
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='2029.726684',maxY='1330.839477',minX='2053.801269',minY='1365.484130',flaggeX='2045.354370',flaggeY='1340.911376',flaggeZ='10.671875',erstellt='' WHERE id='0') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='1') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='2') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='3') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='4') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='5') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='6') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='7') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='8') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='9') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='10') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='11') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='12') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='13') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='14') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='15') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='16') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='17') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='18') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='19') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='20') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='21') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='22') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='23') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='24') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='25') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='26') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='27') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='28') - Successfully executed.
[22:01:02] >> mysql_query( Connection handle: 1 )
[22:01:02] CMySQLHandler::Query(UPDATE gangwar SET owner='',maxX='0.000000',maxY='0.000000',minX='0.000000',minY='0.000000',flaggeX='0.000000',flaggeY='0.000000',flaggeZ='0.000000',erstellt='' WHERE id='29') - Successfully executed.
Code:
stock SaveGZ()
{
for(new i,string[500]; i<MAX_GZ; i++)
{
format(string,sizeof(string),"UPDATE gangwar SET owner='%s',maxX='%f',maxY='%f',minX='%f',minY='%f',flaggeX='%f',flaggeY='%f',flaggeZ='%f',erstellt='%s' WHERE id='%d'",
GZ[i][owner],GZ[i][max_x],GZ[i][max_y],GZ[i][min_x],GZ[i][min_y],GZ[i][flagge_x],GZ[i][flagge_y],GZ[i][flagge_z],GZ[i][erstellt],i);
mysql_query(string);
}
return 1;
}
stock SaveGZ_(zoneid)
{
new string[500];
format(string,sizeof(string),"INSERT INTO gangwar (id,owner,maxX,maxY,minX,minY,flaggeX,flaggeY,flaggeZ,erstellt) VALUES (%d,'%s','%f','%f','%f','%f','%f','%f','%f','%s')",
zoneid,GZ[zoneid][owner],GZ[zoneid][max_x],GZ[zoneid][max_y],GZ[zoneid][min_x],GZ[zoneid][min_y],GZ[zoneid][flagge_x],GZ[zoneid][flagge_y],GZ[zoneid][flagge_z],GZ[zoneid][erstellt]);
mysql_query(string);
return 1;
}
Mit freundlichen Grüßen
Grapefruit