Salut tout le monde,
Travaillant actuellement sur un tools 1.29 Heratz
J'essaye de comprendre le systeme de map pour les trajets
Sur le bot y'a une fonction Decendre/sauvegarder au zaap d'astrub
Private Sub SaveZaap(ByVal caseFin As Integer)
Dim path As String = ""
Dim pather As New Pathfinding
If (mapDataActuel(caseFin).movement = 2) Then
path = pather.pathing(mapDataActuel, caseActuelle, caseFin)
Else
path = pather.pathing(mapDataActuel, caseActuelle, caseFin, True)
End If
Sock.Envoyer("GA001" & path)
Sock.Envoyer("GA500214;44")
If (distance(caseActuelle, caseFin) < 6) Then
wait(distance(caseActuelle, caseFin) * 300)
Else
wait(distance(caseActuelle, caseFin) * 250)
End If
Sock.Envoyer("GKK0")
wait(700)
End Sub
caseActuelle = Gettok(actuel, ";", 1)
If (state = 3) Then
If (SaveToZaap.Checked) Then
LabelEtat.Text = "État : Sauvegarde"
wait(500)
SaveZaap(214)
End If
J'essaye de comprendre c'est quoi le 214 mais pas moyen