Page 3 of 4

Posted: Thu May 11, 2006 2:21 pm
by Robert Swift
How did you work them out? Looking at the code or trial and error?

Posted: Thu May 11, 2006 2:22 pm
by Danny D
Steve Camber wrote:Results (before I forget ;))

Column 1

Probability of giving a card as the number of fouls for a player increases.

Column 2

If 200, then just give a straight red. If less than 200 and a card is given, then add onto the number of fouls the player has comitted, making a 2nd card more likely.

Column 3

If not giving a card then add this onto the number of fouls a player has committed, so more likely to get a card in future.

Column 4

Likeliness of a tackle being given as a foul.
Now this an impressive piece of work, Thanks Steve.

Posted: Thu May 11, 2006 3:06 pm
by filippodb
I'm pretty a fan of Zappa, that's what I know after years of fouls ;)

Zappa (from my referee txt)
never gives yellow card away,
red card ALWAYS after the second foul!
after the 5th red card on a team he starts with yellow card (always from second foul) and he never gives away red cards.

no yellow card, red card after second foul and the 5th red card issue are also from Screech and Indy

FACTS.

can you explain this?? :?


this is my referee txt:

Code: Select all

Ball: ammonisce dopo 2 falli, espelle dopo altri 2-3;
Boylan: ammonisce dopo 3-4 falli, espelle dopo altri 2;
Brawn: ammonisce dopo 2 falli, espelle dopo un altro;
Cupitt: ammonisce dopo 2 falli, espelle dopo un altro;
Daniels: ammonisce dopo 2 falli, espelle dopo un altro;
Dent: ammonisce dopo 2 falli, espelle dopo un altro;
Dofus: ammonisce dopo 3 falli, espelle dopo un altro;
Ellis: ammonisce dopo 5 falli, espelle dopo altri 1-2;
Fernandez: ammonisce dopo 2 falli, espelle dopo un altro;
Harper: ammonisce dopo 2-3 falli, espelle dopo un altro;
Indy: non ammonisce, espelle al secondo fallo; se in una squadra vengono espulsi più di 5 giocatori comincia ad ammonire al secondo fallo i rimanenti, ma non ne espelle più altri.
Jones: ammonisce al primo fallo, espelle dopo un altro; fischia solo i falli più gravi;
Martyn: ammonisce dopo 3 falli, espelle dopo un altro;
Morgan: ammonisce dopo 3 falli, espelle dopo un altro;
Penn: ammonisce al primo fallo, espelle dopo un altro;
Rajah: ammonisce dopo 3 falli, espelle dopo un altro;
Redpath: ammonisce dopo 2-3 falli, espelle dopo un altro;
Screech: non ammonisce, espelle al secondo fallo; fischia solo i falli più gravi; se in una squadra vengono espulsi più di 5 giocatori comincia ad ammonire al secondo fallo i rimanenti, ma non ne espelle più altri.
Spurway: ammonisce dopo 2-3 falli, espelle dopo un altro;
Taylor: ammonisce dopo 3 falli, espelle dopo altri 2-3;
Willis: ammonisce al primo fallo, espelle dopo un altro;
Wooley: ammonisce dopo 3 falli, espelle dopo un altro; fischia solo i falli più gravi;
Zappa: non ammonisce, espelle al secondo fallo; fischia solo i falli più gravi; se in una squadra vengono espulsi più di 5 giocatori comincia ad ammonire al secondo fallo i rimanenti, ma non ne espelle più altri.



the list explain how many fouls a player can made before a yellow card is given and how many fouls after the yellow card to have a red card.

ammonisce= yellow
espelle= red card
un= one
primo= first

Posted: Thu May 11, 2006 4:58 pm
by TheFoxSoft
filippodb wrote:can you explain this?? :?


If you play KO2 without changing optionsthe random routine will not be initialised. So you will always get the same fake-random sequence.
For example if you set random pitch then you have this sequence:
1. plastic
2. plastic
3. normal
etc....

If you want to inizialize the random routine just click on the referee menu ;-)

Posted: Thu May 11, 2006 5:01 pm
by Steve Camber
Robert Swift wrote:How did you work them out? Looking at the code or trial and error?

Studying the code directly.

There is a lot of (weighted) randomness involved in the calculations, so I'm unsure how Filippo's list can be so definite. It's all down to the maths, I could rewrite the code in a mathmatical way I guess. It should be easier to see what's going on then!

Posted: Thu May 11, 2006 5:24 pm
by Stainy
Looks like fillipo had someone just study the refs and write down what they did!! :lol: :lol:

Posted: Thu May 11, 2006 5:38 pm
by filippodb
Stainy wrote:Looks like fillipo had someone just study the refs and write down what they did!! :lol: :lol:


:D

TheFoxsoft wrote:If you want to inizialize the random routine just click on the referee menu


well I just selected zappa from the referee menu now and it acts always in the same way:

1st foul whistled : no card
2nd foul whistled: red card

for all the players :D

after the 5th red card Zappa gives ONLY yellow cards (Curtis got 3 yellow cards! :lol: )

Posted: Thu May 11, 2006 9:24 pm
by Steve Camber
Yep, confirmed.. The ref chills out after 5 players in a team have been sent off.

Posted: Thu May 11, 2006 10:15 pm
by Steve Camber
Hi hope this makes some sort of sense!! It's a LOT more readable than the original 68000 language believe me ;)


Code: Select all

Column 1 = REF_LikelinessOfCard
Column 2 = REF_GivingCardExtraAnnoyance
Column 3 = REF_NonCardGettingAnnoyed
Column 4 = REF_LikelinessOfFoul

   A sliding player (who hasn't touched the ball) touches an opposing player
   if rand(100)<REF_LikelinessOfFoul then
   {
      blow whistle
      x=rand(65535) mod REF_LikelinessOfCard
      Fouls=Fouls+1
      if Fouls>x
      {
         Cards=Cards+1
         if REF_GivingCardExtraAnnoyance>=200 goto ConsiderRedCard
         if Cards=1 goto RefGetsMoreAnnoyed
         if Cards!=2 goto GiveNoCard
ConsiderRedCard:
         if PlayersSentOffOnTeam<5 goto GiveRedCard
         if Cards!=1 goto ShowDecision
         Cards=3
         goto RefGetsMoreAnnoyed
GiveRedCard:
         Cards=2
         goto ShowDecision
RefGetsMoreAnnoyed:
         Fouls=Fouls+REF_GivingCardExtraAnnoyance
         goto ShowDecision
      }
      else
      {
GiveNoCard:
         Fouls=Fouls+REF_NonCardGettingAnnoyed   
      }

ShowDecision:
      write eg "RED CARD - R.COX" at bottom etc...
   }

Posted: Fri May 12, 2006 3:10 pm
by Semtex
Steve Camber wrote:Zappa, Screech and Indi don't bother with yellow cards.

AVOID!


Not sure about the "200 and give a red" because they don't always give a red when a foul is committed. If you could know for certain when Screech will give a card then you could know for sure how your table works. I think Screech tends to wait until I commit a foul before reaching for the cards...
Seriously, you can have 3 or 4 fouls against you and no one get sent off, then an autoslide from your Cox and an early bath awaits... Zappa is more consistent...

All 3 have forgotten their yellow cards, that much is true...

Posted: Fri May 12, 2006 3:34 pm
by SimonB
I would like to play a tournament with Zappa as the ref for all matches ... it would certainly promote fast flowing and attractive football without any cynical tackles going in.

Of course I would be reduced to 7 men by half time but I do enjoy a challenge

Posted: Fri May 12, 2006 4:54 pm
by Steve Camber
Semtex wrote:Not sure about the "200 and give a red" because they don't always give a red when a foul is committed.

Please refer to the REF_LikelinessOfCard stat.

Re: Referee Stats quiz

Posted: Sun Nov 11, 2012 1:10 am
by durban
Ok I understand this for all refs except PENN.

As Lorenzo will agree, F*CK PENN he is a tw*t.

But his red card stat is 0

Whilst I appreciate he will give yellow/red card eventually based on

2 0 0 100 G. PENN

This would indicate - he is always going to see a foul, but he is only 2% likely to give a card, he is 0% likely to give a red as the card and add's 0 onto the player for the next foul?


I don't understand this, because he is a tw*t who sends more players off than anyone.....