Novità

Modifica su script grazie per Salvo50 o altro esperto

sorujoe

Advanced Member >GOLD<
Ho trovato il lottofacile 1 di manara vi chiedo se è possibile di fare in modo che prenda tutti i casi anche quelli non isotopi ….al momento prende solo quelli isotopi.
questo script gira su lottodesk e mi va bene eventualmente mi andrebbe bene anche su spaziometria del grande Luigi.

Sub main()

Dim nu1(3),nu2(2),nu3(3),ruote(2),ruota(1)

Dim posta(1),poste(2),post(3)

posta(1)=5:poste(2)=5post(2)=4post(3)=1

ce=InputBox("da quale estrazione vuoi controllare? ","estrazione",8200)

k=InputBox ("per quanti colpi?","colpi di gioco",14)

ini=ce

fin=EstrazioneFin

Scrivi "lotto facile 1 di o_manara (script by maxma62)",1

Scrivi String(76,"="),1

Scrivi "Resoconto da "&DataEstrazione(ini,1)&" a "&_

DataEstrazione(fin,1)&" ("&(fin-ce)&" estr.)"

For es=ini ToEstrazioneFin

Messaggio "elab. estr. ["&(es)&"] di "&DataEstrazione (es,1)

For r1=1 To 9

For p1=1 To 4

For p2=p1+1 To 5

a=Estratto (es,r1,p1)

b=Estratto (es,r1,p2)

a1=Fuori90(a+b)

For r2=r1+1 To 10

IfDistanza(r2,r1)=5 Or r2=r1+1 Or r2=r1-11 Then'lasciare per solo diametr. consec e gemm

For p3=1 To 4

For p4=p3+1 To 5

c=Estratto(es,r2,p3)

d=Estratto(es,r2,p4)

If p3=p1 And p4=p2 Then'ambi isotopi

a2=Fuori90(c+d)

If (a1)=(a2) Then

n1=Abs(a-d) 'diff matem diag

n2=Abs(b-c) 'diff matem diag

n3=Abs(a-c) 'diff matem vert

n4=Abs(b-d) 'diff matem vert

If n1=n2 And n3=n4 Then'se le diff sono uguali

n5=Abs(n2-n4)

n6=Fuori90(a2+n5) 'ambata

n7=90-a2 '1^ abb

If n7=0 Then n7=90

n8=Vert(n7) '2^ abb

casi=casi+1:Scrivi String(58,"=")&" script by maxma62",1

ScriviDataEstrazione(es,1)&" [ "&siglaRuota(r1)&" - "&StringaEstratti(es,r1)&_

" ] ambo somma [ " & Format2(a) &"."& Format2 (b)&" ] "&(p1)&"^/"&(p2)&"^ pos."

ScriviDataEstrazione(es,1)&" [ "&siglaRuota(r2)&" - "&StringaEstratti(es,r2)&_

" ] ambo somma [ "& Format2 (c) &"."& Format2 (d)&" ] "&(p3)&"^/"&(p4)&"^ pos."

ColoreTesto 0:Scrivi String(64,"-")&" caso n° "&casi

ruote(1)=r1:ruote(2)=r2:ruota(1)=11:co=0

nu1(1)=n6

co=co+1

ImpostaGiocata co,nu1,ruote,posta,k,1

nu2(1)=n6:nu2(2)=n7

co=co+1

ImpostaGiocata co,nu2,ruote,poste,k

nu2(2)=n8

co=co+1

ImpostaGiocata co,nu2,ruote,poste,k

nu3(1)=n6:nu3(2)=n7:nu3(3)=n8

co=co+1

ImpostaGiocata co,nu3,ruote,post,k

co=co+1

ImpostaGiocata co,nu3,ruota,post,k

Gioca es

EndIf

EndIf

EndIf'ambi isotopi

Next:Next

EndIf'lasciare per solo diametr. e consec

Next:Next:Next:Next:Next

Scrivi String(58,"=")&" script by maxma62",1

ScriviResoconto

ColoreTesto 1:scrivi "lotto facile 1 di o_manara (script by maxma62)",1

EndSub
 
Ultima modifica:
Sub main()

Dim nu1(3),nu2(2),nu3(3),ruote(2),ruota(1)

Dim posta(1),poste(2),post(3)

