Jump to content

Recommended Posts

  • Premium

How do I add quest function help please ?


syserr

SYSERR: Dec 30 12:01:00 :: RunState: LUA_ERROR: [string "event_ayisigi_2014"]:1: attempt to call field `get_level' (a nil value)
SYSERR: Dec 30 12:01:00 :: WriteRunningStateToSyserr: LUA_ERROR: quest event_ayisigi_2014.start leave

quest

quest event_ayisigi_2014 begin
	state start begin
		when kill with game.get_event_flag("event_ayisigi_drop") == 1 and not npc.is_pc() begin
			if npc.get_level() > pc.get_level() - 10 then
				local s = number(1,150)
				if s == 1 then
				game.drop_item_with_ownership("50011",1)
				return
				end
			end
		end
	end
end

How do I add quest function help please

 

Link to comment
https://metin2.dev/topic/4619-runstate-lua_error-help/
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Premium

search for quest_function file in quest folder and add the function save it and replace it :D

if that is the problem?

What do I need to edit the already attached quest_functions

 

npc.get_level

pc.get_level

npc.is_pc

 

This error occurred game were changed,

I think this game needs to be added to the mentioned error occurred by source

Link to comment
https://metin2.dev/topic/4619-runstate-lua_error-help/#findComment-29121
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.