Informations
Jump to content

Lorem Ipsum...

Click to Dismiss this Notification
Ładowanie danych...

Recommended Posts

In the following guide, we'll walk through the steps needed to resolve a bug related to party bonuses in the game. This fix involves making some adjustments to the Party.cpp and Party.h files. Follow the instructions closely to ensure everything works smoothly.

Steps to Fix the Party Bonus Bug

1. Modify Party.cpp

First, open the Party.cpp file and look for the line:

 
This is the hidden content, please

After DWORD pid;, add the following line:

 
This is the hidden content, please

Next, locate the line that says:

 
This is the hidden content, please

And update it to:

 
This is the hidden content, please

2. Update the Link Function

Search for the method:

 
This is the hidden content, please

Directly after:

 
This is the hidden content, please

Insert this line:

 
This is the hidden content, please

3. Modify the Update Function

Locate the function:

 
This is the hidden content, please

Find the conditional statement:

 
This is the hidden content, please

Replace it with the following code for improved functionality:

 
This is the hidden content, please

4. Add the RemoveBonuses Function

At the end of the Party.cpp file, add the new method to handle bonus removal:

 
This is the hidden content, please

5. Update Party.h

Next, navigate to the Party.h file. Search for the line:

 
This is the hidden content, please

After this line, add the declaration for the new function:

 
This is the hidden content, please

 

By implementing these changes, the bug related to party bonuses should be effectively resolved, enhancing the gameplay experience. Ensure you thoroughly test the modifications to verify that everything functions as intended.

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