posta(1)=5:poste(2)=5:post(2)=4:post(3)=1

ce=InputBox("da quale estrazione vuoi controllare? ","estrazione",8200)

k=InputBox ("per quanti colpi?","colpi di gioco",14)

ini=ce

fin=EstrazioneFin

Scrivi "lotto facile 1 di o_manara (script by maxma62)",1

Scrivi String(76,"="),1

Scrivi "Resoconto da "&DataEstrazione(ini,1)&" a "&_

DataEstrazione(fin,1)&" ("&(fin-ce)&" estr.)"

For es=ini To EstrazioneFin

Messaggio "elab. estr. ["&(es)&"] di "&DataEstrazione (es,1)

For r1=1 To 9

For p1=1 To 4

For p2=p1+1 To 5

a=Estratto (es,r1,p1)

b=Estratto (es,r1,p2)

a1=Fuori90(a+b)

For r2=r1+1 To 10

If Distanza(r2,r1)=5 Or r2=r1+1 Or r2=r1-11 Then 'lasciare per solo diametr. consec e gemm

For p3=1 To 4

For p4=p3+1 To 5

c=Estratto(es,r2,p3)

d=Estratto(es,r2,p4)

If p3=p1 And p4=p2 Then 'ambi isotopi

a2=Fuori90(c+d)

If (a1)=(a2) Then

n1=Abs(a-d) 'diff matem diag

n2=Abs(b-c) 'diff matem diag

n3=Abs(a-c) 'diff matem vert

n4=Abs(b-d) 'diff matem vert

If n1=n2 And n3=n4 Then 'se le diff sono uguali

n5=Abs(n2-n4)

n6=Fuori90(a2+n5) 'ambata

n7=90-a2 '1^ abb

If n7=0 Then n7=90

n8=Vert(n7) '2^ abb

casi=casi+1:Scrivi String(58,"=")&" script by maxma62",1

Scrivi DataEstrazione(es,1)&" [ "&siglaRuota(r1)&" - "&StringaEstratti(es,r1)&_

" ] ambo somma [ " & Format2(a) &"."& Format2 (b)&" ] "&(p1)&"^/"&(p2)&"^ pos."

Scrivi DataEstrazione(es,1)&" [ "&siglaRuota(r2)&" - "&StringaEstratti(es,r2)&_

" ] ambo somma [ "& Format2 (c) &"."& Format2 (d)&" ] "&(p3)&"^/"&(p4)&"^ pos."

ColoreTesto 0:Scrivi String(64,"-")&" caso n° "&casi

ruote(1)=r1:ruote(2)=r2:ruota(1)=11:co=0

nu1(1)=n6

co=co+1

ImpostaGiocata co,nu1,ruote,posta,k,1

nu2(1)=n6:nu2(2)=n7

co=co+1

ImpostaGiocata co,nu2,ruote,poste,k

nu2(2)=n8

co=co+1

ImpostaGiocata co,nu2,ruote,poste,k

nu3(1)=n6:nu3(2)=n7:nu3(3)=n8

co=co+1

ImpostaGiocata co,nu3,ruote,post,k

co=co+1

ImpostaGiocata co,nu3,ruota,post,k

Gioca es

End If

End If

End If 'ambi isotopi

Next:Next

End If 'lasciare per solo diametr. e consec

Next:Next:Next:Next:Next

Scrivi String(58,"=")&" script by maxma62",1

ScriviResoconto

ColoreTesto 1:scrivi "lotto facile 1 di o_manara (script by maxma62)",1

End Sub
 
Ciao a Tutti

Vedi se ho capito la tua richiesta

