Jump to content
Logo
Your Metin2 zone for C++, Python, Lua.

Advanced Regen Resp C++ new


GameCore

Recommended Posts

1. With this modification, you can set a time interval for respawning.
2. After disappearing/killing, the new respawn event will start.
3. The new spawn time will be set after the CHARACTER::Destroy() function.

On every level, the files boss.txt, npc.txt ... etc. must be supplemented with an interval column immediately after the respawn time.
You can also use 's', 'm', 'h' after the given value.

Example of a .txt file:
-Old:

This is the hidden content, please


-New:

This is the hidden content, please

So if monster 591 is killed, it will respawn sometime between 10-20 seconds.
(Time does not run from direct killing, but from CHARACTER::Destroy() (CHARACTER::Destroy() == when something disappears (in the case of a killed monster, its corpse)))

 

This is the hidden content, please

  • Like 6
  • Thanks 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Style Version: 0.1

The code was completely created from scratch and optimized.

The basic style on which it was created: Default

Created by: Grzyb.ovh

The style was to be simple to browse topics, devoid of graphics, uniform in color and definitely simple. ×

×
×
  • Create New...

Important Information

Do you like cookies? 🍪 We use cookies to provide the highest quality of service. Learn more