Mouse Click Doesn't Register

Asked by Claud

I feel like I've tried everything, I'm out of ideas.

• Script runs on admin privileges
• Tried Region. and App.
• Tried every mouseClick function

Here's my code:

Lineage = App("Lineage II")
Lineage.focus()

Settings.MoveMouseDelay = 0

playerHealth = Pattern("playerHealth.png").similar(0.90).targetOffset(25,0)
enemyHealth = Pattern("enemyHealth.png").similar(0.95)
enemy = Pattern("enemy.png").similar(0.60).targetOffset(40,60)

while playerHealth != 0:
    doubleClick(enemy)
    print("Click success")
    wait(1)

// Could this be due to the fact that the game is running a sort of "Antivirus"? (Lineage II w/ GameGuard)

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

I have no experiences with SikuliX usage in game bots, but I know from some user feedbacks, that there are games, that try to detect and block bot activity, by evaluating the mouse clicks about the probability of not being "human" (speed, same location, ...)

... and there were games, that completely block mouse and keyboard actions, that are not coming from real devices.

I think you should look in this direction.

Revision history for this message
Claud (blablafuckthis-69) said :
#2

Thank you, I will :)

Can you help with this problem?

Provide an answer of your own, or ask Claud for more information if necessary.

To post a message you must log in.