From b916cfe310703998ae52ffd3b4fcd4ad9cef5fc8 Mon Sep 17 00:00:00 2001 From: Zefanja Jobse Date: Thu, 22 Dec 2022 21:54:19 +0100 Subject: [PATCH] longer key press time for slower pcs --- src/actions.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/actions.rs b/src/actions.rs index 99fda8d..5dadccf 100644 --- a/src/actions.rs +++ b/src/actions.rs @@ -38,8 +38,8 @@ pub fn anti_afk(game_name: &str, mut run_once_no_game: bool) -> bool { fn message_action(cfg: &structs::SeederConfig) { unsafe { - send_keys::key_enter(0x24, 8); // J - sleep(Duration::from_secs(1)); + send_keys::key_enter(0x24, 50); // J + sleep(Duration::from_secs(3)); let mut message: Vec = Vec::new(); for char in cfg.message.chars() { match char_to_dxcodes(char) {