Calc route crash(twRO)

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderators: Moderators, Developers

Message
Author
SweetPotato
Noob
Noob
Posts: 3
Joined: 22 Jan 2011, 12:07
Noob?: Yes

Calc route crash(twRO)

#1 Post by SweetPotato »

[Jan 22 23:22:36 2011.48] 您 鎖定 魔物 鬼女 (0)
[Jan 22 23:22:40 2011.96] [100/ 88] 您 攻擊 魔物 鬼女 (0) (傷害: 390) (延遲:180毫秒)
[Jan 22 23:22:41 2011.34] [100/ 88] 您 攻擊 魔物 鬼女 (0) (傷害: 404) (延遲:180毫秒)
[Jan 22 23:22:41 2011.97] [100/ 90] 您 攻擊 魔物 鬼女 (0) (傷害: 389) (延遲:180毫秒)
[Jan 22 23:22:42 2011.40] [100/ 90] 您 攻擊 魔物 鬼女 (0) (傷害: 571!) (延遲:180毫秒)
[Jan 22 23:22:42 2011.78] [100/ 90] 您 攻擊 魔物 鬼女 (0) (傷害: 388) (延遲:180毫秒)
[Jan 22 23:22:43 2011.93] [100/ 90] 您 攻擊 魔物 鬼女 (0) (傷害: 387) (延遲:180毫秒)
[Jan 22 23:22:43 2011.53] [100/ 90] 您 攻擊 魔物 鬼女 (0) (傷害: 396) (延遲:180毫秒)
[Jan 22 23:22:43 2011.72] 您 已獲得 357/402 (0.05%/0.00%) 經驗值
[Jan 22 23:22:43 2011.75] 鎖定目標已死亡
[Jan 22 23:22:56 2011.66] 您 不再是: 幸運之頌歌狀態
[Jan 22 23:22:57 2011.40] 您 目前: 幸運之頌歌狀態 (持續: 30秒)
[Jan 22 23:22:57 2011.63] 您 使用 幸運之頌歌 於 你自己 (等級: 5)
[Jan 22 23:22:58 2011.72] 計算隨機路徑至: 地下廢棄村落(斐揚地下4F) (pay_dun03): 0, 208

Mean is route calc should not be have coordinate (0, 208)
because this time, openkore already crash. need restart.

------error.txt------------

OpenKore version what-will-become-2.1
@ai_seq =
Network state = 5
Network handler = Network::DirectConnection
SVN revision: 7618
No loaded plugins.

Error message:
Invalid arguments.

Stack trace:
Trace begun at src\Task\Route.pm line 80
Task::Route::new('Task::Route', 'x', 0, 'y', 208, 'maxDistance', undef, 'maxTime', 75, 'distFromGoal', undef, 'pyDistFromGoal', undef, 'avoidWalls', 1, 'notifyUponArrival', undef) called at src\AI.pm line 493
AI::ai_route('pay_dun03', 0, 208, 'maxRouteTime', 75, 'attackOnRoute', 2, 'noMapRoute', 1) called at src\AI\CoreLogic.pm line 1948
AI::CoreLogic::processRandomWalk at src\AI\CoreLogic.pm line 151
AI::CoreLogic::iterate at src\functions.pl line 738
main::mainLoop_initialized at src\functions.pl line 69
main::mainLoop at src\Interface\Wx.pm line 188
Interface::Wx::__ANON__('Interface::Wx=HASH(0x3fe902c)', 'Wx::TimerEvent=SCALAR(0x667316c)') called at src\Interface\Wx.pm line 161
eval {...} at src\Interface\Wx.pm line 161
Interface::Wx::mainLoop('Interface::Wx=HASH(0x3fe902c)') called at openkore.pl line 97
main::__start at start.pl line 136

在這一行當掉:

* if ($args{x} == 0 || $args{y} == 0) {
ArgumentException->throw(error => "Invalid arguments.");
-----------------------

Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: Calc route crash(twRO)

#2 Post by Technology »

caused by wrong actor packet (containing coordinates) unpacking
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!

Locked