Jump to content

Liliannismo33

Members
  • Content count

    16
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Liliannismo33

  • Rank
    Member

Recent Profile Visitors

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

  1. Liliannismo33

    Need help Fixing this error

    Hello, I do not think that's a problem. There are some "normal" errors in the server logs. But your server is working properly?
  2. It's functional, the script starts well. I think it was because of SpyGlass. But I have another question. I want to change a given in the DB in a column that I create by "1" when the script is run. How can I do ? diag_log "Essai"; #include "..\..\script_macros.hpp" diag_log "Essai2"; private ["_uid","_query"]; _uid = [_this,0,"",[""]] call BIS_fnc_param; diag_log "Essai3"; _query = format ["UPDATE players SET accept_rules='1' WHERE pid='%1'",_uid]; diag_log "Essai4"; [_query,1] call DB_fnc_asyncCall; diag_log "Essai5"; The "diag_log" serve me to check if all starts well and it is the case and no error in RPT log https://pastebin.com/bvP96yJh
  3. A French DEV helped me and explain that to me, so I #include "..\.. \script_macros.hpp" at the beginning of my file and change to put RSERV on the RemoteExec, but nothing in fact. So he found me an alternative with the local save on the player's profile, but I still have to try it. i run in 5.0 and i use this : https://github.com/AsYetUntitled/Framework
  4. For the first error, it's good Thanks you And the third, my file have just : [player] remoteExec ["DB_fnc_changeacceptrules",2 ]; And the second, i think it's normal. The file dosen't exist too in the framework of Altis Life
  5. Nothing https://pastebin.com/3w18dLKZ
  6. https://pastebin.com/r1qJgBjg Here is it
  7. Liliannismo33

    Running a DB query from a script

    No no not at all :)
  8. Yes, i have add in CfgRemoteExec.hpp : F(DB_fnc_changerulesaccept,SERVER) And [player] remoteExec ["DB_fnc_changeacceptrules",RSERV]; dosen't work
  9. Liliannismo33

    Running a DB query from a script

    Oh yes ! Sry my bad ^^
  10. Liliannismo33

    Modded Vehicles

    Hello, can you send your RPT logs ? Thanks you
  11. Hello, I would like to run a script that is in the life_server from the mpmission. I found this, but nothing seems to happen: [] remoteExec ["DB_fnc_changeacceptrules",RSERV]; I would also like in this script, this one once execute changes the value of the column "accept_rules" that I create from 0 to 1. params [ ["_player",ObjNull,[ObjNull]], ]; private _pid = getPlayerUID _player; private _query = format ["UPDATE players SET accept_rules='1' WHERE pid='%1'",_pid]; [_query,1] call DB_fnc_asyncCall; I have add the file of my script in the config.cpp of the life_server as well as in the file where all the functions SERVER, CLIENT, ANYONE, HC are located. (I do not remember the name of the file anymore) Thank you for your help.
  12. Liliannismo33

    briefing.sqf not showing on server

    Hello, Can you give your init.sqf in your mpmission folder pls.
  13. Liliannismo33

    Running a DB query from a script

    hint _queryResult; You forgot the "" -> hint "_queryResult"; But your hint IG gonna to say you : [_query,2] call DB_fnc_asyncCall; But it's something to see if your script work, but you can write another things like "Script Executed" or wathever. (Sry for my english ^^)
×