FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    [BUG] Map doesn't expand on "Black day" mission (X1CA_01)

    Scheduled Pinned Locked Moved Game Issues and Gameplay questions
    6 Posts 5 Posters 498 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      Altair707
      last edited by

      Hello,

      After many years I wanted to try again that awesome game and I wasn't disappointed 🙂

      However I encountered a bug on the first FA mission. I can destroy the Order basement and then protect the civilians, but then the map doesn't expand. The scenario keeps playing to a degree since I have to face a massive counter attack, but since the map didn't expand I can just stop it when it enters the combat zone. Apart from that the scenario stopped playing since no dialog is played and so on.

      I was playing alone with the aeons on medium difficulty. Here is the log:
      game_20354693.log

      I had a quick look at the log and the script, it happens here:
      Code.png

      I made some modding once ago, but it's been really long since then, so I'm not sure, but my idea is that veterancy = 0 (which is the case in easy and medium difficulty) is not a valid index to call CreateArmyGroupAsPlatoonVeteran. CreateArmyGroupAsPlatoon should be used instead or veterancy should be set to at least 1 in easy and medium difficulty.

      I haven't tested yet (it's getting late here...), so take my analysis with caution, but hopefully that can help.

      Don't hesitate to ask me if you need anything else to analyse!

      1 Reply Last reply Reply Quote 1
      • RoweyR Offline
        Rowey
        last edited by

        @Rezy-Noob

        "The needs of the many outweigh the needs of the few" - Spock

        1 Reply Last reply Reply Quote 0
        • ResistanceR Offline
          Resistance
          last edited by

          Yeah, we are aware of the maps not expanding, it's been broken for the last 2 patches, it is also weird because sometimes the bug doesn't reproduce, but it might be because of the difficulty, never actually thought of it

          queuing with a newbie to show him the beauty of tmm and meeting tagada be like:
          https://www.youtube.com/watch?v=yLcRpdZ0Xb0&ab_channel=Tomoko

          1 Reply Last reply Reply Quote 1
          • speed2S Offline
            speed2
            last edited by

            Its caused by the changed veterancy system in the game patch

            warning: Error running lua script: ...faforever\gamedata\lua.nx2\lua\defaultcomponents.lua(612): attempt to perform arithmetic on local `experience' (a nil value)
                     stack traceback:
                     	...faforever\gamedata\lua.nx2\lua\defaultcomponents.lua(612): in function `AddVetExperience'
                     	...faforever\gamedata\lua.nx2\lua\defaultcomponents.lua(694): in function `SetVeterancy'
                     	...rever\gamedata\lua.nx2\lua\sim\scenarioutilities.lua(1208): in function `CreateArmyGroupAsPlatoonVeteran'
                     	...ce\maps\x1ca_coop_001.v0028\x1ca_coop_001_script.lua(1991): in function `M3CounterAttack'
                     	...ce\maps\x1ca_coop_001.v0028\x1ca_coop_001_script.lua(1548): in function <...ce\maps\x1ca_coop_001.v0028\x1ca_coop_001_script.lua:1465>
            
            1 Reply Last reply Reply Quote 4
            • A Offline
              Altair707
              last edited by

              Hello,

              So I finally tested a lazy fix that consists in setting veterancy to 1 instead of 0 at line 1987 of the script. It worked, I could play the mission normally up to the end.

              I suppose it's not the way you might want to fix it, but those who want to fix the problem right now can do the same: at line 1987 of the script, replace "local veterancy = 0" by "local veterancy = 1".

              1 Reply Last reply Reply Quote 2
              • JipJ Offline
                Jip
                last edited by

                Should be tackled with the following:

                • https://github.com/FAForever/fa/pull/5218

                It will be included in the hotfix

                A work of art is never finished, merely abandoned

                1 Reply Last reply Reply Quote 2

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post