LOGIN
User Name
Password
Remember me


Register...Forgot password?
Main menu
Leagues
Gonzaga
Blue Max
Cartagena
Wooden Ships...
King Me!
VampiRing
Forum Message
Previous messagePost a replyNext message

City:HONG KONG, ASIA, EARTH, SOL, MILKY WAY HK
Personal Data:Male, born: January 01 1975
HomePage or other cool site:http://https://www.youtube.com/user/imdog
Membership22years 55days ago.
Last Login2h 40' ago.
Last Move2h 38' ago.
imdog is currently Offline!Send a mail to imdog


Message header
Area/Game:Blue Max
Topic:Humour
Subject:Re: BM Secret that 4th won't told you
Posted by: imdog - 20years 123days ago.
Message text
flying_neko wrote:
naaaaah... this is the real routine

http://www.youplay.it/play/forum_showmessage.asp?msgid=9383

sum 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



Oh neko, you had put me into the corner...
Okay, I now reveal the true code

<%
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 = 1
End 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 = 1
End if
'From Parker, Nothing to say...

End Function
%>





P.

--- Message edited by imdog

Back to the messages list
Messages thread
Posting elapsed timePosted bySubject

20years 124days imdog [BM][HUMOUR] BM Secret that 4th won't told you
20years 123days Zif Re: [BM][HUMOUR] BM Secret that 4th won't told you
20years 123days flying_neko Re: [BM][HUMOUR] BM Secret that 4th won't told you
 20years 123days imdog Re: [BM][HUMOUR] BM Secret that 4th won't told you
  20years 123days flying_neko Re: [BM][HUMOUR] BM Secret that 4th won't told you
Next thread
Posting elapsed timePosted bySubject

20years 123days flying_neko Re: [GAMES][OT] other
Previous thread
Posting elapsed timePosted bySubject

20years 125days DragonSky [BM][BUG] Game 118753, DragonSky no shoot...
20years 125days imdog Re: [BM][BUG] Game 118753, DragonSky no shoot...
20years 125days Zif Re: [BM][BUG] Game 118753, DragonSky no shoot...
 20years 125days DragonSky Re: [BM][BUG] Game 118753, DragonSky no shoot...
  20years 125days Dice:+1 Re: [BM][BUG] Game 118753, DragonSky no shoot...
  20years 125days DragonSky Re: [BM][BUG] Game 118753, DragonSky no shoot...
  20years 124days Zif Re: [BM][BUG] Game 118753, DragonSky no shoot...
Page generated in: 28.32031 milliseconds.