Welcome!

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

Sign up now!

Resolved RS3 Interactable#Interact() failing

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,255
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.
 
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,255
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