Jump to content

auto drop opening


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
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
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



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