Jump to content

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

6 answers to this question

Recommended Posts

  • 0
Posted

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.

  • 0
Posted
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?

  • 0
Posted

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

  • 0
Posted

 

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.

  • 0
Posted
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?

  • 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

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.



  • Posts

    • Thank you for sharing this with us!   
    • Server L2 Reborn x1 C4 Signature   I am looking to buy a client modification, such as l2.ini or other possible files on the server The server uses SmartGuard protection, but as far as I understand, not all files are checked before launch   Сервер L2 Reborn x1 C4 Signature Ищу возможность приобрести модификацию клиента, например l2.ini или других возможных файлов на сервере. На сервере установлена защита SmartGuard, но, насколько я понимаю, не все файлы проверяются перед запуском. _______________________________________________________________ https://join.skype.com/invite/C72FPnumKn7e - Skype https://t.me/rebornclient - Telegram  
    • 🎉 The Big Moment Has Arrived! 🎉   Tomorrow is the day we've all been waiting for! L2KvN is opening its gates again, and we are waiting for you all to start this epic journey together! 🌟   🗓️ Date: November 17, 2024 ⏰ Time: 20:00 Greece (Athens), Russia (Moscow), Lithuania 18:00 United Kingdom 13:00 USA (Eastern Time), Argentina 10:00 AM US (Pacific Time) 14:00 Brazil 05:00 Russia (Vladivostok) ✨ What awaits you: ⚔️ Unique gameplay and intense PvP encounters 🎁 Exclusive events and rich rewards 👥 Live community and instant support 📈 Continuous upgrades for the ultimate experience 💬 Bring your friends, organize your teams, and get ready to conquer the world of L2KvN! 📢 Don't forget: We are here to help you! If you are a Clan Leader or Streamer, please contact us to become a part of this great community. 🛡️ The countdown is over – tomorrow we start! The game is just beginning… again! 💪   🌍 Dating in the world of L2KvN!
    • Very cool.   Unfortunately, I can't afford this fee.
    • DISCORD : utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchihamkt.mysellix.io/ Join our server for more products : https://discord.gg/hood-services https://campsite.bio/utchihaamkt  
  • Topics

×
×
  • Create New...