salival Posted April 26, 2017 Author Report Share Posted April 26, 2017 On 4/26/2017 at 12:44 AM, theduke said: If you use infistar walk up to the fuel tanks and hit "I", it will give you the class name. I had to do the same thing for lingor... Expand If you tell me what the array is for x map, I can do a case statement based off the map name, I only use chernarus so that's all I know theduke 1 Link to comment Share on other sites More sharing options...
theduke Posted April 26, 2017 Report Share Posted April 26, 2017 On 4/26/2017 at 12:53 AM, salival said: If you tell me what the array is for x map, I can do a case statement based off the map name, I only use chernarus so that's all I know Expand Land_ibr_FuelStation_Feed Excellent idea Link to comment Share on other sites More sharing options...
oldmatechoc Posted April 26, 2017 Report Share Posted April 26, 2017 _servicePointClasses = ["FuelPump_DZ","Land_A_FuelStation_Feed","Land_Ind_FuelStation_Feed_EP1","Land_FuelStation_Feed_PMC","FuelStation","Land_ibr_FuelStation_Feed","Land_fuelstation_army","Land_fuelstation","land_fuelstation_w","Land_benzina_schnell","Land_ibr_FuelStation_Build","Land_ibr_FuelStation_Shed"]; This is what i have for Lingor. Works well for all maps. Only one I haven't tested it on is Taviana. @salival @theduke Link to comment Share on other sites More sharing options...
EditedSnowHD Posted May 2, 2017 Report Share Posted May 2, 2017 I get a ingame error: Something on the lines like: Script scrips/service_point/service_point_refuel.sqf not found Im still looking into it. Link to comment Share on other sites More sharing options...
Relentless Posted May 2, 2017 Report Share Posted May 2, 2017 On 5/2/2017 at 5:38 PM, EditedSnowHD said: I get a ingame error: Something on the lines like: Script scrips/service_point/service_point_refuel.sqf not found Im still looking into it. Expand Go to your service_point.sqf and search for this line: _folder = ""; make sure the path is correct. EditedSnowHD 1 Link to comment Share on other sites More sharing options...
EditedSnowHD Posted May 2, 2017 Report Share Posted May 2, 2017 On 5/2/2017 at 5:47 PM, DAmNRelentless said: Go to your service_point.sqf and search for this line: _folder = ""; make sure the path is correct. Expand Thank you for the fast reply. It worked! Link to comment Share on other sites More sharing options...
salival Posted May 2, 2017 Author Report Share Posted May 2, 2017 There is no file called service_point_refuel in this script, you must be running the old version or remnants of the old version Link to comment Share on other sites More sharing options...
Relentless Posted May 2, 2017 Report Share Posted May 2, 2017 On 5/2/2017 at 6:27 PM, salival said: There is no file called service_point_refuel in this script, you must be running the old version or remnants of the old version Expand The problem is the same. Link to comment Share on other sites More sharing options...
salival Posted May 3, 2017 Author Report Share Posted May 3, 2017 On 5/2/2017 at 9:57 PM, DAmNRelentless said: The problem is the same. Expand The problem is the person who posted put the scripts in the wrong dir. So it's not a problem of the script as much as it is the person, your fix is a bandaid for a bigger problem of people not following install instructions. I get messages daily from people not following installation procedures and it's tiring. Voltan and Relentless 2 Link to comment Share on other sites More sharing options...
Relentless Posted May 3, 2017 Report Share Posted May 3, 2017 On 5/3/2017 at 12:32 AM, salival said: The problem is the person who posted put the scripts in the wrong dir. So it's not a problem of the script as much as it is the person, your fix is a bandaid for a bigger problem of people not following install instructions. I get messages daily from people not following installation procedures and it's tiring. Expand I feel you :D Link to comment Share on other sites More sharing options...
kheldar125 Posted May 7, 2017 Report Share Posted May 7, 2017 Would it be possible to make certain actions dependent on what service point class they are near? For example, You can refuel land vehicles at petrol/gas stations but require helis to go to the larger tanks. I'm sure there's a neater more elegant solution than to have 2 versions of the script running. Any input is appreciated Link to comment Share on other sites More sharing options...
salival Posted May 7, 2017 Author Report Share Posted May 7, 2017 On 5/7/2017 at 5:18 PM, kheldar125 said: Would it be possible to make certain actions dependent on what service point class they are near? For example, You can refuel land vehicles at petrol/gas stations but require helis to go to the larger tanks. I'm sure there's a neater more elegant solution than to have 2 versions of the script running. Any input is appreciated Expand It would be possible but would be a bit of work, at this stage I would continue running 2 scripts Link to comment Share on other sites More sharing options...
Ghostman Posted May 9, 2017 Report Share Posted May 9, 2017 When I am near the service point there is no information about it.Where to look for a reason Link to comment Share on other sites More sharing options...
masta]k9[playa Posted May 11, 2017 Report Share Posted May 11, 2017 Forgot to do this about a month ago but thank you salival for helping us out with setting this up with our crazy files:D Helped us to help ourselves salival 1 Link to comment Share on other sites More sharing options...
Relentless Posted May 11, 2017 Report Share Posted May 11, 2017 On 5/9/2017 at 7:16 PM, Ghostman said: When I am near the service point there is no information about it.Where to look for a reason Expand The first thing you always have to do is checking the logs. (server and client rpt!) Next thing is to go trough the install instructions whether you did everything that is written in there. Then go to the service_point files and make sure that you set the path correctly. Link to comment Share on other sites More sharing options...
Ghostman Posted May 11, 2017 Report Share Posted May 11, 2017 All correctly installed. Under the scroll is refueling and rearming.No rpt errors and logs. salival 1 Link to comment Share on other sites More sharing options...
Vendetta5555 Posted May 14, 2017 Report Share Posted May 14, 2017 Ошибка в выражении <neCount делать {_vehicle addMagazineTurret [_ammo, _turret];}; [формат [ "% 1% 2 Rea> позиции Error: <_ammo, _turret];}; [формат [ "% 1% 2 Rea> Ошибка Undefined переменной в выражении: _ammo mpmissions Файл \ __ CUR_MP.Chernarus \ Сценарии \ service_points \ service_point_actions.sqf, строка 118 Ошибка в выражении <neCount делать {_vehicle addMagazineTurret [_ammo, _turret]; }; Link to comment Share on other sites More sharing options...
salival Posted May 14, 2017 Author Report Share Posted May 14, 2017 On 5/14/2017 at 11:21 AM, Vendetta5555 said: Ошибка в выражении <neCount делать {_vehicle addMagazineTurret [_ammo, _turret];}; [формат [ "% 1% 2 Rea> позиции Error: <_ammo, _turret];}; [формат [ "% 1% 2 Rea> Ошибка Undefined переменной в выражении: _ammo mpmissions Файл \ __ CUR_MP.Chernarus \ Сценарии \ service_points \ service_point_actions.sqf, строка 118 Ошибка в выражении <neCount делать {_vehicle addMagazineTurret [_ammo, _turret]; }; Expand Hello, I don't speak russian but I guess it can't work out the ammo for the vehicle you are trying to rearm. What vehicle classname and weapon are you trying to rearm? Link to comment Share on other sites More sharing options...
Vendetta5555 Posted May 14, 2017 Report Share Posted May 14, 2017 Sorry for my kortavy) Yes, I tested on the Volga)) and got this error in the log. This is normal? Link to comment Share on other sites More sharing options...
salival Posted May 14, 2017 Author Report Share Posted May 14, 2017 On 5/14/2017 at 11:27 AM, Vendetta5555 said: Sorry for my kortavy) Yes, I tested on the Volga)) and got this error in the log. This is normal? Expand Sorry, I dont know what a volga is, if you get me the actual classname (in english) I can investigate this for you. I.e Armored_SUV_PMC etc Link to comment Share on other sites More sharing options...
Vendetta5555 Posted May 14, 2017 Report Share Posted May 14, 2017 On 5/14/2017 at 11:33 AM, salival said: Sorry, I dont know what a volga is, if you get me the actual classname (in english) I can investigate this for you. I.e Armored_SUV_PMC etc Expand It turns out I tested on transport without weapons, and I got such an error in the log. I just thought that the script should be more thoroughly elaborated and not give out any errors in spite of the transport class, I do not like when in my logs it shows any malfunctions! I'm just a beginner creator just getting used to server building. Link to comment Share on other sites More sharing options...
salival Posted May 14, 2017 Author Report Share Posted May 14, 2017 On 5/14/2017 at 11:42 AM, Vendetta5555 said: It turns out I tested on transport without weapons, and I got such an error in the log. I just thought that the script should be more thoroughly elaborated and not give out any errors in spite of the transport class, I do not like when in my logs it shows any malfunctions! I'm just a beginner creator just getting used to server building. Expand Hello, It should only get the option to rearm a vehicle if the vehicle has guns, if you can let me know what the transport is I can have a look. As for the classname you PM'd me: Pickup_PK_TERROR I have checked on my test server and I do not get this error. Link to comment Share on other sites More sharing options...
Vendetta5555 Posted May 14, 2017 Report Share Posted May 14, 2017 On 5/14/2017 at 6:56 PM, salival said: Hello, It should only get the option to rearm a vehicle if the vehicle has guns, if you can let me know what the transport is I can have a look. As for the classname you PM'd me: Pickup_PK_TERROR I have checked on my test server and I do not get this error. Expand Well, I'll try to reinstall the plug-in, the fact is that I made changes by russifying some options, maybe somewhere I made a mistake. Link to comment Share on other sites More sharing options...
Vendetta5555 Posted May 17, 2017 Report Share Posted May 17, 2017 Did not help, I still get this error Error in expression <neCount do {_vehicle addMagazineTurret [_ammo,_turret];}; [format["%1 of %2 Rea> Error position: <_ammo,_turret];}; [format["%1 of %2 Rea> Error Undefined variable in expression: _ammo File mpmissions\__CUR_MP.Chernarus\scripts\service_points\service_point_actions.sqf, line 122 Error in expression <neCount do {_vehicle addMagazineTurret [_ammo,_turret];}; [format["%1 of %2 Rea> Error position: <_ammo,_turret];}; [format["%1 of %2 Rea> Error Undefined variable in expression: _ammo File mpmissions\__CUR_MP.Chernarus\scripts\service_points\service_point_actions.sqf, line 122 Cannot create non-ai vehicle c_grasstall, It turns out when you sit behind the wheel and replenish the cartridges you get this error, and when you sit down for the machine gun and replenish it then there are no mistakes Link to comment Share on other sites More sharing options...
Snowman Posted June 20, 2017 Report Share Posted June 20, 2017 On 5/17/2017 at 1:36 PM, Vendetta5555 said: Did not help, I still get this error Error in expression <neCount do {_vehicle addMagazineTurret [_ammo,_turret];}; [format["%1 of %2 Rea> Error position: <_ammo,_turret];}; [format["%1 of %2 Rea> Error Undefined variable in expression: _ammo File mpmissions\__CUR_MP.Chernarus\scripts\service_points\service_point_actions.sqf, line 122 Error in expression <neCount do {_vehicle addMagazineTurret [_ammo,_turret];}; [format["%1 of %2 Rea> Error position: <_ammo,_turret];}; [format["%1 of %2 Rea> Error Undefined variable in expression: _ammo File mpmissions\__CUR_MP.Chernarus\scripts\service_points\service_point_actions.sqf, line 122 Cannot create non-ai vehicle c_grasstall, It turns out when you sit behind the wheel and replenish the cartridges you get this error, and when you sit down for the machine gun and replenish it then there are no mistakes Expand Hi all, sorry for my English, I used Google translator. This error is related to the russian language in the game and appears when you attempt to reload the audio signal or the laser marker. In the script in the array _rearm_ignore = ["Horn","Laser Marker"]; need to add "Звуковой сигнал","Лазерный маркер" and then not be able to reload these weapons, and therefore will not error. Link to comment Share on other sites More sharing options...
Recommended Posts