Jump to content
  • 0

Login CTD


vmilon

Question

Posted (edited)

Hello, I've recently started developing my own server. I have ran into an issue.

 

When someone tries to log in 3 times with a wrong password the client simply closes, but the IP is not banned. After closing the client i can open it up again and log in just fine. I have found in LoginServer.ini:

 

# ---------------------------------------------------------------------------
# Security
# ---------------------------------------------------------------------------

# How many times you can provide an invalid account/pass before the IP gets banned.
# Default: 5
LoginTryBeforeBan = 5

# Time you won't be able to login back again after LoginTryBeforeBan tries to login.
# Default: 900 (15 minutes)
LoginBlockAfterBan = 900

# If set to True any GameServer can register on your login's free slots
# Default: True
AcceptNewGameServer = True

# Flood Protection. All values are in MILISECONDS.
# Default: True
EnableFloodProtection = True

 

But no matter what i do here nothing changes. What am i missing?

Sorry if this has been asked before, I checked everywhere and didn't find an answer.

 

 

Edited by vmilon
Better expanation
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Could be the client is overriding the server in this. Try lowering the  tries before ban to 3, try again and if the account gets banned my assumption would be correct and you will have to blame the client.

Link to comment
Share on other sites

  • 0
13 minutes ago, ZaNteR said:

Could be the client is overriding the server in this. Try lowering the  tries before ban to 3, try again and if the account gets banned my assumption would be correct and you will have to blame the client.

Thanks for the quick reply. I tried this and it works, the login server console says that the IP is banned. So you were right and it probably IS a client issue. Any ideas?

Link to comment
Share on other sites

  • 0

 

On 5/27/2024 at 5:45 PM, Dorie said:

You dont need that option IMO, it will just complicate the player's life more


LoginTryBeforeBan = 50
LoginBlockAfterBan = 10

 

do not forget to restart the Auth

 

I don't need it. The thing is that even if i put "LoginTryBeforeBan = 50" after 3 wrong attempts the client crashes.

That's what i'm trying to figure out.

Link to comment
Share on other sites

  • 0
8 hours ago, vmilon said:

 

 

I don't need it. The thing is that even if i put "LoginTryBeforeBan = 50" after 3 wrong attempts the client crashes.

That's what i'm trying to figure out.

What pack is that? Chronicle?

Link to comment
Share on other sites

  • 0
Posted (edited)

In the loginserver, try to change the LoginFailReason from

REASON_USER_OR_PASS_WRONG (0x02) to REASON_ACCESS_FAILED (0x15)

 

If the client doesn't crash anymore then I guess there's an internal counter that you have to patch (it was like this in one of the client i tried).

 

Or you can use, as a workaround, another error that you would never need (for example REASON_WEEK_USAGE_FINISHED (0x1E) and then just modify the corresponding systemmessage in the .dat file)

 

Troll solutions at their best xD

Edited by ratchet
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...