Page MenuHomeFeedback Tracker

Fuel Pumps do not auto-refuel unless local to a client
New, NormalPublic

Description

Fuel pumps placed on a map on a dedicated MP server via mission.sqm will not auto-refuel vehicles. This is because that functionality only seems to work if the pump is local to a client. It seems that the auto-refuel functionality *should* work globally or fuel pumps would need to be added to a map using a separate mechanism to the standard via mission.sqm.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10
Category
Engine
Steps To Reproduce

Create a fuel pump on a remote, dedicated MP server using mission.sqm with an entry similar to this entry for Altis:

		class Item0
		{
			dataType="Object";
			class PositionInfo
			{
				position[]={13956.813,18.292715,16318.437};
				angles[]={0,5.4515882,0};
			};
			side="Empty";
			flags=5;
			class Attributes
			{
			};
			id=0;
			type="Land_fs_feed_F";
			atlOffset=-0.0020008087;
		};

Connect to the server. Drive a vic next to the fuel pump. It will not auto-refuel.

Now remove that entry and add this to the test server's init.sqf:

_fuelposarr = [
    [[13956.813,16318.437,0],0]
];
{
    _pump = "Land_fs_feed_F" createVehicleLocal (_x select 0);
    _pump setposatl (_x select 0);
    _pump setdir (_x select 1);
} foreach _fuelposarr;

Connect to the server. Drive a vic next to the fuel pump. It will auto-refuel.

Event Timeline

morgoth0 created this task.May 14 2020, 7:52 PM