Jump to content

time regen.txt


Go to solution Solved by TMP4,

Recommended Posts

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

  • 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

  • Contributor
  • 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 comment
Share on other sites

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



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