Welcome!

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

Sign up now!
RuneMate will permanently shut down on August 7, 2026
due to events outside our control. You can continue using RuneMate until this date after which it will no longer be available. Thank you to everyone that contributed to RuneMate's success and to the community for the opportunity to serve you all these years.

  • Learn about RuneMate Vault and how its zero knowledge local encryption already protects your sensitive information.
  • Edit or delete your RuneMate account from your Account Settings.
  • All account upgrade subscriptions have been cancelled. No action required.

Resolved RS3 Interactable#Interact() failing

Joined
Nov 5, 2014
Messages
505
I've only tested this on RS3, but interactions have been consistently failing for me @Cloud
 
Joined
Nov 5, 2014
Messages
505
It sounds a bit strange, but try disabling GameEvents.RS3.GRIM_REAPERS_OFFICE.

Just gave that a shot but interact() on NPC's is still failing and returning false the vast majority of the time, the actual execute() of my task is being called much more frequently after doing that though.
 
Joined
Dec 10, 2014
Messages
3,377
Just gave that a shot but interact() on NPC's is still failing and returning false the vast majority of the time, the actual execute() of my task is being called much more frequently after doing that though.
Yeah GRIM_REAPERS_OFFICE was causing the GameEventController to take 4s to validate. It helped with my npc interaction so I thought it might help with yours too :/ Are you getting a tonne of "Couldn't load model component" errors?
 
Joined
Nov 5, 2014
Messages
505
Yeah GRIM_REAPERS_OFFICE was causing the GameEventController to take 4s to validate. It helped with my npc interaction so I thought it might help with yours too :/ Are you getting a tonne of "Couldn't load model component" errors?

Not that I've noticed but I haven't had much time to test lately, I plan on doing some tonight though. All that's happening for me is that the mouse moves over to the NPC correctly, waits a couple of seconds and then interact() returns false and there's no click, I'll try in some new areas to see if I can get any load errors like you're experiencing.
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
Are these npcs that you're struggling with completely visible and uncovered?
 
Joined
Nov 5, 2014
Messages
505
Maybe they move off the viewport, thus not validating your visibility filter?

The mouse is moving to them but the actual interaction fails, I'm going to see if this still happens on the new releases, I haven't had chance to try the last few builds yet.
 
Joined
Dec 10, 2014
Messages
3,377
The mouse is moving to them but the actual interaction fails, I'm going to see if this still happens on the new releases, I haven't had chance to try the last few builds yet.
I did some tests and npc.interact was taking about 2 seconds. npc.getInteractionPoint().interact was taking about 1.5, and interactionPoint.interact was taking about 50-200ms. The way I have my stuff set up I can get the interaction point from previous stuff, so I'm using that at the moment, although it means that it won't account for if the target is moving or you are moving.
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
Projection is being worked on more soon, today's update should have made osrs projection much faster and that should result in better interaction rates.
 
The speed of projection has been significantly improved and is now at a point where interaction shouldn't fail because of it being slow.
 
Top