- Thread Author
- #1
Gamemode: RS3
Code used:
Debugging:
The bot does hover over, but not interact with the entity. Seems to be an edge case. Some people have the same issue, but others do not.
@Cloud or @Party what more info do you need in order to solve this?
Code used:
Code:
Npc waterfiend = Npcs.newQuery().names("Waterfiend").results().nearest();
if(waterfiend != null) {
if (waterfiend.isVisible()) {
if (waterfiend.interact("Attack")) {
//
}
}
}
Debugging:
Code:
00:00:01 DEBUG Waterfiend: Waterfiend(level: 107, position: 1766, 5360, 0)
00:00:03 DEBUG Waterfiend visibility: 100.0
00:00:03 DEBUG Waterfiend definition: NpcDefinition(id: 5361, name: Waterfiend, actions: [Attack, Examine])
00:00:03 DEBUG Waterfiend actions: [Attack, Examine]
00:00:03 DEBUG Waterfiend distance to player: 4.47213595499958
00:00:03 DEBUG Waterfiend ID: 5361
The bot does hover over, but not interact with the entity. Seems to be an edge case. Some people have the same issue, but others do not.
@Cloud or @Party what more info do you need in order to solve this?
Last edited: