AAO25.com

Assist => Feedback & Suggestions => Topic started by: ELiZ on Monday, September 15, 2014, 21:10:53 PM

Title: 24 hour ban "bug"
Post by: ELiZ on Monday, September 15, 2014, 21:10:53 PM
I've seen numerous people get that 24 hour ban for
Unauthorized Log-in

I'm not quite sure the exact reason to why the detection trigger in all cases.
There can be a whole range of possibilities to why it happens, but basically the AA server queries the Auth server and it says "no".

What we can do is modify how long the ban is or even just kick instead of Kick+Ban.
I'll have to look into why it's set to both at the moment,

What do you think?
Title: Re: 24 hour ban "bug"
Post by: ELiZ on Monday, September 15, 2014, 21:16:06 PM
This is the function used:
Code: [Select]
Function AddBanee (string banee_descriptor, string banee_type_name, int weeks_to_ban, int days_to_ban, int hours_to_ban, int minutes_to_ban_for, string banee_owner)
{
}
So if I wanted, I could ban for, lets say 5 minutes instead of 24 hours.
That way servers would still be rather protected, and players would still be able to join in a rather short time.
Title: Re: 24 hour ban "bug"
Post by: Spanky on Monday, September 15, 2014, 21:52:01 PM
What are the reasons that it's triggered? I've gotten it before by (I think...) getting a critical then trying to join again.

If the above is true, perhaps there needs to be more checks for heartbeat in a server as well as checks to make sure the player trying to join a server isn't already there.
Title: Re: 24 hour ban "bug"
Post by: ELiZ on Monday, September 15, 2014, 22:20:48 PM
What are the reasons that it's triggered? I've gotten it before by (I think...) getting a critical then trying to join again.

If the above is true, perhaps there needs to be more checks for heartbeat in a server as well as checks to make sure the player trying to join a server isn't already there.
If the client CE, it can take some time before the AA server finds out that the client isn't there anymore and not is having network issues, so a heartbeat from the AA server and Auth server would not help in this case.

A possible solution would be to have the Assist client monitor the Armyops executable and send to the Auth server if the process is closed. But in the meantime I think lowering the time from 24 hours ban to a 5 minute ban would helpful to users.
Title: Re: 24 hour ban "bug"
Post by: teddy_grizzly_bear on Tuesday, September 16, 2014, 01:22:50 AM
I think lowering it to 5 minutes would work.

However, I'm pretty sure there's another 'bug' ban for some weird things where the games says the ban is permanent, while in reality it will be gone in 10-20 minutes...
Not sure of how or when it happens, though.
Title: Re: 24 hour ban "bug"
Post by: Bart! on Tuesday, September 16, 2014, 01:32:42 AM
Is there any reason it was ever set to 24 hrs?

If not, set it to 5 minutes
Title: Re: 24 hour ban "bug"
Post by: ELiZ on Tuesday, September 16, 2014, 02:48:50 AM
No idea why it was set to 24H, was before my time here.

When the client is told that the ban is permanent, is that by the AA Client or the Assist Client?
Title: Re: 24 hour ban "bug"
Post by: [SWISS]Merlin on Tuesday, September 16, 2014, 03:58:51 AM
Is there any reason to ban at all?
if not, i would like to see only a kick, not a ban.
Title: Re: 24 hour ban "bug"
Post by: teddy_grizzly_bear on Tuesday, September 16, 2014, 04:05:16 AM
No idea why it was set to 24H, was before my time here.

When the client is told that the ban is permanent, is that by the AA Client or the Assist Client?
It's AA.

And Merlin, the point is not to let people join servers that are not logged in through Assist, because then they could be using all the cheats they wish. The ban, I would guess, is just there to ward them off. 5 minutes is good, because with connection problems (which is often a cause for this), it might take more than that to get it sorted out anyway.
Title: Re: 24 hour ban "bug"
Post by: [SWISS]Merlin on Tuesday, September 16, 2014, 04:53:42 AM
but if this is checked "but basically the AA server queries the Auth server and it says "no"." and there is a no, so why a ban? only a kick would be enough, right. so if you have connection problems, you can try 1 minute later and you do not have to wait even 5 minutes.
Title: Re: 24 hour ban "bug"
Post by: Vilkas on Tuesday, September 16, 2014, 05:10:30 AM
Once you are banned on the server you can get back on it straight away.
The players who gets this ban is not on the ban list whatsoever, the text message says that but the kick command only works. After 1 minute the guy who got apparently banned joined the server :)
Title: Re: 24 hour ban "bug"
Post by: Vilkas on Tuesday, September 16, 2014, 06:23:41 AM
MD5Tool kick was kicking players today, old pb is causing this, best would be to get rid of it :/
Title: Re: 24 hour ban "bug"
Post by: OICURMT2! on Tuesday, September 16, 2014, 09:31:49 AM
but if this is checked "but basically the AA server queries the Auth server and it says "no"." and there is a no, so why a ban? only a kick would be enough, right. so if you have connection problems, you can try 1 minute later and you do not have to wait even 5 minutes.

This is what AAO did... kick only, until you could authorized via the auth servers...
Title: Re: 24 hour ban "bug"
Post by: [SWISS]Merlin on Tuesday, September 16, 2014, 09:56:30 AM
for sure i know there is no entry in the server banlist.
and it's not true, you can not login immediatly. you have to wait, sometimes 5 minutes, sometimes longer.

so back to the point ELiZ is asking - for me a kick would be good, not a ban.
Title: Re: 24 hour ban "bug"
Post by: ELiZ on Tuesday, September 16, 2014, 10:27:44 AM
Looks like I need more information.

I tried to simulate a CE and rejoin the server.
I would not allow me to do that while the crashed session was still active and had to wait until it times out to be able to join a server. Can anyone find a picture of the Client message?

I'm getting unsure that I know the bug at all.
Title: Re: 24 hour ban "bug"
Post by: teddy_grizzly_bear on Tuesday, September 16, 2014, 10:34:18 AM
The next time I get either of the bugs I'll try to recollect what happened in the instance.

Although I'm not entirely sure I've got the 'The ban is permanent' message in a while and I don't know what causes it, but I have seen quite a few people on the shoutbox complain about being banned permanently. While it is entirely possible that it has indeed happened that an admin on the server banned some of the people, I know some of them can connect back up in 10 or so minutes.

But like I said, the next time I encounter one of them, I'll try and document it.
Title: Re: 24 hour ban "bug"
Post by: Mixk on Tuesday, September 16, 2014, 12:41:56 PM
A majority of the bans I have seen the player has been able to instantly rejoin to a maximum 20 minute wait. Maybe 1 for every 10 or so I have had to actually remove them from the banlist.
Title: Re: 24 hour ban "bug"
Post by: ELiZ on Thursday, October 02, 2014, 08:53:24 AM
I would like a server owner to send me the server.log if you know there is a "unauthorized login" in there.
Title: Re: 24 hour ban "bug"
Post by: [SWISS]Merlin on Thursday, October 02, 2014, 10:01:01 AM
if i get one, i will send the log to you.