FireStorm

Member
  • Content count

    24
  • Donations

    0.00 EUR 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About FireStorm

  • Rank
    Bambi

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. FireStorm

    How interact with exile DataBase

    It works ! The only small defect is that in addition to entering the UID and name it enters another line (before) like this:
  2. FireStorm

    How interact with exile DataBase

    I'll try that.
  3. FireStorm

    How interact with exile DataBase

    I add the part of the corresponding rpt file: "ExileServer - Starting session for 'FireStorm' with ID 'ovezkzso'..." "ExileServer - Dispatching hasPlayerRequest for session 'ovezkzso'..." Error in expression <] call BIS_fnc_param; _publicMessage = [ExileClientSessionId, _messageName, _mes> Error position: <ExileClientSessionId, _messageName, _mes> Error Undefined variable in expression: exileclientsessionid File exile_client\code\ExileClient_system_network_send.sqf, line 15 Error in expression <] call BIS_fnc_param; _publicMessage = [ExileClientSessionId, _messageName, _mes> Error position: <ExileClientSessionId, _messageName, _mes> Error Undefined variable in expression: exileclientsessionid File exile_client\code\ExileClient_system_network_send.sqf, line 15
  4. FireStorm

    How interact with exile DataBase

    I've made some progress in solving my problem. Here's what I did: Now when I execute the trigger that contains that code: _ProfileName = profileName; _UidPlayer = getPlayerUID player; ["createQuestAccount", [_ProfileName,_UidPlayer]] call ExileClient_system_network_send; I have two entries in my database, that's what it looks like:
  5. FireStorm

    How interact with exile DataBase

    I put exactly what you send to me: _ProfileName = profileName; // name player; _UidPlayer = getPlayerUID player; ["createAccount", [_ProfileName,_UidPlayer]] call ExileClient_system_network_send;
  6. FireStorm

    How interact with exile DataBase

    Then I just realized my mistake. It was in the file "description.ext" that I had to put the code. On the other hand I have another concern here is my RPT: "ExileServer - Player FireStorm (UID 76561198131767766) connected!" "ExileServer - Starting session for 'FireStorm' with ID 'gpqzurop'..." "ExileServer - Dispatching hasPlayerRequest for session 'gpqzurop'..." Error in expression <_ProfileName = profileName; // name player;> Error position: <// name player;> Error Invalid number in expression Error in expression <] call BIS_fnc_param; _publicMessage = [ExileClientSessionId, _messageName, _mes> Error position: <ExileClientSessionId, _messageName, _mes> Error Undefined variable in expression: exileclientsessionid File exile_client\code\ExileClient_system_network_send.sqf, line 15 "ExileServer - Network message dispatch failed: Parameter count mismatch! Payload: [any,""createAccount"",[""Exile"",""""]]" "ExileServer - Network message dispatch failed: Parameter count mismatch! Payload: [""gpqzurop"",""createAccount"",[""FireStorm"",""76561198131767766""]]" EPE manager release (0|31|0) Deinitialized shape [Class: "C_Soldier_VR_F"; Shape: "a3\characters_f_bootcamp\common\vr_soldier_f.p3d";] I'm looking at what might be a problem.
  7. FireStorm

    How interact with exile DataBase

    OK, so I understood that I must put this code in the file "config.cpp" in the folder "Exile.malden". Unfortunately since I added: class CfgNetworkMessages { class createAccount { module = "system_createaccount"; parameters = {"STRING", "STRING"}; }; }; I can no longer connect to the server, I am stuck in an infinite load. Namely that in my "config.cpp" file there was no "class CfgNetworkMessages".
  8. FireStorm

    How interact with exile DataBase

    I didn't quite understand where I should put this: class CfgNetworkMessages { class createAccount { module = "system_createaccount"; parameters = {"STRING", "STRING"}; }; }; Thank you for taking the time to help me.
  9. FireStorm

    How interact with exile DataBase

    Any ideas? It's very important to me:/
  10. FireStorm

    How interact with exile DataBase

    Hi! So I think I'm close. Here's what I put on: sqf file executed by trigger in game: _ProfileName = profileName; _UidPlayer = getPlayerUID player; _IdInfos = [_ProfileName, _UidPlayer]; _IdInfos call ExileServer_system_test_Init; In the "ExileServer_system_test_Init.sqf": private["_ProfileName", "_UidPlayer"]; _string = _this select 0; _id = _this select 1; format ["createAccountTests:%1:%2",_id, _string] call ExileServer_system_database_query_fireAndForget; And at the bottom of "exile.ini" file: [createAccountTests] SQL1_1 = INSERT INTO tests SET account_uid = ?, name = ? Number Of Inputs = 2 SQL1_INPUTS = 1,2 It's almost working. it's just that it doesn't get the variables "uid and playername" correctly because in the "test" table in the "account_uid" column it's an empty box and in the "name" column it's "Exile" which is inserted there. I don't know why when i transfert "_ProfileName" and "_UidPlayer" it's replaced by: "Exile" and "" Any leads ?
  11. FireStorm

    How interact with exile DataBase

    x) Wow I must have been very tired ! No no, my "exile.ini" looks more like this: [createAccountTests] SQL1_1 = INSERT INTO tests SET account_uid = ?, name = ? Number Of Inputs = 2 SQL1_INPUTS = 1,2
  12. FireStorm

    How interact with exile DataBase

    I've made a little progress. I created a new table in the database with this: CREATE TABLE `tests` ( `account_uid` varchar(32) NOT NULL, `name` varchar(64) NOT NULL, `test` varchar(8) NOT NULL, `alpha` varchar(8) NOT NULL, `bravo` varchar(8) NOT NULL, `charlie` varchar(8) NOT NULL, PRIMARY KEY (`account_uid`), KEY `player_uid` (`account_uid`), ) ENGINE=InnoDB DEFAULT CHARSET=utf8; Now I would like to make sure that when the player enters the zone, the "account_uid" and "name" columns fill up as well as the "Alpha" column increments by 1. So i tried this: _playeruid = getPlayerUID player; _playerID = format["createAccountTests:%1", _playeruid ] call ExileServer_system_database_query_insertSingle; Oh and I also added this to "exile.ini": [createAccountTests] SQL1_1 = INSERT INTO account SET uid = ?, name = ? Number Of Inputs = 2 SQL1_INPUTS = 1,2 Any leads ? pls
  13. FireStorm

    How interact with exile DataBase

    I'm having a little trouble. That's what I tried: Put: ['ExileServer_system_test', 'exile_server\code\ExileServer_system_test.sqf', false] into "fn_preInit.sqf" Then into "ExileServer_system_test.sqf": testlevel = "testlevel1" call ExileServer_system_database_query_selectFull; publicVariable "testlevel"; And finally: this into my sqf file triggered by a player in game: hint format["%1", testlevel]; But without succes... Any leads?
  14. FireStorm

    How interact with exile DataBase

    Thanks, I'll get right on it
  15. FireStorm

    How interact with exile DataBase

    Could you give me an example? I get the idea, but I'm not sure how to apply it.