Jump to content

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

I think you're trying to call a value out of range.

So you use 324/325/326 vnum and then later you add:

Spoiler

local esem = {50, 100, 200}

But then you call for:

Spoiler

pc.setqf("achievement_points", aktualne + esem[item.vnum-80009])

 

Link to comment
https://metin2.dev/topic/18650-problem-with-new-currency/#findComment-101799
Share on other sites

 

12 minut temu, boaspessoal napisał:

I think you're trying to call a value out of range.

So you use 324/325/326 vnum and then later you add:

  Ukryj treść

local esem = {50, 100, 200}

But then you call for:

  Ukryj treść

pc.setqf("achievement_points", aktualne + esem[item.vnum-80009])

 

What should the quest look like?

Link to comment
https://metin2.dev/topic/18650-problem-with-new-currency/#findComment-101800
Share on other sites

33 minuty temu, boaspessoal napisał:

Something like:

  Odkryj ukrytą treść

pc.setqf("achievement_points", aktualne + esem[item.vnum-324])

So it returns esem[0,1,2] whenever you are using 324,325,326.

It's working.

	pc.setqf("achievement_points", aktualne + esem[item.vnum-323])
	

Thank you!

Link to comment
https://metin2.dev/topic/18650-problem-with-new-currency/#findComment-101802
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.