Yes, it might have to do with the door handling. You can Webwalk it to the area in front of the door then let a Door handler function handle the door and talk to Captain Barbossa
Also,
@Explv Is working on a Advanced WebWalker which i think you should be able to integrate into your scripts. It opens doors, gets on boats, might even do irl grocery shopping for you