• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Fixed Food Supply Calculation error

Talisman

Smuggler
Storm Modder
In Jack Sparrow

Used the jump start to go to Beckett Burning Wicked Wench.

Went to Beckett's ship - the food/rations supply for the Number of days is not calculated correctly. xD - see images

No wonder Beckett is rich - - if he makes that much for last for so long :rofl

:drunk
 

Attachments

  • PotC JS Food_1.jpg
    PotC JS Food_1.jpg
    263.3 KB · Views: 122
  • PotC JS Food_2.jpg
    PotC JS Food_2.jpg
    254.8 KB · Views: 125
  • PotC JS Food_3.jpg
    PotC JS Food_3.jpg
    261.4 KB · Views: 138
  • compile.log
    20.6 KB · Views: 122
  • system.log
    74.4 KB · Views: 127
  • error.log
    334 bytes · Views: 127
Holy moly! Do you have a savegame to go with that so I can run some tests?
 
2 Save games

1 - Hispaniola - just before talking to Drunk in tavern for jump Starts

2 - Barbados - just before boarding Beckett's ship

:doff
 

Attachments

  • -=Player=- Hispaniola.7z
    401.3 KB · Views: 105
  • -=Player=- Barbados. Barbados lighthouse. June 9th, 1740.7z
    408.6 KB · Views: 110
Last edited:
Did you notice that "don't fix what isn't broken" thing I've been mentioning lately? Maybe I should actually listen to myself!
I caused that myself yesterday when I modified the GetSquadronTotalCrewQuantity function.
Turned out I was *almost* right with my change; only it excluded the player ship from the results.
To fix, it needed an ">" to be replaced with a ">=". :facepalm

Should be corrected with the attached file. Please tell me if it is back to normal with that.
Sorry 'bout the inconvenience. Thanks for catching this one so quickly! :bow
 

Attachments

  • b14_b4_wip18Oct2015_v2.zip
    355.6 KB · Views: 125
Back
Top