PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

curent location not saved under docker

Open ntanto opened this issue 10 years ago • 4 comments

Expected Behavior

{ "type": "FollowPath", "config": { "enabled": true, "walker": "StepWalker", "path_mode": "loop", "path_start_mode": "closest", "path_file": "configs/pathfile.gpx", "number_lap": 10, "timer_restart_min": "01:30:00", "timer_restart_max": "02:00:00" } }

with "path_start_mode": "closest", i expect start from last position and move to closest path

Actual Behavior

docker images removed after bot shutdowns and not record last position when its restart will act like "path_start_mode": "first"

Steps to Reproduce

add this line to docker run command -v $(pwd)/data/:/usr/src/app/data/ and got error message dont have right access database i change folder security access doesnt change the error

Other Information

OS: Windows 10 - Docker 1.12.0 Stable Build 5968 Branch: master Git Commit: ae314b666a1eb71de8872289ef3a298af09e4637 Python Version: 2.7.12

ntanto avatar Aug 25 '16 11:08 ntanto

if you remove the "--rm" part of the docker run command, it wont "reset" every time, but just stop. Then if you need to stop: docker stop BOTNAME, or start: docker start BOTNAME

MartinTerp avatar Aug 25 '16 17:08 MartinTerp

@ntanto does this solve your issue?

k4n30 avatar Aug 26 '16 01:08 k4n30

i think this solve my problem thanks a lot and close my case

ntanto avatar Aug 26 '16 19:08 ntanto

Glad we could help

mjmadsen avatar Aug 27 '16 06:08 mjmadsen