Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

[Resolved] Refuel Out of Gas Ship

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support >> [Resolved] Refuel Out of Gas Ship Page: [1]
Login
Message << Older Topic   Newer Topic >>
[Resolved] Refuel Out of Gas Ship - 6/8/2020 10:41:23 AM   
arcistruzzo

 

Posts: 10
Joined: 5/5/2020
From: Italy
Status: offline
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?

< Message edited by apache85 -- 6/16/2020 1:54:31 AM >
Post #: 1
RE: Refuel Out of Gas Ship - 6/8/2020 1:06:48 PM   
KnightHawk75

 

Posts: 1450
Joined: 11/15/2018
Status: offline
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

Attachment (1)

< Message edited by KnightHawk75 -- 6/8/2020 11:01:49 PM >

(in reply to arcistruzzo)
Post #: 2
RE: Refuel Out of Gas Ship - 6/9/2020 3:46:14 AM   
Rory Noonan

 

Posts: 2816
Joined: 12/18/2014
From: Brooklyn, NY
Status: offline
Logged for investigation.

0013924

_____________________________


(in reply to KnightHawk75)
Post #: 3
RE: Refuel Out of Gas Ship - 6/12/2020 3:23:37 AM   
Rory Noonan

 

Posts: 2816
Joined: 12/18/2014
From: Brooklyn, NY
Status: offline
Can you provide a save file for us to look into this properly?

_____________________________


(in reply to Rory Noonan)
Post #: 4
RE: Refuel Out of Gas Ship - 6/12/2020 11:58:20 PM   
arcistruzzo

 

Posts: 10
Joined: 5/5/2020
From: Italy
Status: offline
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)


Attachment (1)

(in reply to Rory Noonan)
Post #: 5
RE: Refuel Out of Gas Ship - 6/14/2020 12:50:06 PM   
arcistruzzo

 

Posts: 10
Joined: 5/5/2020
From: Italy
Status: offline
Want you a save file equally?


< Message edited by arcistruzzo -- 6/14/2020 12:55:47 PM >

(in reply to arcistruzzo)
Post #: 6
RE: Refuel Out of Gas Ship - 6/15/2020 3:59:21 AM   
Rory Noonan

 

Posts: 2816
Joined: 12/18/2014
From: Brooklyn, NY
Status: offline
Yes, the save file will help in identifying the issue.

_____________________________


(in reply to arcistruzzo)
Post #: 7
RE: Refuel Out of Gas Ship - 6/15/2020 8:41:14 PM   
arcistruzzo

 

Posts: 10
Joined: 5/5/2020
From: Italy
Status: offline
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

Attachment (1)

(in reply to Rory Noonan)
Post #: 8
RE: Refuel Out of Gas Ship - 6/15/2020 11:55:00 PM   
arcistruzzo

 

Posts: 10
Joined: 5/5/2020
From: Italy
Status: offline
...And here a save file after few second for check about problem 1 of My previus post.

Attachment (1)

(in reply to arcistruzzo)
Post #: 9
RE: Refuel Out of Gas Ship - 6/16/2020 1:54:16 AM   
Rory Noonan

 

Posts: 2816
Joined: 12/18/2014
From: Brooklyn, NY
Status: offline
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

< Message edited by apache85 -- 6/16/2020 1:55:01 AM >


_____________________________


(in reply to arcistruzzo)
Post #: 10
RE: Refuel Out of Gas Ship - 6/16/2020 1:57:32 AM   
KnightHawk75

 

Posts: 1450
Joined: 11/15/2018
Status: offline
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.



Attachment (1)

< Message edited by KnightHawk75 -- 6/16/2020 2:01:26 AM >

(in reply to arcistruzzo)
Post #: 11
RE: Refuel Out of Gas Ship - 6/17/2020 9:54:12 PM   
arcistruzzo

 

Posts: 10
Joined: 5/5/2020
From: Italy
Status: offline
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.




(in reply to KnightHawk75)
Post #: 12
RE: Refuel Out of Gas Ship - 6/18/2020 6:28:37 AM   
KnightHawk75

 

Posts: 1450
Joined: 11/15/2018
Status: offline

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.



Attachment (1)

(in reply to arcistruzzo)
Post #: 13
RE: Refuel Out of Gas Ship - 6/18/2020 12:28:55 PM   
arcistruzzo

 

Posts: 10
Joined: 5/5/2020
From: Italy
Status: offline
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.

ps thank also for no word about my english

(in reply to KnightHawk75)
Post #: 14
RE: Refuel Out of Gas Ship - 6/19/2020 1:38:47 AM   
Rory Noonan

 

Posts: 2816
Joined: 12/18/2014
From: Brooklyn, NY
Status: offline
Your English is far better than my Italian

_____________________________


(in reply to arcistruzzo)
Post #: 15
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support >> [Resolved] Refuel Out of Gas Ship Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.062