Company of Heroes: Eastern Front

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Sherl

Pages: [1]
1
Bugs & Tech Support / Re: AI bugs: PLEASE READ BEFORE POSTING
« on: September 15, 2014, 09:15:36 AM »
Hello! Sorry for my english, but because I'm writing a large text, I will use google translayte. Just say, that I have modified the Eastern Front, added units, abilities and races. During the game, the error is: "Fatal error, execution is impossible." It occurs when the AI ​​uses a greyhound or staghaund and he is under fire by AT-gun, and the technique does not see the AT-gun, because damage radius AT-gun more review machine and technology does not see it. In logs I found the line: "ERROR - Player 1005 AITactic AIVechicleTactic failed to call filter TacticFilter_TeamWeapon_Quick_Vehicle" (ailog), "Squad * can not be nil!" (scarlog) and "23: 46: 13.25 LuaException :: ThrowMessage - Invalid parameter 1 (type expected = Squad *, received = nil) in function Squad_GetPosition
23: 46: 13.26 GAME - SimulationController :: Pause 0 "(warnings)
Through the Corsix's Studio I opened aitactics and found the function:

Quote
function TacticFilter_TeamWeapon_Quick_Vehicle (squad)

--Robotnik: Quick tanks should circle around and hit the rear of team weapons, especially AT guns
--This Filter determines if its a team weapon, and whether the personality files allow it
if (not s_personality.tankmove_tactic_strafe_weapon_teams) then
return false
end

return SquadIsInFront (sim_squad, target_squad)

end

I added the processing parameters to nil:

Quote
function TacticFilter_TeamWeapon_Quick_Vehicle (squad)

--Robotnik: Quick tanks should circle around and hit the rear of team weapons, especially AT guns
--This Filter determines if its a team weapon, and whether the personality files allow it
if (not s_personality.tankmove_tactic_strafe_weapon_teams) then
return false
end

         if (sim_squad == nil) then
           return false
end

         if (target_squad == nil) then
return false
end

return SquadIsInFront (sim_squad, target_squad)

end

I played test game and all works correct. Have I done the right thing? What do you see about this?
P.S. Logs in attach.

2
Bugs & Tech Support / Re: [2.101] Game crashes/freezes - Post here
« on: August 07, 2014, 09:34:09 PM »
Today new steam patch released and the game began freeze, when units try to captured weapons (such as AT-guns and machine guns)

Pages: [1]