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

    Game Getting Locked Up in Infinite Loop

    Scheduled Pinned Locked Moved Game Issues and Gameplay questions
    9 Posts 6 Posters 632 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.
    • R
      Rama
      last edited by

      Seen this occur now with several replays. Sim will get locked in an infinite loop, where gameplay freezes but UI is still functional. This has been happening quite frequently after the last update to FAF, and I am not sure if related.

      Here is an example replay:
      #23009727

      In this replay, the sim gets trapped in an infinite loop at 30 minutes and 1 second.

      Checking the log of the replay, shows the following errors just prior.

      debug: Session time: 00:13:24 Game time: 00:29:39 Heap: 896.0M / 777.9M
      warning: Error running lua script: IssueMove: Passed in an invalid target point.
      stack traceback:
      [C]: in function IssueMove' ...ce\mods\ai wave survival\hook\lua\ai\aibehaviors.lua(6320): in function <...ce\mods\ai wave survival\hook\lua\ai\aibehaviors.lua:6298> info: *FORMATION DEBUG: Unit w93cl4e2 does not match any Land categories. debug: Session time: 00:13:34 Game time: 00:29:51 Heap: 896.0M / 770.6M warning: Error running lua script: IssueMove: Passed in an invalid target point. stack traceback: [C]: in function IssueMove'
      ...ce\mods\ai wave survival\hook\lua\ai\aibehaviors.lua(6449): in function <...ce\mods\ai wave survival\hook\lua\ai\aibehaviors.lua:6427>
      info: creating high fidelity terrain
      info: creating high fidelity water
      debug: Session time: 00:13:44 Game time: 00:30:01 Heap: 896.0M / 743.4M
      debug: [uiutil.lua, function UIFile()] - Unable to find file:/textures/ui/uef/icons/units/drop0306_icon.dds
      debug: Session time: 00:14:04 Game time: 00:30:01 Heap: 896.0M / 743.6M
      debug: Session time: 00:14:14 Game time: 00:30:01 Heap: 896.0M / 743.8M
      debug: Session time: 00:14:24 Game time: 00:30:01 Heap: 896.0M / 743.8M

      Having checked the code for AI Wave Survival, I don't know if the errors are causing the sim to freeze, while UI is still functional. From my limited understanding, the mod's code shouldn't be the issue, as those lines weren't causing infinite loops before.

      1 Reply Last reply Reply Quote 0
      • JipJ
        Jip
        last edited by

        We found a cause for this and the fix is available on FAF Develop. It has to do with ground fire of bombers, specifically of bombers with multiple projectiles per salvo.

        A work of art is never finished, merely abandoned

        1 Reply Last reply Reply Quote 1
        • L
          LightWire
          last edited by

          Hi Jip. To test this, would creating a game and selecting the FAF Develop option be sufficient?

          1 Reply Last reply Reply Quote 0
          • maggeM
            magge Global Moderator
            last edited by

            @LightWire Yes

            Join a FAFtastic Team

            1 Reply Last reply Reply Quote 0
            • L
              LightWire
              last edited by

              For the test, I clicked FAF Develop and played a game of AI Wave Survival with 3 M28AI on my team. Had a lock up occur later into the game. I always thought it had something to do with unit count. What can I look for try to find the cause?

              1 Reply Last reply Reply Quote 0
              • JipJ
                Jip
                last edited by

                @LightWire do you have a replay id for me?

                Investigating a freeze is very difficult.

                A work of art is never finished, merely abandoned

                L O 2 Replies Last reply Reply Quote 0
                • L
                  LightWire @Jip
                  last edited by

                  @jip Sure. Here's the replay link. Game is on Adaptive Dust Survival and the lockup is at the end.

                  https://replay.faforever.com/23028446

                  1 Reply Last reply Reply Quote 0
                  • L LightWire referenced this topic on
                  • O
                    obituarypizza @Jip
                    last edited by

                    @jip i also have this problem, how do i find replay codes?

                    Z 1 Reply Last reply Reply Quote 0
                    • Z
                      zhanghm18 @obituarypizza
                      last edited by

                      @obituarypizza The first method: In your faf client /reply section, you can search for your own reply according to your account name.
                      Second way: You can find the reply folder in the options at the top left corner of the FAF client. You can look in the folder according to the time when the reply was created
                      Third method: Every time the game crashes, the client will pop up a window to record the game log. If you open this log file and search for "ID", you will find a text that reads "reply ID".

                      1 Reply Last reply Reply Quote 1
                      • First post
                        Last post