• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Login
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 31 Jul 2024, 05:49

    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
    • J
      Jip
      last edited by 31 Jul 2024, 06:48

      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 3 Aug 2024, 04:21

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

        1 Reply Last reply Reply Quote 0
        • M
          magge Global Moderator
          last edited by 3 Aug 2024, 05:03

          @LightWire Yes

          Join a FAFtastic Team

          1 Reply Last reply Reply Quote 0
          • L
            LightWire
            last edited by 3 Aug 2024, 05:14

            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
            • J
              Jip
              last edited by 3 Aug 2024, 05:27

              @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 3 Aug 2024, 16:55 Reply Quote 0
              • L
                LightWire @Jip
                last edited by 3 Aug 2024, 16:55

                @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 6 Aug 2024, 01:08
                • O
                  obituarypizza @Jip
                  last edited by 10 Aug 2024, 01:48

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

                  Z 1 Reply Last reply 14 Aug 2024, 06:10 Reply Quote 0
                  • Z
                    zhanghm18 @obituarypizza
                    last edited by 14 Aug 2024, 06:10

                    @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
                    2 out of 9
                    • First post
                      2/9
                      Last post