[Resolved] Refuel Out of Gas Ship (Full Version)

All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support



Message


arcistruzzo -> [Resolved] Refuel Out of Gas Ship (6/8/2020 10:41:23 AM)

Hello all,
i'm playing with Med Fury 1 and for the second time have a problem :) (for the 1st time i have needed to redeployed A/c with aa-10 Misisle)
Now i have my Hovercraft are out of Gas but if i try to refuel system give me Message Error to impossible to refuel. Hovercraft are immobilising i suppose but my BEREZINA Fuel Ship can move.
A Proverb Says if mountain will not come to you, you come to the mountain right?




KnightHawk75 -> RE: Refuel Out of Gas Ship (6/8/2020 1:06:48 PM)

Berezina can move, but does she have the same fuel type as the unit you are looking to refuel?
She only carries 'Gas' not 'Diesel', i don't know what hovercraft unit is involved but some take diesel not gas. That may be why it tells you it can't, what's the exact unit# of the hovercraft?


A Proverb also says if mountain will not come to you, you deploy LUA to move it to you.

If you find yourself unable to refuel something you think you should for whatever reason, or just want to play with longer battery life on something like a submersible etc...
Load your save in editor, selected side you're playing and create a special action (editor menu\events editor\special actions), press create new, call it 'Refuel Selected Units'. Paste the attached text into the script section. press ok, mark it active and repeatable. Save. Load the save you should now have a special action that lets you refuel any currently selected units or bunch of units.
attch:RefuelSelectedUnits.txt




Rory Noonan -> RE: Refuel Out of Gas Ship (6/9/2020 3:46:14 AM)

Logged for investigation.

0013924




Rory Noonan -> RE: Refuel Out of Gas Ship (6/12/2020 3:23:37 AM)

Can you provide a save file for us to look into this properly?




arcistruzzo -> RE: Refuel Out of Gas Ship (6/12/2020 11:58:20 PM)

Hi Apache,
try you starting the scenario, i have tried to restart for a check and i have discovered:

1)If you choose the "political Action" like demoliralized Army, Air, Navy or division between Greek and Turkey ( you could choise only one and the other will be hidden) only Action "Demoralized Air" work other not work. ( if i choose for example DIVISION BETWEEN GREEK AND TRK , it dont work, other choise are hidden in exception DEMORALIZED AIR and if i chose there, work it.
2) if you click on the action REFUEL MDK , this action give me an error (attached file)
3) if my Mdk are little of fuel ( MDK are Hovercraft) and ask they to refuel ,they go to Berezina. If they are withouth fuel , they are impossible to refuel.
4) Problem with A/c With AA-10 Missiles ( already resolved changing A/c in Editor Mode)




arcistruzzo -> RE: Refuel Out of Gas Ship (6/14/2020 12:50:06 PM)

Want you a save file equally?




Rory Noonan -> RE: Refuel Out of Gas Ship (6/15/2020 3:59:21 AM)

Yes, the save file will help in identifying the issue.




arcistruzzo -> RE: Refuel Out of Gas Ship (6/15/2020 8:41:14 PM)

Here Save file after 4 hr of game, here you can identify problem 2 And 3 of My precedent post.For problem 1 You can start scenario at The begin




arcistruzzo -> RE: Refuel Out of Gas Ship (6/15/2020 11:55:00 PM)

...And here a save file after few second for check about problem 1 of My previus post.




Rory Noonan -> RE: Refuel Out of Gas Ship (6/16/2020 1:54:16 AM)

Thank you for the files.

Based on this I've made some improvements to how refueling is handled for ships that are 'dead in the water' with tankers nearby.

The issue with the 'political' special actions are due to a typo in the Lua code (ferment vs forment, which I think is meant to be foment). Contact the scenario author to have this rectified.

The issue with the 'refuel MDK' special action is due to errors in the Lua code; it references UnitX() when the special action is triggered manually. This will work occasionally if a MDK was the last unit to trigger an event and fail silently if another unit has triggered an event. If no unit has yet triggered an event, it will throw the error you saw. Contact the scenario author to have this rectified.

Suggestion for the refuel MDK special action; use VP_GetSide().units and ipairs to iterate through all units on the side, refueling them if they are ships with the same DBID as the MDKs.

The AA-10 thing is something I'm trying to fix for good. It's a convoluted issue so might be a little while [:)]




KnightHawk75 -> RE: Refuel Out of Gas Ship (6/16/2020 1:57:32 AM)

quote:

ORIGINAL: arcistruzzo

Here Save file after 4 hr of game, here you can identify problem 2 And 3 of My precedent post.For problem 1 You can start scenario at The begin

arcistruzzo,

With regard to MDK fuel issue #2. It's a problem with the code for that Special Action in the scenario, I've reached out to the author of the scenario via the forums and provided a fix should he wish include it in his next update\re-publishing of the scenario for the future.
Attached is your save for that (saved with build 1147, but should probably work with b1143 that it was originally saved with, or so I hope), it has the fix included. I didn't press play or touch anything other then the special action, which you should now be able to use exactly as the description describes, one time, without encountering a problem.

With regard to #1 - simple typo in the SA code 'ferment' vs 'forment', fix also included in the save. I've left it to you if you want to re-enable them (in the editor) and try them again.

This does not address issues #3 or #4 to which I can't add much.
I will now bud out of the this. [:)]

edit: haha the post timing...I see apache has already addressed those.





arcistruzzo -> RE: Refuel Out of Gas Ship (6/17/2020 9:54:12 PM)

I want to restart with a Scenario fixed.
So summarizing,
i need to change "Ferment" with "forment" in SA "Division between….." and , i saw now, "Moral" with "moralE" in the same SA.
for MDK Refuel and other problem i can use old DB or wait fix of Gunner in next release, really?
For me work with LUA are like a nuclear reactor, very very difficult to understand.







KnightHawk75 -> RE: Refuel Out of Gas Ship (6/18/2020 6:28:37 AM)


Either wait, or yes restart the original and before playing...
1 - Fix the spelling in all 3 or 4 of those SA's.
2 - Open the attached in notepad, select it all, copy, and then paste it into the MDK Refuel action, replacing entirely what's there.

No nuclear reactor necessary to copy and paste. If you can change spellings I'm pretty sure you can copy and paste just fine.[:)]





arcistruzzo -> RE: Refuel Out of Gas Ship (6/18/2020 12:28:55 PM)

I like your mode to resolve it for a NB like me.Remain only Issue 3 (but i try to check any 30 min to avoid to remain out of fuel and issue 4 that i have already resolved changin A/c).

Thanks Knight , Thanks Apache this evening i can restart to play.[&o]

ps thank also for no word about my english [:D]




Rory Noonan -> RE: Refuel Out of Gas Ship (6/19/2020 1:38:47 AM)

Your English is far better than my Italian [:)]




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.703125