Jump to content

Quest Error: must start with 'quest'


Recommended Posts

Hello,

 

i tried to implement my quest, but when i try to run the make.sh i get this error:

must start with 'quest'
mob_pull.quest:1:Abort trap (core dumped)

This is my Quest:

quest auto_pull begin
	state start begin
		when login begin
			pc.setqf("auto_pull", 0)
			cmdchat("auto_pull "..q.getcurrentquestindex())
		end
		when button or info begin
			if pc.getqf("auto_pull")==0 then
				chat("Automatischer Umhang aktiviert. Pull-Intervall: 10 Sekunden")
				loop_timer("pull_it", 30) --TIMER
				pc.setqf("pull", 1)
			elseif pc.getqf("pull")==1 then
				chat("Automatischer Umhang deaktiviert")
				cleartimer("pull_it")
				pc.setqf("pull", 0)
			end
		end
		when pull_it.timer with pc.getqf("pull")==1 begin
			if pc.get_hp()/pc.get_max_hp() >= 0.5 then
				pc.aggregate_monster()
			end
		end
	end
end

any ideas what i did wrong?
 

Invoice files / 2089M game

 

thanks for help

 

regards

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.