Jump to content
  • 0

Infistar Vehicles,Trader Vehicles not Spawning


Mochan

Question

When I try to buy something or spawn it in via infistar this is the message in rpt and it dosen't appear.

13:20:38 Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/MH60S/
13:20:38 Cannot create entity with abstract type MH60S (scope = private?)
13:20:38 Cannot create non-ai vehicle MH60S,

Help Please! 

 

~Mochan

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

Hey Guys,

Iam running Juans server pack, and i am having almost the same problem. i can spawn vehicles through the infistar, but when i go to the trader it wont let me spawn it. It does the animation, and you get the key. The red arrow shows up but no vehicle spawns. This is the error iam getting from it.

23:30:50 "EPOCH SERVERTRADE: Player: Punisher (76561198020415154) bought a HMMWV_M1035_DES_EP1 in/at trader city Stary for 40000x Coins"
23:30:50 Error in expression < _array select 5;
            _pos = _worldspace select 1;
            _txt = getText (configFile >
23:30:50   Error position: <select 1;
            _txt = getText (configFile >
23:30:50   Error select: Type Object, expected Array,Config entry

I have talked to Juan and he couldnt help me.

Hope anyone could help me, thanks anyway..

Link to comment
Share on other sites

  • 0

After a lot of looking around to find out the FIX, and i finally find out a way to fix it.

Its the infistar issue. i changed the Ah.sql file

        'PVDZE_veh_Publish2' addPublicVariableEventHandler
        {
            _array = (_this select 1);
            _worldspace = _array select 0;
            _class = _array select 1;
            _activatingPlayer = _array select 5;
            _pos = _worldspace select 1;
            _txt = getText (configFile >> 'CfgVehicles' >> _class >> 'displayName');
            if(isNull _activatingPlayer || {!isPlayer _activatingPlayer})exitWith {
                _log = format['Vehicle spawned without valid player %1 (%2) | Position: %3',_class,_txt,_pos];
                diag_log ('infiSTAR.de Log: '+_log);
            };

'PVDZE_veh_Publish2' addPublicVariableEventHandler
		{
			_array = (_this select 1);
			_worldspace = _array select 1;
			_class = _array select 2;
			_activatingPlayer = _array select 5;
			_pos = _worldspace select 1;
			_txt = getText (configFile >> 'CfgVehicles' >> _class >> 'displayName');
			if(isNull _activatingPlayer || {!isPlayer _activatingPlayer})exitWith {
				_log = format['Vehicle spawned without valid player %1 (%2) | Position: %3',_class,_txt,_pos];
				diag_log ('infiSTAR.de Log: '+_log);
			};
Link to comment
Share on other sites

  • 0
45 minutes ago, Daddy Kropp said:

So what exactly did you change to fix this issue?

 

Inside of your AH.sql which is located at "\z\addons\dayz_server\init\AH.sqf"

find this

'PVDZE_veh_Publish2' addPublicVariableEventHandler
        {
            _array = (_this select 1);
            _worldspace = _array select 0;
            _class = _array select 1;
            _activatingPlayer = _array select 5;
            _pos = _worldspace select 1;
            _txt = getText (configFile >> 'CfgVehicles' >> _class >> 'displayName');
            if(isNull _activatingPlayer || {!isPlayer _activatingPlayer})exitWith {
                _log = format['Vehicle spawned without valid player %1 (%2) | Position: %3',_class,_txt,_pos];
                diag_log ('infiSTAR.de Log: '+_log);
            };

Replace it with this

'PVDZE_veh_Publish2' addPublicVariableEventHandler
		{
			_array = (_this select 1);
			_worldspace = _array select 1;
			_class = _array select 2;
			_activatingPlayer = _array select 5;
			_pos = _worldspace select 1;
			_txt = getText (configFile >> 'CfgVehicles' >> _class >> 'displayName');
			if(isNull _activatingPlayer || {!isPlayer _activatingPlayer})exitWith {
				_log = format['Vehicle spawned without valid player %1 (%2) | Position: %3',_class,_txt,_pos];
				diag_log ('infiSTAR.de Log: '+_log);
			};
Link to comment
Share on other sites

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
  • Advertisement
  • Discord

×
×
  • Create New...