Jump to content
  • We need you!

    You must register to discover all the features of our community!

  • 0

time regen.txt


ByLost
Go to solution Solved by TMP4,

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 post

3 answers to this question

Recommended Posts

  • 0
  • Solution
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 post
  • 0
  • VIP
Posted (edited)

"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 (see edit history)
Link to post
  • 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 post
Guest
This topic is now closed to further replies.


  • Current Donation Goals

  • Activity

    1. 11

      Mysql56 to Mysql8

    2. 0

      Does anyone have Kami-Sama's Contact?

    3. 1

      [Trailer][1/3]NerviL2 The return of the Legend

    4. 0

      Won " price" change

    5. 10

      Inferna - The new "metin3"?

    6. 6

      We need you!

    7. 2

      Highlight system bug

  • Recently Browsing

    No registered users viewing this page.

×
×
  • Create New...

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.