[C++ / Quest] Işınlanma Sihirbazı

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

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
224980_5331b3dab25bb873b9db4aed3b74aa7c.png


Sistemin yapımcısı AslanSystems'dir.

Işınlanma koordinatları quest tabanlı yapılmış. Bu tarz panellerde source taraflı kullanmak her zaman daha doğru olacaktır.

Guisi hoşuma gittiği için paylaşıyorum.




Metin2 Lobby - C++ / Quest Işınlanma Sihirbazı Sistemi


Işınlanma Sihirbazı Nedir?
Metin2 özel sunucularında oyun deneyimini zenginleştirmek amacıyla birçok sistem geliştirilmektedir. Bu sistemlerden birisi olan Işınlanma Sihirbazı, oyuncuların belirli haritalara veya koordinatlara hızlıca ışınlanabilmesini sağlar. Bu sistem genellikle C++ tabanlı sunucu kaynak kodları ile entegre edilir ve quest sistem üzerinden aktif edilir. Özellikle PvP sunucularında zaman kazandıran bu sistem, oyuncuların diledikleri alanlara kolayca ulaşmalarını sağlar.

Sistem Özellikleri
Işınlanma Sihirbazı sistemi, aşağıdaki temel özelliklere sahiptir:
- Oyuncular belirli NPC'ler aracılığıyla ışınlanma seçeneklerine erişebilir.
- Harita bazlı ışınlanma desteklenir.
- Belirli seviye, altın veya item gereksinimi eklenebilir.
- Quest dosyası üzerinden özelleştirilebilir.
- Sunucu tarafında C++ ile geliştirilmiş güvenlik önlemleri mevcuttur.

C++ Tarafında Geliştirme
Sunucu tarafında, game/core dosyalarında ışınlanma komutlarını işlemek için özel fonksiyonlar tanımlanmalıdır. Bu fonksiyonlar, oyuncunun konumunu güvenli bir şekilde belirlenen koordinata taşıyacak şekilde ayarlanır. Ayrıca, ışınlanma sırasında teleport cooldown gibi zaman sınırlamaları da C++ seviyesinde tanımlanabilir.

Quest Tarafında Yapılandırma
Quest dosyasında, NPC menüsüne özel bir komut eklenerek oyuncu ışınlanma seçeneğini görebilir. Örneğin, 'Işınlanma Sihirbazı' adlı bir NPC ile şu şekilde bir menü oluşturulabilir:
say( 'Işınlanmak istediğiniz bölgeyi seçiniz:' );
local sayi = select( 'Gökyüzü Tapınağı', 'Kutulu Labirent', 'Kaşif Vadisi', 'Çıkış' )


Her seçim için ayrı bir warp_to komutu tanımlanabilir. Bu komutlar, oyuncuyu belirtilen haritaya yönlendirir. Seçilen haritaya geçmeden önce gerekli kontroller (seviye, item vs.) yapılabilir.

Python Tarafında GUI Entegrasyonu
Eğer sunucu tarafında PyGUI kullanılıyorsa, ışınlanma sistemi için özel bir arayüz de tasarlanabilir. Bu arayüz, kullanıcı dostu bir panel sunarak ışınlanma seçeneklerini daha şık bir şekilde sunabilir. UIScript dosyaları ile birlikte geliştirilen bu arayüzler, py root dizininde saklanır ve client tarafında çalıştırılır.

Güvenlik ve Performans
Oyun içi hileleri önlemek için ışınlanma sistemi, core seviyesinde güvenlik kontrolleriyle desteklenmelidir. Her ışınlanma işlemi loglanmalı ve şüpheli hareketler tespit edilmelidir. Ayrıca, sistemin sunucu üzerindeki yükünü azaltmak için sadece gerekli haritalar için ışınlanma izni verilmelidir.

Sonuç
Işınlanma Sihirbazı sistemi, Metin2 özel sunucularında oyuncu memnuniyetini artırmak için güçlü bir araçtır. C++, quest ve Python tabanlı yapılarla kolayca entegre edilebilir. Metin2Lobby.com olarak, bu tür sistemleri geliştirmek ve toplulukla paylaşmak bizim önceliğimizdir. Sistem hakkında sorularınız veya önerileriniz için forumumuza bekleriz!


Metin2 Lobby - C++ / Quest Teleport Wizard System


What is the Teleport Wizard?
In Metin2 private servers, many systems are developed to enhance the gameplay experience. One such system is the Teleport Wizard, which allows players to quickly teleport to specific maps or coordinates. This system is typically integrated with C++ based server source codes and activated via the quest system. Especially on PvP servers, this system saves time by allowing players to easily reach desired areas.

System Features
The Teleport Wizard system has the following key features:
- Players can access teleport options through specific NPCs.
- Map-based teleportation is supported.
- Level, gold, or item requirements can be added.
- Customizable via quest files.
- Security measures implemented at the C++ level on the server side.

Development on the C++ Side
On the server side, custom functions must be defined within game/core files to handle teleport commands. These functions will safely move the player's location to predefined coordinates. Additionally, time restrictions like teleport cooldown can be set at the C++ level.

Configuration in Quest Files
Within the quest file, a special command can be added to the NPC menu so that the player can see the teleport option. For example, with an NPC named 'Teleport Wizard', a menu like the following can be created:
say( 'Select the area you wish to teleport to:' );
local sayi = select( 'Sky Temple', 'Boxed Labyrinth', 'Explorer Valley', 'Exit' )


Each selection can have its own warp_to command defined. These commands will redirect the player to the specified map. Before moving to the selected map, necessary checks (level, items, etc.) can be performed.

GUI Integration on the Python Side
If PyGUI is used on the server side, a custom interface can also be designed for the teleport system. This interface can present teleport options in a more elegant way. Together with UIScript files, these interfaces are stored in the py root directory and run on the client side.

Security and Performance
To prevent cheating within the game, the teleport system should be supported by security checks implemented at the core level. Every teleport action should be logged and suspicious activities detected. Moreover, to reduce the load on the server, teleport permissions should only be granted for necessary maps.

Conclusion
The Teleport Wizard system is a powerful tool for increasing player satisfaction in Metin2 private servers. It can be easily integrated using C++, quest, and Python based structures. At Metin2Lobby.com, developing and sharing such systems with the community is our priority. Feel free to visit our forums if you have any questions or suggestions about the system!
 

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

Benzer konular

Geri
Üst Alt