Black rectangle over Map

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Moderator: PhilipJFry

Black rectangle over Map

Postby Dragonfire » 17 Sep 2015, 18:24

In middle of the game, I pressed no special key a big giant black rectangle appears over the map (see screenshot).

I tabbed out and in -> not helping
I was forced to play with splitscreen.

Replay of the game only desync after a com died, but not when the black rectangle appears


Computer: Acer Aspire V5-573G
CPU: Intel Core i5-4200U (Haswell ULT, C0/D0)
2300 MHz (23.00x100.0) @ 2593 MHz (26.00x99.8)
Motherboard: Acer Dazzle_HW
Chipset: Intel Lynx Point-LP (Premium)
Memory: 8077 MBytes @ 798 MHz, 11.0-11-11-28
- 4096 MB PC12800 DDR3 SDRAM - Kingston ACR16D3LS1NGG/4G
Graphics: Intel Haswell-MB ULT GT2 - Integrated Graphics Controller [C0/D0] [ACER]
Intel HD Graphics 4400, 1024 MB
Graphics: NVIDIA GeForce GT 750M [Acer]
NVIDIA GeForce GT 750M, 4095 MB
Drive: Crucial_CT256M550SSD3, 250.1 GB, Serial ATA 6Gb/s @ 6Gb/s
Drive: TOSHIBA MQ01ABF050, 488.4 GB, Serial ATA 6Gb/s @ 6Gb/s
Sound: Intel Haswell-MB ULT - Mini HD Audio Controller [C0/D0]
Sound: Intel Lynx Point-LP - High Definition Audio Controller [B2]
Network: Atheros/Qualcomm AR5BWB222 Wireless Network Adapter
Network: RealTek Semiconductor RTL8168/8111 PCI-E Gigabit Ethernet NIC
OS: Microsoft Windows 7 Professional (x64) Build 7601
Attachments
game.log
(61.04 KiB) Downloaded 65 times
forever.log
(492.1 KiB) Downloaded 70 times
SCFrame_Thu_Sep_17_181429_2015_00000.jpg
SCFrame_Thu_Sep_17_181429_2015_00000.jpg (110.26 KiB) Viewed 3746 times
Last edited by Dragonfire on 18 Sep 2015, 14:22, edited 1 time in total.
My native language is not english, please correct me, because I want to improve my skills # Resource Overview
User avatar
Dragonfire
Evaluator
 
Posts: 559
Joined: 19 Dec 2013, 10:18
Has liked: 39 times
Been liked: 61 times
FAF User Name: Dragonfire

Re: Black rectangle over Map

Postby Ionic » 17 Sep 2015, 21:14

I am having the same issue, click split screen and play on until it goes away for the time being.
Ionic
Avatar-of-War
 
Posts: 252
Joined: 25 Nov 2012, 20:00
Has liked: 14 times
Been liked: 14 times
FAF User Name: Ionic

Re: Black rectangle over Map

Postby yorick » 17 Sep 2015, 21:36

I'm fairly certain this is caused by ecomanager and the mex overlay to be more specific.
As a fix you can make it go away by enabling and disabling the mexoverlay in the ingame options ( worked for me every time it happend to me).
yorick
Avatar-of-War
 
Posts: 113
Joined: 01 Oct 2014, 02:53
Has liked: 16 times
Been liked: 27 times
FAF User Name: yorick

Re: Black rectangle over Map

Postby Dragonfire » 17 Sep 2015, 22:49

@Ionic:
Do you use EcoManager?
My native language is not english, please correct me, because I want to improve my skills # Resource Overview
User avatar
Dragonfire
Evaluator
 
Posts: 559
Joined: 19 Dec 2013, 10:18
Has liked: 39 times
Been liked: 61 times
FAF User Name: Dragonfire

Re: Black rectangle over Map

Postby ghostronin » 01 Jan 2016, 23:25

Was this issue ever solved? Was it concluded that it was in fact due to ecomanager ui mod and that it could be fixed by disabling/re-enabling the mod in-game?
ghostronin
Crusader
 
Posts: 31
Joined: 26 Jul 2013, 18:26
Has liked: 8 times
Been liked: 0 time
FAF User Name: ghostronin

Re: Black rectangle over Map

Postby yorick » 02 Jan 2016, 17:34

I am not entirely sure (i am not using Eco Manager anymore), but i did some testing half a year ago and if i remember right it was caused by the mex overlay. I cant test it right now to verify it though.

For the testing i did replaced the CreateMexOverlay function in modules/mexes.lua with: ( only inserted some logging)
Code: Select all
function CreateMexOverlay(unit)
   --local worldView = import('/lua/ui/game/worldview.lua').viewLeft
   local overlay = Bitmap(GetFrame(0))
   local id = unit:GetEntityId()

   overlay.id = unit:GetEntityId()
   overlay.destroy = false
   overlay:SetSolidColor('black')
   overlay.Width:Set(10)
   overlay.Height:Set(10)
   
   overlay.OnFrame = function(self, delta)
      if not unit:IsDead() then
         local worldView = import('/lua/ui/game/worldview.lua').viewLeft
         local pos = worldView:Project(unit:GetPosition())
         if pos.x <=0 or pos.y <=0 then
            LOG('Bad position: ('..pos.x..'/'..pos.y..')')
         end
         LayoutHelpers.AtLeftTopIn(overlay, worldView, pos.x - overlay.Width() / 2, pos.y - overlay.Height() / 2 + 1)
      else
         overlay.destroy = true
         overlay:Hide()
      end
   end

   overlay.text = UIUtil.CreateText(overlay, '0', 10, UIUtil.bodyFont)
   overlay.text:SetColor('green')
    overlay.text:SetDropShadow(true)
   LayoutHelpers.AtCenterIn(overlay.text, overlay, 0, 0)
   overlay:SetNeedsFrameUpdate(true)

   return overlay
end

Iirc i saw this LOG('Bad position: ('..pos.x..'/'..pos.y..')') in the logs with negative values for either x or y, which makes me think the actual bug is in the worldview.lua file, but i didnt investigate this further.
yorick
Avatar-of-War
 
Posts: 113
Joined: 01 Oct 2014, 02:53
Has liked: 16 times
Been liked: 27 times
FAF User Name: yorick

Re: Black rectangle over Map

Postby ghostronin » 03 Jan 2016, 08:09

Thanks Yorick! I'll attempt the disable, re-enable, and report back.
ghostronin
Crusader
 
Posts: 31
Joined: 26 Jul 2013, 18:26
Has liked: 8 times
Been liked: 0 time
FAF User Name: ghostronin

Re: Black rectangle over Map

Postby ladderff » 08 Nov 2016, 15:28

Just here to report same issue.

I do have EcoManager.
ladderff
Crusader
 
Posts: 22
Joined: 29 Sep 2016, 06:35
Has liked: 3 times
Been liked: 1 time
FAF User Name: ladderff

Re: Black rectangle over Map

Postby nine2 » 09 Nov 2016, 12:55

This happens with some combination of ui mods: Ui Party and eco manager and idle engies
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: Black rectangle over Map

Postby Viba » 09 Nov 2016, 15:06

I actually did some digging into this today, all those use same way of creating the overlay. Going to check logs when I happen to get the rectangle and try to fix it.
Viba
Councillor - Moderation
 
Posts: 746
Joined: 22 Jan 2015, 21:42
Has liked: 144 times
Been liked: 224 times
FAF User Name: !smurfcheck Viba

Next

Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest