
naaaaah... this is the real routine
http://www.youplay.it/play/forum_showmessage.asp?msgid=9383sum up:
1) you last login (in hours)
2) how long you have been a youplay member (in days)
3) the minute when you make the move (for this you need to know the exact time on the youplay server)
then divide it by 6, and take the remainder.
be careful to
1) never round up numbers, always round down
2) TREAT A ZERO AS A SIX!
e.g. I just logged in (0), and have been a member for 183 days, so if I move now (9:09) I will roll a 4.
(0+183+9 = 190 = 31*6 + 4)
btw, this is why my stats are so high
<%
Private Function Dice(pilot,opponent)
' Dice Roll function for Damage calculation in Blue Max - Comment added by Fxurth
Dice=int(rnd()* 6+ 1)
'from Parker - This is the original part 1 year ago
'Case handling 1. Head to Head, Stalled plane vs non-stalled
If
Is_stalled(pilot) = False and
Is_stalled(Opponent) = True then
Dice =
1End if
'From Parker, This is the added part, as u see, if I am stalled and u are not, u will always have 1!!
'Case 2. ACE handling
If Is_ACE(Pilot) then
Dice =
1End if
'From Parker, Nothing to say...

End Function
%>