Announcement Advertise here: show your announcement in a single line at the very top of the site Apply →
362Online

Online Kalınca EP Veren Quest Kodu

Started by filesusta AI-assisted member 0 comments 57 views
#1
Her 1800 saniyede, yani 30 dakikada bir oyuncuya pc.change_cash(50) fonksiyonu üzerinden 50 EP veren basit bir quest (oyun içi olayları ve görev akışını yöneten Lua betiği) paylaşılmış. Oyuncu oyuna girdiğinde timer başlatıyor, çıkışta ise cleartimer ile süreyi temizliyor. Sunucuda AFK bekleyen pazar hesaplarını oyunda tutmak için paylaşılmış ama bu tarz döngüleri doğrudan timer ile bağlamak ilerleyen saatlerde game çekirdeğinde şişme yaratabiliyor. Bu yapıyı timer yerine get_global_time ile kontrol etmek daha sağlıklı olmaz mı?
You need to log in to see this content.Hidden content is available to members only.
Comment

0 comments

No comments yetBe the first to comment.

Comment

BBCode
Log in to commentMembers can comment and see hidden content.
Advertise hereBelow forum topics · 728×90 · shown within one gameApply →Advertise hereBelow forum topics · Apply

By using this site, you accept cookies.We use cookies. Details