Kingsley1997 39 Posted July 17, 2015 I'm building a MP mission using a client/server model (BIS_fnc_MP) and I can get the client to call a function on the server, but I can't get the server to properly execute the function due to iniDBI not being defined. Note that I am testing this on my own dedicated server. I use TADST to create the server (and yes I am running the @iniDBI mod for sure) and then I join the server on the same machine using the normal Arma 3 through Steam. Here's my init.sqf init.sqf if (isServer || isDedicated) call compile preProcessFile "\iniDBI\init.sqf"; diag_log call iniDB_version; // It will even error here! #include "fn\definitions.sqf" enableSaving [false, false]; if (isServer) then { // Server Init } else { waitUntil {!isNull player}; waitUntil {time > 0}; player setVariable["profileName", profileName, true]; player setVariable["hasBeenKilled", false, true]; player spawn fn_loadPlayer; ["Spawned fn_loadPlayer", true] call fn_devLog; }; Share this post Link to post Share on other sites
Schatten 290 Posted July 17, 2015 (edited) if (isServer || isDedicated) [color="#FF0000"]then {[/color] call compile preProcessFile "\iniDBI\init.sqf"; diag_log call iniDB_version; [color="#FF0000"]}[/color]; Edited July 17, 2015 by Schatten updated Share this post Link to post Share on other sites
Kingsley1997 39 Posted July 17, 2015 if (isServer || isDedicated) [color="#FF0000"]then {[/color]call compile preProcessFile "\iniDBI\init.sqf"[color="#FF0000"]}[/color]; Still doesn't work after that, same error :( ---------- Post added at 18:30 ---------- Previous post was at 18:28 ---------- if (isServer || isDedicated) [color="#FF0000"]then {[/color] call compile preProcessFile "\iniDBI\init.sqf"; diag_log call iniDB_version; [color="#FF0000"]}[/color]; Oh just noticed you put the diag_log inside the IF, testing now.. ---------- Post added at 18:32 ---------- Previous post was at 18:30 ---------- if (isServer || isDedicated) [color="#FF0000"]then {[/color] call compile preProcessFile "\iniDBI\init.sqf"; diag_log call iniDB_version; [color="#FF0000"]}[/color]; That gets rid of the error, thank you! Share this post Link to post Share on other sites