Jump to content

geron552

Inactive Member
  • Posts

    10
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by geron552

  1. 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?

  2. Hi,
    I need to add the value "ch-> IsVIP ()" for the [VIP] tag but I don't know how to add it to the function. Can you help me please?

     

    	char chatbuf[CHAT_MAX_LEN + 1];
    #ifdef ENABLE_CHAT_COLOR_SYSTEM
    	static const char* colorbuf[] = {"|cFF9dff00|H|h[VIP]|h|r", "|cFFff1100|H|h[Staff]|h|r", "|cFFff0000|H|h[Shinsoo]|h|r", "|cFFffc700|H|h[Chunjo]|h|r", "|cFF000bff|H|h[Jinno]|h|r"};
    	int len = snprintf(chatbuf, sizeof(chatbuf), "%s %s : %s", (ch->IsGM()?colorbuf[0]:colorbuf[MINMAX(0, ch->GetEmpire(), 3)]), ch->GetName(), buf);
    #else

     

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