No game function after death of 1st ACU against AI

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

Moderator: PhilipJFry

No game function after death of 1st ACU against AI

Postby palombhp » 26 Mar 2020, 15:09

Hello,
I have a quite weird issue.
When playing a game against 2 AI's everything works fine at first.
Once the first AI is killed, I have no more game functions. I cannot select a unit or factory to give any command whatsoever. No reaction.
The game is not crashing, it continues, but I am only able to watch what happens there.
Can you help me?
cheers
HP
Attachments
forever.log
(413.06 KiB) Downloaded 42 times
game.log
(285.07 KiB) Downloaded 45 times
downlords-faf-client.log
(19.87 KiB) Downloaded 45 times
palombhp
Avatar-of-War
 
Posts: 128
Joined: 24 Dec 2013, 12:55
Location: Germany / Jork
Has liked: 40 times
Been liked: 8 times
FAF User Name: A_Schwob

Re: No game function after death of 1st ACU against AI

Postby Uveso » 26 Mar 2020, 21:01

Code: Select all
Error running OnStartBuild script in Entity urb0102 at 19fc3408: ...lua.nx2\lua\aibrain.lua(1255): attempt to perform arithmetic on field `Drain' (a nil value)


That means the unit urb0102 (air factory) is starting a buildorder (OnStartBuild) but the BuilderManager at the factory location
does not have the "Drain" variable inside the consumptionData for the factory.

I can't reproduce this error.

Does this error also happen when you disable the mod "Supreme Economy 2.1 (nolag)" ?
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: No game function after death of 1st ACU against AI

Postby palombhp » 27 Mar 2020, 02:53

I made a short match (blasted rock) against two easy AI's.
No mod activated.
After the first AI was killed, again the same problem. It is as if the game would be over.
The fog of war disappears and I can see the whole map. My economy bar shows 0/0.
The second AI continues with the game and also my factories continue to produce units.
I just can't select anything anymore, no reaction. The HUD is also disappeared.

I did not play for quite some time. The only thing I tried was to start as an admin. This confused the game update somehow and I had to let it change permissions. It started then again after the first update but I think it was completely fucked up by that.

Shall I re-install the game?
Attachments
forever.log
(413.06 KiB) Downloaded 34 times
game.log
(284.74 KiB) Downloaded 33 times
downlords-faf-client.log
(22.56 KiB) Downloaded 33 times
palombhp
Avatar-of-War
 
Posts: 128
Joined: 24 Dec 2013, 12:55
Location: Germany / Jork
Has liked: 40 times
Been liked: 8 times
FAF User Name: A_Schwob

Re: No game function after death of 1st ACU against AI

Postby Uveso » 27 Mar 2020, 03:40

Hello palombhp,

i can now reproduce the problem with the actual FAF release version.

Please do me a favor and do a test game with the "FAF Develop" version and check if this error still occurs.
(Should be fixed in the dev version)
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: No game function after death of 1st ACU against AI

Postby palombhp » 27 Mar 2020, 10:28

Hi Uveso,
works fine with the Dev version. Thx a lot :) .
Do you know when this Dev version will be rolled out?
cheers
HP
palombhp
Avatar-of-War
 
Posts: 128
Joined: 24 Dec 2013, 12:55
Location: Germany / Jork
Has liked: 40 times
Been liked: 8 times
FAF User Name: A_Schwob

Re: No game function after death of 1st ACU against AI

Postby speed2 » 27 Mar 2020, 10:35

New week or two, date is not set yet.
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: No game function after death of 1st ACU against AI

Postby palombhp » 27 Mar 2020, 11:00

thx, that's fine for me.
palombhp
Avatar-of-War
 
Posts: 128
Joined: 24 Dec 2013, 12:55
Location: Germany / Jork
Has liked: 40 times
Been liked: 8 times
FAF User Name: A_Schwob

Re: No game function after death of 1st ACU against AI

Postby Uveso » 27 Mar 2020, 17:09

The problem is, you lose the focus to your army when one AI dies.

Please enable cheats if you play against your AIs.

If one AI get killed and you lost focus to your army do the following:

1. Fress [ALT]+[F2] to open the ingame develop window.
2. Double klick on your name to get the focus of your army back.
3. close the window and continue to play.
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: No game function after death of 1st ACU against AI

Postby palombhp » 28 Mar 2020, 10:50

Thx, I'll try it
palombhp
Avatar-of-War
 
Posts: 128
Joined: 24 Dec 2013, 12:55
Location: Germany / Jork
Has liked: 40 times
Been liked: 8 times
FAF User Name: A_Schwob


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest