Jump to content

[Workaround] "Fix" to autoclose on wrong password for new clients


Recommended Posts

Posted

Well, the code is kinda simple and since most people don't know about it yet, I'm releasing a diff for those who want it, it is just a piece of code copied from char.c and pasted into login.c to make the client send "rejected from the server" on wrong password, so it will not close anymore, and you can edit your msgstringtable.txt to show "wrong password/rejected from the server", hope you enjoy.

view it here

download it here

raw file here

  • Upvote 2
Posted

just to let you guy know....

this will change the "Incorrect Password" to "Reject from Server"

so, GM / Admin should know about this....

if your players accidently / purposely spam it...

their account will be treated as DDoS attack by the server and temporary block them from login for a short interval...

  • 2 weeks later...
Posted

is some one test?

Solid2005, do you by chance happen to own the Twitter username @projectbuild ?? Your profile picture is the same on both accounts. Please let me know. I run an organization called Project Build, and I'm wondering if you own @ProjectBuild? Thanks

  • 3 weeks later...
Posted
its work for 2012-06-18?

isnt that @GreenBox has made a diff for that in the WeeDiffGen topic ?

And after so much time with people asking for this... https://github.com/g...5b62953a9f167e8

Added WDGRemoveLoginAutoClose, prevent the client to close when the login is refused. Tested with 2012-04-10RagexeRE.

Binaries: https://github.com/g...master/PreBuilt

Source: https://github.com/g...dpplugins/tree/

  • 3 weeks later...
  • 4 weeks later...
  • 4 weeks later...
Posted

how to load this?

It's in a .diff format. Meaning, you can use TortoiseSVN to apply this diff to your server's folder... however, I don't recommend you do this. Why? Well, this was created { Posted 11 September 2012 - 12:53 AM } and from that day till now, rAthena has changed a lot. So, the best way for you to add this, is try adding it manually.

Then again, you -could- do this automatically by patching it with TortoiseSVN, but you -may- or -may not- get any errors. Up to you.

Posted

how to load this?

It's in a .diff format. Meaning, you can use TortoiseSVN to apply this diff to your server's folder... however, I don't recommend you do this. Why? Well, this was created { Posted 11 September 2012 - 12:53 AM } and from that day till now, rAthena has changed a lot. So, the best way for you to add this, is try adding it manually.

Then again, you -could- do this automatically by patching it with TortoiseSVN, but you -may- or -may not- get any errors. Up to you.

Thank you sir. Im using linux anyway. So in linux is it not advisable to do it automatically?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...