What I modified was the timeouts.txt with connection to everything regarding teleporting and attacking.
I also made a macro to use teleport skill when @warp command fails.
What I noticed in the console log is that the error shows at times when the teleport macro launches, but not everytime though.
I used send packet because a selection window pops up everytime teleport skill is used. Just plain "ss 26" will cause "Teleport failed after 3 tries" in the console.
Here is my macro:
Code: Select all
automacro canttele {
console /You cannot use @warp/
timeout 2
call {
do ss 26
pause 0.5
do send 1B 01 1A 00 52 61 6E 64 6F 6D 00 00 00 00 00 00 00 00 00 00
}
}
Code: Select all
OpenKore version what-will-become-2.1
Network state = 5
Network handler = Network::DirectConnection
SVN revision: 8435
Loaded plugins:
plugins/alertSound.pl (alertSound; description: Plays sounds on certain events.)
plugins/macro/macro.pl (macro; description: allows usage of macros)
plugins/reactOnNPC.pl (reactOnNPC; description: react on NPC messages)
plugins/responseOnASCIInumber.pl (ASCIInumberKiller; description: response On ASCII number)
Error message:
The current task's status should be one of: (INACTIVE,RUNNING)
But it's actually: DONE
at src/Task.pm line 176
Task::_assertStatus('Task::UseSkill=HASH(0x521ebcc)', 0, 1) called at src/Task.pm line 299
Task::setDone('Task::UseSkill=HASH(0x521ebcc)') called at src/Task/UseSkill.pm line 354
Task::UseSkill::iterate('Task::UseSkill=HASH(0x521ebcc)') called at src/Task/WithSubtask.pm line 129
Task::WithSubtask::iterate('Task::ErrorReport=HASH(0x53b4c7c)') called at src/TaskManager.pm line 285
TaskManager::iterate('TaskManager=HASH(0x3a65784)') called at src/functions.pl line 746
main::mainLoop_initialized() called at src/functions.pl line 70
main::mainLoop() called at src/Interface.pm line 75
Interface::mainLoop('Interface::Console::Win32=HASH(0x1ee2a8c)') called at openkore.pl line 97
main::__start() called at start.pl line 136
Stack trace:
The current task's status should be one of: (INACTIVE,RUNNING)
But it's actually: DONE
at src/Task.pm line 176
Task::_assertStatus('Task::UseSkill=HASH(0x521ebcc)', 0, 1) called at src/Task.pm line 299
Task::setDone('Task::UseSkill=HASH(0x521ebcc)') called at src/Task/UseSkill.pm line 354
Task::UseSkill::iterate('Task::UseSkill=HASH(0x521ebcc)') called at src/Task/WithSubtask.pm line 129
Task::WithSubtask::iterate('Task::ErrorReport=HASH(0x53b4c7c)') called at src/TaskManager.pm line 285
TaskManager::iterate('TaskManager=HASH(0x3a65784)') called at src/functions.pl line 746
main::mainLoop_initialized() called at src/functions.pl line 70
main::mainLoop() called at src/Interface.pm line 75
Interface::mainLoop('Interface::Console::Win32=HASH(0x1ee2a8c)') called at openkore.pl line 97
main::__start() called at start.pl line 136
at src/Task.pm line 176
Task::_assertStatus('Task::UseSkill=HASH(0x521ebcc)', 0, 1) called at src/Task.pm line 299
Task::setDone('Task::UseSkill=HASH(0x521ebcc)') called at src/Task/UseSkill.pm line 354
Task::UseSkill::iterate('Task::UseSkill=HASH(0x521ebcc)') called at src/Task/WithSubtask.pm line 129
Task::WithSubtask::iterate('Task::ErrorReport=HASH(0x53b4c7c)') called at src/TaskManager.pm line 285
TaskManager::iterate('TaskManager=HASH(0x3a65784)') called at src/functions.pl line 746
main::mainLoop_initialized() called at src/functions.pl line 70
main::mainLoop() called at src/Interface.pm line 75
Interface::mainLoop('Interface::Console::Win32=HASH(0x1ee2a8c)') called at openkore.pl line 97
main::__start() called at start.pl line 136