Sim Dynasty

View Old Forum Thread

Old Forum Index » Football Beta Testing » Football Beta Test Discussion » Injured player returns, commits penalty
redcped

Injured player returns, commits penalty

July 01, 2011 at 01:59PM View BBCode

Michigan DT Don Beckham was injured on the first play of the 2nd quarter and out for 7 days.

http://footballbeta.simdynasty.com/boxscore.jsp?boxscoreid=3179&pos=203

But at the end of the period he somehow managed to play and commit an encroachment penalty:

http://footballbeta.simdynasty.com/boxscore.jsp?boxscoreid=3179&pos=419

In fact, he played several plays, starting at the 1:02 mark.

Shouldn't an injury like that keep him out absolutely?
KLKRTR

July 01, 2011 at 03:28PM View BBCode

I had an injured QB do the same a while back...I'll look for the thread when I get to a computer tonight.
Admin

July 01, 2011 at 03:49PM View BBCode

There's a bug where some players manage to re-enter the quarter after an injury. Starting the next quarter they finally seem to stay down. It's one of the things that's driving me crazy.

--Chris
Admin

July 01, 2011 at 04:24PM View formatted

You are viewing the raw post code; this allows you to copy a message with BBCode formatting intact.
I think I just found this.

There is "failsafe" code to re-activate an injured player if a suitable substitute cannot be found; this prevents the game from crashing if somehow a team is left with less than 11 uninjured players during a game. At some point, I changed the code to make it harder for out-of-position players to get selected, and there's a claculation that goes negative now that makes the failsafe think there are no players left and it trips and re-activates the player. This should no longer happen.

--Chris
RichNYC1

July 02, 2011 at 01:27AM View BBCode

Not that its complicated or anything... :puzzled: Good stuff
Admin

July 06, 2011 at 02:38PM View BBCode

There are a lot of little failsafes in the code that unfortunately can cause issues with unintended consenquences. Most of them should never be used I put these in as "OGL code", as in "What would happen if this game was being played in the OGL?" So I had to assume at that point that someone might find a way to field a team that solely consisted of 26 injured punters. and make sure that the game would still run.

--Chris

Pages: 1