Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Why bother? You can write to DB programatically using any ODBC driver.Is it possible to write to the database using HiveEXT.dll?
Why bother? You can write to DB programatically using any ODBC driver.
maybe he needs to store game data related...from his mod....
mdk, check the bliss dll there are 2 store procedure called around, see how is wrapped it will easy to find in files searching for the names proc_loglogout and proc_loglogin and other that are related with Messages
Sqf::Value HiveExtApp::customExecute( Sqf::Parameters params )
{
string query = Sqf::GetStringAny(params.at(0));
Sqf::Parameters rawParams = boost::get<Sqf::Parameters>(params.at(1));
return _custData->customExecute(query, rawParams);
}
handlers[998] = boost::bind(&HiveExtApp::customExecute,this,_1);
_key = format ["CHILD:998:update `my_table` set `worldspace` = ? where `unique_id` = ?:[%1, %2]:", _param1, _param2];
// worldspace is set to values like "78.123,[123.456,654.321,3.145]:" when it should be [78.123,[123.456,654.321,3.145]]
DirectHiveApp.obj : error LNK2001: unresolved external symbol ""public: __thiscall SqlCustDataSource::SqlCustDataSource(class Poco::Logger &,class boost::shared_ptr<class Database>)" (??0SqlCustDataSource@@QAE@AAVLogger@Poco@@V?$shared_ptr@VDatabase@@@boost@@@Z)".
SqlCustDataSource::SqlCustDataSource( Poco::Logger& logger, shared_ptr<Database> db ) : SqlDataSource(logger,db)
{
//todo: anything?
}
//this is the function which causes an error...
_key = format["CHILD:999:select payload, loop_interval, start_delay from message where instance_id = ?:[%1]:", dayZ_instance];
_data = "HiveEXT" callExtension _key;
_recht = ">= 1";
_key = format["CHILD:999:SELECT unique_id FROM `profile` where `recht` %1", _recht];
_data = "HiveEXT" callExtension _key;
diag_log("Member: Fetching messages...");
//Process result
_result = call compile format ["%1", _data];
_status = _result select 0;
_Member = [];
_MemberCount = 0;
_val = _result select 1;
for "_i" from 1 to _val do {
_data = "HiveEXT" callExtension _key;
_result = call compile format ["%1",_data];
_status = _result select 0;
_Member set [count _Member, _result];
_MemberCount = MemberCount+1;
};
diag_log ("SERVER: Added " + str(_msgCount) + " member!");