Codice:
Sub Main()
   Dim nu1(3),nu2(2),nu3(3),ruote(2),ruota(1)
   Dim posta(1),poste(2),post(3)
   posta(1) = 5 : poste(2) = 5 : post(2) = 4 : post(3) = 1
   ce = InputBox("da quale estrazione vuoi controllare? ","estrazione",9500)
   k = InputBox("per quanti colpi?","colpi di gioco",14)
   ini = ce
   fin = EstrazioneFin
   Scrivi "lotto facile 1 di o_manara (script by maxma62)",1
   Scrivi String(76,"="),1
   Scrivi "Resoconto da " & DataEstrazione(ini,1) & " a " & _
   DataEstrazione(fin,1) & " (" &(fin - ce) & " estr.)"
   For es = ini To EstrazioneFin
      Messaggio "elab. estr. [" &(es) & "] di " & DataEstrazione(es,1)
      For r1 = 1 To 9
         For p1 = 1 To 4
            For p2 = p1 + 1 To 5
               a = Estratto(es,r1,p1)
               b = Estratto(es,r1,p2)
               a1 = Fuori90(a + b)
               For r2 = r1 + 1 To 10
                  If Distanza(r2,r1) = 5 Or r2 = r1 + 1 Or r2 = r1 - 11 Then'lasciare per solo diametr. consec e gemm
                     For p3 = 1 To 4
                        For p4 = p3 + 1 To 5
                           c = Estratto(es,r2,p3)
                           d = Estratto(es,r2,p4)
                           'If p3 = p1 And p4 = p2 Then'ambi isotopi
                           a2 = Fuori90(c + d)
                           If(a1) =(a2) Then
                              n1 = Abs(a - d) 'diff matem diag
                              n2 = Abs(b - c) 'diff matem diag
                              n3 = Abs(a - c) 'diff matem vert
                              n4 = Abs(b - d) 'diff matem vert
                              If n1 = n2 And n3 = n4 Then'se le diff sono uguali
                                 n5 = Abs(n2 - n4)
                                 n6 = Fuori90(a2 + n5) 'ambata
                                 n7 = 90 - a2 '1^ abb
                                 If n7 = 0 Then n7 = 90
                                 n8 = Vert(n7) '2^ abb
                                 casi = casi + 1:Scrivi String(58,"=") & " script by maxma62",1
                                 Scrivi DataEstrazione(es,1) & " [ " & SiglaRuota(r1) & " - " & StringaEstratti(es,r1) & _
                                 " ] ambo somma [ " & Format2(a) & "." & Format2(b) & " ] " &(p1) & "^/" &(p2) & "^ pos."
                                 Scrivi DataEstrazione(es,1) & " [ " & SiglaRuota(r2) & " - " & StringaEstratti(es,r2) & _
                                 " ] ambo somma [ " & Format2(c) & "." & Format2(d) & " ] " &(p3) & "^/" &(p4) & "^ pos."
                                 ColoreTesto 0:Scrivi String(64,"-") & " caso n° " & casi
                                 ruote(1) = r1:ruote(2) = r2:ruota(1) = 11:co = 0
                                 nu1(1) = n6
                                 co = co + 1
                                 ImpostaGiocata co,nu1,ruote,posta,k,1
                                 nu2(1) = n6:nu2(2) = n7
                                 co = co + 1
                                 ImpostaGiocata co,nu2,ruote,poste,k
                                 nu2(2) = n8
                                 co = co + 1
                                 ImpostaGiocata co,nu2,ruote,poste,k
                                 nu3(1) = n6:nu3(2) = n7:nu3(3) = n8
                                 co = co + 1
                                 ImpostaGiocata co,nu3,ruote,post,k
                                 co = co + 1
                                 ImpostaGiocata co,nu3,ruota,post,k
                                 Gioca es
                              End If
                           End If
                           'End If'ambi isotopi
                        Next
                     Next
                  End If'lasciare per solo diametr. e consec
               Next
            Next
         Next
      Next
   Next
   Scrivi String(58,"=") & " script by maxma62",1
   ScriviResoconto
   ColoreTesto 1:Scrivi "lotto facile 1 di o_manara (script by maxma62)",1
End Sub
 

Ultima estrazione Lotto

  • Estrazione del lotto
    sabato 28 marzo 2026
    Bari
    53
    04
    01
    11
    09
    Cagliari
    67
    19
    47
    35
    64
    Firenze
    13
    48
    58
    39
    15
    Genova
    52
    87
    51
    79
    67
    Milano
    07
    79
    84
    28
    37
    Napoli
    26
    90
    68
    82
    67
    Palermo
    38
    57
    65
    20
    56
    Roma
    81
    66
    45
    53
    08
    Torino
    29
    47
    55
    78
    71
    Venezia
    07
    29
    76
    14
    15
    Nazionale
    17
    10
    21
    29
    15
    Estrazione Simbolotto
    Firenze
    02
    38
    33
    11
    39

Ultimi Messaggi

Indietro
Alto