openkore icon indicating copy to clipboard operation
openkore copied to clipboard

Temporary Solution: Cannot calculate a route

Open Yakbi opened this issue 9 years ago • 11 comments

Paste this in your macros.txt or make a notepad name it macros if you dont have one in your control folder.

automacro restart { console /Cannot calculate a route/ call { do relog 5 pause 1 do reload all } }

Yakbi avatar Sep 04 '17 15:09 Yakbi

where do I paste this?

pussbacon avatar Sep 05 '17 04:09 pussbacon

@Yakbi i think its the better solution

automacro reload { console /Cannot calculate a route/ timeout 60 call { do reload 10 } }

@pussbacon in your macros.txt inside the control folder.

lucasbradok avatar Sep 05 '17 10:09 lucasbradok

@lucasbradok how did you get macros.txt to work? i thought they replaced "macros.txt" with the new "eventMacros.txt" and console trigger is no longer working...

tronix04 avatar Sep 05 '17 12:09 tronix04

oooooh! nvm still working...

tronix04 avatar Sep 05 '17 12:09 tronix04

why my bot still said Cannot calculate a route im @ izlude and planning to go @ pay_fild04

jholz27 avatar Sep 08 '17 22:09 jholz27

@jholz27 Use this instead. 100% Working!

automacro restart { console /Cannot calculate a route/ call { do relog 5 pause 1 do reload all } }

Yakbi avatar Sep 10 '17 20:09 Yakbi

what did you guys do to trigger console? it gives me error..

blakbord avatar Sep 11 '17 04:09 blakbord

It's issue with portal and LOS, rather than reloading all, simply reload portal.

Example

automacro Route {
console /Cannot calculate a route/
call {
do relog 10
do reload portal
}

This will reload both portal and LOS.

Fadreus avatar Oct 11 '17 06:10 Fadreus

Hi Guys ,

Found a fix to this problem(ofcourse the above macro also works) .

Server - IRO-RE

2 of my bots were running one was able to move fine do storage and sell stuffs and another was stuck moving from sell route to storage(may it be any other action as well) i tried to download the latest config file and manually configure the correct skills essential for the bot to perform also check the portals route and route weights to avoid unnecessary walking , auto storage and auto sell configs and it fixed the issue. It maybe that there are lot of unnecessary skills/un-used blocks which may cause this problem , am not sure , but the config change fixed my issue . Try doing it and let me know if any problems come up .

Happy botting :dancing_men:

blazasin avatar Dec 09 '17 23:12 blazasin

Hey guys. Sometimes my bot go to unthinkable place and remain in a state of "Cannot calculate route..." even with using this macro. So i made some addition :

automacro Route { console /Cannot calculate a route/ call { $id = @inventory(Butterfly Wing) do is $id pause 1 do relog 10 do reload portal } }

This macro will use butterfly wings before reloading the portal just in case your bot is stuck somewhere even reloading doesn't help. If there's syntax error please correct me. still waiting for the macro to trigger.

asiphm avatar Dec 18 '17 04:12 asiphm

Try #1621

lututui avatar Jan 10 '18 19:01 lututui