Informations
Jump to content

Lorem Ipsum...

Click to Dismiss this Notification
Ładowanie danych...

Recommended Posts

Hello everyone! Many of you might be looking to restrict players from logging in with multiple accounts on OX. Below, I’ll provide a detailed guide on how to implement this solution effectively.

Modifying Files to Restrict Multi-Account Login

Step 1: Update char.cpp

  1. Locate this line in your code:

     
  • This is the hidden content, please

     

  • Add the following line right below it:

     
  • This is the hidden content, please

     

  • Find the line that reads:

     
  • This is the hidden content, please

     

  • Insert this code segment below it:

     
  1. This is the hidden content, please

     

Step 2: Update OXEvent.h

  1. Look for the following function declaration:

     
  • This is the hidden content, please

     

  • Add this line directly underneath:

     
  • This is the hidden content, please

     

  • Next, search for:

     
  • This is the hidden content, please

     

  • Insert these function declarations right below it:

     
  1. This is the hidden content, please

     

Step 3: Update OXEvent.cpp

  1. For the COXEventManager::Initialize() function, find:

     
  • This is the hidden content, please

     

  • Add this line under it:

     
  • This is the hidden content, please

     

  • In the COXEventManager::Destroy() function, locate:

     
  • This is the hidden content, please

     

  • Insert this line below it as well:

     
  • m_list_iplist.clear();
        
  • Search for the method:

     
  • This is the hidden content, please

     

  • Include the following code above this method:

     
  • This is the hidden content, please

     

  • Lastly, in the line:

     
  • This is the hidden content, please

     

  • Append this right below:

     
  1. This is the hidden content, please

     

 

By carefully following these steps, you will be able to prevent players from connecting with multiple accounts in OX, enhancing the integrity of your game environment.

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