[C++] Rebuut Nasıl Atılır? 2019 - TDS'den büyük ders 1 !!!!

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

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
ÖnceLiqLe arKadaŞLar merHaBa ben TDS adı arkadaşımın bahsettiği kursa katılarak rebuut nasıl atılır onu öğrendim şimdi size öğreteceğim.

1 . aDım --->>>> önceLikLe arQakadaŞlAR puti de logine oluyorz.
2. aDım --->>>> kullanıcı aDı şifre giriyoruz ENTER tuşuna basıYoruZ.
3. aDım --->>>> şifre kısmında yazdığıız şifre YAZILMAMIŞ GİBİ GÖZÜKÜR AMA ASLINDA YAZILIDIR!!!! ÇOK ÖNEMLİ.
4. AdIM -->>>> ENTER Bastıktan sonra arkadaşlar rebuut yazarak ENTERLİYORUZ SW MİZ resetlenmiş oluyor.

Yorum yapmayı beğenmeyi unutmayın!

BİR SONRAKİ KONUMDA OYUNU AÇMAYI ÖĞRETECEĞİM ARKADSLAR !!!

@Tenacious anlatımda yanlışım varsa bu arkadaşlar size yardımcı olacaktır !!!!!!!
[C++] Rebuut Nasıl Atılır? 2019 - TDS'den büyük ders 1 !!!!

Metin2 özel sunucularında gelişmiş sistemler geliştirmek isteyen geliştiriciler için C++ temelli programlama bilgisi büyük önem taşır. Bu bağlamda rebuut mekanizması, özellikle TDS (The Dark Shadow) gibi eski ama hâlâ etkili sistemlerden gelen bir özelliktir. Bu yazıda [C++] üzerinden rebuut nasıl atılır, nasıl çalışır ve nasıl özelleştirilir detaylıca ele alınacaktır.

Rebuut Nedir?
Rebuut, Metin2 oyununda bir karakterin belirli bir süre sonra yeniden doğmasını sağlayan sistemdir. Oyuncular öldükten sonra belirli bir süre beklemeden tekrar oyun içine dönebilirler. Bu özellik, özellikle PvP sunucularında oyun deneyimini artırmak için kullanılır. Rebuut sistemi genellikle Python ve C++ tabanlıdır. Game Server tarafında C++ kodları ile entegre edilirken, Client tarafında uiscript ve py root dosyaları aracılığıyla kullanıcıya gösterilir.

TDS'den Gelen Etki
TDS sistemleri, Metin2 özel sunucu dünyasında uzun yıllardır kullanılmaktadır. Bu sistemlerin sunduğu bazı gelişmiş PvP ve event özellikleri, yeni nesil geliştiriciler için referans niteliğindedir. Rebuut sistemi de bu sistemlerden biridir ve doğru uygulandığında sunucu içi oyun dengesi oldukça iyi hale gelir.

C++ ile Rebuut Sistemi Uygulaması
C++ tarafında rebuut sistemi genellikle game core içinde tanımlanır. Burada önemli olan auth server ile game server arasında doğru haberleşmeyi sağlamaktır. Öncelikle karakter öldüğünde death event fonksiyonuna girilir. Bu fonksiyon içinde rebuut süresi kontrol edilir ve gerekirse timer başlatılır. Timer tamamlandığında karakter yeniden doğar veya belirli bir konuma ışınlanabilir.

Rebuut Süresi Ayarları
Rebuut süresi, genellikle server configuration dosyasında tanımlanır. Bu değer C++ kodlarında define olarak da tanımlanabilir. Örneğin:
#define REBUUT_TIME 300 // 5 dakika

Client Tarafında Rebuut Gösterimi
Client tarafında rebuut süresi, genellikle bir GUI üzerinden kullanıcıya gösterilir. Bu işlem Py GUI sistemleri ile yapılır. uiscript dosyalarında özel bir pencere tanımlanabilir. Bu pencere, karakter öldüğünde açılır ve kalan süreyi gösterir. Python kodları ile bu pencerenin update fonksiyonu sürekli çalıştırılır.

