Jump to content

Recommended Posts

Hi guys,

My problem,
Ring closes with teleport

This is my code, can you help me please

Kind regards, thanks.

Sorry for my bad english.

 

quest antiexpsrc begin
    state start begin
		when login begin
			cmdchat("anti_index "..q.getcurrentquestindex())
		end
		when button or info begin
            if pc.getqf("antiexp") == 0 then
			-- exp sifirla
			local ep = pc.get_exp()
			pc.give_exp2(-ep)
			-- exp sifirla	
                pc.block_exp()
                pc.setqf("antiexp", 1)
                syschat("Tanrica'nin laneti uzerinde. Laneti deaktif etmedikce tecrube kazanamayacaksiniz.")
            elseif pc.getqf("antiexp") == 1 then
			-- exp sifirla
			local ep = pc.get_exp()
			pc.give_exp2(-ep)
			-- exp sifirla	
                pc.unblock_exp()
                pc.setqf("antiexp", 0)
                syschat("Tanrica'nin laneti kaldirildi. Artik tecrube kazabilirsiniz.")
				end
		end
	end
end

 

Link to comment
https://metin2.dev/topic/16507-anti-exp-bug-lua/
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.