Jump to content
  • 0

Quest problem


geron552

Question

Hi i need help: /
I entered a quest with "wait ()":

quest welcomemsg begin
	state start begin
		when login begin
			if pc.getqf("basic_weapon") == 0 then
				pc.setqf("basic_weapon", 1)

				if pc.get_level() == 1 then
					say_title("Welcome to the SERVERNAME ")
          say("")
          say("Blah blah blah... ")
          say("Blah blah blah... ")
          say("Blah  blah... ")
          wait()
          say("Have a nice game :) ")
          say("")
				end
			end
		end
	end
end

the quest is compiled, but the "Next" button does not work


syserr game

SYSERR: Jan  1 22:01:01 :: operator(): QUEST NOT END RUNNING on Login/Logout - welcomemsg
SYSERR: Jan  1 22:01:06 :: Resume: wrong QUEST_WAIT request! : 59

syslog game

SYSERR: Jan  1 22:01:01 :: operator(): QUEST NOT END RUNNING on Login/Logout - welcomemsg
Jan  1 22:01:06 :: QUEST ScriptAnswer pid 59 answer 254
SYSERR: Jan  1 22:01:06 :: Resume: wrong QUEST_WAIT request! : 59

 

Can you help me 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

Uhmm, i think the sysser you get is pretty much self explanatory. QUEST NOT END RUNNING on Login/Logout Resume: wrong QUEST_WAIT request!
I guess it's intended this way, i mean both login and logout events are not created to have a input at this point, specially the logout.

My advice is to either make it as a timer (tho i won't ever do that myself, just letting you know about an option if you are really into doing it) or write the message with less words.

 

Anyway, you can also remove the interogation, but that can lead into other problems, why else it would be there :)

Edited by Braxy

As long as I'll be a threat for you , i will always be your target :3

Link to comment
Share on other sites

  • 0
  • Premium

You can't do such a thing on login trigger, either make a timer or use "letter"

 

quest welcomemsg begin
	state start begin
		when login with pc.getqf("basic_weapon") == 0 begin
			timer("welcome", 2);
		end
			
		when welcome.timer begin
			pc.setqf("basic_weapon", 1)
			say_title("Welcome to the SERVERNAME ")
			say("")
			say("Blah blah blah... ")
			say("Blah blah blah... ")
			say("Blah  blah...[ENTER]")
			wait()
			say("Have a nice game :)[ENTER]")
		end
	end
end

quest welcomemsg begin
	state start begin
		when letter with pc.getqf("basic_weapon") == 0 begin
			pc.setqf("basic_weapon", 1)
			say_title("Welcome to the SERVERNAME ")
			say("")
			say("Blah blah blah... ")
			say("Blah blah blah... ")
			say("Blah  blah...[ENTER]")
			wait()
			say("Have a nice game :)[ENTER]")
		end
	end
end

 

Edited by Syreldar

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

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. 5
    2. 5

      Zodiac Roulette (Aeldra event concept)

    3. 0

      I am looking for a team for PVP Server!

    4. 0

      How about get quest flag from binary??

    5. 5

      Zodiac Roulette (Aeldra event concept)

    6. 5

      Zodiac Roulette (Aeldra event concept)

    7. 5

      Zodiac Roulette (Aeldra event concept)

    8. 12

      REAL_TIME_FIRST_USE items not being expired in the safe-box

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