Page MenuHomeFeedback Tracker

initServer.sqf not working
Need More Info, WishlistPublic


Since this latest 1.24 version updated, the initServer.sqf is not working on dedicated server anymore.


Legacy ID
Steps To Reproduce

create file initServer.sqf

Event Timeline

Bohemia edited Steps To Reproduce. (Show Details)Jul 14 2014, 6:18 PM
Bohemia edited Additional Information. (Show Details)
Bohemia set Category to Scripting.
Bohemia set Reproducibility to Always.
Bohemia set Severity to None.
Bohemia set Resolution to Open.
Bohemia set Legacy ID to 754395932.May 7 2016, 6:58 PM
Bohemia added a subscriber: AD2001.Jul 14 2014, 6:18 PM
sms added a subscriber: sms.May 7 2016, 6:58 PM
sms added a comment.Jul 14 2014, 7:59 PM

But seems to be working on dev.

Bohemia added a subscriber: Bohemia.May 7 2016, 6:58 PM

Have you tried on Dedicated Server yet?

It is also initPlayerLocal.sqf not working after JIP, too.

sms added a comment.Jul 14 2014, 8:43 PM

Yes, I tried on dedicated dev server.

I'm afraid I',m unable to reproduce this.
init.sqf, initServer.sqf, initPlayerServer.sqf and initPlayerLocal.sqf are executed as they're supposed to on default build 124.125979

Does it work on hosted server? Or in SP? Are you running any mods?


It is work on local server, with or without mods.
However, on dedicated server, it is not working even with no mod running.

I have found some issues
-Anything related to isServer which run on local space (local to server) not working on DS (it works fine, if run on both sides with "if (isServer) then {code};").
-After any client JIPed, the init.sqf is only run, but not initPlayerLocal.sqf. Excepted the first group of clients who joined with server.
-"if (isServer) then {if (!isServer) exitWith {}; code code code};" makes the following codes not run.

The map was worked fine before updating 1.24 patched.

The Dedicated Server specification:
-i7 2600S 2.8 Ghz
-RAM 16 GB
-OS Win2008 R2
-Launched by Tophe's ArmA Dedicated Server Tool
-Params: -port=2302 "-config=D:\Games\Steam\SteamApps\common\Arma 3\TADST\normal\TADST_config.cfg" "-cfg=D:\Games\Steam\SteamApps\common\Arma 3\TADST\normal\TADST_basic.cfg" "-profiles=D:\Games\Steam\SteamApps\common\Arma 3\TADST\normal" -name=normal -netlog -pid=pid.log -ranking=ranking.log -enableHT -world=Stratis -exThreads=1 -cpucount=16 -maxmem=16384 -high -bandwidthAlg=2 -nosound -nosplash

Confirmed. And neither does initplayerlocal and initJIPcompatible work.

Currentday's latest patch, stable build.