KatekovAnton / MACS-docs

Documentation and specifications for MACs built-in scripting system
https://www.facebook.com/groups/1420889268172393/
19 stars 1 forks source link

3 bugs in one save #160

Closed cugi1 closed 1 year ago

cugi1 commented 1 year ago

Version 18.1.0 beta 4

Bug 1: After "End turn" AI stops play, game frozen Bug 2: AI produces only constructors in 10 HF and uses these for attack - produced only 75 constructors Bug 3. AI changed produscion set by scenario author which makes the scenario corrupted.

Proper production set should be :

local playerPlants2 = {
  {91, 97, "hvplant", "crawler", 2},
    {94, 97, "hvplant", "crawler", 2},
    {97, 97, "hvplant", "rocket", 2},
    {100, 97, "hvplant", "rocket", 2},
    {102, 97, "hvplant", "asgun", 2},
    {105, 97, "hvplant", "asgun", 2},
    {91, 99, "hvplant", "scanner", 2},
    {102, 99, "hvplant", "tank", 2},
  {91, 92, "hvplant", "tank", 2},
    {100, 92, "hvplant", "tank", 2},
  {105, 92, "lightplant", "scout", 2},
    {105, 89, "lightplant", "scout", 2},
    {105, 86, "lightplant", "scout", 2},

    {94, 101, "hvplant", "tank", 1}, -- to have enough materials
    {96, 101, "hvplant", "tank", 1}, -- to have enough materials
}

1692459738 3bugsonesave.zip

KatekovAnton commented 1 year ago

hi. please provide both .save as well as well as allsaves.json

more info: https://discord.com/channels/411014559613059092/619497394974752771/1056086221387997204

KatekovAnton commented 1 year ago

Fixed, more or less in v19