Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REVIEW] Line of Sight #6

Open
GigiaJ opened this issue Jul 11, 2019 · 3 comments
Open

[REVIEW] Line of Sight #6

GigiaJ opened this issue Jul 11, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request low priority low priority, not important or not an important feature
Projects

Comments

@GigiaJ
Copy link
Collaborator

GigiaJ commented Jul 11, 2019

Currently we can confirm if something is on screen, but not if we have line of sight of it. We need to likely rework some interactions or add in a check to verify that the object we are attempting to see and interact with is visible to the player. (To prevent clicking through walls or similar consistently)

@GigiaJ GigiaJ added the enhancement New feature or request label Jul 11, 2019
@GigiaJ GigiaJ self-assigned this Jul 11, 2019
@GigiaJ GigiaJ added the low priority low priority, not important or not an important feature label Jul 25, 2019
@f0rmatme
Copy link

f0rmatme commented Apr 1, 2020

The WorldArea class, it has some very useful stuff for pathfinding
Look at "canMoveToAttack"

https://github.com/xKylee/plugins-source/blob/master/inferno/src/main/java/net/runelite/client/plugins/inferno/InfernoNPC.java

https://streamable.com/ugzbi
Could do a collision map like this then make it map-wide functionality
Eg start in lumbridge and get it to walk to Catherby
Taking into account all obstacles and agility shortcuts and check level requirements

@GigiaJ
Copy link
Collaborator Author

GigiaJ commented Apr 1, 2020

Oooo. So the issue I mention here is actually regarding clicking completely through walls and such. Meaning the bot would click in manners that a human realistically just wouldn't. Read lack of sight to actually click.

That said, you bring a very wonderful idea up to further add to this. Adding intelligent pathing to the mix would allow it to act even less bot-like. Thanks!

@f0rmatme
Copy link

f0rmatme commented Apr 2, 2020

No problem!

@GigiaJ GigiaJ changed the title Line of Sight [REVIEW] Line of Sight Jan 20, 2022
@GigiaJ GigiaJ added this to Considering in GF Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority low priority, not important or not an important feature
Projects
GF
Considering
Status: Considering
Development

No branches or pull requests

2 participants