The connect function like randomly throws 'incorrect acc/pass provided to connect function' errors. I know the provided ones were correct, as function looks like this
function relogTo(login, password, character)
logDebug('in relogTo function', character, 'with pass:', login, password)
setsetting('Persistent/Scripts/reconnect/Enabled', 'no')
disconnect()
while not $connected do
connect(login:lower(), password, character) wait(1000, 1200)
end
setsetting('Persistent/Scripts/reconnect/Enabled', 'yes')
logDebug('relogTo function ends', character)
end
and what happens is it throws few errors, like 1-4, possibly more and then succeeding to log in which all happens within one call of relogTo. The password is correct apparently because it does log in eventually, besides, I log these credentials, and then I checked them, they were correct.
This all happens when multiple clients with bots are running. What from some observations before could be causing it, is holding shift what interfers other bots (I don't know how would it be possible) but it looked like it, or well anything else. I suggest to make sure the bot tests correctly what it types in before hitting that enter, or give an option to simulate pasting the paste the password from clipboard (which would have to be somehow isolated).
Why this problem actually hurts is, that it eventually gives the user IP block (so don't say it's irrelevant)
here is how it looks like
@Lucas Terra