Jump to content

Recommended Posts

quest oto_drop begin 
    state start begin 
        when login begin 
        __give_empire_priv(0, 1, 500, 60*60*24) 
        __give_empire_priv(0, 2, 500, 60*60*24) 
        __give_empire_priv(0, 4, 500, 60*60*24) ) 
        chat("24 saat arayla droplar otomatik açılacak.") 
        server_loop_timer("oto_drop",60*60*24) 
        end 

        when oto_drop.server_timer begin 
            __give_empire_priv(0, 1, 500, 60*60*24) 
            __give_empire_priv(0, 2, 500, 60*60*24) 
            __give_empire_priv(0, 4, 500, 60*60*24) 
        end 
    end 
end 

it s my auto_drop.quest. With this quest every player gonna open drops. But i need to do it with first login every 24 hours. I tried something but I couldn't. How can I do it? Can you give me some advice? 

Edited by grocer99
Link to comment
https://metin2.dev/topic/8639-auto-drop-opening/
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Active Member

Becouse server_loop_timer has problems, try with server_timer

 

I know for sure the server_loop_timer function has some problems

Edited by Exygo
Link to comment
https://metin2.dev/topic/8639-auto-drop-opening/#findComment-52811
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.