FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login
    The current pre-release of the client ("pioneer" in the version) is only compatible to itself. So you can only play with other testers. Please be aware!

    M28AI Devlog (v328)

    Scheduled Pinned Locked Moved AI development
    745 Posts 70 Posters 2.8m Views 5 Watching
    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.
    • maudlin27M Offline
      maudlin27
      last edited by

      v325 Update
      7 changes, including:

      • M28 should try and build its first/main naval factory with more clearance around it so it's less likely to have T3 units get stuck
      • Fixed a bug with the land combat logic that was double-counting enemy threats in some cases leading to M28 being over-cautious (when not able to kite the enemy)
      • Land factories should build more engineers if M28 has a T3 mex in the zone without mass storage
      • ACUs should consider if they have TMD coverage before cancelling an upgrade when spotting an incoming TML missile

      Acknowledgements

      • Fearghal - Highlighting M28's naval factory issues on Adaptive Bloob
      • Malitarh - Replay with M28 cancelling upgrades repeatedly due to TML missiles that it wasn't threatened by

      M27AI and M28AI developer:
      https://forum.faforever.com/topic/5331/m28ai-devlog-v327
      M28 trophy holders: Radde and Yew (Radde trophy, v309) and Malitarh and Lazert (Sladow trophy, v327)

      1 Reply Last reply Reply Quote 3
      • C Offline
        chris12
        last edited by

        Hello Maudin!

        Ive updated faf to the newest version. And ive updated the complete env.nx2 folder ive hosted a new game in faf.

        Since than i cant start m28.

        Ive got the following message

        Hello maudin!

        I ve updated faf and the complete env.nx2 gamedata folder. I hosted a new game.

        Since than the game doesnt start with the m28 ai mod. Without it starts perfectly. Ive got following error message fatal error c

        Unhandled exception:

        The system cant find the file

        Program : C:\ProgramData\FAForever\bin\ForgedAlliance.exe
        Cmd line arguments :

        Callstack:
        Unknown symbol (address 0x008d462c)

        Last 100 lines of log...

        debug: GpgNetSend ClearSlot 8
        debug: GpgNetSend ClearSlot 9
        debug: GpgNetSend ClearSlot 10
        debug: GpgNetSend ClearSlot 11
        debug: GpgNetSend ClearSlot 12
        debug: GpgNetSend AIOption AI: M28 Land Faction 5
        debug: GpgNetSend AIOption AI: M28 Land Color 1
        debug: GpgNetSend AIOption AI: M28 Land Team 1
        debug: GpgNetSend AIOption AI: M28 Land StartSpot 4
        debug: GpgNetSend AIOption AI: M28 Air Faction 5
        debug: GpgNetSend AIOption AI: M28 Air Color 2
        debug: GpgNetSend AIOption AI: M28 Air Team 1
        debug: GpgNetSend AIOption AI: M28 Air StartSpot 10
        debug: GpgNetSend ClearSlot 1
        debug: GpgNetSend ClearSlot 2
        debug: GpgNetSend ClearSlot 3
        debug: GpgNetSend AIOption AI: M28 Land Faction 5
        debug: GpgNetSend AIOption AI: M28 Land Color 1
        debug: GpgNetSend AIOption AI: M28 Land Team 1
        debug: GpgNetSend AIOption AI: M28 Land StartSpot 4
        debug: GpgNetSend ClearSlot 5
        debug: GpgNetSend ClearSlot 6
        debug: GpgNetSend ClearSlot 7
        debug: GpgNetSend ClearSlot 8
        debug: GpgNetSend ClearSlot 9
        debug: GpgNetSend AIOption AI: M28 Air Faction 4
        debug: GpgNetSend AIOption AI: M28 Air Color 2
        debug: GpgNetSend AIOption AI: M28 Air Team 1
        debug: GpgNetSend AIOption AI: M28 Air StartSpot 10
        debug: GpgNetSend ClearSlot 11
        debug: GpgNetSend ClearSlot 12
        info: >> SendArmySettingsToServer: Slot 1 empty
        info: >> SendArmySettingsToServer: Slot 2 empty
        info: >> SendArmySettingsToServer: Slot 3 empty
        info: >> SendArmySettingsToServer: Setting army 1 for slot 4
        debug: GpgNetSend AIOption Kohne (AI: M28 Land) Army 1
        info: >> SendArmySettingsToServer: Slot 5 empty
        info: >> SendArmySettingsToServer: Slot 6 empty
        info: >> SendArmySettingsToServer: Slot 7 empty
        info: >> SendArmySettingsToServer: Slot 8 empty
        info: >> SendArmySettingsToServer: Slot 9 empty
        info: >> SendArmySettingsToServer: Setting army 2 for slot 10
        debug: GpgNetSend AIOption Shun-Ylliushi (AI: M28 Air) Army 2
        info: >> SendArmySettingsToServer: Slot 11 empty
        info: >> SendArmySettingsToServer: Slot 12 empty
        info: >> SendArmySettingsToServer: Slot 13 empty
        info: >> SendArmySettingsToServer: Slot 14 empty
        info: >> SendArmySettingsToServer: Slot 15 empty
        info: >> SendArmySettingsToServer: Slot 16 empty
        debug: GpgNetSend GameState Launching
        debug: OpenMovie /movies/cybran_load.sfd: 3772
        debug: Preparing movie /movies/cybran_load.sfd: 3772
        debug: Preparing movie /movies/cybran_load.sfd: 3772
        debug: Preparing movie /movies/cybran_load.sfd: 3772
        debug: Preparing movie /movies/cybran_load.sfd: 3772
        debug: Preparing movie /movies/cybran_load.sfd: 3772
        debug: Preparing movie /movies/cybran_load.sfd: 3772
        debug: Playing movie c:\program files (x86)\steam\steamapps\common\supreme commander forged alliance\movies\cybran_load.sfd: 3772
        info: Starting background task "Map loader /maps/sirgis/sirgis.scmap"
        info: Background task "Map loader /maps/sirgis/sirgis.scmap" running.
        info: Active game mods for blueprint loading:
        info: "M28AI Co-op Tools" v13 (a7c3e9f1-8b2d-4d6a-b5e0-1f9c4a8d2f99) by Creed
        info: "M28AI Per-Unit Inherit" v04 (d4dde8a8-af26-45ca-a676-2029b538829f) by Creed
        info: "M28AI" v325 (fnewm028-v325-55b4-92b6-64398e7ge43f) by maudlin27
        info: "Visual Nuke Warning Mod" v07 (nuke-warning-mod-2025-05-29) by Sercammus
        info: Blueprints Loading... '*.bp' files
        info: Blueprints Loading: original files from /effects directory
        info: Blueprints Loading: original files from /env directory
        info: Blueprints Loading: original files from /meshes directory
        info: Blueprints Loading: original files from /projectiles directory
        info: Blueprints Loading: original files from /props directory
        info: Blueprints Loading: original files from /units directory
        info: Blueprints Loading: modded files from "M28AI Co-op Tools" mod
        info: Blueprints Loading: modded files from "M28AI Per-Unit Inherit" mod
        info: Blueprints Loading: modded files from "M28AI" mod
        info: Blueprints Loading: modded files from "Visual Nuke Warning Mod" mod
        info: Blueprints Extracting mesh...
        info: Blueprints Modding...
        debug: Blueprints.lua - Found (614) scripted icon assignments in Redux Strategic Icons 4K by macdeffy.
        debug: Blueprints.lua - Found (128) manual icon assignments in Redux Strategic Icons 4K by macdeffy.
        info: Blueprints Loading... completed: 606 original, 5 modded, and 74 preset units
        info: Blueprints Loading... completed: 393 original and 0 modded projectiles
        info: Blueprints Registering...
        debug: MEM: -31 bytes RULE
        info: Hooked /lua/system/class.lua with /mods/m28ai/hook/lua/system/class.lua
        debug: Lua session environment initialized with game version 3839, game type FAF and at commit hash 36701ed9e184818bc264ec0b325676356c1ed743
        info: Active mods in session:
        info: "M28AI Co-op Tools" v13 (a7c3e9f1-8b2d-4d6a-b5e0-1f9c4a8d2f99) by Creed
        info: "M28AI Per-Unit Inherit" v04 (d4dde8a8-af26-45ca-a676-2029b538829f) by Creed
        info: "M28AI" v325 (fnewm028-v325-55b4-92b6-64398e7ge43f) by maudlin27
        info: "Visual Nuke Warning Mod" v07 (nuke-warning-mod-2025-05-29) by Sercammus
        info: "Supreme Score Board2" v25 (RIGOMATE-a1e2-c4t4-scfa-ssbmod-v0250) by HUSSAR
        info: "Redux Strategic Icons 4K" v02 (90d28644-9911-40b3-8393-2446f1388cff) by macdeffy, Lordfapington69
        info: Hooked /lua/UserSync.lua with /mods/supremescoreboard2/hook/lua/UserSync.lua
        debug: MEM: -5247026 bytes STIMap
        debug: MEM: -5247026 bytes LoadTexturing
        debug: MEM: -5247026 bytes WaterMask
        debug: MEM: -12252683 bytes TERRAIN
        info: Background task "Map loader /maps/sirgis/sirgis.scmap" finished.
        info: Saving replay to "C:\Users\chris\Documents\My Games\Gas Powered Games\Supreme Commander Forged Alliance\replays\Chris\LastGame.SCFAReplay"

        maudlin27M 1 Reply Last reply Reply Quote 0
        • maudlin27M Offline
          maudlin27 @chris12
          last edited by maudlin27

          @chris12 Do you get the issue with just M28 (and no other mods) enabled (e.g. it looks like a couple of other sim mods are enabled as well from that log)? And if so, does it load fine without M28 enabled at all?
          Also enable the FAF debugger as it may give more information in the log to help figure out the cause and/or be of help if you post to the technical support forum in discord

          884c7a05-dab9-4e00-96ac-c209f9831bfe-image.png

          M27AI and M28AI developer:
          https://forum.faforever.com/topic/5331/m28ai-devlog-v327
          M28 trophy holders: Radde and Yew (Radde trophy, v309) and Malitarh and Lazert (Sladow trophy, v327)

          1 Reply Last reply Reply Quote 0
          • maudlin27M Offline
            maudlin27
            last edited by

            v326 Hotfix
            Fixed a bug introduced in the last version relating to naval factories

            M27AI and M28AI developer:
            https://forum.faforever.com/topic/5331/m28ai-devlog-v327
            M28 trophy holders: Radde and Yew (Radde trophy, v309) and Malitarh and Lazert (Sladow trophy, v327)

            1 Reply Last reply Reply Quote 1
            • M Offline
              Malitarh
              last edited by

              Hello!
              I found two more exotic maps where the M28 is significantly weaker.

              1. The Flat map. No terrain, no trees or rocks, 1 mex per player, huge open space. I consistently win under these conditions. Here’s a replay with the latest version of the M28. https://replay.faforever.com/27913558

              2. The ACU Lab 1 map. No resource sources, 5x5 km, 8 players. I played 4 vs 4, all AI — M28. If there isn’t a random massive attack on me while I’m upgrading the ACU to T2, my team will win. Perhaps the tactic for 4 players should be to upgrade one of them to T2 while the others defend and share resources — which is exactly what I managed to do. Here’s the replay of that battle:
                https://replay.faforever.com/27913954

              P.S. Was there any change related to distancing from exploding objects, such as reactors, if they are planning to explode?

              1 Reply Last reply Reply Quote 0
              • M Offline
                Malitarh
                last edited by Malitarh

                I got curious. I took advantage of the discovered weakness to defeat the AIX M28 and meet the requirement for the Sladow trophy.
                https://replay.faforever.com/27914091

                Moreover, Flat meets the requirements for the second award. But right now I don’t have enough time, and I’ll need several attempts.

                1 Reply Last reply Reply Quote 1
                • M Offline
                  Malitarh
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Malitarh
                    last edited by Malitarh

                    I decided to review these replays myself and found that they cut off on the server, and only the local file contains the full version of the replay. I’ll write to Discord and ask why this happens regularly. Maybe it’s because of playing with bots? So I’ll post the local files for each battle here so everyone can see them in full:

                    27913558: https://drive.google.com/file/d/10C1GUIyGMwyNuqS4kFKySsv3lzRq_NSm/view?usp=drive_link

                    27913954: https://drive.google.com/file/d/1-a2jE9r0zufjEbSEbBgG5aPW4cehmyCn/view?usp=drive_link

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Malitarh
                      last edited by

                      I found out that when launching FAF locally, replays are not recorded and cannot be saved. I apologizing for any time that may have been wasted, as I was sure that match 27914091 was a victory over AIX-M28, but in fact it was the previous one, which ended due to an accidental indication of ACU movement.

                      At that time, I couldn’t launch the game on the server. And, accordingly, the local game simply wasn’t recorded.

                      I deliberately launched the game again under the same conditions and roughly repeated the tactic, but this time on the FAF server.

                      Replay 27948977. The version on the server keeps breaking somewhere in the middle, so I’m sending it again via Google Drive:
                      https://drive.google.com/file/d/1avEgW_geQoEnblfQSGrlzB-CDPoyurst/view?usp=drive_link

                      maudlin27M 1 Reply Last reply Reply Quote 0
                      • maudlin27M Offline
                        maudlin27 @Malitarh
                        last edited by maudlin27

                        @Malitarh For future reference if playing offline then the replay should be saved as LastGame.SCFAReplay against your profile name (I don't have the normal location to hand though as I use linux now, but it's probably ...Documents/My Games/Gas Powered Games/Supreme Commander Forged Alliance/replays/[Profile name])

                        M27AI and M28AI developer:
                        https://forum.faforever.com/topic/5331/m28ai-devlog-v327
                        M28 trophy holders: Radde and Yew (Radde trophy, v309) and Malitarh and Lazert (Sladow trophy, v327)

                        1 Reply Last reply Reply Quote 1
                        • maudlin27M Offline
                          maudlin27
                          last edited by

                          v327 Update
                          19 changes, including:

                          • Various adjustments to M28's approach to low mex map to add a bit of variety to the initial build order and greater aggression
                          • Fixed a bug relating to where to place a PD (which could cause issues on some more unusual maps with narrow pathable areas)
                          • Adjusted land scout logic so the first land scout in a zone should support longer ranged units in that zone instead of moving to a different zone.

                          Acknowledgements

                          • Marlitarh - Replay on a map with 0 mexes which highlighted a flaw with M28's assumption it'd have at least 1 mex to upgrade in a game

                          Trophy award

                          • Marlitarh - for beating M28 1.5 AIx on a no mex map (assumed - the replay stopped before the end and I was on linux at the time so couldn't run the local replay uploaded, but it was clear from the replay that M28 was headed for a likely loss)

                          M27AI and M28AI developer:
                          https://forum.faforever.com/topic/5331/m28ai-devlog-v327
                          M28 trophy holders: Radde and Yew (Radde trophy, v309) and Malitarh and Lazert (Sladow trophy, v327)

                          1 Reply Last reply Reply Quote 4
                          • M Offline
                            Malitarh
                            last edited by Malitarh

                            Here, I reproduced the error that was previously observed. The situation begins at 42-43 minutes. M28-Easy is persistently conducting artillery fire on the hill with the “Fatboy” cannons.
                            This has happened before as well, through the main part of the mountain, when someone tried to shoot at my main base.
                            https://drive.google.com/file/d/1BhLHxx5RMohUgLjZHwm99UjJ3Dp7lpzH/view?usp=drive_link

                            And here, a victory is achieved over the new version 327 on the same map (ACU Lab 1) 2 vs 2. In addition to the fact that this is a trophy, there is an error related to shooting at the ACU Cybran obstacle at minute 8. Although the situation is different, it seems this is a different bug.
                            Battle #27981000
                            https://replay.faforever.com/27981000

                            maudlin27M 1 Reply Last reply Reply Quote 0
                            • maudlin27M Offline
                              maudlin27 @Malitarh
                              last edited by

                              @Malitarh Not sure I understand your first point. Is it that the fatboy is firing at something that is blocked by a cliff? If so then this can happen, as unless M28 is comfortable there is almost no threat it will be cautious with the fatboy and not want to move it closer to a target

                              M27AI and M28AI developer:
                              https://forum.faforever.com/topic/5331/m28ai-devlog-v327
                              M28 trophy holders: Radde and Yew (Radde trophy, v309) and Malitarh and Lazert (Sladow trophy, v327)

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                Malitarh @maudlin27
                                last edited by

                                @maudlin27 ,
                                Yes. The first sentence states that Fatboy often fired at targets behind the rock. It seemed to me that this was a logical error, because it was possible to shoot at the object from maximum distance if you positioned yourself at a different angle. In the video attached to the previous message, he could have moved to the right while remaining under the cover of his units.

                                But I understand that sometimes it’s better to try to break through the rock or just stay at a distance than to get closer.

                                maudlin27M 1 Reply Last reply Reply Quote 0
                                • M Offline
                                  Malitarh @maudlin27
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • maudlin27M Offline
                                    maudlin27 @Malitarh
                                    last edited by

                                    @Malitarh Unfortunately analysing from what point a unit whose shots are currently blocked would be able to move to in order to hit the target, while still being at max range, would likely be very cpu intensive to implement.

                                    It might be possible with the fatboy since as an experimental it's typically built in small numbers, but unfortunately the recent faf patch means I wouldn't be able to do the analysis required to consider further

                                    M27AI and M28AI developer:
                                    https://forum.faforever.com/topic/5331/m28ai-devlog-v327
                                    M28 trophy holders: Radde and Yew (Radde trophy, v309) and Malitarh and Lazert (Sladow trophy, v327)

                                    1 Reply Last reply Reply Quote 1
                                    • maudlin27M Offline
                                      maudlin27
                                      last edited by

                                      v328 Update
                                      10 changes mostly relating to low mex map tweaks, including:

                                      • Fixed an issue with Seraphim and Aeon ACUs not getting a blackops gun upgrade
                                      • Added more variety to M28's low mex build order choices in teamgames
                                      • T1 PD should be less likely to be built on low mex maps.
                                      • Used a more detailed method of assessing if T1 arti should retreat from enemies

                                      Acknowledgements

                                      • Shazbot - Highlighting a bug with M28 not getting blackops ACU upgrades

                                      Trophy award

                                      • Malitarh and Lazert - beating M28 1.5 AIx in a 2v2 (although I may end up tweaking the Sladow trophy to require it to be a 1v1 award only as it was in part prompted by Sladow beating M28 1v1, whereas the Radde trophy was prompted by teamgames against M28)

                                      M27AI and M28AI developer:
                                      https://forum.faforever.com/topic/5331/m28ai-devlog-v327
                                      M28 trophy holders: Radde and Yew (Radde trophy, v309) and Malitarh and Lazert (Sladow trophy, v327)

                                      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