noisiv 1
noisiv
Manwe Work 1
Manwe Work
Karan2offical 1
Karan2offical
Fethi Polat 1
Fethi Polat
ShadowFon 1
ShadowFon
bikral 1
bikral
-TuRKuaZ- 1
-TuRKuaZ-
SLyFeLLowTR 1
SLyFeLLowTR
TGamesZeus 1
TGamesZeus
Best Studio 1
Best Studio
berkmenoo 1
berkmenoo
InfernoShade 1
InfernoShade
Hikaye Ekle

Metin2 Panelli Bakım Sistemi

devemoji

Hüküm haktan yanadır.
Telefon Numarası Onaylanmış Üye
Yönetici
Ayın Üyesi
Altın Üye
Katılım
4 Ocak 2016
Konular
230
Mesajlar
975
Çözüm
7
Online süresi
2mo 8h
Reaksiyon Skoru
989
Altın Konu
103
Başarım Puanı
216
MmoLira
11,511
DevLira
18
Ticaret - 0%
0   0   0

HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!

Bakım Duyuru Sistemi​


Merhaba arkadaşlar,


Barbaros2 den söktüğüm bakım duyuru sistemini paylaşmak istedim. Sistem oyun içinden GM komutu ile çalışmaktadır. SQL veya web panel bağlantısı yoktur. İsteyenler client içi bakım paneli üzerinden, isteyenler direkt GM komutu ile sistemi kullanabilir.


Sistem Özellikleri​


  • Oyun içinden bakım duyurusu başlatma
  • Bakım nedenini oyunculara gösterme
  • Bakıma kalan süreyi gösterme
  • Bakım süresini gösterme
  • GM paneli ile kolay kullanım
  • Tüm core/channel tarafına P2P ile duyuru gönderme
  • Süre sonunda server kapatma
  • Bakımı iptal etme

Kullanım​


Oyun içinden GM karakterle şu komutu kullanabilirsiniz:


Kod:
/maintenance 300 Bakim 3600


Açıklaması:


Kod:
300   = Bakıma kalan süre / saniye
Bakim = Bakım sebebi
3600  = Bakım süresi / saniye


Örnek olarak bu komut girildiğinde oyunculara bakım duyurusu gider ve 300 saniye sonra server kapanır.


Bakımı iptal etmek için:


Kod:
/maintenance 0


Client Panel Kullanımı​


Sistemde client içi bakım yönetim paneli de bulunmaktadır. Panel üzerinden:


  • Bakım nedeni
  • Bakıma kalan süre
  • Bakım süresi

girildikten sonra “Bakımı Başlat” butonuyla duyuru başlatılabilir. “Bakımı İptal Et” butonuyla aktif bakım duyurusu iptal edilir.


Panelin çalışması için game.py içerisinden uygun bir tuşa bağlamanız gerekir. Örnek olarak F5 tuşuna bağlayabilirsiniz:


Kod:
if app.ENABLE_BAKIM_DUYURU:
    onPressKeyDict[app.DIK_F5] = lambda : self.interface.MaintenanceAdmin()



KANIT

Ekran görüntüsü 2026-04-26 133558.png




Ekran görüntüsü 2026-04-26 134541.png






 

Ekli dosyalar

Paylaşım için teşekkürler.
 
The most important question: Does the system save player data one minute before the server shuts down?

For example, if a player obtains a valuable item and then, a minute or half a minute later, the server shuts down, does the database successfully save the item, or will the item disappear when the server restarts? This is the most important question.

Thank you for participating.
 
The most important question: Does the system save player data one minute before the server shuts down?

For example, if a player obtains a valuable item and then, a minute or half a minute later, the server shuts down, does the database successfully save the item, or will the item disappear when the server restarts? This is the most important question.

Thank you for participating.
As it stands, the maintenance system does not directly cause item loss, because the system does not delete items or interfere with the inventory; it simply sends a notification and executes Shutdown(10) at the end of the maintenance period.

However, we cannot say that there is absolutely no risk of items obtained in the final seconds being lost. The risk does not stem from the maintenance system itself, but rather from whether or not character and inventory data is written to the database as the server shuts down.
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst