Informations
Jump to content

Lorem Ipsum...

Click to Dismiss this Notification
Ładowanie danych...

Recommended Posts

In this guide, we'll discuss a common issue affecting pet attacks that many players encounter, specifically related to HP reduction and attack multipliers. Today, I'll walk you through the process I used to resolve both of these glitches. This tutorial has been successfully tested, so let’s get started!

Step-by-Step Instructions

  1. Navigate to the Source Directory

    First, access the directory where your game server source files are located. Typically, this can be found at:

     
  • This is the hidden content, please

     

  • Modifying char_skill.cpp

    Open the char_skill.cpp file, and look for the function in the code that deals with affecting the character:

     
This is the hidden content, please

Replace this line with:

 
This is the hidden content, please

Next, find the line:

 
This is the hidden content, please

and change it to:

 
  1. This is the hidden content, please

    Note: If you do not have these functions commented out, you can skip this step.

Resolving the x3 Attack Bug

Moving forward, we will tackle the attack multiplier bug related to pets. Locate the following function in the same char_skill.cpp file:

 
This is the hidden content, please

Replace the entire function with the implementation below:

 
This is the hidden content, please

Final Notes

With the above modifications, both bugs related to pet attacks and x3 hitting should now be eliminated.

By implementing these code changes, you can ensure a smoother and more enjoyable gameplay experience. Tackling these issues not only enhances performance but also retains player interest in the game.

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