Jump to content

Recommended Posts

hello my quest doesn't work anyone can help me?

all functions like npc.get_race etc return null and the same result in syser

 

quest test begin
    state test begin
        when 2018.chat."shop " begin
            npc.open_shop(5)
            setskin(NOWINDOW)
        end

end

 

syser: SYSERR: Jul 16 12:01:49 :: RunState: LUA_ERROR: [string "test"]:5: attempt to call field `open_shop' (a nil value)
SYSERR: Jul 16 12:01:49 :: WriteRunningStateToSyserr: LUA_ERROR: quest test.start click

  • 11 months later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hello, i found the solution today.

The problem is that you have a certain quest in your quests folder wich is named with "npc".

I am not talking about the extern names of the files like "give_basic_weapon.quest"

I am talking about after you open a quest file and it says:

quest npc begin

	state start begin

		when 20016.chat  begin 

Well, that "npc" on FIRST line is creating the problem, i don't know why... but it makes certain quests to not work anymore.

Just search your quests and change the name and problem solved.

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.