Brewlan "Empty map" issue [SOLVED]

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

Moderator: PhilipJFry

Brewlan "Empty map" issue

Postby Luxcerv » 15 Aug 2017, 20:35

Whenever I use any iteration of the brewlan mod (to what I think is properly installed/installed as told to) there are no acu's, no mass extractors, the only visual part of the ui is the score, which shows no names.

Being that this is my favourite mod and that it works perfectly with heaps of other mods, I would like to know what I can do to get it working again.

Any help is much appreciated!
Attachments
forever.log
(149.15 KiB) Downloaded 105 times
game.log
(251.77 KiB) Downloaded 94 times
Luxcerv
Crusader
 
Posts: 14
Joined: 15 Aug 2017, 20:25
Has liked: 0 time
Been liked: 0 time
FAF User Name: Luxcerv

Re: Brewlan "Empty map" issue

Postby Uveso » 15 Aug 2017, 23:23

Hello Luxcerv,

your error sounds like a wrong game version.

Try Brewlan with SupCom vanilla/steam, not with FAF.

If you want to contact the developer, this is the Git-Hub page of BrewLan:
https://github.com/The-Balthazar/BrewLAN

I dont know, if he is active. The last commit was on 13 Jul 2017
User avatar
Uveso
Supreme Commander
 
Posts: 1788
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 70 times
Been liked: 291 times
FAF User Name: Uveso

Re: Brewlan "Empty map" issue

Postby Luxcerv » 16 Aug 2017, 04:50

Hello Uveso,

The mod was actually working roughly 8~ hours before posting this on the forums, I reinstalled the mod due to accidentally sending the mod files to a friend without having my own copy and suddenly it was completely incompatible- I am however going to try reinstall faf client just incase I accidentally messed with those files.

Update: Re-installing faf didn't work, was there any sort of ninja update to faf that would of caused incompatibilities? :|

Update 2: Using the "Faf Beta" game mod, all mods work fine. Issue only persists in current faf game hosting.
Luxcerv
Crusader
 
Posts: 14
Joined: 15 Aug 2017, 20:25
Has liked: 0 time
Been liked: 0 time
FAF User Name: Luxcerv

Re: Brewlan "Empty map" issue

Postby Uveso » 16 Aug 2017, 06:43

Hello Luxcerv,

there is more then only one errror inside the log. Hard to say, if they all are from the last game update.
I never played BrewLan, so i can't say what is normal and what is not.

Sadly i don't have much time the next 2 weeks. (until 28.Aug)
But i will take a look at it as soon as i have time.

This will not be a fix, but we know whats going on then.

Greetings, uveso.

---

Just for me, for later investigations (related errors from your log):

Code: Select all
warning: Error in file /lua/RuleInit.lua : ...faforever\gamedata\lua.nx2\lua\system\blueprints.lua(496): bad argument #1 to `upper' (string expected, got nil)

Code: Select all
warning: ....nx2\lua\ai\platoontemplates\airplatoontemplates.lua(15): attempt to perform arithmetic on field `MOBILE' (a nil value)

Code: Select all
warning: Error in file /lua/simInit.lua : ...ogramdata\faforever\gamedata\lua.nx2\lua\siminit.lua(373): Error importing '/lua/ai/platoontemplates/airplatoontemplates.lua'

Code: Select all
warning: BeginSession() failed: Unable to create prop '/env/common/props/massDeposit01_prop.bp'

Code: Select all
warning: ...\gamedata\lua.nx2\lua\ui\game\rangeoverlayparams.lua(130): attempt to perform arithmetic on field `OVERLAYRADAR' (a nil value)

Code: Select all
warning: Error running CreateGameInterface script in CScriptObject at 15265964: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/lua/ui/game/multifunction.lua'

Code: Select all
warning: Error running OnFrame script in CScriptObject at 110f4280: ...\gamedata\lua.nx2\lua\ui\game\layouts\score_mini.lua(86): attempt to call method `Set' (a nil value)

Code: Select all
warning: Error running lua script: ...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(804): attempt to call field `ExecutePlan' (a nil value)

Code: Select all
warning: Error running lua script: ...data\faforever\gamedata\lua.nx2\lua\ui\game\tabs.lua(1137): attempt to call method `Show' (a nil value)
User avatar
Uveso
Supreme Commander
 
Posts: 1788
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 70 times
Been liked: 291 times
FAF User Name: Uveso

Re: Brewlan "Empty map" issue

Postby Luxcerv » 16 Aug 2017, 06:53

Hello Uveso,

I think the issue is conflictions with the recently introduced ui mods to the FAF client, just speculation after glancing over those errors.
Luxcerv
Crusader
 
Posts: 14
Joined: 15 Aug 2017, 20:25
Has liked: 0 time
Been liked: 0 time
FAF User Name: Luxcerv

Re: Brewlan "Empty map" issue  [SOLVED]

Postby Uveso » 16 Aug 2017, 10:05

Hello Luxcerv,

well the error is triggered by 3 BrewLan units without a faction:
Code: Select all
warning: Error in file /lua/RuleInit.lua : ...faforever\gamedata\lua.nx2\lua\system\blueprints.lua(496): bad argument #1 to `upper' (string expected, got nil)

If we take a closer look into the blueprint.lua file at line 496, we will find this code line:
Code: Select all
bp.FactionCategory = string.upper(bp.General.FactionName)

If we have a unit without a FactionName inside the blueprint, we get an error, because you cant build a upper case string from an empty string.

I fixed the line with an failsave and added it on the top of the modded blueprint.lua file from BrewLan.

please download this file:
Blueprints.lua
(35.95 KiB) Downloaded 163 times


and overwrite the original file inside your BrewLan mod:
Code: Select all
C:\Users\YOURNAME\Documents\My Games\Gas Powered Games\Supreme Commander Forged Alliance\Mods\BrewLAN\hook\lua\system\Blueprints.lua


Greetings, Uveso.

PS: We will fix this in the next FAF version.
https://github.com/FAForever/fa/pull/2150
User avatar
Uveso
Supreme Commander
 
Posts: 1788
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 70 times
Been liked: 291 times
FAF User Name: Uveso

Re: Brewlan "Empty map" issue

Postby Luxcerv » 16 Aug 2017, 10:08

Thanks a bunch Uveso, and thanks for your active participation in the forums from what I've seen, you serve as a great member of this community.
Luxcerv
Crusader
 
Posts: 14
Joined: 15 Aug 2017, 20:25
Has liked: 0 time
Been liked: 0 time
FAF User Name: Luxcerv

Re: Brewlan "Empty map" issue

Postby Uveso » 16 Aug 2017, 10:37

:mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen:
User avatar
Uveso
Supreme Commander
 
Posts: 1788
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 70 times
Been liked: 291 times
FAF User Name: Uveso

Re: Brewlan "Empty map" issue

Postby Saxxon » 16 Aug 2017, 18:42

Thanks man, I play with BrewLAN frequently and been grappling with crash issues with FAF for a year or more.
Saxxon
Avatar-of-War
 
Posts: 95
Joined: 28 Dec 2014, 13:56
Has liked: 1 time
Been liked: 4 times
FAF User Name: Saxxon

Re: Brewlan "Empty map" issue

Postby Saxxon » 22 Aug 2017, 05:18

Tried this, didn't solve the issue for the empty map on my game with FAF and BrewLAN together.
Saxxon
Avatar-of-War
 
Posts: 95
Joined: 28 Dec 2014, 13:56
Has liked: 1 time
Been liked: 4 times
FAF User Name: Saxxon

Next

Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest