Jump to content

Recommended Posts

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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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

  • 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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 5

      OLDGODSMT2 [ MEGA SF RELEASE ]

    2. 24

      Experimental Renderer

    3. 11

      Multi Language System

    4. 0

      [FREE DESIGN] Interface + Logo + Discord Banner and Avatar

    5. 4

      Feeding game source to LLM

    6. 0

      Quest 6/7 Problem

    7. 5

      Effect weapons

    8. 0

      [C++] Fix Core Downer Using Negative Number in GM Codes

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