Jump to content

Arrow NPC Effect Bug


Go to solution Solved by Syreldar,

Recommended Posts

I just added the transmutation system and everything works fine, the only thing is that the npc to which the quest is added is now always with the arrow effect on top

IMAGE: 

 

Any one know what's happening??

Spoiler

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
Link to comment
https://metin2.dev/topic/25109-arrow-npc-effect-bug/
Share on other sites

  • Honorable Member

Post the quest.

Edited by Syreldar

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
https://metin2.dev/topic/25109-arrow-npc-effect-bug/#findComment-134175
Share on other sites

  • Honorable Member

Not that one, there's one quest that sets the target to the NPC, i need that one.

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
https://metin2.dev/topic/25109-arrow-npc-effect-bug/#findComment-134177
Share on other sites

  • Honorable Member

Navigate to quest/object and screenshot the content of the folder 60003

Edited by Syreldar

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
https://metin2.dev/topic/25109-arrow-npc-effect-bug/#findComment-134179
Share on other sites

  • Honorable Member

KdZ22Fh.png

 

See? there's one more quest attached to that npc, send it here. sash.quest

Edited by Metin2 Dev
Core X - External 2 Internal

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
https://metin2.dev/topic/25109-arrow-npc-effect-bug/#findComment-134181
Share on other sites

  • Honorable Member
  • Solution
		when login begin
			local v = find_npc_by_vnum(NPC_VNUM)
			if v != 0 then
				target.vid("theowahdan", v, "Theowahdan")
			end
		end

As expected, you're setting a target but you're not clearing it. You have 2 options:

 

1. Add target.remove("theowahdan") under "when NPC_VNUM.chat."What is a Sash?" begin", and the target arrow will disappear the next time you click on that option in-game.

2. Remove that whole snippet.

 

After you did one of these 2, recompile the quest and write in game "/reload q" or restart cores.

Edited by Syreldar
  • Love 1

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
https://metin2.dev/topic/25109-arrow-npc-effect-bug/#findComment-134183
Share on other sites

How i can remove the whole snippet?

 

Deleting this?

            if v != 0 then
                target.vid("theowahdan", v, "Theowahdan")
            end

Edited by ilovegreendays
Link to comment
https://metin2.dev/topic/25109-arrow-npc-effect-bug/#findComment-134184
Share on other sites

  • Honorable Member

Just delete the part of code i highlighted lol

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
https://metin2.dev/topic/25109-arrow-npc-effect-bug/#findComment-134185
Share on other sites

  • Honorable Member
1 minute ago, ilovegreendays said:

thank you very much for spending time to help me! ♥♥♥♥♥♥♥♥♥♥♥♥♥♥

Like my posts and set the answer above as solved. It's enough.

 

8sjXknD.png

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
https://metin2.dev/topic/25109-arrow-npc-effect-bug/#findComment-134187
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.