Daha önce açıldıysa kapatılabilir
8027 mobuna entegreli. Kodlar da değişiklik yaparsınız.
Arkadaşa denettirdim, ekleyip ekstra kanıt atarsanız konuya ekleme yapılır.
Kod:
#define ENABLE_FAKE_STONE // Sahte metin taşı
Kod:
// Arat ResetStopTime(); // Ekle #ifdef ENAB[HASH=2]#ifdef[/HASH]E_[HASH=2]#ifdef[/HASH] m_bFakeStoneCounter = 0; #endif // [HASH=3]#endif[/HASH] [HASH=3]#endif[/HASH] CHARACTER::IsRiding() const { return IsHorseRiding() || GetMountVnum(); } // Üstüne Ekle #ifdef ENABLE[HASH=2]#ifdef[/HASH]ST[HASH=2]#ifdef[/HASH] void CHARACTER::ResetFakeStoneCounter() { m_bFakeStoneCounter = 0; } BYTE CHARACTER::IncreaseFakeStoneCounter() { return ++m_bFakeStoneCounter; } BYTE CHARACTER::GetFakeStoneCounter() const { return m_bFakeStoneCounter; } #endif
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
er
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
char.h:Server/game/char_battle.cpp: kodları aşağıdaki bağlantı da yazmakta
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
Geliştirmeye Açık Bot Metin Sistemi
Metin2 Lobby olarak sunucu geliştiricileri için en gelişmiş sistemlere odaklanıyoruz. Bu yazıda, Metin2 özel sunucularında kullanılabilecek geliştirmeye açık bot sistemlerini inceleyeceğiz. Bu sistemler sayesinde hem oyun içi deneyimi artırabilir hem de sunucularınızda daha fazla etkileşim sağlayabilirsiniz.
Bot Nedir ve Ne İşe Yarar?
Botlar, oyuncuların doğrudan etkileşime girmeden belirli görevleri yerine getiren yazılımlardır. Metin2 özel sunucularında botlar, oyun içi görevleri otomatikleştirmek, PvP sistemlerini test etmek veya özel etkinlikler düzenlemek için kullanılabilir. Geliştirmeye açık bir bot sistemi sayesinde, C++ ya da Python tabanlı yapılarla kolayca entegrasyon yapabilirsiniz.
Sistem Mimarisine Genel Bakış[/BR]
Bir bot metin sistemi, genellikle auth server, game server ve database katmanlarından oluşur. Bu katmanlarla uyumlu çalışan bot sistemleri, Py Root ve UI Script gibi yapılar üzerinden entegre edilebilir. Geliştiriciler, Martysama[/BR] gibi modül ve kütüphaneleri kullanarak kendi botlarını kolayca yazabilirler.
Python GUI ile Bot Arayüzü
Python tabanlı bot sistemlerinde, Py GUI veya Tkinter gibi arayüz kütüphaneleri sayesinde kullanıcı dostu kontrol panelleri oluşturulabilir. Bu sayede botların durumu izlenebilir, başlatılabilir veya durdurulabilir. Bu tür arayüzler, Metin2 Development süreçlerini hızlandırır.
PvP Sistemleri İçin Bot Kullanımı
Metin2 özel sunucularında PvP sistemlerinin test edilmesi için botlar büyük avantaj sağlar. Geliştirmeye açık bot sistemleri sayesinde, savaş algoritmaları, AI mantığı ve karakter davranışları test edilebilir. Geliştiriciler, Game Core üzerinde değişiklik yaparak botların PvP stratejilerini geliştirebilir.
Kaynak Kod Tabanlı Geliştirme
Bir bot sistemi için en önemli unsurlardan biri, açık kaynak kod yapısıdır. C++ Server Src veya Client Src[/BR] gibi kaynaklar üzerinden geliştirme yapmak, bot sistemlerinin daha verimli çalışmasını sağlar. Geliştiriciler, Core dosyalarında değişiklik yaparak sistemi kendi ihtiyaçlarına göre özelleştirebilir.
Veritabanı Entegrasyonu ve DB Core
Bot sistemlerinin verilerini tutmak için DB Core kullanılır. Bu yapı, botların kullanıcı profilleri, ekipmanlar ve PvP istatistikleri gibi bilgileri güvenli şekilde saklamasını sağlar. Geliştiriciler, Database üzerindeki bu yapıları kullanarak, botların gerçek oyuncular gibi davranmasını sağlayabilir.
Sunucu Paketleme ve Paylaşım
Geliştirilen bot sistemleri, Pack formatında paketlenerek diğer geliştiricilere veya topluluklara dağıtılabilmektedir. Bu sayede, Metin2Dev topluluğu daha hızlı büyümekte ve sistemler daha yaygınlaşmaktadır.
Sonuç
Metin2 Lobby olarak, geliştiricilere açık ve genişletilebilir bot sistemleri oluşturmayı hedefliyoruz. Bu tür sistemler, hem teknik becerilerin geliştirilmesi hem de oyun deneyiminin artırılması açısından büyük önem taşır. Metin2 Compile, Source Edit ve benzeri işlemlerle bot sistemleri kolayca entegre edilebilir.
Open Development Bot Metin System
Metin2 Lobby focuses on the most advanced systems for server developers. In this article, we will examine open development bot systems that can be used in Metin2 private servers. These systems allow you to enhance the in-game experience and increase interaction on your servers.
What is a Bot and What Does It Do?
Bots are software that perform specific tasks without direct player interaction. In Metin2 private servers, bots can be used to automate in-game tasks, test PvP systems, or organize special events. An open development bot system allows easy integration with structures based on C++ or Python.
Overview of System Architecture
A bot metin system typically consists of auth server, game server, and database layers. Bot systems compatible with these layers can be integrated via structures such as Py Root and UI Script. Developers can easily write their own bots using modules and libraries like Martysama.
Bot Interface with Python GUI
In Python-based bot systems, user-friendly control panels can be created using interface libraries such as Py GUI or Tkinter. This allows monitoring, starting, or stopping bots. Such interfaces accelerate Metin2 Development processes.
Using Bots for PvP Systems
In Metin2 private servers, bots provide significant advantages for testing PvP systems. Open development bot systems allow testing of combat algorithms, AI logic, and character behaviors. Developers can improve bot PvP strategies by modifying the Game Core.
Source Code Based Development
One of the most important elements for a bot system is an open-source code structure. Developing through sources such as C++ Server Src or Client Src ensures more efficient operation of bot systems. Developers can customize the system according to their needs by making changes in Core files.
Database Integration and DB Core
DB Core is used to store bot system data. This structure securely stores information such as user profiles, equipment, and PvP statistics of bots. Developers can make bots behave like real players using these structures on the Database.
Server Packaging and Sharing
Developed bot systems can be distributed to other developers or communities by packaging them in Pack format. This helps the Metin2Dev community grow faster and spread systems more widely.
Conclusion
As Metin2 Lobby, we aim to create open and extensible bot systems for developers. Such systems are crucial for enhancing technical skills and improving the gaming experience. Bot systems can be easily integrated with operations like Metin2 Compile and Source Edit.
