Data Realms Fan Forums http://45.55.195.193/ |
|
Does anyone NOT have brain Vs Brain crash? http://45.55.195.193/viewtopic.php?f=4&t=45816 |
Page 1 of 1 |
Author: | arkman [ Wed Sep 24, 2014 6:37 pm ] |
Post subject: | Does anyone NOT have brain Vs Brain crash? |
so there have been a couple of complaints with Brain vs Brain crashing when you lose, I have this problem and I am surprised that there isn't more out there about it. I have to assume that not everyone is having this problem, so I just wanted a head count is anyone NOT having any problems with BVB? |
Author: | Abdul Alhazred [ Thu Sep 25, 2014 7:08 am ] |
Post subject: | Re: Does anyone NOT have brain Vs Brain crash? |
I didn't, otherwise i would have caught it before release. The good news is that Wegee already fixed the bug for me, and here is how you apply that fix: Find this code around line 356 in \Missions.rte\Activities\Brain vs Brain.lua: Code: if not MovableMan:IsActor(Brain) then Brain = MovableMan:GetUnassignedBrain(self:GetTeamOfPlayer(player)) if Brain then self:SetPlayerBrain(Brain, player) self:SetObservationTarget(Brain.Pos, player) end end ...and replace it with this: Code: if not MovableMan:IsActor(Brain) then Brain = MovableMan:GetUnassignedBrain(self:GetTeamOfPlayer(player)) if Brain then self:SetPlayerBrain(Brain, player) self:SetObservationTarget(Brain.Pos, player) else -- Need to nullify dead brain or when activity ends it may crash CC self:SetPlayerBrain(nil, player) end end Find this code (somewhere near line 245 in Cortex Command\Missions.rte\Activities\Bunker Breach.lua): Code: Brain = MovableMan:GetUnassignedBrain(Activity.TEAM_1) if Brain then self:SetPlayerBrain(Brain, player) self:SwitchToActor(Brain, player, self:GetTeamOfPlayer(player)) end And replace with this: Code: Brain = MovableMan:GetUnassignedBrain(Activity.TEAM_1) if Brain then self:SetPlayerBrain(Brain, player) self:SwitchToActor(Brain, player, self:GetTeamOfPlayer(player)) else self:SetPlayerBrain(nil, player) end |
Author: | arkman [ Thu Sep 25, 2014 3:04 pm ] |
Post subject: | Re: Does anyone NOT have brain Vs Brain crash? |
umm, did you mean BrainVsBrain.lua? I added the code to bunker breach just in case but it didn't change anything. |
Author: | Abdul Alhazred [ Thu Sep 25, 2014 8:16 pm ] |
Post subject: | Re: Does anyone NOT have brain Vs Brain crash? |
Oops, I did not read your post properly... But BvsB and BB had the exact same bug and I have added the fix for BvsB in my previous post. |
Author: | arkman [ Thu Sep 25, 2014 8:45 pm ] |
Post subject: | Re: Does anyone NOT have brain Vs Brain crash? |
Woohoo it works any chance we can get this info stickied somewhere until the next patch? also on the steam forum since there is a topic there. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |