Respawn bug on teleport while homun is casting attack skill
Hi guys, anyone experience this kind of issue in iRO? My character was at yuno_fildxx, character set not to attack monster just wait for couple of minutes or until my homunculus killed the target monster, then it will teleport.
But when my homunculus use an attack skill and the AI teleports, skill still on cast. The teleport will not be on the field map but rather will go to savemap.

Do anyone knows the cause of this? Is it config related?
I'm experiencing this issue just now. But in my case, I'm using Magnus Exorcismus & teleport away once it is casted (No cast time ME). Prolly due to:
- Casting skills and teleport away while it still active.
- Skill actively damaging monster and teleport away.
Setting which might related producing this issue:
- teleportAuto_search 4 (config.txt)
- ai_teleport_idle 1.5 (tmeouts.txt)
- All 3 0 1 1 (mon_control.txt)
The idea of the setup:
- Cast skill (ground spell) and teleport away regardless of they're dead or not (Attack once/Provoke)
IDK how to reproduce this. I run a test but it happen once; sometimes like after 20 minutes, 40 mins or few hours. Among all occurrences I can't find any similarities which trigger this.
[Jan 22 18:16:11 2019.14] Teleporting due to idle
[Jan 22 18:16:11 2019.68] ------------------ Warp Portal -------------------
# Place Map
0 Juno, the capital of Schwarzwal yuno
--------------------------------------------------
[Jan 22 18:16:12 2019.22] ---------Map Info----------
MAP Name: yuno.gat
MAP IP: 128.241.92.131
MAP Port: 4502
-------------------------------
[Jan 22 20:03:05 2019.74] Teleporting due to idle
[Jan 22 20:03:06 2019.91] ------------------ Warp Portal -------------------
# Place Map
0 Juno, the capital of Schwarzwal yuno
--------------------------------------------------
[Jan 22 20:03:06 2019.46] ---------Map Info----------
MAP Name: yuno.gat
MAP IP: 128.241.92.131
MAP Port: 4502
[Jan 22 21:01:21 2019.67] Teleporting due to idle
[Jan 22 21:01:22 2019.28] ------------------ Warp Portal -------------------
# Place Map
0 Juno, the capital of Schwarzwal yuno
--------------------------------------------------
[Jan 22 21:01:22 2019.48] "any work in progress (NPC dialog, manufacturing...)quit and try again.#"
[Jan 22 21:01:22 2019.67] ---------Map Info----------
MAP Name: yuno.gat
MAP IP: 128.241.92.131
MAP Port: 4502
-------------------------------
[Jan 22 21:42:17 2019.96] Teleporting due to idle
[Jan 22 21:42:17 2019.43] ------------------ Warp Portal -------------------
# Place Map
0 Juno, the capital of Schwarzwal yuno
--------------------------------------------------
[Jan 22 21:42:17 2019.98] ---------Map Info----------
MAP Name: yuno.gat
MAP IP: 128.241.92.131
MAP Port: 4502
-------------------------------
[Jan 22 23:14:35 2019.22] Teleporting due to idle
[Jan 22 23:14:35 2019.73] ------------------ Warp Portal -------------------
# Place Map
0 Juno, the capital of Schwarzwal yuno
--------------------------------------------------
[Jan 22 23:14:35 2019.93] "any work in progress (NPC dialog, manufacturing...)quit and try again.#"
[Jan 22 23:14:36 2019.28] ---------Map Info----------
MAP Name: yuno.gat
MAP IP: 128.241.92.131
MAP Port: 4502
-------------------------------
The only conclusion I could produce :
- Skill active / casting during teleportation will cause it to respawn.
A debug 2 log would be welcome
Debug 2 log (Only during teleportation)
[Jan 30 19:10:25 2019.33] Teleporting due to idle
[Jan 30 19:10:25 2019.44] Skill Use: 26
[Jan 30 19:10:25 2019.45] AI: teleport macro | 3
[Jan 30 19:10:25 2019.79] Received packet: 07FB Handler: skill_cast
[Jan 30 19:10:25 2019.96] Received packet: 00B0 Handler: stat_info
[Jan 30 19:10:25 2019.97] Stat: 7 => 4170
[Jan 30 19:10:25 2019.97] Received packet: 011C Handler: warp_portal_list
[Jan 30 19:10:25 2019.97] ------------------ Warp Portal -------------------
# Place Map
0 Juno, the capital of Schwarzwal yuno
--------------------------------------------------
[Jan 30 19:10:25 2019.98] Sent Teleport
[Jan 30 19:10:25 2019.99] Received packet: 011A Handler: skill_used_no_damage
[Jan 30 19:10:26 2019.34] Received packet: 0091 Handler: map_change
[Jan 30 19:10:26 2019.34] Map Change: odin_tem02.gat (120, 135)
[Jan 30 19:10:28 2019.47] Teleporting due to idle
[Jan 30 19:10:28 2019.15] Skill Use: 26
[Jan 30 19:10:28 2019.15] AI: teleport macro | 3
[Jan 30 19:10:28 2019.32] Received packet: 09DB Handler: actor_moved
[Jan 30 19:10:28 2019.33] Monster Moved: Skogul (1) - (128, 122) -> (123, 120)
[Jan 30 19:10:28 2019.33] Received packet: 0088 Handler: actor_movement_interrupted
[Jan 30 19:10:28 2019.34] Received packet: 00C0 Handler: emoticon
[Jan 30 19:10:28 2019.34] Received packet: 011A Handler: skill_used_no_damage
[Jan 30 19:10:28 2019.52] Received packet: 0095 Handler: actor_info
[Jan 30 19:10:28 2019.53] Received object info: Skogul
[Jan 30 19:10:28 2019.53] Monster Info: Skogul (1)
[Jan 30 19:10:28 2019.54] Received packet: 0080 Handler: actor_died_or_disappeared
[Jan 30 19:10:28 2019.54] Monster Disappeared: Skogul (1)
[Jan 30 19:10:28 2019.55] Received packet: 07FB Handler: skill_cast
[Jan 30 19:10:28 2019.56] Received packet: 00B0 Handler: stat_info
[Jan 30 19:10:28 2019.56] Stat: 7 => 4222
[Jan 30 19:10:28 2019.56] Received packet: 011C Handler: warp_portal_list
[Jan 30 19:10:28 2019.57] ------------------ Warp Portal -------------------
# Place Map
0 Juno, the capital of Schwarzwal yuno
--------------------------------------------------
[Jan 30 19:10:28 2019.58] Sent Teleport
[Jan 30 19:10:28 2019.58] Received packet: 011A Handler: skill_used_no_damage
[Jan 30 19:10:28 2019.59] Received packet: 09DB Handler: actor_moved
[Jan 30 19:10:28 2019.59] Monster Moved: Skogul (0) - (120, 142) -> (120, 136)
[Jan 30 19:10:28 2019.60] Received packet: 09DB Handler: actor_moved
[Jan 30 19:10:28 2019.61] Monster Moved: Skogul (1) - (123, 121) -> (118, 122)
[Jan 30 19:10:28 2019.95] Received packet: 0091 Handler: map_change
[Jan 30 19:10:28 2019.95] Map Change: odin_tem02.gat (105, 165)
[Jan 30 19:10:37 2019.80] Teleporting due to idle
[Jan 30 19:10:37 2019.91] Skill Use: 26
[Jan 30 19:10:37 2019.92] AI: teleport macro | 3
[Jan 30 19:10:38 2019.90] Received packet: 0A27 Handler: hp_sp_changed
[Jan 30 19:10:38 2019.26] Received packet: 07FB Handler: skill_cast
[Jan 30 19:10:38 2019.27] Received packet: 00B0 Handler: stat_info
[Jan 30 19:10:38 2019.27] Stat: 7 => 4391
[Jan 30 19:10:38 2019.27] Received packet: 011C Handler: warp_portal_list
[Jan 30 19:10:38 2019.28] ------------------ Warp Portal -------------------
# Place Map
0 Juno, the capital of Schwarzwal yuno
--------------------------------------------------
[Jan 30 19:10:38 2019.29] Sent Teleport
[Jan 30 19:10:38 2019.29] Received packet: 011A Handler: skill_used_no_damage
[Jan 30 19:10:38 2019.63] Received packet: 00B0 Handler: stat_info
[Jan 30 19:10:38 2019.63] Stat: 7 => 4505
[Jan 30 19:10:38 2019.80] Received packet: 0091 Handler: map_change
[Jan 30 19:10:38 2019.81] Map Change: odin_tem02.gat (23, 39)
[Jan 30 19:10:40 2019.49] Skill Use: 26
[Jan 30 19:10:40 2019.49] AI: teleport macro | 3
[Jan 30 19:10:40 2019.65] Received packet: 00B0 Handler: stat_info
[Jan 30 19:10:40 2019.65] Stat: 42 => 123
[Jan 30 19:10:40 2019.66] Received packet: 00B0 Handler: stat_info
[Jan 30 19:10:40 2019.66] Stat: 43 => 253
[Jan 30 19:10:40 2019.66] Received packet: 00B0 Handler: stat_info
[Jan 30 19:10:40 2019.67] Stat: 46 => 242
[Jan 30 19:10:40 2019.67] Received packet: 00B0 Handler: stat_info
[Jan 30 19:10:40 2019.67] Stat: 48 => 22
[Jan 30 19:10:40 2019.68] Received packet: 0196 Handler: actor_status_active
[Jan 30 19:10:40 2019.69] Auto-skill on self: 2537 (lvl 2)
[Jan 30 19:10:40 2019.87] Received packet: 0088 Handler: actor_movement_interrupted
[Jan 30 19:10:40 2019.87] Received packet: 00C0 Handler: emoticon
[Jan 30 19:10:40 2019.88] Received packet: 011A Handler: skill_used_no_damage
[Jan 30 19:10:40 2019.89] Received packet: 07FB Handler: skill_cast
[Jan 30 19:10:40 2019.89] Received packet: 00B0 Handler: stat_info
[Jan 30 19:10:40 2019.90] Stat: 7 => 4497
[Jan 30 19:10:40 2019.90] Received packet: 011C Handler: warp_portal_list
[Jan 30 19:10:40 2019.90] ------------------ Warp Portal -------------------
# Place Map
0 Juno, the capital of Schwarzwal yuno
--------------------------------------------------
[Jan 30 19:10:40 2019.92] Sent Teleport
[Jan 30 19:10:40 2019.92] Received packet: 011A Handler: skill_used_no_damage
[Jan 30 19:10:40 2019.93] Received packet: 09DB Handler: actor_moved
[Jan 30 19:10:40 2019.93] Monster Moved: Skogul (0) - (22, 44) -> (27, 44)
[Jan 30 19:10:40 2019.94] Received packet: 09DB Handler: actor_moved
[Jan 30 19:10:40 2019.94] Monster Moved: Skogul (0) - (22, 44) -> (22, 40)
[Jan 30 19:10:41 2019.12] Sent get player info: ID - XX XX 00 00
[Jan 30 19:10:41 2019.29] Received packet: 0229 Handler: character_status
[Jan 30 19:10:41 2019.46] Received packet: 0092 Handler: map_changed
[Jan 30 19:10:41 2019.49] ---------Map Info----------
MAP Name: yuno.gat
MAP IP: 128.241.92.131
MAP Port: 4502
-------------------------------
[Jan 30 19:10:41 2019.50] Closing connection to Map Server
notOnAction teleport
notOnAction teleport
onAction & notOnAction doesn't support teleport (unless need some changes to include teleport) :thinking: . Either way, that would be temporary solution as for now I just disabled skills when idle to avoid being respawned.
onAction & notOnAction will work if AI is start with teleport, so will not work if ai is "equip,teleport" ( use equip first to cast teleport) unfortunately , AI "teleport" only exist if using teleport skill (not exist if using FW)
this word "but the following are the only ones you can use in this option" is not good
Since wiki didn't mention teleport is compatible with onAction, I simply test like this:
doCommand quit {
onAction teleport
}
Test run with AB, this block never being used. Hmmm... :thinking:
doCommand has limitation , from the source if (AI::isIdle || AI::is(qw(route mapRoute follow sitAuto take items_gather items_take attack skill_use)))
i personally remove this line (from long time ago), and let the config.txt pick the limitation so if u remove the line, and use your onAction setting , you will quit ( if your bot use skill to tele)
btw sub processAutoSkillUse which process the useSelf_skill block , is kinda weird for me, because the limitation is allow the "teleport"
if (AI::isIdle || AI::is(qw(route mapRoute follow sitAuto take items_gather items_take attack teleport) )
|| (AI::action eq "skill_use" && AI::args->{tag} eq "attackSkill")) {
why do i need to cast other skill ( running the useSelf_skill block ) while teleport is in progress ? NO, i want to teleport as soon as possible. don't interrupt with other skill
actually, i'm not 100% sure if this "notOnAction teleport" will make you free from this bug, since it is server side, but it will help u alot
another bug from iRO server about teleport , for several months, is pet feeding server won't update the hungry status while teleport and will end with over feeding, and your pet runaway this feeding bug need to edit source , because current pet feeding doesn't check teleport is casted
another bug from teleport on different official server i played is eat blue herb, and the result is sp became 0
I'm not sure about the guy with homunculus :thinking: but seems to me me this bug only happen when 2 skills being used at the same time rather then using skill during teleportation :no_mouth: :
[Jan 30 19:10:40 2019.69] Auto-skill on self: 2537 (lvl 2)
&
[Jan 30 19:10:40 2019.49] Skill Use: 26
I actually been trying to re-produce this bug before but it is almost impossible to use 2 skills at the same time :disappointed: . Even when I tried to use skill during teleportation I failed to produce this bug.
For me even notOnAction teleport would work if skill_use being called just a couple of miliseconds before or after teleport, I doubt it would work. :thinking:
So, In my case since I only teleport when idle, By using simple approach, I just adding condition in useSelf_skill with notOnAction idle. For a month now it doesn't respawn me back. :relaxed:
Maybe not allowing skill_use when teleport would fix this, permanently :thinking: