Job pet standing still in town

So ive been doing some job plvling, its been going fine for a week now but today i started the bot again, didnt change anything to the scripts.
It starts lvling just fine but after a while the char starts to stuck (in clientless, can see on map) then aftr like 15 mins it can attack a few mobs again but then its stuck again. Now there are items in the pets inventory BUT. i went to check out with another char. the Job transport is standing in town at the teleport and the char is waay over 100M out so thats why its stuck. how does this happen o.O