Jump to content
  • 0

RunState: LUA_ERROR Help


Hakikat

Question

  • 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

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0
  • 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 22

      Green & Purple Potions Effect

    2. 12

      When Uninstalling Gaya System

    3. 12

      When Uninstalling Gaya System

    4. 12

      When Uninstalling Gaya System

    5. 12

      When Uninstalling Gaya System

    6. 12

      When Uninstalling Gaya System

    7. 12

      When Uninstalling Gaya System

    8. 12

      When Uninstalling Gaya System

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.