Routing between mosk_dun02 and mosk_dun03
Posted: 30 Apr 2011, 09:21
I play on twRO.
I make effort on the routing between mosk_dun02 and mosk_dun03 fields.
I modify the portals.txt file as :
The openkore bot smoothly routes between mosk_dun01 and mosk_dun02.
But not between mosk_dun02 and mosk_dun03.
Even, I rebuild the portalsLOS.txt file.
Only, The openkore bot route from mosk_dun02 to mosk_dun03.
The openkore bot could not route from mosk_dun03 back to mosk_dun02.
I get the wrong routing message as :
Calculating lockMap route to: 深森林洞穴(mosk_dun02)
Cannot calculate a route from mosk_dun03 (32,135) to mosk_dun02 (,)
I am very sure the mosk_dun03 27 131 is a npc (actually, it is a stone).
Because, I could manually move the bot nearby the (27, 131) of mosk_dun03 (such as: 28, 131),
and then do the command : "talknpc 27 131 c c r0", then the bot warp back to the mosk_dun02.
What is this problem ?
I trace in the programes.
I found out the rteun of "$pathfinding->run($solution);" is -1.
The "$pathfinding->run($solution);" is in "sub getRoute" of src/Task/Route.pm file.
But, I did not get the problem, because the "run" of "$pathfinding" is Python program.
I make effort on the routing between mosk_dun02 and mosk_dun03 fields.
I modify the portals.txt file as :
Code: Select all
mosk_dun01 207 276 mosk_dun02 165 30 0 c c r0
mosk_dun02 168 28 mosk_dun01 201 269 0 c c r0
mosk_dun02 268 117 mosk_dun03 32 135 0 c c r0
mosk_dun03 27 131 mosk_dun02 262 118 0 c c r0
But not between mosk_dun02 and mosk_dun03.
Even, I rebuild the portalsLOS.txt file.
Only, The openkore bot route from mosk_dun02 to mosk_dun03.
The openkore bot could not route from mosk_dun03 back to mosk_dun02.
I get the wrong routing message as :
Calculating lockMap route to: 深森林洞穴(mosk_dun02)
Cannot calculate a route from mosk_dun03 (32,135) to mosk_dun02 (,)
I am very sure the mosk_dun03 27 131 is a npc (actually, it is a stone).
Because, I could manually move the bot nearby the (27, 131) of mosk_dun03 (such as: 28, 131),
and then do the command : "talknpc 27 131 c c r0", then the bot warp back to the mosk_dun02.
What is this problem ?
I trace in the programes.
I found out the rteun of "$pathfinding->run($solution);" is -1.
The "$pathfinding->run($solution);" is in "sub getRoute" of src/Task/Route.pm file.
But, I did not get the problem, because the "run" of "$pathfinding" is Python program.