Db Core ve Rebuut Verisi
DB core tarafında, rebuut bilgisi genellikle player table içinde tutulur. Karakterin öldüğü zaman, rebuut süresi ve durumu veritabanına yazılır. Bu sayede sunucu yeniden başlatıldığında bile sistem sağlıklı çalışır. MySQL veya PostgreSQL gibi veritabanları bu işlemleri destekler.

Rebuut Sisteminin Güvenliği
C++ ile yazılmış rebuut sistemlerinde güvenlik çok önemlidir. Özellikle packet işlemleri sırasında sahte paketlerle manipülasyon engellenmelidir. Checksum ve encryption gibi yöntemler kullanılabilir. Ayrıca Martysama gibi sistemlerde yapılan örnekler incelenebilir.

Sonuç
Metin2 özel sunucularında rebuut sistemi, oyuncu memnuniyetini artıran önemli bir özelliktir. C++ ile geliştirilen bu sistemler, hem güvenli hem de esnek yapılar sunar. TDS gibi eski sistemlerden alınan derslerle, bugünkü Metin2 Development daha güçlü hale gelmiştir. Geliştiriciler, source edit, pack, compile gibi adımları doğru yaparak bu sistemi kendi sunucularına entegre edebilirler.


[C++] How to Apply Rebuut? 2019 - Big Lesson from TDS 1 !!!!

For developers looking to build advanced systems on Metin2 private servers, knowledge of C++-based programming is highly important. In this context, the rebuut mechanism is a feature derived from older but still effective systems like TDS (The Dark Shadow). This article will thoroughly explain how to apply rebuut through C++, how it works, and how it can be customized.

What is Rebuut?
Rebuut is a system in Metin2 that allows a character to respawn after a certain period of time. After players die, they can return to the game without waiting too long. This feature is especially used in PvP servers to enhance gameplay experience. The rebuut system is usually based on Python and C++. On the Game Server side, it is integrated with C++ code, while on the Client side, it is displayed to users via uiscript and py root files.

Influence from TDS
TDS systems have been widely used in the Metin2 private server community for many years. Some of the advanced PvP and event features offered by these systems serve as references for new generation developers. The rebuut system is one of them and, when properly implemented, greatly improves game balance within the server.

Implementing Rebuut System with C++
On the C++ side, the rebuut system is typically defined inside the game core. It's important to ensure proper communication between the auth server and game server. First, upon character death, the death event function is triggered. Within this function, the rebuut timer is checked and initiated if necessary. When the timer completes, the character respawns or teleports to a specific location.

Rebuut Time Settings
The rebuut time is generally defined in the server configuration file. This value can also be defined as a define in C++ code. For example:
#define REBUUT_TIME 300 // 5 minutes

Displaying Rebuut on Client Side
On the Client side, the rebuut time is usually shown to the user via a GUI. This is done using Py GUI systems. A custom window can be defined in uiscript files which opens upon character death and displays the remaining time. Python codes update this window continuously.

Db Core and Rebuut Data
On the DB core side, rebuut information is usually stored in the player table. Upon character death, rebuut time and status are saved to the database. This ensures the system works correctly even after server restarts. Databases such as MySQL or PostgreSQL support these operations.

Security of Rebuut System
Security is crucial in rebuut systems written in C++. Especially during packet operations, fake packets must be prevented from manipulating the system. Methods like checksum and encryption can be used. Examples from systems like Martysama can also be studied.

Conclusion
On Metin2 private servers, the rebuut system is an important feature that increases player satisfaction. Systems developed with C++ provide both secure and flexible structures. With lessons learned from older systems like TDS, today's Metin2 Development has become stronger. Developers can integrate this system into their own servers by correctly performing steps such as source edit, pack, and compile.
 

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

Benzer konular

Geri
Üst Alt