Minecraft-Console-Client icon indicating copy to clipboard operation
Minecraft-Console-Client copied to clipboard

[BUG] Auto Relog isn't working

Open UniqueNIHAL opened this issue 1 year ago • 4 comments

Prerequisites

  • [X] I made sure I am running the latest development build
  • [X] I tried to look for similar issues before opening a new one
  • [X] I have set debugmessages=true in config to diagnose my issue
  • [X] I have redacted session tokens and passwords before attaching screenshots

Minecraft Version

1.20.1

Console Client Version

GitHub build 263, built on 2024-04-15 from commit 403284c

Expected Behavior

Auto relog to work by relogging if my connection fluctuates or if the server lags, basically expecting it to automatically reconnect to the server again and again.

Actual Behavior

Sometimes tries once to reconnect, most of the times it just says connection lost and does not try at all! and happens very often

Steps to Reproduce the bug

  1. Set Auto Relog enabled to true
  2. Set ignore kick msg to true
  3. Set tries to -1 for unlimited

Attach screenshot here (If applicable)

Screenshot 2024-06-26 234453 Screenshot 2024-06-26 183918 Screenshot 2024-06-26 182325 image

Anythings that could help diagnosing the bug

I heard others are facing this issue too on the discord server, I have made sure to enable the feature correctly in the settings and restart it and save the file too, ive attached a screenshot for the same

Device

Laptop

Operating System

Windows

Server Address (If applicable)

play.craftadia.com

UniqueNIHAL avatar Jun 26 '24 18:06 UniqueNIHAL

try this.. maybe it can help you reconnect <your_config>.ini

[[ChatBot.ScriptScheduler.TaskList]]
Task_Name = "Auto Reconnect"
Trigger_On_First_Login = false
Trigger_On_Login = false
Trigger_On_Times = { Enable = false, Times = [ ] }
Trigger_On_Interval = { Enable = true, MinTime = 60, MaxTime = 120 }  # Interval between 60 to 120 seconds
Action = "script autoreconnect.txt"

autoreconnect.txt

# Check if disconnected
ifdisconnected
  reconnect
endif

Udyz avatar Jul 01 '24 16:07 Udyz

I shall try this! Thanksss

UniqueNIHAL avatar Jul 01 '24 16:07 UniqueNIHAL

try this.. maybe it can help you reconnect <your_config>.ini

[[ChatBot.ScriptScheduler.TaskList]]
Task_Name = "Auto Reconnect"
Trigger_On_First_Login = false
Trigger_On_Login = false
Trigger_On_Times = { Enable = false, Times = [ ] }
Trigger_On_Interval = { Enable = true, MinTime = 60, MaxTime = 120 }  # Interval between 60 to 120 seconds
Action = "script autoreconnect.txt"

autoreconnect.txt

# Check if disconnected
ifdisconnected
  reconnect
endif

This doesn't exists in the MCC.

@UniqueNIHAL Increase the Delay to min 60 seconds and max 300 seconds or more.

milutinke avatar Jul 01 '24 17:07 milutinke

I'll tryy it with the delay you mentioned, thanks

UniqueNIHAL avatar Jul 01 '24 17:07 UniqueNIHAL