Jump to content
  • 0

Quest Error: must start with 'quest'


Strzikjav

Question

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
  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Days

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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


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