DEN

My simple server mod code not work

3 posts in this topic

Posted (edited)

ExileServer_Example_Function.sqf

while {true} do {
	hint "--------- Test ----------";
	sleep 10;
};

-I dont sure about server mod can do this code

When run

23:29:20 "<infiSTAR.de> 0 - STARTUP - AntiHack included!"
23:29:20 "Player/BIS_fnc_log: [preInit] a3_infiSTAR_Exile_fnc_preInit (173 ms)"
23:29:20 "Player/BIS_fnc_log: [preInit] BIS_fnc_getServerVariable (0.999451 ms)"
23:29:20 "Player/BIS_fnc_log: [preInit] ExileClient_fnc_preInit (105 ms)"
23:29:20 "ExileServer - Server is loading..."
23:29:20 Client: Nonnetwork object ead6fe00.
23:29:21 "ExileServer - Installed extDB2 version: 70"
23:29:21 "ExileServer - Connected to database!"
23:29:21 "ExileServer - Database protocol initialized!"
23:29:21 "Player/BIS_fnc_log: [preInit] ExileServer_fnc_preInit (543.003 ms)"
23:29:21 "-------------------------------- PreInit -------------------------------------"
23:29:21 "Player/BIS_fnc_log: [preInit] MyAddon_Server_fnc_preInit (0.999451 ms)"
  
  
23:29:41 "ExileServer - Server is up and running! Version: 0.9.61"
23:29:41 "Player/BIS_fnc_log: [postInit] ExileServer_fnc_postInit (20752 ms)"
23:29:41 "Player/BIS_fnc_log: [postInit] MyAddon_Server_fnc_postInit (0 ms)"

Source code : https://drive.google.com/file/d/0B0c7_ZL5Nj4cejFZUWRtM2pqSW8/view?usp=sharing

Edited by DEN

Share this post


Link to post
Share on other sites

The server cannot "hint" that's a client command.

while { true } do
{
	diag_log "@@@ My Addon Is Running @@@";
};

 

Share this post


Link to post
Share on other sites
12 hours ago, Taylor Swift said:

The server cannot "hint" that's a client command.


while { true } do
{
	diag_log "@@@ My Addon Is Running @@@";
};

 

ohh now my simple code is work thank you very much. What command server side can do and client can do. Now I understand server can do only logical command and client can do graphic command. I learn from this link https://community.bistudio.com/wiki/Category:Scripting_Commands_Arma_3. Sorry for bad eng

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.