Informations
Jump to content

Lorem Ipsum...

Click to Dismiss this Notification
Ładowanie danych...

Recommended Posts

In response to the recent issues concerning exploit flooding, I am sharing a straightforward solution that doesn't require any monetary investment. This method will help fortify your system against unwanted exploits.

Code Modifications

Step 1: Update input_login.cpp

First, locate the input_login.cpp file, which handles the input for login processes.

1. Modify the Character Selection Function

  1. Search for the following function:

     
  • This is the hidden content, please

     

  • Right after that function definition, you will add a logging statement to keep track of character selection:

     
  • This is the hidden content, please

     

  • Next, include a check to ensure that only one character can be associated with a given connection. You will add this right after the logging line:

     
  1. This is the hidden content, please

     

Step 2: Adding Validity Checks

1. Check for Valid Account ID

  1. Still within the same function, find this variable declaration:

     
  • This is the hidden content, please

     

  • Before this line, insert a check to verify that the account ID is valid. This step will help prevent issues related to account-related discrepancies:

     
  1. This is the hidden content, please

     

By implementing these changes, you can greatly enhance the security of your login system and prevent exploit flooding. These steps ensure that characters are properly managed and valid player accounts are confirmed before proceeding with character selection.

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.

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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

spacer.png

Disable AdBlock
The popup will be closed in 5 seconds...