Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
kategorisinde paylaşılan bir çok fileste mevcut, filesinde olmayanlar için paylaşmak istedim.
InstanceBaseBattle.cpp arayın:
Kod:
BOOL CInstanceBase::CheckAdvancing() {
Altına ekleyin:
Kod:
if (IsPC() && IsGameMaster() && IsWalking()) return false;
PythonBackground.cpp arayın:
Kod:
bool CPythonBackground::CheckAdvancing(CInstanceBase * pInstance) {
Altına ekleyin:
Kod:
if (pInstance->IsPC() && pInstance->IsGameMaster() && pInstance->IsWalking()) return false;
Yöneticiye Özel Her Yerden Geçebilme Sistemi
Metin2 özel sunucularında geliştirilen sistemlerden biri olan Yöneticiye Özel Her Yerden Geçebilme sistemi, oyun içindeki hareket özgürlüğünü büyük ölçüde artırır. Bu sistem sayesinde yönetici yetkisine sahip oyuncular, harita sınırlarını veya engelleri aşarak her yere erişebilir. Bu özellik genellikle sunucu testleri, hata ayıklama işlemleri ya da oyun içi gözetim amacıyla kullanılır.
Sistemin Amacı ve Kullanımı
Bu sistem özellikle Metin2 server src üzerinde çalışan geliştiriciler tarafından tercih edilir. Sunucu üzerinde test yaparken bazı bölgelere erişim zor olabilir; bu gibi durumlarda yöneticinin engelsiz hareket edebilmesi, hem zaman tasarrufu sağlar hem de daha verimli test süreçleri oluşturur. Bu sistem aynı zamanda yetkisiz alanlara erişimi engellemek için de kullanılabilir, çünkü sadece belirli kullanıcı grupları bu yetkiye sahip olur.
Teknik Uygulama ve Geliştirme
Bu özelliği uygulamak için genellikle C++ system ve client src üzerinde değişiklikler yapılır. Özellikle game core ve db core üzerinde yapılan yapılandırmalarla, yetkilendirme kontrolü sağlanır. Sistemde, oyuncunun yetkisi kontrol edildikten sonra engelleme mekanizmasının devre dışı bırakılması gerekir. Bu işlem, genellikle source edit yoluyla yapılır.
Yetkilendirme ve Güvenlik
Bu tür sistemlerin doğru çalışabilmesi için güçlü bir yetkilendirme yapısı gereklidir. Oyuncu yetkileri veritabanında saklanmalı ve her erişim denetiminde bu bilgiler kontrol edilmelidir. DB üzerinde kullanıcıların yetki seviyesi belirlenmeli ve bu seviyeye göre geçiş izni verilmelidir. Ayrıca bu özellik滥用 edilemeyeceği şekilde güvenliği sağlanmalıdır. Aksi takdirde, yetkisiz kullanıcıların bu sistemi kullanması sunucu güvenliğini tehdit edebilir.
Olası Riskler ve Dikkat Edilmesi Gerekenler
Her yerden geçebilme özelliği, test süreci için faydalı olsa da kötüye kullanım potansiyeline de sahiptir. Geliştiricilerin bu sistemi yalnızca güvenilir yetkililer için aktif tutması önemlidir. Aynı zamanda, bu sistemin loglanması da önerilir. Her geçiş eylemi kayıt altına alınarak, istenmeyen girişler tespit edilebilir. Bu bağlamda game server programming süreçlerinde loglama modüllerinin entegrasyonu da düşünülmelidir.
Sonuç
Yöneticiye Özel Her Yerden Geçebilme sistemi, Metin2 özel sunucularında sunucu yönetimini kolaylaştıran ve test süreçlerini hızlandıran önemli bir özelliktir. Ancak bu sistemin güvenli ve kontrollü bir şekilde kullanılması, sunucu bütünlüğü açısından kritik öneme sahiptir. Doğru uygulandığında, Metin2 development sürecinde büyük kolaylıklar sağlar.
Admin Exclusive Pass-Through System
One of the systems developed in Metin2 private servers is the Admin Exclusive Pass-Through system, which greatly increases mobility within the game. With this system, players with admin privileges can access any area by bypassing map boundaries or obstacles. This feature is commonly used for server testing, debugging, or in-game supervision purposes.
Purpose and Usage of the System
This system is especially preferred by developers working on Metin2 server src. During testing on the server, accessing certain areas may be difficult; in such cases, allowing administrators to move freely saves time and creates more efficient testing processes. Additionally, this system can also be used to prevent unauthorized access to restricted areas, since only specific user groups have this authority.
Technical Implementation and Development
To implement this feature, modifications are typically made to C++ system and client src. Configurations made on game core and db core ensure authorization checks. In the system, after verifying the player's privileges, the blocking mechanism must be disabled. This process is usually done through source edit.
Authorization and Security
For such systems to function properly, a robust authorization structure is required. Player permissions should be stored in the database and checked at each access attempt. The user’s privilege level must be determined in the DB, and passage permission should be granted accordingly. Furthermore, security must be ensured so that this feature cannot be misused. Otherwise, unauthorized users exploiting this system could threaten server security.
Potential Risks and Precautions
Although the pass-through feature is useful during testing, it also has potential for misuse. Developers must ensure that this system is active only for trusted administrators. Moreover, logging this system is recommended. Every access event can be recorded, allowing detection of unwanted entries. Therefore, integrating logging modules into game server programming processes should also be considered.
Conclusion
The Admin Exclusive Pass-Through system is a significant feature in Metin2 private servers that simplifies server management and speeds up testing processes. However, its secure and controlled usage is critical for maintaining server integrity. When implemented correctly, it provides great convenience during Metin2 development.
