Won Sistemi Game Core FİX

  • Konbuyu başlatan Konbuyu başlatan Admin
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 0
  • Görüntüleme Görüntüleme 56

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
Kod:
#ifdef ENABLE_CHEQUE_SYSTEM         case POINT_CHEQUE:         {             const int64_t nTotalCheque = static_cast<int64_t>(GetCheque()) + static_cast<int64_t>(amount);             if (CHEQUE_MAX <= nTotalCheque)             {                 sys_err("[OVERFLOW_CHEQUE] OriCheque %d AddedCheque %d id %u Name %s ", GetCheque(), amount, GetPlayerID(), GetName());                 LogManager::instance().CharLog(this, GetCheque() + amount, "OVERFLOW_CHEQUE", "");                 return;             }             SetCheque(GetCheque() + amount);             val = GetCheque();         }         break; [HASH=3]#endif[/HASH]


Kod:
#ifdef ENABLE_CHEQUE_SYSTEM     case POINT_CHEQUE:     {         const int64_t nTotalCheque = static_cast<int64_t>(GetCheque()) + static_cast<int64_t>(amount);         if (amount > 0 && nTotalCheque > CHEQUE_MAX)         {             sys_err("[OVERFLOW_CHEQUE] OriCheque %lld AddedCheque %lld id %u Name %s ",                 static_cast<long long>(GetCheque()),                 static_cast<long long>(amount),                 GetPlayerID(),                 GetName());             LogManager::instance().CharLog(this, nTotalCheque, "OVERFLOW_CHEQUE", "");             return;         }         SetCheque(nTotalCheque);         val = GetCheque();     }     break; [HASH=3]#endif[/HASH]

Won Sistemi Game Core FIX: Metin2 Private Sunucular İçin Uygunluk

Metin2 özel sunucularında Won sistemi, kullanıcıların oyun içi satın alma işlemleri sırasında yaşanan hataları düzeltmek ve daha stabil bir ödeme altyapısı kurmak adına önemli bir güncellemedir.

Won Sisteminin Oyun İçindeki Yeri

Metin2 özel sunucu geliştirme sürecinde, game core üzerinde yapılan düzenlemelerden birisi de Won sisteminin doğru çalışmasının sağlanmasıdır. Bu sistem, oyuncuların oyun içi para (Won) alım-satım işlemlerini yönetir. Ancak bazı özel sunucularda bu sistem çalışmazsa, oyuncuların ödeme yapamaması gibi ciddi sorunlar ortaya çıkar.

Yaygın Won Sistemi Hataları

Özel sunucularda karşılaşılan başlıca sorunlar şunlardır:

- Won sisteminin doğru şekilde başlatılamaması
- DB ve Auth sunucuları arasında bağlantı kopması
- Client tarafında ödeme bilgilerinin görünmeme veya eksik gelmesi
- Game core'da tanımlı olan Won fonksiyonlarının çalışmayışı

Game Core FIX Uygulamaları

Won sisteminin düzgün çalışabilmesi için game core üzerinde bazı değişiklikler yapılması gerekir:

1. db bağlantısının kontrol edilmesi
2. auth_server ile olan iletişim protokolünün güncellenmesi
3. client_src ile uyumlu yapıya geçirilmesi

Teknik Düzenlemeler

Python tarafında py_root üzerinden uiscript dosyalarında yapılacak düzenlemeler sayesinde, kullanıcı arayüzünde Won miktarı doğru şekilde gösterilebilir. Ayrıca Py GUI sistemlerinde bu bilgilerin doğru aktarılması için özel script düzenlemeleri yapılmalıdır.

Martysama ve Metin2Dev Katkıları

Martysama tarafından sağlanan kaynaklar sayesinde birçok özel sunucu sahibi, game core üzerindeki Won hatalarını başarıyla düzeltebilmiştir. Metin2Dev topluluğu ise bu konuda aktif destek sunmaktadır.

Kaynak Kod Paylaşımı

Geliştiriciler için C++ source edit süreçleri önemlidir. Metin2 server src üzerinde yapılan değişiklikler, compile aşamasında dikkatle test edilmelidir. Game server programming süreci, bu doğrultuda detaylı kontrol gerektirir.

Sonuç

Won sistemi, Metin2 özel sunucularında ödeme altyapısının temel taşlarından biridir. Game core üzerinde yapılan uygun düzenlemeler sayesinde, bu sistemin güvenli ve doğru çalışması sağlanabilir. Geliştiricilerin bu konuya özel ilgi göstermesi, kullanıcı memnuniyetini doğrudan etkiler.


Won System Game Core FIX: Compatibility for Metin2 Private Servers

The Won system in Metin2 private servers is an important update designed to fix errors occurring during in-game purchase processes and establish a more stable payment infrastructure.

The Place of the Won System In-Game

During the process of developing Metin2 private servers, one of the adjustments made on the game core is ensuring that the Won system operates correctly. This system manages in-game currency (Won) buy/sell transactions. However, if this system does not work properly on some private servers, serious issues like players being unable to make payments may arise.

Common Won System Errors

The main problems encountered in private servers are:

- Failure to properly initialize the Won system
- Disconnection between DB and Auth servers
- Payment information not appearing or appearing incorrectly on the client side
- The Won functions defined in the game core not working

Game Core FIX Applications

To ensure the proper operation of the Won system, certain modifications must be made on the game core:

1. Checking the db connection
2. Updating the communication protocol with auth_server
3. Transitioning to compatibility with client_src

Technical Adjustments

Adjustments made via uiscript files through py_root in Python allow the Won amount to be displayed correctly in the user interface. Additionally, special script adjustments must be made to ensure correct transmission of this information in Py GUI systems.

Contributions from Martysama and Metin2Dev

Thanks to resources provided by Martysama, many private server owners have successfully fixed Won-related errors in the game core. The Metin2Dev community provides active support in this area.

Source Code Sharing

C++ source edit processes are crucial for developers. Changes made on Metin2 server src must be carefully tested during the compile phase. The game server programming process requires detailed checks in this regard.

Conclusion

The Won system is one of the fundamental elements of the payment infrastructure in Metin2 private servers. With appropriate adjustments made on the game core, its secure and correct operation can be ensured. Developers paying special attention to this topic directly affects user satisfaction.
 

Şuan Bu Konuyu Görüntüleyen Kullanıcılar (Toplam : 0, Üye : 0, Misafir : 0)

Benzer konular

Geri
Üst Alt