June 12, 201510 yr Author Sounds great Don! I made very good progress on game changes yesterday and introduced a new field on the unit's AirRec called FuelToOffload. I aim to work it into the shared pascal code tonight and get a GE and SE build outby the end of the weekend.FuelToOffload field added to THCAirRec in uHCTypeDefs and checked in to SVN. The catch is that the field is only available in game version 2015.008 and newer so you may want to delay grabbing this change until I get 2015.008 out. FuelToOffload: LongInt; // ALE 20150611 HC2015.008+ fuel left in tanker in nm
June 12, 201510 yr Sounds great Don! I made very good progress on game changes yesterday and introduced a new field on the unit's AirRec called FuelToOffload. I aim to work it into the shared pascal code tonight and get a GE and SE build outby the end of the weekend.FuelToOffload field added to THCAirRec in uHCTypeDefs and checked in to SVN. The catch is that the field is only available in game version 2015.008 and newer so you may want to delay grabbing this change until I get 2015.008 out. FuelToOffload: LongInt; // ALE 20150611 HC2015.008+ fuel left in tanker in nm You must have found some spare time being able to tinker with the mechanism that has fuel available/ no fuel available would be good too Have we got exportDLL access to switching the new effect #21 ? With the amount of work you've done I'm thinking we can do the whole management externally. (back to the drawing board )
June 12, 201510 yr Author You must have found some spare time being able to tinker with the mechanism that has fuel available/ no fuel available would be good too Have we got exportDLL access to switching the new effect #21 ? With the amount of work you've done I'm thinking we can do the whole management externally. (back to the drawing board ) Something like that (finding spare time). Fuel available or not, this change really takes care of that albeit in an alternate way. If there is a value other than zero in FuelToOffload then there is fuel available. The second piece is looking to see if there is an existing refuel event. Since you have access to the full list of events you can loop through the list looking for a refuel event for the group with the tanker, if one exists then there is currently tanking going on and you should wait a while. Yes, effect #21 is exposed to the ExportDLLs. I haven't written any example code other than in lazHCEffects http://harpgamer.com/harpforum/index.php?/files/file/835-exportdll-lazhceffects/which is just proving it can be over-ridden. Hehe, yes, the whole of the management can be done externally, you'll still need some functions and/or data exposed but there is enough to get the brain churning.
June 13, 201510 yr These are great changes! They pretty much give us what we've always needed in refuelling. I missed that lazeffects was on SVN, I'll grab that and once I relearn the new refuelling think about what, if anything, would be nice to add as an external management function. If the spare time isn't expended, exposure to loadouts and speed against throttle in the airrec data would come in handy
June 15, 201510 yr I've just noticed that using lazeffects with effect 21 set to override and do nothing, using GE 2015.007, planes seem to not use any fuel. I expected that fuel usage would still be calculated and decremented with effect 21 turned off (but that refuelling wouldn't auto start), which should it be?
June 15, 201510 yr Author I've just noticed that using lazeffects with effect 21 set to override and do nothing, using GE 2015.007, planes seem to not use any fuel. I expected that fuel usage would still be calculated and decremented with effect 21 turned off (but that refuelling wouldn't auto start), which should it be? It was an intentional change to centralize the fuel stuff in effect 21. Sorry I didn't get 2015.008 out this weekend. Scenario Start DateTime is kicking my butt, I hate timezones not to mention daylight savings time! Plus my 2-year old has forgotten how to fall asleep on his own so we keep him company instead of getting stuff done at night. HCE - 2015.005 - 2015-05-28 ========================== - Chg:0000 GE Moved decrementing of aircraft fuel from Display.c MoveUnits to Staff.c CheckGroupFuel so that it can be replaced in ExportDLLs via HCEffect21.
June 15, 201510 yr Guys,I don't know what I am doing wrong with refueling. Yesterday I refueled a group of 25 fighters with a tanker. The group consisted of five, 5 plane groups and a group of 10 tankers. The tankers refueled the group and was loitering. I separated the tankers from the group and the GE just crashed. The GE Log. Below is what was in the GE log for the refueling event:121031 search.c:2345 - ZQC Position 50437634 18027617 Before121031 search.c:2351 - ZQC Position 50438112 18027456 After121042 effects.c:3085 - target group was not found, deleting interception by VJA121044 effects.c:3085 - target group was not found, deleting interception by UPA121046 effects.c:3085 - target group was not found, deleting interception by UNA121048 effects.c:3085 - target group was not found, deleting interception by ULA121050 effects.c:3085 - target group was not found, deleting interception by WLA121052 effects.c:3085 - target group was not found, deleting interception by UIA121054 effects.c:3085 - target group was not found, deleting interception by UGA121056 effects.c:3085 - target group was not found, deleting interception by UEA121058 effects.c:3085 - target group was not found, deleting interception by UBA121061 search.c:2345 - ZQC Position 50438112 18027456 Before121061 search.c:2351 - ZQC Position 50438589 18027295 After121061 effects.c:3085 - target group was not found, deleting interception by TYA121063 effects.c:3085 - target group was not found, deleting interception by TZA121065 effects.c:3085 - target group was not found, deleting interception by TVA121068 effects.c:3085 - target group was not found, deleting interception by TTA121071 effects.c:3085 - target group was not found, deleting interception by ZCA121073 effects.c:3085 - target group was not found, deleting interception by TQA121075 effects.c:3085 - target group was not found, deleting interception by TOA121078 effects.c:3085 - target group was not found, deleting interception by TMA121091 search.c:2345 - ZQC Position 50438589 18027295 Before121091 search.c:2351 - ZQC Position 50445997 18028329 After121121 search.c:2345 - ZQC Position 50445997 18028329 Before121121 search.c:2351 - ZQC Position 50439543 18026972 After121151 search.c:2345 - ZQC Position 50439543 18026972 Before121151 search.c:2351 - ZQC Position 50440020 18026811 After121181 search.c:2345 - ZQC Position 50440020 18026811 Before121181 search.c:2351 - ZQC Position 50440498 18026650 After121182 staff.c:215 - creating refueling eventGroup=0x49050e0 (EWAS Endurance = 158686 num_tanker=10, platstart=10 platnow=10121211 search.c:2345 - ZQC Position 50440498 18026650 Before121211 search.c:2351 - ZQC Position 50440975 18026489 After121212 combat5.c:1220 - Processing Refuel Event for Group=EWA121212 combat5.c:1231 - tanker unit=EW005, numtankers=10121212 combat5.c:1239 - Tanker fuel=89000nm121212 combat5.c:1363 - in the not refueling path121212 combat5.c:1418 - Will try to give each plane in unit=EW001 3643nm of fuel when event is processed planestofuel_ids[0]121212 combat5.c:1418 - Will try to give each plane in unit=EW002 3643nm of fuel when event is processed planestofuel_ids[1]121212 combat5.c:1418 - Will try to give each plane in unit=EW003 3643nm of fuel when event is processed planestofuel_ids[2]121212 combat5.c:1418 - Will try to give each plane in unit=EW004 3643nm of fuel when event is processed planestofuel_ids[3]121212 combat5.c:1506 - returning to wait 30 seconds for refueling to complete121241 search.c:2345 - ZQC Position 50440975 18026489 Before121241 search.c:2351 - ZQC Position 50441452 18026328 After121242 combat5.c:1220 - Processing Refuel Event for Group=EWA121242 combat5.c:1231 - tanker unit=EW005, numtankers=10121242 combat5.c:1239 - Tanker fuel=89000nm121242 combat5.c:1243 - in the now refueling path121242 combat5.c:1279 - about to start refueling unit_id=EW001121242 combat5.c:1302 - first calculation fuel to add=75453s of Cruise fuel, plane has 5171s, loadout originally had 80228s121242 combat5.c:1303 - first calculation fuel to add=3667nm of Cruise fuel, plane has 251nm, loadout originally had 3900nm121242 combat5.c:1314 - 8022 seconds (389 nm) of Cruise fuel added to DropTanks121242 combat5.c:1358 - returning to wait 90s for refuel completion121271 search.c:2345 - ZQC Position 50441452 18026328 Before121271 search.c:2351 - ZQC Position 50441929 18026166 After121301 search.c:2345 - ZQC Position 50441929 18026166 Before121301 search.c:2351 - ZQC Position 50441196 18029025 After121331 search.c:2345 - ZQC Position 50441196 18029025 Before121331 search.c:2351 - ZQC Position 50449814 18027042 After121332 combat5.c:1220 - Processing Refuel Event for Group=EWA121332 combat5.c:1231 - tanker unit=EW005, numtankers=10121332 combat5.c:1239 - Tanker fuel=89000nm121332 combat5.c:1243 - in the now refueling path121332 combat5.c:1279 - about to start refueling unit_id=EW002121332 combat5.c:1302 - first calculation fuel to add=75453s of Cruise fuel, plane has 4811s, loadout originally had 80228s121332 combat5.c:1303 - first calculation fuel to add=3667nm of Cruise fuel, plane has 233nm, loadout originally had 3900nm121332 combat5.c:1314 - 8022 seconds (389 nm) of Cruise fuel added to DropTanks121332 combat5.c:1358 - returning to wait 90s for refuel completion121361 search.c:2345 - ZQC Position 50449814 18027042 Before121361 search.c:2351 - ZQC Position 50443361 18025683 After121391 search.c:2345 - ZQC Position 50443361 18025683 Before121391 search.c:2351 - ZQC Position 50443838 18025522 After121421 search.c:2345 - ZQC Position 50443838 18025522 Before121421 search.c:2351 - ZQC Position 50451245 18026560 After121422 combat5.c:1220 - Processing Refuel Event for Group=EWA121422 combat5.c:1231 - tanker unit=EW005, numtankers=10121422 combat5.c:1239 - Tanker fuel=89000nm121422 combat5.c:1243 - in the now refueling path121422 combat5.c:1279 - about to start refueling unit_id=EW003121422 combat5.c:1302 - first calculation fuel to add=75453s of Cruise fuel, plane has 4451s, loadout originally had 80228s121422 combat5.c:1303 - first calculation fuel to add=3667nm of Cruise fuel, plane has 216nm, loadout originally had 3900nm121422 combat5.c:1314 - 8022 seconds (389 nm) of Cruise fuel added to DropTanks121422 combat5.c:1358 - returning to wait 90s for refuel completion121451 search.c:2345 - ZQC Position 50451245 18026560 Before121451 search.c:2351 - ZQC Position 50438878 18030487 After121481 search.c:2345 - ZQC Position 50438878 18030487 Before121481 search.c:2351 - ZQC Position 50445270 18025038 After121505 combat3.c:919 - just avoided a getannex error()121509 combat3.c:919 - just avoided a getannex error()121511 search.c:2345 - ZQC Position 50445270 18025038 Before121511 search.c:2351 - ZQC Position 50445747 18024877 After121512 combat5.c:1220 - Processing Refuel Event for Group=EWA121512 combat5.c:1231 - tanker unit=EW005, numtankers=10121512 combat5.c:1239 - Tanker fuel=89000nm121512 combat5.c:1243 - in the now refueling path121512 combat5.c:1279 - about to start refueling unit_id=EW004121512 combat5.c:1302 - first calculation fuel to add=75453s of Cruise fuel, plane has 4091s, loadout originally had 80228s121512 combat5.c:1303 - first calculation fuel to add=3667nm of Cruise fuel, plane has 198nm, loadout originally had 3900nm121512 combat5.c:1314 - 8022 seconds (389 nm) of Cruise fuel added to DropTanks121512 combat5.c:1358 - returning to wait 90s for refuel completion121523 combat3.c:919 - just avoided a getannex error()121541 search.c:2345 - ZQC Position 50445747 18024877 Before121541 search.c:2351 - ZQC Position 50446224 18024716 After121553 combat3.c:919 - just avoided a getannex error()121571 search.c:2345 - ZQC Position 50446224 18024716 Before121571 search.c:2351 - ZQC Position 50446701 18024555 After121601 search.c:2345 - ZQC Position 50446701 18024555 Before121601 search.c:2351 - ZQC Position 50447179 18024394 After121602 combat5.c:1220 - Processing Refuel Event for Group=EWA121602 combat5.c:1231 - tanker unit=EW005, numtankers=10121602 combat5.c:1239 - Tanker fuel=89000nm121602 combat5.c:1363 - in the not refueling path121602 combat5.c:1418 - Will try to give each plane in unit=EW001 51nm of fuel when event is processed planestofuel_ids[0]121602 combat5.c:1418 - Will try to give each plane in unit=EW002 51nm of fuel when event is processed planestofuel_ids[1]121602 combat5.c:1418 - Will try to give each plane in unit=EW003 51nm of fuel when event is processed planestofuel_ids[2]121602 combat5.c:1418 - Will try to give each plane in unit=EW004 51nm of fuel when event is processed planestofuel_ids[3]121602 combat5.c:1506 - returning to wait 30 seconds for refueling to complete121629 combat3.c:919 - just avoided a getannex error()121631 search.c:2345 - ZQC Position 50447179 18024394 Before121631 search.c:2351 - ZQC Position 50454582 18025436 After121632 combat5.c:1220 - Processing Refuel Event for Group=EWA121632 combat5.c:1231 - tanker unit=EW005, numtankers=10121632 combat5.c:1239 - Tanker fuel=89000nm121632 combat5.c:1243 - in the now refueling path121632 combat5.c:1279 - about to start refueling unit_id=EW001121632 combat5.c:1302 - first calculation fuel to add=1561s of Cruise fuel, plane has 79064s, loadout originally had 80228s121632 combat5.c:1303 - first calculation fuel to add=75nm of Cruise fuel, plane has 3843nm, loadout originally had 3900nm121632 combat5.c:1314 - 8022 seconds (389 nm) of Cruise fuel added to DropTanks121632 combat5.c:1358 - returning to wait 90s for refuel completion121661 search.c:2345 - ZQC Position 50454582 18025436 Before121661 search.c:2351 - ZQC Position 50448133 18024071 After121691 search.c:2345 - ZQC Position 50448133 18024071 Before121691 search.c:2351 - ZQC Position 50448610 18023910 After121721 search.c:2345 - ZQC Position 50448610 18023910 Before121721 search.c:2351 - ZQC Position 50456017 18024954 After121722 combat5.c:1220 - Processing Refuel Event for Group=EWAGame just stopped running at this point.This seems to be very similar to my issue report from the other day. I got the same type of msg and the GE just gave me the stopped running box and then crashed.Any ideas of what I am doing wrong?I just noticed 5 getannex errors in the GE logThanks,Eric
June 15, 201510 yr Eric, I'll guess that the problem is in the A2Ademo.dll. It isn't thorough in checking for situations that are 'unexpected'. I'm assuming you manually split off the tankers (which you should be able to do) and the dll was then trying to look at something that no longer existed. Tony is working up a new GE that will handle all of this so these sorts of thing will disappear. For the short term I'll have a look and see if I can come up with something, my best guess is to fiddle the refuelling event data so the tankers are ready to go home by normal means - which of the two A2ArefuelDemo versions did you use?
June 15, 201510 yr I've just noticed that using lazeffects with effect 21 set to override and do nothing, using GE 2015.007, planes seem to not use any fuel. I expected that fuel usage would still be calculated and decremented with effect 21 turned off (but that refuelling wouldn't auto start), which should it be? It was an intentional change to centralize the fuel stuff in effect 21. Sorry I didn't get 2015.008 out this weekend. Scenario Start DateTime is kicking my butt, I hate timezones not to mention daylight savings time! Plus my 2-year old has forgotten how to fall asleep on his own so we keep him company instead of getting stuff done at night. HCE - 2015.005 - 2015-05-28 ========================== - Chg:0000 GE Moved decrementing of aircraft fuel from Display.c MoveUnits to Staff.c CheckGroupFuel so that it can be replaced in ExportDLLs via HCEffect21. That'll teach me for not reading all the changes.
June 16, 201510 yr Guys, I don't know what I am doing wrong with refueling. Yesterday I refueled a group of 25 fighters with a tanker. The group consisted of five, 5 plane groups and a group of 10 tankers. The tankers refueled the group and was loitering. I separated the tankers from the group and the GE just crashed. The GE Log. Below is what was in the GE log for the refueling event: 121031 search.c:2345 - ZQC Position 50437634 18027617 Before 121031 search.c:2351 - ZQC Position 50438112 18027456 After 121042 effects.c:3085 - target group was not found, deleting interception by VJA 121044 effects.c:3085 - target group was not found, deleting interception by UPA 121046 effects.c:3085 - target group was not found, deleting interception by UNA 121048 effects.c:3085 - target group was not found, deleting interception by ULA 121050 effects.c:3085 - target group was not found, deleting interception by WLA 121052 effects.c:3085 - target group was not found, deleting interception by UIA 121054 effects.c:3085 - target group was not found, deleting interception by UGA 121056 effects.c:3085 - target group was not found, deleting interception by UEA 121058 effects.c:3085 - target group was not found, deleting interception by UBA 121061 search.c:2345 - ZQC Position 50438112 18027456 Before 121061 search.c:2351 - ZQC Position 50438589 18027295 After 121061 effects.c:3085 - target group was not found, deleting interception by TYA 121063 effects.c:3085 - target group was not found, deleting interception by TZA 121065 effects.c:3085 - target group was not found, deleting interception by TVA 121068 effects.c:3085 - target group was not found, deleting interception by TTA 121071 effects.c:3085 - target group was not found, deleting interception by ZCA 121073 effects.c:3085 - target group was not found, deleting interception by TQA 121075 effects.c:3085 - target group was not found, deleting interception by TOA 121078 effects.c:3085 - target group was not found, deleting interception by TMA 121091 search.c:2345 - ZQC Position 50438589 18027295 Before 121091 search.c:2351 - ZQC Position 50445997 18028329 After 121121 search.c:2345 - ZQC Position 50445997 18028329 Before 121121 search.c:2351 - ZQC Position 50439543 18026972 After 121151 search.c:2345 - ZQC Position 50439543 18026972 Before 121151 search.c:2351 - ZQC Position 50440020 18026811 After 121181 search.c:2345 - ZQC Position 50440020 18026811 Before 121181 search.c:2351 - ZQC Position 50440498 18026650 After 121182 staff.c:215 - creating refueling event Group=0x49050e0 (EWAS Endurance = 158686 num_tanker=10, platstart=10 platnow=10 121211 search.c:2345 - ZQC Position 50440498 18026650 Before 121211 search.c:2351 - ZQC Position 50440975 18026489 After 121212 combat5.c:1220 - Processing Refuel Event for Group=EWA 121212 combat5.c:1231 - tanker unit=EW005, numtankers=10 121212 combat5.c:1239 - Tanker fuel=89000nm 121212 combat5.c:1363 - in the not refueling path 121212 combat5.c:1418 - Will try to give each plane in unit=EW001 3643nm of fuel when event is processed planestofuel_ids[0] 121212 combat5.c:1418 - Will try to give each plane in unit=EW002 3643nm of fuel when event is processed planestofuel_ids[1] 121212 combat5.c:1418 - Will try to give each plane in unit=EW003 3643nm of fuel when event is processed planestofuel_ids[2] 121212 combat5.c:1418 - Will try to give each plane in unit=EW004 3643nm of fuel when event is processed planestofuel_ids[3] 121212 combat5.c:1506 - returning to wait 30 seconds for refueling to complete 121241 search.c:2345 - ZQC Position 50440975 18026489 Before 121241 search.c:2351 - ZQC Position 50441452 18026328 After 121242 combat5.c:1220 - Processing Refuel Event for Group=EWA 121242 combat5.c:1231 - tanker unit=EW005, numtankers=10 121242 combat5.c:1239 - Tanker fuel=89000nm 121242 combat5.c:1243 - in the now refueling path 121242 combat5.c:1279 - about to start refueling unit_id=EW001 121242 combat5.c:1302 - first calculation fuel to add=75453s of Cruise fuel, plane has 5171s, loadout originally had 80228s 121242 combat5.c:1303 - first calculation fuel to add=3667nm of Cruise fuel, plane has 251nm, loadout originally had 3900nm 121242 combat5.c:1314 - 8022 seconds (389 nm) of Cruise fuel added to DropTanks 121242 combat5.c:1358 - returning to wait 90s for refuel completion 121271 search.c:2345 - ZQC Position 50441452 18026328 Before 121271 search.c:2351 - ZQC Position 50441929 18026166 After 121301 search.c:2345 - ZQC Position 50441929 18026166 Before 121301 search.c:2351 - ZQC Position 50441196 18029025 After 121331 search.c:2345 - ZQC Position 50441196 18029025 Before 121331 search.c:2351 - ZQC Position 50449814 18027042 After 121332 combat5.c:1220 - Processing Refuel Event for Group=EWA 121332 combat5.c:1231 - tanker unit=EW005, numtankers=10 121332 combat5.c:1239 - Tanker fuel=89000nm 121332 combat5.c:1243 - in the now refueling path 121332 combat5.c:1279 - about to start refueling unit_id=EW002 121332 combat5.c:1302 - first calculation fuel to add=75453s of Cruise fuel, plane has 4811s, loadout originally had 80228s 121332 combat5.c:1303 - first calculation fuel to add=3667nm of Cruise fuel, plane has 233nm, loadout originally had 3900nm 121332 combat5.c:1314 - 8022 seconds (389 nm) of Cruise fuel added to DropTanks 121332 combat5.c:1358 - returning to wait 90s for refuel completion 121361 search.c:2345 - ZQC Position 50449814 18027042 Before 121361 search.c:2351 - ZQC Position 50443361 18025683 After 121391 search.c:2345 - ZQC Position 50443361 18025683 Before 121391 search.c:2351 - ZQC Position 50443838 18025522 After 121421 search.c:2345 - ZQC Position 50443838 18025522 Before 121421 search.c:2351 - ZQC Position 50451245 18026560 After 121422 combat5.c:1220 - Processing Refuel Event for Group=EWA 121422 combat5.c:1231 - tanker unit=EW005, numtankers=10 121422 combat5.c:1239 - Tanker fuel=89000nm 121422 combat5.c:1243 - in the now refueling path 121422 combat5.c:1279 - about to start refueling unit_id=EW003 121422 combat5.c:1302 - first calculation fuel to add=75453s of Cruise fuel, plane has 4451s, loadout originally had 80228s 121422 combat5.c:1303 - first calculation fuel to add=3667nm of Cruise fuel, plane has 216nm, loadout originally had 3900nm 121422 combat5.c:1314 - 8022 seconds (389 nm) of Cruise fuel added to DropTanks 121422 combat5.c:1358 - returning to wait 90s for refuel completion 121451 search.c:2345 - ZQC Position 50451245 18026560 Before 121451 search.c:2351 - ZQC Position 50438878 18030487 After 121481 search.c:2345 - ZQC Position 50438878 18030487 Before 121481 search.c:2351 - ZQC Position 50445270 18025038 After 121505 combat3.c:919 - just avoided a getannex error() 121509 combat3.c:919 - just avoided a getannex error() 121511 search.c:2345 - ZQC Position 50445270 18025038 Before 121511 search.c:2351 - ZQC Position 50445747 18024877 After 121512 combat5.c:1220 - Processing Refuel Event for Group=EWA 121512 combat5.c:1231 - tanker unit=EW005, numtankers=10 121512 combat5.c:1239 - Tanker fuel=89000nm 121512 combat5.c:1243 - in the now refueling path 121512 combat5.c:1279 - about to start refueling unit_id=EW004 121512 combat5.c:1302 - first calculation fuel to add=75453s of Cruise fuel, plane has 4091s, loadout originally had 80228s 121512 combat5.c:1303 - first calculation fuel to add=3667nm of Cruise fuel, plane has 198nm, loadout originally had 3900nm 121512 combat5.c:1314 - 8022 seconds (389 nm) of Cruise fuel added to DropTanks 121512 combat5.c:1358 - returning to wait 90s for refuel completion 121523 combat3.c:919 - just avoided a getannex error() 121541 search.c:2345 - ZQC Position 50445747 18024877 Before 121541 search.c:2351 - ZQC Position 50446224 18024716 After 121553 combat3.c:919 - just avoided a getannex error() 121571 search.c:2345 - ZQC Position 50446224 18024716 Before 121571 search.c:2351 - ZQC Position 50446701 18024555 After 121601 search.c:2345 - ZQC Position 50446701 18024555 Before 121601 search.c:2351 - ZQC Position 50447179 18024394 After 121602 combat5.c:1220 - Processing Refuel Event for Group=EWA 121602 combat5.c:1231 - tanker unit=EW005, numtankers=10 121602 combat5.c:1239 - Tanker fuel=89000nm 121602 combat5.c:1363 - in the not refueling path 121602 combat5.c:1418 - Will try to give each plane in unit=EW001 51nm of fuel when event is processed planestofuel_ids[0] 121602 combat5.c:1418 - Will try to give each plane in unit=EW002 51nm of fuel when event is processed planestofuel_ids[1] 121602 combat5.c:1418 - Will try to give each plane in unit=EW003 51nm of fuel when event is processed planestofuel_ids[2] 121602 combat5.c:1418 - Will try to give each plane in unit=EW004 51nm of fuel when event is processed planestofuel_ids[3] 121602 combat5.c:1506 - returning to wait 30 seconds for refueling to complete 121629 combat3.c:919 - just avoided a getannex error() 121631 search.c:2345 - ZQC Position 50447179 18024394 Before 121631 search.c:2351 - ZQC Position 50454582 18025436 After 121632 combat5.c:1220 - Processing Refuel Event for Group=EWA 121632 combat5.c:1231 - tanker unit=EW005, numtankers=10 121632 combat5.c:1239 - Tanker fuel=89000nm 121632 combat5.c:1243 - in the now refueling path 121632 combat5.c:1279 - about to start refueling unit_id=EW001 121632 combat5.c:1302 - first calculation fuel to add=1561s of Cruise fuel, plane has 79064s, loadout originally had 80228s 121632 combat5.c:1303 - first calculation fuel to add=75nm of Cruise fuel, plane has 3843nm, loadout originally had 3900nm 121632 combat5.c:1314 - 8022 seconds (389 nm) of Cruise fuel added to DropTanks 121632 combat5.c:1358 - returning to wait 90s for refuel completion 121661 search.c:2345 - ZQC Position 50454582 18025436 Before 121661 search.c:2351 - ZQC Position 50448133 18024071 After 121691 search.c:2345 - ZQC Position 50448133 18024071 Before 121691 search.c:2351 - ZQC Position 50448610 18023910 After 121721 search.c:2345 - ZQC Position 50448610 18023910 Before 121721 search.c:2351 - ZQC Position 50456017 18024954 After 121722 combat5.c:1220 - Processing Refuel Event for Group=EWA Game just stopped running at this point. This seems to be very similar to my issue report from the other day. I got the same type of msg and the GE just gave me the stopped running box and then crashed. Any ideas of what I am doing wrong? I just noticed 5 getannex errors in the GE log Thanks, Eric Eric, I'll guess that the problem is in the A2Ademo.dll. It isn't thorough in checking for situations that are 'unexpected'. I'm assuming you manually split off the tankers (which you should be able to do) and the dll was then trying to look at something that no longer existed. Tony is working up a new GE that will handle all of this so these sorts of thing will disappear. For the short term I'll have a look and see if I can come up with something, my best guess is to fiddle the refuelling event data so the tankers are ready to go home by normal means - which of the two A2ArefuelDemo versions did you use? Hi Eric, I think I can see the problem but as this is more a tool for looking at refuelling, and will be obsolete soon, I won't fix it. I have uploaded a latter version which still has this problem but is easier to use. The problem is that the tanker is removed while there is a refuelling event pending in memory but I don't take out the event so when it comes around the GE is trying to make references to a unit that no longer exists (This is my best guess). Normally this is handled fine by the GE but we have gone beyond where it works by continuing the refuels. Solution: instead of doing a manual split use the refuel dll, click "pause to investigate" (left mid of module window), click on the group refuel event in left panel, in the spin boxes to the mid right: reduce the available fuel to less than 200, adjust the 'unit' for queue position 0 to '255' ensure 'refuelling' is 1, click 'set'. optionally adjust the event time to current time + 1 and hit return key, then hit 'resume' This should do a GE controlled split of the tankers. hint re the spin box, once you hit one of the adjuster arrows you can enter the new number by key entry. For the event time, after adjustment hit the enter key, for the other adjustments hit the "set" button to write them to memory.
June 16, 201510 yr Thanks Don. I will rerun the scenario and try your suggestion out and will let you know what happened. I have just downloaded the newest version and will install it shortly. The group I refueled was larger at one point. I sent several units back to it's carrier after they ran out of ammo. I usually start out between 8 and 10 five plane units. Thanks for the feedback so quickly. I will retry the scenario probably tomorrow evening again. Thanks, Eric
June 17, 201510 yr Don, The new update takes up my whole monitor and I can't make it small enough to use.
June 18, 201510 yr Don, The new update takes up my whole monitor and I can't make it small enough to use. I don't know what's going on there Eric, I'll have a look and see what I've done wrong.
June 27, 201510 yr Looks like I have finally figured out ho to separate my Tankers form my other AC in the group with out crashing the game.. I did figure out how to make refuel dll usable too
July 1, 201510 yr This is how I see the refueling working when the tankers are embedded with the air group from base.1. Refueling starts when an air group reaches a certain fuel level.2. Fuel is transferred until the tanker runs out of refueling fuel.3. When tanker runs out of fuel the Refueling On/Off goes to “0” Off.4. The Refueling planes (in the example below the ASW group) have to be split from the tankers to form a new group to continue patrolling after the Game Time is more than the Event Time.My observations:1. If air group is split from the tankers before the Game Time is more that the event time the GE crashes.2. If tankers are removed from the group after the Game Time is more than the event time the GE Crashes.3. If air group is split from the tankers and the Game Time is greater than the Event Time everything is fine. No GE crash4. Embedded tankers do not automatically separate after the available fuel for refueling is 0.5. If you have a tanker meet up with an air group, they refuel the group until available refueling, fuel is 0 the tankers automatically disengage and RTB.Is this how the refueling is supposed to work?In the new GE release is refueling going to work any differently?Is the lazarus GUI Export DLL box going to change and only have the refueling menu in it or are there plans to make greater use of the menus in the dll? Refueling.zip
Create an account or sign in to comment