From: Hesham <hes...@gm...> - 2006-03-19 01:29:18
|
Dear Oliver Unfortunately I couldn't complete the offside tests tonight. But I hope to make it ready tomorrow or at least next week before the next version. I'd like to know your opinion about: Virtual Werder 3D Team: "The third is something that could again lead to problems in the current implementation. As we see it, every time the ball comes from an opposing player, the situation is decided not to be offside in the current implementation. The official rule differentiates between rebounding from an opponent (which is offside) and the ball being played by that opponent (which is not offside). A situation could be: ---------GOAL--------- K A Ao The attacker performs a shot at the goal. The ball only hits the keeper and bounces to the right attacker. This is offside according to FIFA, while the server would see the ball coming from an opponent and allow this situation. However, if the keeper got the ball under control and then plays the ball s= o that it gets to the right attacker, it is not offside for FIFA. For the server, this means we need a criterion for "just bouncing or really playing". A possible idea could be to check if the keeper uses the kick effector (defining this as "playing the ball") or not (defining as "bouncing")." I'm afraid, I disagree. Using the kick effector isn't a good criterion, I think I'll make trouble for us. Because we can't see what the keeper is doing, and perhaps a team complains and says this is a bug in the server an= d their goalie hasn't kicked the ball. I suppose it would be better if we assume the opponent has kicked the ball, this way all teams should play safer and can't complain after a situation like this. Anyway implementing this idea(using this criterion) isn't difficult, if you decide this should be implemented for the next version, I'll make it ready. (I'm sorry I don't know Virtual Werder's email address and because of this = I couldn't send them this email) Virtual Werder 3D Team: "One could probably drop this point for the implementation, but at least this change to the official rules should be mentioned in the manual." I'm sorry this is my fault. I should spend time to write a document about the implemented offside. I promise to write this as soon as possible. Excus= e me. Virtual Werder 3D Team: "There are some more problems, which we could not fix, as this would involv= e more complex changes, and we do not know the code well enough to do that." I've made the offside code more cleaner and wrote more comments, I'll send it tomorrow after the tests. All the best, Hesham |