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.



  • Posts

    • 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  
    • Server Rates: » Xp 500x. » Sp 500x. » Aden 500x. » Drop 1x. » PartyXp 2x. » PartySp 2x. » Starting character level -61. Enchant rates: » Safe enchant +4. » Blessed and simple scrolls max enchant (+16). » Crystal scrolls max enchant (+20). » Simple enchant scrolls chance – 65%. » Blessed enchant scrolls chance – 100%. » Crystal enchant scrolls chance – 50% Augmentations: » Mid life stone skill chance – 5%. » High life stone skill chance – 10%. » Top life stone skill chance – 20%. » Augments 1+1 Unique features: » Main town – Giran » Automatic-Manual Potions. » Working 2 castle sieges. (Giran-Aden) » SPS cancel lasts 10 seconds and than buffs come back. » Stackable scrolls, lifestones, book of giants. » Unique pvp zone » More then 11 active raid bosses. » Wedding system. » Unique farming areas. » Npc skill enchanter. » Full npc buffer with auto buff. » Max count of buffs – 55. » Max subclasses – 4. » Free and no quest class change. » Free and no quest sub class. » Raid boss drop nobless item. » No weight limit. » Unique protection anti-hwy armor for archers/daggers etc. » Ingame password change. » Top pvp/pk/online ranks NPC. » Unique monsters & NPC. » Interlude retail skills. » Server up-time [24/7] [99]%. » Perfect class balance (all class can kill all class depending on players skill and setup knowledge,gear,augmentations). » Announcements on double kills triple kills etc. » Announcements on Grand Boss death , with the name of the killer as well as clan name of the player. » Information Npc in game with all servers infromations. Custom server gear : 1). Titanium Armor Lv.1 2). Epic Armor Lv.2 3). Epic Weapons-Kamikaze-Black S grade (Same Stats) 4). Demonic-Angelic Wings-Baium Hair-Custom Accessories (SameStats) 5). Custom Fighter/Mage tattoo Lv1-Lv2-Lv3 6). Shirt (STR,CON,INT +1) 7). Custom Shields Server Commands: .tvtjoin .tvtleave – Join or leave tvt event. .ctfjoin .ctfleave – Join or leave ctf event. .dmjoin .dmleave – Join of leave dm event. .online – current online players count. .repair – repairs stuck character in world. .menu – opens online menu panel. .exit – PVP zone exit in case you are bullied. .changepassword - Opens online menu then u can change ur password in game. .farm - Enable/disable autofarm Event system: » TVT event » CTF event » DM event » Tournament Event » Party Zone » Unique event shop. Olympiad game: » Retail olympiad game. » Competition period [1] week. » Olympiad start time [18:00] end [00:00] GMT+2. » New Heroes every Sunday.
    • Tomorrow grand opening lests go 🙂 
    • New season of Warfire X150 has been postponed to September 28th.
  • Topics

×
×
  • Create New...