Jump to content

Recommended Posts

Hi. I have problem with this error in syserr

OnButton: QUEST There's suspended quest state, can't run new quest state (quest: wskaznikHpWroga pc:

Quest

quest wskaznikHpWroga begin
	state start begin
		when login begin
			cmdchat("super_quest "..q.getcurrentquestindex())
		end

		when info or button begin
			cmdchat("GetInputStart")
			local vid = input(cmdchat("get_input_value"))
			cmdchat("GetInputStop")
			local old_pc = pc.select(vid)
			local name = pc.get_name()
			local hp = pc.get_hp()
			local max_hp = pc.get_max_hp()
			pc.select(old_pc)
			cmdchat("pvp_zdruwko "..name.."|"..hp.."|"..max_hp)
		end
	end
end

 

Link to comment
https://metin2.dev/topic/15461-quest-state-problem/
Share on other sites

  • 2 months later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hello,
 

On 2017. 04. 05. at 7:43 PM, avertuss said:

Hi. I have problem with this error in syserr


OnButton: QUEST There's suspended quest state, can't run new quest state (quest: wskaznikHpWroga pc:

Quest


quest wskaznikHpWroga begin
	state start begin
		when login begin
			cmdchat("super_quest "..q.getcurrentquestindex())
		end

		when info or button begin
			cmdchat("GetInputStart")
			local vid = input(cmdchat("get_input_value"))
			cmdchat("GetInputStop")
			local old_pc = pc.select(vid)
			local name = pc.get_name()
			local hp = pc.get_hp()
			local max_hp = pc.get_max_hp()
			pc.select(old_pc)
			cmdchat("pvp_zdruwko "..name.."|"..hp.."|"..max_hp)
		end
	end
end

 

Last 3x end press 2x enter ;)
Like this
 

Spoiler

Original:
 

Spoiler

        end
    end
end

Change to:
 

Spoiler

        end
    end
end

 

 

Original is this?
 

Spoiler

-- Quest Opponents HP and MP during pvp
-- Made by: Endymion_
-- Server: Ascarial.pl
quest wskaznikHpWroga begin
    state start begin
        when login begin
            cmdchat("super_quest "..q.getcurrentquestindex())
        end

        when info or button begin
            cmdchat("get_input_start")
            local vid = input(cmdchat("get_input_value"))
            cmdchat("get_input_end")
            local old_pc = pc.select(vid)
            local name = pc.get_name()
            local hp = pc.get_hp()
            local max_hp = pc.get_max_hp()
            local mp = pc.get_sp()
            local max_mp = pc.get_max_sp()
            pc.select(old_pc)
            cmdchat("pvp_zdruwko "..name.."|"..hp.."|"..max_hp.."|"..mp.."|"..max_mp)
        end
    end
end

 

787292068_Nvtelen.png.6faa7b0bbb3398fd29

Link to comment
https://metin2.dev/topic/15461-quest-state-problem/#findComment-89030
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



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.