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!

    Strange Error with Tac Missiles

    Scheduled Pinned Locked Moved Game Issues and Gameplay questions
    1 Posts 1 Posters 38 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

      Working on a stability update for AI Wave Survival.

      Been getting the following warning in the logs:

      warning: Invalid args to yield(); tick count must be >=0
      stack traceback:
      [C]: in function `WaitTicks'
      ...\projectiles\components\tacticalmissilecomponent.lua(141): in function <...\projectiles\components\tacticalmissilecomponent.lua:38>

      The following units in the mod get this warning in testing:
      Abyss Depth Charge Platform (EDC0305)
      Seraphim T3 Heavy Cruiser (SHC0202)
      Seraphim Storm Launcher (PD4SP2108)

      The Doom units, which also fire Tac Missiles, do not get this error.

      The strange thing is the Doom units (projectile DoomCruiseMissile) and the Abyss Depth Charge unit (projectile AbyssMissileCruise) both use the same projectile script and blueprint, with just a difference in health and speed. They both reuse edited Tac Missile files for UES0304 (UEF T3 Strategic Sub).

      TMissileCruiseSubProjectile = import("/lua/terranprojectiles.lua").TMissileCruiseSubProjectile

      The Seraphim units reuse the Tac Missile files from XSS0202 (Seraphim T2 Cruiser):
      projectile StormAltMissile
      projectile StormTacMissile

      SLaanseTacticalMissile = import("/lua/seraphimprojectiles.lua").SLaanseTacticalMissile

      1 Reply Last reply Reply Quote 0

      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