Informations
Jump to content

Lorem Ipsum...

Click to Dismiss this Notification
Ładowanie danych...

Recommended Posts

spacer.png

 

Hello! If you're using the decimal HP system and encountering issues with health points exceeding 2 billion, you're not alone. Fortunately, there's a straightforward fix to resolve this problem.

Steps to Correct the HP Calculation

Update in char.cpp

To implement the fix, you'll need to modify your char.cpp file found in the game source code. Here are the changes to make:

1. Modify the BroadcastTargetPacket Function

  1. Locate the Function
    Open the char.cpp file and find the following function:

     
  • This is the hidden content, please

     

  • Find the Code Snippet
    Look for the line that includes this line of code:

     
  • This is the hidden content, please

     

  • Replace It
    Change the line to:

     
  1. This is the hidden content, please

     

2. Update the SetTarget Function

  1. Find the Function
    Still in char.cpp, locate the following function:

     
  • This is the hidden content, please

     

  • Locate the Relevant Code
    Look for this line:

     
  • This is the hidden content, please

     

  • Change It
    Replace it with the following code:

     
  1. This is the hidden content, please

     

 

 

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