FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login
    1. Home
    2. Rama
    3. Topics
    R
    Offline
    • Profile
    • Following 0
    • Followers 2
    • Topics 41
    • Posts 250
    • Groups 0

    Topics

    • R

      FAF Unable to Login after Observer Bug Crash

      Watching Ignoring Scheduled Pinned Locked Moved FAF support (client and account issues)
      2
      0 Votes
      2 Posts
      98 Views
      R
      I was able to get FAF working again by just logging back in through the website. Don't know if the error is related to the observer bug.
    • R

      Beach Water Depth Units not Detected

      Watching Ignoring Scheduled Pinned Locked Moved Mapping
      8
      0 Votes
      8 Posts
      348 Views
      N
      Yeah 3.75 works easily but the tricky part is that if the offset is too much then units will target the underwater unit thinking it is on land, while its hitbox is covered by water (dbg c in console to see collision boxes). I think they start ignoring that unit after they hit the water too.
    • R

      Sudden Crash, Happened a Few Time

      Watching Ignoring Scheduled Pinned Locked Moved Game Issues and Gameplay questions
      15
      0 Votes
      15 Posts
      374 Views
      E
      @nomander Thanks for the advice, but it doesn't work. I tried to play with VAC, set it up and nothing happened. The game goes fine only if you run it with the /notsound command written in the shortcut, that's only then you can play normally, although without sound. I don't understand how others run the game so well and stream it on modern platforms... I also stung the sup*** file from the sound folder, they say there may be a problem because of it.
    • R

      Replays of Games Stuck in Infinite Loop

      Watching Ignoring Scheduled Pinned Locked Moved Game Issues and Gameplay questions
      17
      1 Votes
      17 Posts
      648 Views
      R
      @Jip Do you know if this issue has occurred in other games not using the AI Wave Survival mod, or is the issue exclusive AI Wave Survival mod game? Around the same time as the last FAF Patch, I increased the use of the following code that attaches orbs to a unit's bones. Now all units have a chance at having orbs attached to increase their DPS, depending on player strength. I've also noticed the freeze is most likely to occur during the endgame phase of the game, when many bosses are spawning and they will all have multiple orbs attached. Here is the code for attaching orbs to units. Note that the script first checks to make sure units have more than 1 bone before calling the function to attach the orbs. For Land Units: AttachedLandUnitSpawn = function(self, selfId, attachedUnitId, selfBoneId) local platOrient = self:GetOrientation() local location = self:GetPosition() local StellarCore = CreateUnit(attachedUnitId, self:GetArmy(), location[1], location[2], location[3], platOrient[1], platOrient[2], platOrient[3], platOrient[4], 'Land') WaitTicks(2) StellarCore:AttachTo(self, selfBoneId) StellarCore:SetCreator(self) self.Trash:Add(StellarCore) end For Air Units: AttachedAirUnitSpawn = function(self, selfId, attachedUnitId, selfBoneId) local platOrient = self:GetOrientation() local location = self:GetPosition() local StellarCore = CreateUnit(attachedUnitId, self:GetArmy(), location[1], location[2], location[3], platOrient[1], platOrient[2], platOrient[3], platOrient[4], 'Air') WaitTicks(2) StellarCore:AttachTo(self, selfBoneId) StellarCore:SetCreator(self) self.Trash:Add(StellarCore) end For Navy Units: AttachedNavyUnitSpawn = function(self, selfId, attachedUnitId, selfBoneId) local platOrient = self:GetOrientation() local location = self:GetPosition() local StellarCore = CreateUnit(attachedUnitId, self:GetArmy(), location[1], location[2], location[3], platOrient[1], platOrient[2], platOrient[3], platOrient[4], 'Naval') WaitTicks(2) StellarCore:AttachTo(self, selfBoneId) StellarCore:SetCreator(self) self.Trash:Add(StellarCore) end
    • R

      Game Getting Locked Up in Infinite Loop

      Watching Ignoring Scheduled Pinned Locked Moved Game Issues and Gameplay questions
      9
      0 Votes
      9 Posts
      395 Views
      Z
      @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".
    • R

      Latest Patch Cripples Airdrops

      Watching Ignoring Scheduled Pinned Locked Moved Modding & Tools
      9
      0 Votes
      9 Posts
      592 Views
      R
      Looks like the Transport Bug has been squashed! Thank you very much! I am sure @Thracymachus14 will be pleased the unstoppable Airdrops are back.
    • R

      Get Hidden Map Area

      Watching Ignoring Scheduled Pinned Locked Moved Modding & Tools
      2
      0 Votes
      2 Posts
      172 Views
      C
      @Rama Hey Rama, It is possible to get the Information of the Hidden Area outside the Map Uveso has Show me an Way how to do that. I primary use it for several Spawn Mechanics of callable Reinforcements and the Airstrikes which are included in my Commander Survival Kit. So maybe it could help you for what you want. But you will probably need to modify the Code for your purposes. GetPlayableArea: This Function checks for the existence of an playable rectangle (area) on the map. If one exists it returns the playable rectangle (area) If not it simple returns the size of the map GetNearestPlayablePoint This Function checks whether the given unit position is outside the playable rechtangle (area).. If the Unit is located outside the Map it returns a new generated Vector inside the Playable Area If Not it doesn't return anything. The included Check for ScenarioInfo.type == 'skirmish' is optional So If you want to use the Code for specific Game Modes only you can use the Check. For example: Campaign, Skirmish or anything else. If you have any additional Questions related to this. I still have Contact with Uveso on Discord to pass them on to him. GetPlayableArea = function() if ScenarioInfo.MapData.PlayableRect then return ScenarioInfo.MapData.PlayableRect end return {0, 0, ScenarioInfo.size[1], ScenarioInfo.size[2]} end, GetNearestPlayablePoint = function(self,position) local px, _, pz = unpack(position) if ScenarioInfo.type == 'skirmish' then local playableArea = self.GetPlayableArea() -- keep track whether the point is actually outside the map local isOutside = false if px < playableArea[1] then isOutside = true px = playableArea[1] + 1 elseif px > playableArea[3] then isOutside = true px = playableArea[3] - 1 end if pz < playableArea[2] then isOutside = true pz = playableArea[2] + 1 elseif pz > playableArea[4] then isOutside = true pz = playableArea[4] - 1 end -- if it really is outside the map then we allocate a new vector if isOutside then return { px, GetTerrainHeight(px, pz), pz } end end end, Best regards CDRMV
    • R

      Error running OnDamage script in Entity

      Watching Ignoring Scheduled Pinned Locked Moved Modding & Tools
      14
      0 Votes
      14 Posts
      510 Views
      R
      @rama but that's an assumption unless the log supports it.
    • R

      Inconsistent shooter cap defined for projectile

      Watching Ignoring Scheduled Pinned Locked Moved Modding & Tools
      2
      0 Votes
      2 Posts
      194 Views
      JipJ
      It just means that defenses (tactical and/or torpedo) may behave suboptimal by either overkilling it (shooter cap > than its health, too many defenses trigger) or underkilling it (shooter cap < than its health, too few defenses trigger). It does not break the game or cause any further errors. The warnings exists as a reminder to what the optimal value is for in the blueprint.
    • R

      Latest FAF Client 2024.6.0 Massive CPU Usage

      Watching Ignoring Scheduled Pinned Locked Moved FAF support (client and account issues)
      6
      0 Votes
      6 Posts
      449 Views
      R
      @giebmasse Have hosted a few games with 2024.6.1, and looks like the issue has been cleared up.
    • R

      ACU's Being Counted as Naval Units

      Watching Ignoring Scheduled Pinned Locked Moved Modding & Tools
      5
      0 Votes
      5 Posts
      386 Views
      DDDXD
      I LOVE the CalculateTotalEnemyUnitsOfCategory! Wish I had known about it sooner. Very useful.
    • R

      Unknown Error Causing Infinite Loop

      Watching Ignoring Scheduled Pinned Locked Moved Modding & Tools
      2
      1 Votes
      2 Posts
      264 Views
      DDDXD
      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.
    • R

      Observers Crashing Game - Possible Fix

      Watching Ignoring Scheduled Pinned Locked Moved FAF support (client and account issues)
      1
      0 Votes
      1 Posts
      230 Views
      No one has replied
    • R

      Lobby Crashing Bot Back?

      Watching Ignoring Scheduled Pinned Locked Moved Game Issues and Gameplay questions
      11
      0 Votes
      11 Posts
      539 Views
      maggeM
      The chance of a crash with Fullscreen when ALT+TAB is common to others as well. The game engine just hates it. Currently it looks like the crash can be more related to Fullscreen ALT+TAB or/and XACT3DApply. If a bot would go around hard freeze people's PC by crashing the entire game, there would be many more bells and whistle. Windows Event Log: Using the Start Menu: Click on the "Start" button or press the Windows key on your keyboard. Type "Event Viewer" and press Enter. Check Application and System events if any Supreme Commander related crashes are available. Alternate: Using the Run dialog: Press Win + R on your keyboard to open the Run dialog. Type "eventvwr.msc" and press Enter. Example for visualizing: [image: 1701092744373-a7092cc4-9c24-45fc-ac8e-add7eb33c3ad-image.png]
    • R

      Disable Unit Shields when Submerged

      Watching Ignoring Scheduled Pinned Locked Moved Modding & Tools
      2
      0 Votes
      2 Posts
      254 Views
      C
      You need OnLayerChange and EnableShield/DisableShield in Unit.lua for when a unit is moving into/out of water. You'll also need to modify EnableShield to prevent them from being turned on when in the water.
    • R

      CanPathTo function

      Watching Ignoring Scheduled Pinned Locked Moved Modding & Tools
      21
      1 Votes
      21 Posts
      1k Views
      R
      @jip I have been looking through the navutils.lua at all the functions. Using the PathToWithThreatThreshold() could make for much more responsive waves.
    • R

      Alt-Tabbing Crashes Game

      Watching Ignoring Scheduled Pinned Locked Moved FAF support (client and account issues)
      3
      1 Votes
      3 Posts
      453 Views
      R
      Thank you for the information. That is very helpful!
    • R

      New Lobby Crash Exploit?

      Watching Ignoring Scheduled Pinned Locked Moved FAF support (client and account issues)
      7
      0 Votes
      7 Posts
      475 Views
      R
      Solved: Validated files via Steam. One was corrupted. Replacing file failed to fix the issue. Uninstalled and reinstalled the game. That appears to have solved the issue.
    • R

      Game Locked in Infinite Loop

      Watching Ignoring Scheduled Pinned Locked Moved Game Issues and Gameplay questions
      2
      0 Votes
      2 Posts
      184 Views
      R
      I believe I have found the problem. Looks like the function GetTerrainHeight(posX, posZ) was calling a value it didn't have access to, which must have been causing the infinite loop. Error wasn't getting written to the log in prior playthroughs, so hopefully that is it.
    • R

      How to Make Units that Upgrade

      Watching Ignoring Scheduled Pinned Locked Moved Modding & Tools
      2
      0 Votes
      2 Posts
      248 Views
      arma473A
      Can you have the T1 unit self-destruct at the end of the process? You probably want the T1 unit to leave no reclaim behind And it would be nice if you could transfer or copy orders from the T1 unit into the T2 unit