mphlvN: Anlık Ep Sistemi, Offline Shop Uyarlama "KEN"

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

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
CHAR.CPP AÇILIR;
ARAT;
Kod:
{         if (bTime == 4)         {             std::auto_ptr<SQLMsg> pMsg(DBManager::instance().DirectQuery("SELECT cash FROM account.account WHERE id = %u", GetAID()));             if (pMsg->Get()->uiNumRows == 0) return;             MYSQL_ROW row = mysql_fetch_row(pMsg->Get()->pSQLResult);             long lCoins = 0;             str_to_number(lCoins, row[0]);             if (lCoins < static_cast<long>(5))             {                 ChatPacket(CHAT_TYPE_INFO, "Çevrimdışı pazar kurulamıyor. Dükkan açabilmek için 5 Ejderha Parasına ihtiyacınız var.");                 ChatPacket(CHAT_TYPE_INFO, "İteminizi satılmayanlar butonundan geri alınız.");                 return;             }             DBManager::instance().DirectQuery("UPDATE account.account SET cash = cash - 5 where id = %u", GetAID());         }     }
DEĞİŞTİR;
Kod:
{         if (bTime == 4)         {             if (GetCoins() < 5)             {                 ChatPacket(CHAT_TYPE_INFO, "Çevrimdışı pazar kurulamıyor. Dükkan açabilmek için 5 Ejderha Parasına ihtiyacınız var.");                 ChatPacket(CHAT_TYPE_INFO, "İteminizi satılmayanlar butonundan geri alınız.");                 return;             }         PointChange(POINT_COINS, -5, false);         }     }

mphlvN: Anlık Ep Sistemi, Offline Shop Uyarlama 'KEN'

Metin2 Lobby olarak sunucu geliştirme konusunda aktif olan geliştiriciler için özel sistemler geliştirmeye devam ediyoruz. Bu yazıda, mphlvN sistemine özel olarak entegre edilen Anlık Ep Sistemi ve Offline Shop uyumlu yapıya dair detayları ele alacağız. Bu sistemler, C++ tabanlı sunucu kaynak kodlarında geliştirilmiş ve Python destekli arayüzlerle entegre edilmiştir. Özellikle PvP odaklı sunucular için tasarlanmış bu sistemler, oyuncuların oyun içi deneyimini ciddi anlamda artırmaktadır.

Anlık Ep Sistemi Nedir?

Ep, yani Experience Points, oyuncuların seviye atlaması için gerekli olan temel ödüllerdir. mphlvN sistemine entegre edilen Anlık Ep Sistemi, oyuncuların öldükten sonra kazandıkları ep miktarını gerçek zamanlı olarak görebilmelerini sağlar. Bu sayede oyuncular, hangi düşmandan ne kadar ep kazandıklarını net şekilde takip edebilirler. Sistem, Game Server üzerinde çalışan bir C++ modifikasyonudur ve Auth Server ile senkronize çalışır.

Sistem Özellikleri:

- Gerçek zamanlı ep bilgisi gösterimi
- Oyuncu bazlı ep raporlama
- Sunucu loglarına entegre raporlama
- DB üzerinden otomatik kayıt

Offline Shop Sistemi ve 'KEN' Uyumlu Yapısı

Offline Shop, oyuncuların oyun dışıyken satın alma yapabildiği, envanterlerine eşya ekleyebildikleri gelişmiş bir sistemdir. 'KEN' adı verilen bu sistem, Python GUI arayüzü ile kontrol edilebilir ve Py Root dosyaları ile entegre çalışır. Bu sistem sayesinde oyuncular, sunucu kapalıyken bile satın alma işlemi gerçekleştirebilir, eşyalarını güvenli şekilde alabilirler.

Offline Shop Özellikleri:

- Oyuncu istemcisi açıkken işlem yapılabilirliği
- DB tabanlı güvenli işlem kaydı
- C++ Game Sunucu ile entegrasyon
- Otomatik eşya teslimatı

Teknik Yapı

Her iki sistem de Martysama tarzı bir geliştirme anlayışıyla hayata geçirilmiştir. Server Src üzerinde yapılan değişiklikler, game core ve db core ile uyumlu şekilde çalışmaktadır. Geliştirme sürecinde uiscript ve py gui kullanılmıştır. Sistemler, pack dosyalarıyla birlikte dağıtılabilir yapıdadır ve kolayca entegre edilebilir. Metin2 Compile işlemleri sırasında herhangi bir sorun yaşamamak için gerekli testler yapılmıştır.

Güvenlik ve Performans

Sistemler, güvenlik açıklarını minimize etmek için source edit süreçlerinden geçirilmiştir. DB bağlantısı güvenli bir şekilde sağlanmış, tüm işlemler loglanmıştır. Performans açısından optimize edilmiş bu sistemler, yüksek trafikli sunucularda dahi sorunsuz çalışabilmektedir.

Sonuç

Metin2 Lobby olarak sunduğumuz mphlvN özel sistemleri, PvP sunucularında yüksek performans ve kullanıcı memnuniyeti sunmaktadır. Anlık Ep ve Offline Shop 'KEN' gibi gelişmiş sistemler, sunucu sahiplerinin oyunculara sunduğu değerli özelliklerden sadece birkaçı. Daha fazla bilgi ve destek için Metin2Lobby sitesini ziyaret edebilirsiniz.


mphlvN: Real-Time Ep System, Offline Shop Adaptation 'KEN'

Metin2 Lobby continues developing custom systems for active developers in server development. In this article, we will examine details regarding the Real-Time Ep System integrated specifically into the mphlvN system and compatibility with the Offline Shop. These systems have been developed on C++ based server source codes and integrated with Python supported interfaces. Especially designed for PvP focused servers, these systems significantly enhance the players' in-game experience.

What Is The Real-Time Ep System?

Ep, short for Experience Points, are essential rewards for players to level up. The Real-Time Ep System integrated into the mphlvN system allows players to view their earned ep amount immediately after death. This way, players can clearly track how much ep they earn from which monster. The system is a C++ modification running on the Game Server and operates in sync with the Auth Server.

System Features:

- Real-time ep display
- Player-based ep reporting
- Integrated reporting to server logs
- Automatic recording via DB

Offline Shop System and 'KEN' Compatible Structure

The Offline Shop is an advanced system that allows players to make purchases while not in the game and add items to their inventory. Called 'KEN', this system can be controlled through a Python GUI interface and works integrated with Py Root files. Thanks to this system, players can make purchase transactions even when the server is offline and securely receive their items.

Offline Shop Features:

- Capability to perform operations while the player client is open
- Secure transaction logging via DB
- Integration with C++ Game Server
- Automatic item delivery

Technical Structure

Both systems have been developed under a development approach similar to Martysama. Changes made on Server Src operate in harmony with game core and db core. During the development process, uiscript and py gui were used. The systems come in a distributable structure alongside pack files and can be easily integrated. Tests have been conducted to ensure no issues occur during Metin2 Compile processes.

Security and Performance

To minimize security vulnerabilities, the systems have undergone source edit processes. The DB connection has been securely established and all operations logged. Optimized for performance, these systems run smoothly even on high-traffic servers.

Conclusion

As Metin2 Lobby, our mphlvN specific systems provide high performance and user satisfaction on PvP servers. Advanced systems like Real-Time Ep and Offline Shop 'KEN' are just some of the valuable features server owners offer to their players. For more information and support, visit Metin2Lobby.
 

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

Benzer konular

Geri
Üst Alt