Jump to content
×
×
  • Create New...
  • 0

time regen.txt


ByLost

Question

Version of Files 40k

Hello Devs :D
I'm doing an event where I need to invoke the npc.

 


Example: 

regen_in_map(41, "data/events/fimdeano/npc3.txt")
regen_in_map(21, "data/events/fimdeano/npc2.txt")
regen_in_map(1, "data/events/fimdeano/npc1.txt")

Invokes npc normally
The problem is that the npc disappears after a few seconds.

My regen

npc1.txt

m    682    596    0    0    0    6    5184000s    100    1    20031


Thanks :D

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
  • Distinguished Member
20031

This is santa as i remember, and it is intended to disappear.

(Originally it appears and disappers in Sohan but Gameforge never used this event)

 

Open xmas_event.h from game source and look for this:

MOB_SANTA_VNUM = 20031, //Ȑ٠

And edit the vnum to something else what you don't use.

You can remove the whole santa system if you like to.

  • Love 2
Link to comment
Share on other sites

  • 0
  • Premium

"The problem is that the npc disappears after a few seconds."

 

Not possible. You have problem on c++ so...

 

Btw using this function you will spawn only 1 time. The time second is useless.

If you remove the npc, it won't spawn again.

Edited by WeedHex
Link to comment
Share on other sites

  • 0
On 7/12/2020 at 2:57 AM, TMP4 said:
20031

This is santa as i remember, and it is intended to disappear.

(Originally it appears and disappers in Sohan but Gameforge never used this event)

 

Open xmas_event.h from game source and look for this:

MOB_SANTA_VNUM = 20031, //Ȑ٠

And edit the vnum to something else what you don't use.

You can remove the whole santa system if you like to.

 

You are very perceptive.

Thank you very much.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


  • Metin2 Dev Github
  • Activity

    1. 1

      Metin2 Privat Server selfmade

    2. 1

      Costumes

    3. 1

      Costumes

    4. 0

      game.core (Thank you in advance for your help.)

    5. 1

      [Help] Problem with the system I added

    6. 7

      Serversource build win32

    7. 1

      Extended blend system

    8. 7

      Serversource build win32

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.