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!

    Unknown Error Causing Infinite Loop

    Scheduled Pinned Locked Moved Modding & Tools
    2 Posts 2 Posters 324 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 Offline
      Rama
      last edited by

      This warning keeps spamming log files in games using the mod AI Wave Survival. Starts showing up in the logs when boss units spawn that have additional units bound to them. Not sure if it is a specific unit causing the warning. Not even sure if it is this error causing the infinite loop, as the warning does not always result in an infinite loop occurring and freezing the game (gameplay stops, CPU use skyrockets, but UI is still functional).

      Any ideas appreciated, or if this issue is present in other mods.

      warning: Attempted to resume a thread that was already killed
               stack traceback:
               	[C]: in function `ResumeThread'
               	...eplaydata\gamedata\lua.nx2\lua\defaultcomponents.lua(481): in function `CreateTreads'
               	...eplaydata\gamedata\lua.nx2\lua\defaultcomponents.lua(438): in function <...eplaydata\gamedata\lua.nx2\lua\defaultcomponents.lua:426>
               	...aydata\gamedata\lua.nx2\lua\sim\units\mobileunit.lua(84): in function `CreateMovementEffects'
               	...forever\replaydata\gamedata\lua.nx2\lua\sim\unit.lua(3291): in function <...forever\replaydata\gamedata\lua.nx2\lua\sim\unit.lua:3276>
               	...aydata\gamedata\lua.nx2\lua\sim\units\mobileunit.lua(131): in function <...aydata\gamedata\lua.nx2\lua\sim\units\mobileunit.lua:130>
      
      1 Reply Last reply Reply Quote 1
      • DDDXD Offline
        DDDX
        last edited by

        play with cheats. Spawn the boss in question, then look at the log.
        This will give you a starting point where the problem lies.
        I have tons of units attached to other units (buildings and mobile alike), they come and go based on which attachment or power-up was taken, or which enhancement built, so that part should not be an issue.

        But the log is your friend, use it.

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