Moin,
wie der Titel werden die Nachrichten nicht gespeichert. Nachrichten an sich werden versendet und kommen auch an nur halt nicht gespeichert.
Hab es nach dem Tutorial hier im Forum gemacht: KLICK
Nebenbei benutze ich das Native Network Server Pack 4.0: KLICK
extDB2 Log gibt folgenden Fehler aus:
Code
[22:46:32:753224 +02:00] [Thread 9768] extDB2: SQL_CUSTOM_V2: Error No Custom Call Not Found: Input String SELECT fromID, toID, message, fromName, toName FROM messages WHERE toID='76561198033482575' ORDER BY time DESC
[22:46:32:753702 +02:00] [Thread 9768] extDB2: SQL_CUSTOM_V2: Error No Custom Call Not Found: Callname SELECT fromID, toID, message, fromName, toName FROM messages WHERE toID='76561198033482575' ORDER BY time DESC
[23:02:28:423833 +02:00] [Thread 9768] extDB2: SQL_CUSTOM_V2: Error No Custom Call Not Found: Input String SELECT fromID, toID, message, fromName, toName FROM messages WHERE toID='76561198033482575' ORDER BY time DESC
[23:02:28:424327 +02:00] [Thread 9768] extDB2: SQL_CUSTOM_V2: Error No Custom Call Not Found: Callname SELECT fromID, toID, message, fromName, toName FROM messages WHERE toID='76561198033482575' ORDER BY time DESC
Serverlog gibt unter anderem den Fehler aus:
Code
23:02:28 Error in expression <Exec["life_fnc_smartphone", _player];
}
forEach _queryResult;
_queryResult =>
23:02:28 Error position: <forEach _queryResult;
_queryResult =>
23:02:28 Error foreach: Type String, expected Array
23:02:28 File \life_server\Functions\Smartphone\fn_msgRequest.sqf [TON_fnc_msgRequest], line 28
Alles anzeigen
Die fn_msgRequest sieht so aus:
Code
/* file: fn_msgRequest.sqf
Author: Silex
Fills the Messagelist
*/
private["_query", "_queryResult", "_uid", "_player"];
_uid = [_this, 0, "", [""]] call BIS_fnc_param;
_player = [_this, 1, ObjNull, [ObjNull]] call BIS_fnc_param;
_query = format["SELECT fromID, toID, message, fromName, toName FROM messages WHERE toID='%1' ORDER BY time DESC", _uid];
waitUntil {
!DB_Async_Active
};
_queryResult = [_query, 2, true] call DB_fnc_asyncCall;
if (count _queryResult == 0) exitWith {}; {
[1, _x] remoteExec["life_fnc_smartphone", _player];
}
forEach _queryResult;
Alles anzeigen
Im Anhang sind noch mal alle Logs + Screens von der MySQL Datenbank.
Danke schon mal im Vorraus