Jump to content

RunState: LUA_ERROR Help


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
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
Share on other sites

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.