Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Bug NpcDismisser bug

12 year old normie
Joined
Jan 8, 2015
Messages
2,769
So the NpcDismisser doesn't work properly when the NPC is hidden behind an object. Evil Bob and Mysterious Old Man were behind a tree while I was running a bot. It tried clicking it away, but it got stuck trying to open the interaction menu with right-click. A few logs (which don't tell a lot, but describe the situation slightly):

Code:
00:02:25 TRACE    [NpcDismisser] Dismissing the random event npc: Evil Bob(level: 0, position: 2924, 3412, 0)
00:02:25 TRACE    [NpcDismisser] Dismissing the random event npc: Evil Bob(level: 0, position: 2924, 3412, 0)
00:02:26 TRACE    [NpcDismisser] Dismissing the random event npc: Evil Bob(level: 0, position: 2924, 3412, 0)
00:02:26 TRACE    [NpcDismisser] Dismissing the random event npc: Evil Bob(level: 0, position: 2924, 3412, 0)
00:02:27 TRACE    [NpcDismisser] Dismissing the random event npc: Evil Bob(level: 0, position: 2924, 3412, 0)
00:02:28 TRACE    [NpcDismisser] Dismissing the random event npc: Evil Bob(level: 0, position: 2924, 3412, 0)
00:02:29 TRACE    [NpcDismisser] Dismissing the random event npc: Evil Bob(level: 0, position: 2924, 3412, 0)
00:02:29 TRACE    [NpcDismisser] Dismissing the random event npc: Evil Bob(level: 0, position: 2924, 3412, 0)
00:02:30 TRACE    [NpcDismisser] Dismissing the random event npc: Evil Bob(level: 0, position: 2924, 3412, 0)
00:02:31 TRACE    [NpcDismisser] Dismissing the random event npc: Evil Bob(level: 0, position: 2924, 3412, 0)
00:02:31 TRACE    [NpcDismisser] Dismissing the random event npc: Evil Bob(level: 0, position: 2924, 3412, 0)
00:02:32 TRACE    [NpcDismisser] Dismissing the random event npc: Evil Bob(level: 0, position: 2924, 3412, 0)

Code:
01:35:03 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:03 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:04 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:04 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:05 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:06 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:06 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:07 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:08 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:08 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:09 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:09 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:10 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:11 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:11 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:12 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:12 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:13 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:14 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:14 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:15 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:16 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:17 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:17 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:18 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:18 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:19 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:20 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:20 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:21 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)
01:35:22 TRACE    [NpcDismisser] Dismissing the random event npc: Mysterious Old Man(level: 0, position: 2927, 3414, 0)

Obviously it's not that bad you'd think, the NPC goes away out of itself eventually. Well, the problem is that the NpcDismisser and even the gamestate considers it to be there even after it disappears. This is only resolved by relogging. This conclusion was based on debugging the NPC, which turned out was 100% visible, had a model and even a full NpcDefinition. Obviously the NPC wasn't anywhere to be found.

Possible solutions:

  1. Fix the handler to actually click away the NPC's
  2. Rewrite the handler to just deactivate after x minutes or seconds
  3. Find a way to determine whether the NPC is still in game (which turned out be be impossible for me)
  4. Just shut down the entire client and call it a day (would NOT recommend, 0/10 option)
Thank you for reading this bug report.
 
Go check out new bots and give helpful feedback.
Joined
Jan 31, 2016
Messages
5,413
01:09:45 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:09:49 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:09:50 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:09:50 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:09:51 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:09:52 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:09:53 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:09:54 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:09:55 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:09:56 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:09:57 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:09:58 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:09:58 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:09:59 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:10:00 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
[Web Services] Session updated successfully.
01:10:01 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:10:02 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:10:03 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:10:04 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:10:04 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:10:05 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:10:06 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:10:07 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:10:08 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:10:09 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:10:10 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:10:11 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:10:11 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:10:12 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:10:13 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:10:14 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:10:15 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)

01:46:35 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:46:36 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:46:37 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:46:38 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:46:39 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:46:40 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:46:40 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:46:41 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:46:42 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:46:43 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:46:44 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:46:45 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:46:46 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:46:47 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:46:47 TRACE [NpcDismisser] Dismissing the random event npc: Genie(level: 0, position: 3742, 5639, 0)
01:46:48 DEBUG [WebServices] Requesting screenshot of RuneScape

01:47:20 INFO [WebServices] Terminating bot session.
Removed some inside parts as it was too long. @Party Plz
 
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
Someone on my fishing bot thread reported the bot getting stuck, and provided the logs which also contained a massive spam of the NPC dismisser (for the pirate though).
 
Top