Novità

Listato per metodo ciclometrico

tiberio1

Member
E' questo l'altro articolo che diede l'ambo a Roma dopo 2 estrazioni gradirei che gli amici del forum nel tempo a loro disposizione elaborassero un listato x spaziometria grazie
 

Allegati

  • Snapshot_21-04-09_20-29-15.png
    Snapshot_21-04-09_20-29-15.png
    432,6 KB · Visite: 71
Ciao, Tiberio.
Lo script riguarda il primo metodo.
Controlla per cortesia che sia corretto.
Codice:
'Metodo Milano Lottomio proposto da Tiberio - script Cinzia27
Sub Main()
Dim n(1),n1(2),nn1(2),nn2(2),nn3(2),nn4(2),ps(1),ps1(2),ru(1),rur(1),rur1(1)
du=9
rr=11
rur(1)=rr
rr1=12
rur1(1)=rr1

r=5
ru(1)=r
ps(1)=1
ps1(2)=1
Scrivi EstrazioneFin

For es= EstrazioneFin-1000 To EstrazioneFin
If IndiceMensile(es)=6 Then
Scrivi
a=Estratto(es,r,2)
n(1)=Fuori90(a+11)

n1(1)=n(1)
n1(2)=Fuori90(a+55)

nn1(1)=n(1)
nn1(2)=Fuori90(n1(2)+1)

nn2(1)=n(1)
nn2(2)=Fuori90(90+(n1(2)-1))

nn3(1)=n1(2)
nn3(2)=Fuori90(n1(1)+1)

nn4(1)=n1(2)
nn4(2)=Fuori90(90+(n1(1)-1))

Scrivi"******************************************************************************************************************"
Scrivi Format2(n(1))
Scrivi StringaNumeri(n1)

ImpostaGiocata 1,n,ru,ps,du
ImpostaGiocata 2,n1,ru,ps1,du,2
ImpostaGiocata 3,n1,rur,ps1,du,2
ImpostaGiocata 4,n1,rur1,ps1,du,2

ImpostaGiocata 5,nn1,ru,ps1,du,2
ImpostaGiocata 6,nn2,ru,ps1,du,2
ImpostaGiocata 7,nn3,ru,ps1,du,2
ImpostaGiocata 8,nn4,ru,ps1,du,2

ImpostaInterruzioni 1,2,2
ImpostaInterruzioni 1,3,2

Gioca es
End If

Next
ScriviResoconto


End Sub
 
Ciao Cinzia si che funziona lo script di Milano riguardo al metodo Quale dei 2 bisogna trovare condizoni anche con tutte le figure non solo quella in esempio e non solo in isotopia ma in posizioni libere ne possiedo molti di questi articoli con il tempo li postero' tutti ce ne sono di interessanti.Grazie
 
Ciao a Tutti

Secondo Metodo


Codice:
Option Explicit
Sub Main
   Dim FIn,Ini,A,B,C,D,X,Clp,Es,Cer
   Dim R1,R2,P1,P2,P3,P4,Salvo50
   Dim DM12,DM23,DM34,DM41,Caso,Casi
   Dim Amba(1),Ambo1(2),Ambo2(2),Terna(3),Ruo(2)
   Dim Po1(1),Po2(2),Po3(3),L(6),M(4),Ruote(4)
   FIn = EstrazioneFin
   Ini = CInt(InputBox("Inserisci l'estrazione che vuoi iniziare",Salvo50,9800))
   Clp = CInt(InputBox(" Per quanti colpi vuoi giocare?",Salvo50,13))
   Cer = CInt(InputBox(" Vuoi visualizzare il cerchio ciclometrico? SI = 1, NO un qualsiasi altro numero ",Salvo50,1))
   Call ScegliRange(Ini,FIn,Ini,FIn)
   Scrivi Space(14) & "QUALE DEI DUE (2) di ANGELO GARGIULO - SCRIPT SALVO50" & Space(14),1,,4,,3,,1
   Po1(1) = 1
   Po2(2) = 1
   Po3(2) = 1
   'Po3(3) = 1
   For Es = Ini To FIn
      Messaggio Es
      AvanzamentoElab Ini,FIn,Es
      Caso = 0
      For R1 = 1 To 10
         For P1 = 1 To 4
            For P2 = P1 + 1 To 5
               A = Estratto(Es,R1,P1)
               B = Estratto(Es,R1,P2)
               For R2 = R1 + 1 To 12
                  If R2 = 11 Then R2 = 12
                  For P3 = 1 To 4
                     For P4 = P3 + 1 To 5
                        C = Estratto(Es,R2,P3)
                        D = Estratto(Es,R2,P4)
                        If A > 0 And D > 0 Then
                           If D <> A And D <> B And C <> A And C <> B Then
                              M(1) = A : M(2) = B : M(3) = C : M(4) = D
                              Call OrdinaMatrice(M,1)
                              DM12 = Distanza(M(1),M(2)) : DM23 = Distanza(M(2),M(3))
                              DM34 = Distanza(M(3),M(4)) : DM41 = Distanza(M(4),M(1))
                              If DM12 = 27 And DM23 = 9 And DM34 = 9 And DM41 = 45 _
                                 Or DM23 = 27 And DM34 = 9 And DM41 = 9 And DM12 = 45 _
                                 Or DM34 = 27 And DM41 = 9 And DM12 = 9 And DM23 = 45 _
                                 Or DM41 = 27 And DM12 = 9 And DM23 = 9 And DM34 = 45 Then
                                 '---------------------------------
                                 If DM12 = 27 And DM23 = 9 And DM34 = 9 And DM41 = 45 Then
                                    L(1) = M(1) : L(2) = M(2) : L(3) = M(3) : L(4) = M(4)
                                    L(5) = Diametrale(M(2)) : X = M(2)
                                 End If
                                 If DM23 = 27 And DM34 = 9 And DM41 = 9 And DM12 = 45 Then
                                    L(1) = M(2) : L(2) = M(3) : L(3) = M(4) : L(4) = M(1)
                                    L(5) = Diametrale(M(3)) : X = M(3)
                                 End If
                                 If DM34 = 27 And DM41 = 9 And DM12 = 9 And DM23 = 45 Then
                                    L(1) = M(3) : L(2) = M(4) : L(3) = M(1) : L(4) = M(2)
                                    L(5) = Diametrale(M(4)) : X = M(4)
                                 End If
                                 If DM41 = 27 And DM12 = 9 And DM23 = 9 And DM34 = 45 Then
                                    L(1) = M(4) : L(2) = M(1) : L(3) = M(2) : L(4) = M(3)
                                    L(5) = Diametrale(M(1)) : X = M(1)
                                 End If
                                 L(6) = Fuori90(L(5) + 9)
                                 Amba(1) = L(5)
                                 Ambo1(1) = L(5): Ambo1(2) = L(6)
                                 Ambo2(1) = L(5): Ambo2(2) = Diametrale(L(6))
                                 Terna(1) = L(5): Terna(2) = L(6): Terna(3) = Ambo2(2)
                                 Caso = Caso + 1
                                 Casi = Casi + 1
                                 Scrivi String(89,"*") & " Casi Totali " & FormattaStringa(Casi,"0000"),1,,,1
                                 Scrivi String(80,"*") & " Estrazione " &(Es) & " caso " & FormattaStringa(Caso,"0000"),1,,,2
                                 Scrivi
                                 ReDim MatrCasella(4,1)
                                 MatrCasella(1,0) = R1
                                 MatrCasella(1,1) = P1
                                 MatrCasella(2,0) = R1
                                 MatrCasella(2,1) = P2
                                 MatrCasella(3,0) = R2
                                 MatrCasella(3,1) = P3
                                 MatrCasella(4,0) = R2
                                 MatrCasella(4,1) = P4
                                 Call DisegnaEstrazione(Es,MatrCasella,,vbBlue)
                                 Scrivi
                                 Scrivi Space(24) & " Ambata",1,,,2
                                 Scrivi Space(17) & " Diametrale di " & Format2(X) & " = ",1,0
                                 Scrivi Format2(L(5)),1,,,2
                                 Scrivi Space(17) & " Abbinamenti Per Ambo ",1,,,1
                                 Scrivi Space(20) & Format2(L(6)) & " Abbinamento 1 ",1
                                 Scrivi Space(20) & Format2(Ambo2(2)) & " Abbinamento 2 ",1
                                 Scrivi Space(24) & " Terno ",1,,,1
                                 Scrivi Space(24) & StringaNumeri(Terna," ",True),1
                                 Scrivi
                                 If Cer = 1 Then
                                    DisegnaCerchioCiclometrico M,1,1,,,1,1
                                    DisegnaCerchioCiclometrico L,1,1,,,1,1
                                 End If
                                 Scrivi
                                 Ruo(1) = R1 : Ruo(2) = R2
                                 Ruote(1) = R1 : Ruote(2) = R2 : Ruote(3) = NZ_ : Ruote(4) = TT_
                                 ImpostaGiocata 1,Amba,Ruo,Po1,5
                                 ImpostaGiocata 2,Ambo1,Ruote,Po2,Clp
                                 ImpostaGiocata 3,Ambo2,Ruote,Po2,Clp
                                 ImpostaGiocata 4,Terna,Ruote,Po3,Clp
                                 Gioca Es,1
                              End If
                           End If
                        End If
                     Next
                  Next
               Next
            Next
         Next
         If ScriptInterrotto Then Exit Sub
      Next
      For R1 = 1 To 12
         If R1 = 11 Then R1 = 12
         For P1 = 1 To 3
            For P2 = P1 + 1 To 4
               For P3 = P2 + 1 To 5
                  A = Estratto(Es,R1,P1)
                  B = Estratto(Es,R1,P2)
                  C = Estratto(Es,R1,P3)
                  For R2 = R1 + 1 To 12
                     If R2 <> R1 Then
                        If R2 = 11 Then R2 = 12
                        For P4 = 1 To 5
                           D = Estratto(Es,R2,P4)
                           If A > 0 And D > 0 Then
                              If D <> A And D <> B And D <> C Then
                                 M(1) = A : M(2) = B : M(3) = C : M(4) = D
                                 Call OrdinaMatrice(M,1)
                                 DM12 = Distanza(M(1),M(2)) : DM23 = Distanza(M(2),M(3))
                                 DM34 = Distanza(M(3),M(4)) : DM41 = Distanza(M(4),M(1))
                                 If DM12 = 27 And DM23 = 9 And DM34 = 9 And DM41 = 45 _
                                    Or DM23 = 27 And DM34 = 9 And DM41 = 9 And DM12 = 45 _
                                    Or DM34 = 27 And DM41 = 9 And DM12 = 9 And DM23 = 45 _
                                    Or DM41 = 27 And DM12 = 9 And DM23 = 9 And DM34 = 45 Then
                                    '---------------------------------
                                    If DM12 = 27 And DM23 = 9 And DM34 = 9 And DM41 = 45 Then
                                       L(1) = M(1) : L(2) = M(2) : L(3) = M(3) : L(4) = M(4)
                                       L(5) = Diametrale(M(2)) : X = M(2)
                                    End If
                                    If DM23 = 27 And DM34 = 9 And DM41 = 9 And DM12 = 45 Then
                                       L(1) = M(2) : L(2) = M(3) : L(3) = M(4) : L(4) = M(1)
                                       L(5) = Diametrale(M(3)) : X = M(3)
                                    End If
                                    If DM34 = 27 And DM41 = 9 And DM12 = 9 And DM23 = 45 Then
                                       L(1) = M(3) : L(2) = M(4) : L(3) = M(1) : L(4) = M(2)
                                       L(5) = Diametrale(M(4)) : X = M(4)
                                    End If
                                    If DM41 = 27 And DM12 = 9 And DM23 = 9 And DM34 = 45 Then
                                       L(1) = M(4) : L(2) = M(1) : L(3) = M(2) : L(4) = M(3)
                                       L(5) = Diametrale(M(1)) : X = M(1)
                                    End If
                                    L(6) = Fuori90(L(5) + 9)
                                    Amba(1) = L(5)
                                    Ambo1(1) = L(5): Ambo1(2) = L(6)
                                    Ambo2(1) = L(5): Ambo2(2) = Diametrale(L(6))
                                    Terna(1) = L(5): Terna(2) = L(6): Terna(3) = Ambo2(2)
                                    Caso = Caso + 1
                                    Casi = Casi + 1
                                    Scrivi String(89,"*") & " Casi Totali " & FormattaStringa(Casi,"0000"),1,,,1
                                    Scrivi String(80,"*") & " Estrazione " &(Es) & " caso " & FormattaStringa(Caso,"0000"),1,,,2
                                    Scrivi
                                    ReDim MatrCasella(4,1)
                                    MatrCasella(1,0) = R1
                                    MatrCasella(1,1) = P1
                                    MatrCasella(2,0) = R1
                                    MatrCasella(2,1) = P2
                                    MatrCasella(3,0) = R1
                                    MatrCasella(3,1) = P3
                                    MatrCasella(4,0) = R2
                                    MatrCasella(4,1) = P4
                                    Call DisegnaEstrazione(Es,MatrCasella,,vbBlue)
                                    Scrivi
                                    Scrivi Space(24) & " Ambata",1,,,2
                                    Scrivi Space(17) & " Diametrale di " & Format2(X) & " = ",1,0
                                    Scrivi Format2(L(5)),1,,,2
                                    Scrivi Space(17) & " Abbinamenti Per Ambo ",1,,,1
                                    Scrivi Space(20) & Format2(L(6)) & " Abbinamento 1 ",1
                                    Scrivi Space(20) & Format2(Ambo2(2)) & " Abbinamento 2 ",1
                                    Scrivi Space(24) & " Terno ",1,,,1
                                    Scrivi Space(24) & StringaNumeri(Terna," ",True),1
                                    Scrivi
                                    If Cer = 1 Then
                                       DisegnaCerchioCiclometrico M,1,1,,,1,1
                                       DisegnaCerchioCiclometrico L,1,1,,,1,1
                                    End If
                                    Scrivi
                                    Ruo(1) = R1 : Ruo(2) = R2
                                    Ruote(1) = R1 : Ruote(2) = R2 : Ruote(3) = NZ_ : Ruote(4) = TT_
                                    ImpostaGiocata 1,Amba,Ruo,Po1,5
                                    ImpostaGiocata 2,Ambo1,Ruote,Po2,Clp
                                    ImpostaGiocata 3,Ambo2,Ruote,Po2,Clp
                                    ImpostaGiocata 4,Terna,Ruote,Po3,Clp
                                    Gioca Es,1
                                 End If
                              End If
                           End If
                        Next
                     End If
                  Next
               Next
            Next
         Next
      Next
      If ScriptInterrotto Then Exit Sub
   Next
   ScriviResoconto
   Scrivi " Tempo Trascorso" & TempoTrascorso
End Sub
 

Ultima estrazione Lotto

  • Estrazione del lotto
    martedì 29 luglio 2025
    Bari
    83
    52
    44
    45
    01
    Cagliari
    28
    75
    63
    09
    44
    Firenze
    73
    36
    45
    35
    87
    Genova
    43
    72
    13
    34
    85
    Milano
    36
    52
    50
    41
    10
    Napoli
    73
    16
    23
    27
    48
    Palermo
    70
    53
    74
    58
    48
    Roma
    57
    40
    45
    47
    32
    Torino
    70
    13
    85
    75
    69
    Venezia
    56
    35
    72
    66
    20
    Nazionale
    81
    25
    45
    54
    32
    Estrazione Simbolotto
    Nazionale
    03
    35
    36
    16
    28

Ultimi Messaggi

Indietro
Alto