Informations
Jump to content

Lorem Ipsum...

Click to Dismiss this Notification
Ładowanie danych...

Recommended Posts

This is the hidden content, please

 

This guide will demonstrate how to implement a four-page inventory system in Metin2. Follow these steps carefully to enhance your game's user interface.

Step 1: Access the Game Source

Navigate to the directory:

 
This is the hidden content, please

To keep everything organized, I'll provide you with tab indents for your code modifications.

Step 2: Modify char_item.cpp

  1. Open the file char_item.cpp and locate:
 
This is the hidden content, please
  1. Change it to:
 
This is the hidden content, please
  1. You’ll find this in two instances; ensure you update both.

  2. Now, search for:

 
This is the hidden content, please

(Again, ensure you update both occurrences) and change it to:

 
This is the hidden content, please

Step 3: Update exchange.cpp

Next, open exchange.cpp and find these lines:

 
This is the hidden content, please

Modify them to:

 
This is the hidden content, please
  1. Locate:
 
This is the hidden content, please

Update it to:

 
This is the hidden content, please
  1. Next, find the function section:
 
This is the hidden content, please

Replace it with:

 
This is the hidden content, please

Step 4: Modify Constants

Proceed to:

 
/usr/src/your_source/Srcs/Server/common
    

Open length.h and look for:

 
This is the hidden content, please

Change it to:

 
This is the hidden content, please

Step 5: Update the Launcher

Navigate to:

 
/usr/src/your_source/Srcs/Client/Userinterface
    

Open GameType.h and find:

 
This is the hidden content, please

Change this to:

 
This is the hidden content, please

Step 6: Adjust Inventory Window

Unpack the locales and navigate to:

 
locales/en/ui
    

Edit inventorywindow.py and replace its contents with the following:

 
This is the hidden content, please

Step 7: Final Adjustments in uiinventory.py

After unpacking the root files, go to uiinventory.py and follow these changes:

  1. Locate:
 
This is the hidden content, please

Under that line, add:

 
This is the hidden content, please
  1. Change the event assignment to:
 
This is the hidden content, please
  1. Update the SetInventoryPage function:
 
This is the hidden content, please

Conclusion

With these modifications, you'll be equipped with a four-page inventory system that enhances your Metin2 game experience. If you have any questions or need clarification, feel free to ask!

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