Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Generated On Dofus-Map with Drigtime's SwiftPath Script Maker --
- -- Nom :
- -- Zone :
- -- Type :
- -- Version : 1.0
- -- Auteur :
- goBanque = false
- global:printMessage("[Info] Script créé par Master Chief")
- -- Settings --
- nickname = "" -- Pseudo
- password = "2580" -- Mdp maison/coffre
- cellid_chest = "296" -- Cellid du coffre
- cellid_door_house = "146" -- Cellid de l'entrée de la maison
- cellid_exit_house = "386" -- Cellid de la sortie de la maison
- mapid_in_house = "87556102" -- Mapid de l'intérieur de la maison
- mapid_out_house = "20975361" -- Mapid de l'extérieur de la maison
- farm_direction = "right" -- Où doit aller le bot pour retourner farm ?
- --
- function throw_all_shits()
- if not map:onMap(mapid_in_house) then return end
- map:lockedStorage(tonumber(cellid_chest), password)
- exchange:putAllItems()
- npc:leaveDialog()
- global:printMessage("[Info] Reprise du farm (Pods: " .. inventory:podsP() .. "%)")
- return map:moveToCell(tonumber(cellid_exit_house))
- end
- --
- function knock_on_the_door()
- if not map:onMap(mapid_out_house) then return end
- return map:lockedHouse(tonumber(cellid_door_house), password, nickname)
- GATHER = {}
- OPEN_BAGS = true
- AUTO_DELETE = {}
- MAX_MONSTERS = 8
- MIN_MONSTERS = 1
- FORBIDDEN_MONSTERS = {}
- FORCE_MONSTERS = {}
- function move()
- return {
- { map = mapid_out_house, path = farm_direction },
- { map = mapid_in_house, path = cellid_exit_house },
- {map = "5,-18", path = "left"},
- {map = "4,-18", path = "left"},
- {map = "3,-18", path = "top"},
- {map = "3,-19", path = "right"},
- {map = "4,-19", path = "right"},
- {map = "5,-19", path = "bottom"},
- }
- end
- function bank()
- --si la fonction bank est activé pour la première fois, retour dans le havre sac !
- if (goBanque = false) then
- goBanque = true
- return {
- {map = map:currentMap(), path = "havenbag" },
- }
- --si la fonction bank à déjà été activé une fois go banque à partir du havre sac !
- --une fois
- elseif (goBanque = true) then
- return {
- --Retour maison--
- { map = mapid_out_house, path = knock_on_the_door() },
- { map = mapid_in_house, path = throw_all_shits() },
- {map = "0,0", path = "zaap(20973313)"}, -- Village Canopée
- {map = "-54,16", path = "right"},
- {map = "-53,-16", path = "right"},
- {map = "-51,16", path = "right"},
- }
- end
- function phenix()
- return {
- }
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement