Jump to content

Recommended Posts

Ok guys so i have this bug on my server...

When i click the button in the system bar "Block EXP" im receiving exp instead of taking it away.

Everytime the timer ticks i get a lot of exp.

 

This is my quest:

Spoiler

quest anti_exp begin
    state start begin
        when login begin
            cmdchat("antiexp_index "..q.getcurrentquestindex())
        end
        when button or info begin
        if pc.getqf("antiexp") == 0 then
            pc.setqf("antiexp", 1)
            chat("Experienta a fost blocata la 0.")
            local ep = pc.get_exp()
            pc.give_exp2(-ep)
            timer("erfahrung", 3)
        elseif pc.getqf("antiexp") == 1 then
            pc.setqf("antiexp", 0)
            chat("Ai deblocat expperienta.")
            end
        end              
        when erfahrung.timer with pc.getqf("antiexp") == 1 begin
            local ep = pc.get_exp()
            pc.give_exp2(-ep)
            timer("erfahrung1", 3)
            pc.setqf("antiexp", 1)
        end    
            
        when erfahrung1.timer with pc.getqf("antiexp") == 1 begin
            local ep = pc.get_exp()
            pc.give_exp2(-ep)
            timer("erfahrung", 3)
            pc.setqf("antiexp", 1)            
        end
    end
end  

Does anyone know why this is happening ? Please some help here guys ^_^

Link to comment
https://metin2.dev/topic/12117-bugblock-exp/
Share on other sites

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