Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Civilian vehicle spawner not functioning when using headless clients on chernarus_summer #195

Open
sicsix opened this issue Nov 11, 2018 · 7 comments

Comments

@sicsix
Copy link

sicsix commented Nov 11, 2018

Version: 1.4.0.1

Mods: A bunch (not relevant)

Environment: MP dedi.

.rpt attatched? No

have you edited the missionfile?: Some edits

Issue:

Civ vehicles no longer spawn in on 1.4.0.1 when connecting headless clients. When running no HC it works fine.

Headless client server logs show the following:

19:27:26 Error in expression < and (_cuenta < _numVeh) and (_cuenta < _max)} do
{
_p1 = _roads select _cuenta;>
19:27:26   Error position: <_max)} do
{
_p1 = _roads select _cuenta;>
19:27:26   Error Undefined variable in expression: _max
19:27:26 File CREATE\createCIV.sqf [A3A_fnc_createCIV], line 48
19:27:26 a3\characters_f_gamma\heads\glasses\g_aviators.p3d: No geometry and no visual shape
19:27:26 Error in expression <dor] call A3A_fnc_sizeMarker;

_roads = _roads call BIS_fnc_arrayShuffle;

_numV>
19:27:26   Error position: <_roads call BIS_fnc_arrayShuffle;

_numV>
19:27:26   Error Undefined variable in expression: _roads
19:27:26 File CREATE\createCIV.sqf [A3A_fnc_createCIV], line 37
19:27:26 Error in expression <unt _patrolCiudades - 1) and (_cuenta < _max))} do
{

_p1 = _roads select _cuent>
19:27:26   Error position: <_max))} do
{

_p1 = _roads select _cuent>
19:27:26   Error Undefined variable in expression: _max
19:27:26 File CREATE\createCIV.sqf [A3A_fnc_createCIV], line 125
19:27:27 CWeaponSlotsManager::DeleteWeapon: wrong weaponID!
19:27:37 Warn: Shape '???' contains water texture however it does not carry a property "class=pond". Consider creating one to speed up the detection!
19:27:56 Error in expression < and (_cuenta < _numVeh) and (_cuenta < _max)} do
{
_p1 = _roads select _cuenta;>
19:27:56   Error position: <_max)} do
{
_p1 = _roads select _cuenta;>
19:27:56   Error Undefined variable in expression: _max
19:27:56 File CREATE\createCIV.sqf [A3A_fnc_createCIV], line 48
19:27:56 Error in expression <dor] call A3A_fnc_sizeMarker;

_roads = _roads call BIS_fnc_arrayShuffle;

_numV>
19:27:56   Error position: <_roads call BIS_fnc_arrayShuffle;

_numV>
19:27:56   Error Undefined variable in expression: _roads
19:27:56 File CREATE\createCIV.sqf [A3A_fnc_createCIV], line 37
19:27:56 Error in expression <unt _patrolCiudades - 1) and (_cuenta < _max))} do
{

_p1 = _roads select _cuent>
19:27:56   Error position: <_max))} do
{

_p1 = _roads select _cuent>
19:27:56   Error Undefined variable in expression: _max
19:27:56 File CREATE\createCIV.sqf [A3A_fnc_createCIV], line 125
19:28:12 CWeaponSlotsManager::DeleteWeapon: wrong weaponID!
19:28:40 CWeaponSlotsManager::DeleteWeapon: wrong weaponID!
19:28:58 CWeaponSlotsManager::DeleteWeapon: wrong weaponID!
19:29:15 Error in expression < and (_cuenta < _numVeh) and (_cuenta < _max)} do
{
_p1 = _roads select _cuenta;>
19:29:15   Error position: <_max)} do
{
_p1 = _roads select _cuenta;>
19:29:15   Error Undefined variable in expression: _max
19:29:15 File CREATE\createCIV.sqf [A3A_fnc_createCIV], line 48
19:29:15 Error in expression <unt _patrolCiudades - 1) and (_cuenta < _max))} do
{

_p1 = _roads select _cuent>
19:29:15   Error position: <_max))} do
{

_p1 = _roads select _cuent>
19:29:15   Error Undefined variable in expression: _max
19:29:15 File CREATE\createCIV.sqf [A3A_fnc_createCIV], line 125
19:29:15 Error in expression <dor] call A3A_fnc_sizeMarker;

_roads = _roads call BIS_fnc_arrayShuffle;

_numV>
19:29:15   Error position: <_roads call BIS_fnc_arrayShuffle;

_numV>
19:29:15   Error Undefined variable in expression: _roads
19:29:15 File CREATE\createCIV.sqf [A3A_fnc_createCIV], line 37
19:29:19 Loading movesType CfgMovesDog_F
19:29:19 Reading cached action map data
19:29:19 MovesType CfgMovesDog_F load time 12 ms
19:30:12 CWeaponSlotsManager::DeleteWeapon: wrong weaponID!
19:30:49 Error in expression < and (_cuenta < _numVeh) and (_cuenta < _max)} do
{
_p1 = _roads select _cuenta;>
19:30:49   Error position: <_max)} do
{
_p1 = _roads select _cuenta;>
19:30:49   Error Undefined variable in expression: _max
19:30:49 File CREATE\createCIV.sqf [A3A_fnc_createCIV], line 48
19:30:49 Error in expression <unt _patrolCiudades - 1) and (_cuenta < _max))} do
{

_p1 = _roads select _cuent>
19:30:49   Error position: <_max))} do
{

_p1 = _roads select _cuent>
19:30:49   Error Undefined variable in expression: _max
19:30:49 File CREATE\createCIV.sqf [A3A_fnc_createCIV], line 125
19:30:49 Error in expression <dor] call A3A_fnc_sizeMarker;

_roads = _roads call BIS_fnc_arrayShuffle;

_numV>
19:30:49   Error position: <_roads call BIS_fnc_arrayShuffle;

_numV>
19:30:49   Error Undefined variable in expression: _roads
19:30:49 File CREATE\createCIV.sqf [A3A_fnc_createCIV], line 37
@newboerg
Copy link

This is interesting,
As i am using 1.4.0.1 WITH 3 HCs.
And everything works like a charm.

@sicsix
Copy link
Author

sicsix commented Nov 13, 2018

This is on the WW2 version by the way.

Downloaded a fresh copy from github, cut back to bare minimum mods:
"-mod=@IFA3_AIO_LITE;@CUP Terrains - Core;@CUP Terrains - Maps;@CBA_A3"

Issue seems to persist.

@sicsix
Copy link
Author

sicsix commented Nov 13, 2018

Interestingly there are no problems with headless clients and civilian vehicles spawning in the Altis version of Antistasi.

@newboerg
Copy link

newboerg commented Nov 13, 2018

Tried it with a MALDEN Port from workshop and got no Vehicles too :-)
Which map did you try?
Maybe its a problem with map != Altis

@sicsix
Copy link
Author

sicsix commented Nov 13, 2018

Running chernarus_summer with the built in WW2 version. Thought I was onto something when I found a ; missing at the end of the roadsDBcherna.sqf file but that wasn't it...

@sicsix
Copy link
Author

sicsix commented Nov 13, 2018

Figured it out, will submit a pull request with the fix tomorrow.

@sicsix
Copy link
Author

sicsix commented Nov 13, 2018

Pull request #199 has the fix in it.

@sicsix sicsix changed the title Civilian vehicle spawner not functioning when using headless clients Civilian vehicle spawner not functioning when using headless clients on chernarus_summer Nov 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants