Jump to content

[Problem]Questnpc.txt


Recommended Posts

Hello guys,

I got bug with this questnpc.txt.. 
Let us consider one example say 20073 is DT tomb at 5th floor when you give 50084 unlock key its not opening or working 
 

questnpc.txt 

Spoiler

1092 devil_stone6
20073 devil_stone5

and the deviltower quest is 
 

Spoiler

       when devil_stone5.take with item.vnum == 50084 begin
            npc.purge()
            item.remove()
            d.setf("stone_count", d.getf("stone_count") - 1)
            if d.getf("stone_count") <= 0 then
                d.clear_regen()
                d.kill_all()
                d.notice("You have opened the last Seal. You will")
                d.notice("now arrive on the 6th floor!")

its in object too with name devil_stone5 
but at 5th floor the stone is not accepting the key 
 

similar to other runs like devil catacomb 

Hope someone provide me solution for that.. 
Thanks in advance 

Human

Link to comment
Share on other sites

  • Active Member
7 minutes ago, Human said:

Hello guys,

I got bug with this questnpc.txt.. 
Let us consider one example say 20073 is DT tomb at 5th floor when you give 50084 unlock key its not opening or working 
 

questnpc.txt 

  Reveal hidden contents

1092 devil_stone6
20073 devil_stone5

and the deviltower quest is 
 

  Reveal hidden contents

       when devil_stone5.take with item.vnum == 50084 begin
            npc.purge()
            item.remove()
            d.setf("stone_count", d.getf("stone_count") - 1)
            if d.getf("stone_count") <= 0 then
                d.clear_regen()
                d.kill_all()
                d.notice("You have opened the last Seal. You will")
                d.notice("now arrive on the 6th floor!")

its in object too with name devil_stone5 
but at 5th floor the stone is not accepting the key 
 

similar to other runs like devil catacomb 

Hope someone provide me solution for that.. 
Thanks in advance 

Human

Try to use another quest from another serverfiles. I can't see jump function in your quest.

I'll be always helpful! 👊 

Link to comment
Share on other sites

14 hours ago, Root said:

check in syserr of the channel when u put the key on the stone.

and try to replace 

 when devil_stone5.take with item.vnum == 50084 begin

with 

 when 20073.take with item.vnum == 50084 begin

Thanks for reply root 

i guess this will work but there are many like this and i cant change for everything in quest npc... like devilcatacomb_man, devilcatacomb3_stone etc.. 
everything i need to change rather if i find whats the problem so i can solve it.. 
thanks 

 

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.