Informations
Jump to content

Lorem Ipsum...

Click to Dismiss this Notification
Ładowanie danych...

Recommended Posts

Today, I’d like to share a useful system for tracking monsters within your game. This system is not associated with any commercial solutions and focuses solely on providing enhanced gameplay functionality.

System Overview

The concept behind this implementation revolves around detecting monsters that possess a specific rank, particularly rank 5, much like the compass used for identifying metin stones in the game. The system retrieves the rank value from the database and filters out only the monsters with rank 5.

Step-by-Step Guide to Implementation

1. Modifying char_item.cpp

Begin by opening your char_item.cpp file. Find the following line:

 
This is the hidden content, please

Add the structure definition below:

 
This is the hidden content, please

2. Adding Monster Detection Logic

Next, locate the switch-case statement that contains:

 
This is the hidden content, please

Right after the break;, insert the following:

 
This is the hidden content, please

3. Infinite Usage Option

If you’d like the compass to be infinite, simply comment out the following line:

 
This is the hidden content, please

4. Configuring the Database

For the item prototype, you need to run this query in your database management tool:

 
This is the hidden content, please

5. Item Prototype for Client

In the item prototype configuration, make the following entry:

 
This is the hidden content, please

6. Updating Item Descriptions

In the item_desc.txt, add the following description:

 
This is the hidden content, please

7. Adjusting Tooltip Logic

Locate the section in your root/uiTooltip.py file that checks for item vnums, and update it to include the new item:

Find:

 
This is the hidden content, please

Replace it with:

 
This is the hidden content, please

 

This implementation of the monster detection compass will significantly enhance gameplay by allowing players to easily locate rank 5 monsters. If you found this guide helpful, a simple thank you would be greatly appreciated!

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