Git Product home page Git Product logo

Comments (10)

icy- avatar icy- commented on July 29, 2024

Kinda different one , but I suspect even if the player returns, the queued keypress will still happen. So if player returns and spams, for example, "F" , then eventually "Ctrl+F" might happen and do unwanted behavior.

from antiafkkick.

Limiana avatar Limiana commented on July 29, 2024

Hi, well, 2 minutes are that so also it works in dungeons to prevent kick in 10 minutes. Also it's not 4 or 5 minutes to make sure that even in the event that game couldn't register keypress due to lag spike for example it's not a problem. But of course, I can add configuration option, no problem here. Just I recommend setting it that in 30 minutes it would click at least 3 times.

As for another one... this shouldn't happen. I specifically check if application is not an active window or if an user is actually afk right before sending a keypress:

if(Native.GetForegroundWindow() != handle || Native.IdleTimeFinder.GetIdleTime() > 60 * 1000)

The only situation where I can see it happening is if you left game window open and went afk, returned and program has send keypress down event into game and now waiting 200 ms to send keypress up event, and just so happened that you returned and started pressing keys in this 200 ms window... but that should be extremely unlikely event and well, I don't think there is a good solution to it anyway. But once you returned to the game and playing it, there should be no key presses at all. Or is this incorrect and they still happen? In this case, further diagnostics is required.

from antiafkkick.

icy- avatar icy- commented on July 29, 2024

Yeah I have some anecdotal evidence, no formal test yet.
image

Made this test just now on

FileName: C:\Users\icy\AppData\Roaming\Advanced Combat Tracker\Plugins\AntiAfkKick.dll
OriginalFilename: AntiAfkKick-ACT.dll
FileVersion: 2.0.0.0
ProductVersion: 2.0.0.0
FileDescription: AntiAfkKick_ACT.Properties
ProductName: AntiAfkKick_ACT.Properties
LegalCopyright: Copyright © https://github.com/Eternita-S 2021```
 

from antiafkkick.

Limiana avatar Limiana commented on July 29, 2024

Well if it happens when game is inactive then it's fine and by design, but since you aren't currently in game it shouldn't cause any problems at all.
That is unless you're using some other automated clicking software in which cause there could be interference. Though, in that case, another clicking software would be already doing the job of antiafkkick by itself.
Do you use any of that software?

from antiafkkick.

icy- avatar icy- commented on July 29, 2024

ah, I see what you mean! If I stay active for a minute after coming back, the scheduled one doesn't take place. I see what you mean now =)
I'm not using anything else no, was just trying to confirm! Thanks!

from antiafkkick.

queuecry avatar queuecry commented on July 29, 2024

How exactly do you get this Plugin to consistantly work? I got it to work yesterday thankfully for work, but can't most the time. Like do you have to be in keyboard mode? Does the program have to be on screen? I've only got it to work properly once. There must be something im doing wrong.

from antiafkkick.

Limiana avatar Limiana commented on July 29, 2024

@queuecry are you using Dalamud version or Act/Standalone version?

from antiafkkick.

queuecry avatar queuecry commented on July 29, 2024

the act one

from antiafkkick.

Limiana avatar Limiana commented on July 29, 2024

Very likely you have a problematic device attached to your PC that is keeping sending events to it, preventing recognition of idle state. Download InputDebugger.exe from this link: https://github.com/xaviergmail/DiscordNotificationDebug/releases/tag/v1.1 launch it and see if it will recognize that your system is idle when you're not doing anything.

from antiafkkick.

queuecry avatar queuecry commented on July 29, 2024

ok ill try it! thank! :D

from antiafkkick.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.