
Elerium Fueled Craft Bug
#1
Posted 17 January 2009 - 05:53 AM
Is there a known solution?
I will possibly today, possibly tomorrow, see if I am lucky enough to stumble upon the fuel charged by them and doubling it. Will inform of the result here.
#2
Posted 18 January 2009 - 03:14 PM

- Zombie
Zombie: Empirical data's your only man, when formulating a research plan.
A soldier's death is never in vain if it makes the formula more plain.
A few dozen make a better case for refining that third decimal place.
They call me Zombie because I don't sleep, as I slowly struggle to climb this heap,
of corpses, data points, and trials, but from the top - I'll see for miles!
#3
Posted 19 January 2009 - 04:34 AM
Uncy
#4
Posted 19 January 2009 - 05:50 AM
Thanks zombie, with that I'll look into the 1.4 with much better chances to find it. Else I'll just go with the dat for the latest save game.
Edited by Admiral Harkov, 19 January 2009 - 05:50 AM.
#5
Posted 20 January 2009 - 01:07 PM
And I don't get the 52,2 for the name. A pointer should be an integer. and I can't find that as a value, and don't find either the 32bit or 64bit float in hex. :s
Searched the 1500 (full skyranger fuel) in same order and doesn't seem to return any result with looks of being right and reversed there are too many results.
Edited by Admiral Harkov, 20 January 2009 - 01:12 PM.
#6
Posted 20 January 2009 - 07:40 PM

Edit: Ok, assuming I patched everything properly, the start of the craft info begins at 353014 (or 353115 in MS-Edit with 100 column widths). I'll break this down below:
Craft GEOSCAPE.EXE Skyranger 353014 Lightning 353042 Avenger 353070 Interceptor 353098 Firestorm 353126
Remember that the fuel info is stored 11 bytes away from the start of each record. Let me know if this works, otherwise there are other methods to pursue.
- Zombie
Edited by Zombie, 20 January 2009 - 08:03 PM.
Zombie: Empirical data's your only man, when formulating a research plan.
A soldier's death is never in vain if it makes the formula more plain.
A few dozen make a better case for refining that third decimal place.
They call me Zombie because I don't sleep, as I slowly struggle to climb this heap,
of corpses, data points, and trials, but from the top - I'll see for miles!
#7
Posted 20 January 2009 - 11:09 PM
I guess it's not exactly a memory pointer - more an array index.

- NKF
Edited by NKF, 20 January 2009 - 11:24 PM.
Number of members: 1
#8
Posted 21 January 2009 - 05:51 AM
I have 1.4 with dosbox and I have the steam which is 1.4 with dosbox and different sounds (PS sounds?. Can it be a version known as gold?).
Will test right away and edit this post when I get the result.
Yep, it works. Changed the data, scrambled all my elerium crafts, waited for their return and refueling, saved a test save, opened cweedit and they appear fueled up to twice the usual amount. Then reload doesn't crash and when I send my firestorm to the other side it just has enough to reach the place instead of returning in mid way.
Thanks again

Edited by Admiral Harkov, 21 January 2009 - 06:21 AM.