Metin2 Işınlanma Tablosu C++/PY

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

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
Merhaba Arkadaşlar Bugün Sizlere Çoğu Server de Kullanılan Işınlanma Tablosunu Paylaşıyorum Sistemin Mantığı Yüzüğe Gerek Kalmadan Sadece f5 Tuşuyla İstediğiniz Yere ışınlanmak Sistem Daha Önce Paylaşıldı Fakat Hem Linkleri Kırık Hemde 5 Kez ücretsiz Işınlanma Hakkı Veriyordu Daha sonra Ep ile Hak alıyordunuz Falan Filan Her Neyse Fazla Uzatmadan Linklere Ve Kanıtlara Geçelim

KANIT VİDEO :

[/FONT]





LİNKLER:





Güncelleme: Ölüyken Işınlanma fix

AÇ:
Kod:
Server > game > src > cmd_general.cpp

ARAT:

Kod:
ACMD(do_isinlanmatahtasi) {     char arg1[256];     one_argument(argument, arg1, sizeof(arg1));       int map = 0;     str_to_number(map, arg1);       int iPulse = thecore_pulse();       if (iPulse - ch->GetSafeboxLoadTime() < PASSES_PER_SEC(g_nPortalLimitTime))     {         ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Bunu gerceklestirebilmek icin %d saniye beklemelisin."), g_nPortalLimitTime);         return;     }       if (iPulse - ch->GetExchangeTime() < PASSES_PER_SEC(g_nPortalLimitTime))     {         ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Bunu gerceklestirebilmek icin %d saniye beklemelisin."), g_nPortalLimitTime);         return;           }           if (map == 1)     ch->WarpSet(474300,954800,0);       if (map == 2)     ch->WarpSet(360800,877600,0);       if (map == 3)     ch->WarpSet(63800,166400,0);       if (map == 4)     ch->WarpSet(138500,234900,0);       if (map == 5)     ch->WarpSet(959800,268400,0);       if (map == 6)     ch->WarpSet(873100,242600,0);       if (map == 7)     ch->WarpSet(1151538,1529060,0);       if (map == 8)     ch->WarpSet(59800,497300,0);       if (map == 9)     ch->WarpSet(288700,5700,0);       if (map == 10)     ch->WarpSet(91700,525300,0);       if (map == 11)     ch->WarpSet(600800,687400,0);       if (map == 12)     ch->WarpSet(590500,110500,0);       if (map == 13)     ch->WarpSet(296800,547400,0);       if (map == 14)     ch->WarpSet(284400,810700,0);       if (map == 15)     ch->WarpSet(1119900,70800,0);       if (map == 16)     ch->WarpSet(336000,755600,0);       if (map == 17)     ch->WarpSet(436400,215600,0);     if (map == 18)     ch->WarpSet(829900,763300,0);     if (map == 19)     {         if (quest::CQuestManager::instance().GetEventFlag("war_area.is_busy"))         {             ch->ChatPacket(CHAT_TYPE_INFO, "Savas arenasi su anda mesgul durumda.");             return;         }         else         {             ch->WarpSet(691200,0,0);         }     } }

DEĞİŞTİR:

Kod:
ACMD(do_isinlanmatahtasi) {     char arg1[256];     one_argument(argument, arg1, sizeof(arg1));       int map = 0;     str_to_number(map, arg1);       int iPulse = thecore_pulse();       if (iPulse - ch->GetSafeboxLoadTime() < PASSES_PER_SEC(g_nPortalLimitTime))     {         ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Bunu gerceklestirebilmek icin %d saniye beklemelisin."), g_nPortalLimitTime);         return;     }       if (ch->IsDead() || ch->GetHP() <= 0 || !ch->IsPC())     {         ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Bu islemi yapamasin !"));         return;     }       if (iPulse - ch->GetExchangeTime() < PASSES_PER_SEC(g_nPortalLimitTime))     {         ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Bunu gerceklestirebilmek icin %d saniye beklemelisin."), g_nPortalLimitTime);         return;           }           if (map == 1)     ch->WarpSet(474300,954800,0);     if (map == 2)     ch->WarpSet(360800,877600,0);     if (map == 3)     ch->WarpSet(63800,166400,0);     if (map == 4)     ch->WarpSet(138500,234900,0);     if (map == 5)     ch->WarpSet(959800,268400,0);     if (map == 6)     ch->WarpSet(873100,242600,0);     if (map == 7)     ch->WarpSet(1151538,1529060,0);     if (map == 8)     ch->WarpSet(59800,497300,0);     if (map == 9)     ch->WarpSet(288700,5700,0);     if (map == 10)     ch->WarpSet(91700,525300,0);     if (map == 11)     ch->WarpSet(600800,687400,0);     if (map == 12)     ch->WarpSet(590500,110500,0);     if (map == 13)     ch->WarpSet(296800,547400,0);     if (map == 14)     ch->WarpSet(284400,810700,0);     if (map == 15)     ch->WarpSet(1119900,70800,0);     if (map == 16)     ch->WarpSet(336000,755600,0);     if (map == 17)     ch->WarpSet(436400,215600,0);     if (map == 18)     ch->WarpSet(829900,763300,0);     if (map == 19)     {         if (quest::CQuestManager::instance().GetEventFlag("war_area.is_busy"))         {             ch->ChatPacket(CHAT_TYPE_INFO, "Savas arenasi su anda mesgul durumda.");             return;         }         else         {             ch->WarpSet(691200,0,0);         }     } }






Metin2 Işınlanma Tablosu C++/PY Sistemi

Metin2 özel sunucularında ışınlanma sistemi, oyuncuların harita içinde hızlıca belirli konumlara geçiş yapabilmesi için kritik öneme sahiptir. Bu sistem, hem oyun deneyimini artırır hem de PvP odaklı sunucularda stratejik hareket kabiliyeti sağlar. Bu yazıda, Metin2 özel sunucularında kullanılan C++ ve Python tabanlı ışınlanma tablosu sistemini detaylı olarak inceleyeceğiz.

Işınlanma Sistemi Nedir?
Işınlanma sistemi, oyuncuların bir komut veya GUI üzerinden belirlenen koordinatlara anında geçiş yapmasını sağlayan yapıdır. Bu sistem genellikle bir tablo (örneğin CSV dosyası veya C++ içinde tanımlanmış yapı) üzerinde tanımlanır. Her bir konum adı, haritası ve koordinatları bu tabloya yazılır.

Python Tarafında Işınlanma Sistemi
Python tarafında ışınlanma sistemi genellikle uiscript dosyaları ve root klasöründe yer alan Python betikleri ile yönetilir. Oyuncu bir ışınlanma butonuna bastığında, ilgili Python fonksiyonu çalışır ve sunucuya bir paket gönderilir. Sunucu ise bu paketi alarak oyuncuyu belirtilen koordinatlara taşır.

C++ Tarafında Işınlanma Sistemi
Sunucu tarafında, yani game server içinde, gelen ışınlanma istekleri karşılanır. C++ kaynak kodunda bir teleport system tanımlanır. Bu sistem, oyuncunun izinli olup olmadığını kontrol eder ve ardından belirlenen koordinatlara ışınlanma işlemini gerçekleştirir.

Örnek Işınlanma Tablosu Yapısı
Bir ışınlanma tablosu genellikle şu yapıya sahiptir:

Harita Adı | X Koordinatı | Y Koordinatı | Yetki Gereksinimi

Örneğin:

map_a | 1000 | 2000 | 0
map_b | 1500 | 2500 | 1

Otomatik Işınlanma Listesi
Bazı sunucular, otomatik ışınlanma listeleri ile oyunculara kolaylık sağlar. Bu liste, GUI üzerinden açılır ve oyuncu seçtiği konuma anında ışınlanabilir. Bu sistem genellikle Python GUI ile geliştirilir ve Martysama gibi geliştirici tarafından sağlanan şablonlar kullanılır.

Paketleme ve Dağıtım
Bu tür sistemler, bir pack dosyası halinde dağıtılır. Pack dosyası, hem C++ kodlarını hem de Python betiklerini içerir. Kullanıcılar bu paketi kendi özel sunucularına entegre ederek hızlıca ışınlanma sistemini aktif edebilirler.

Metin2 Lobby
Metin2Lobby, Metin2 özel sunucu geliştiricileri için C++ ve Python kaynak kodları, sistemler ve destek sağlar. Sitemizde bulunan ışınlanma sistemleri gibi kaynaklar, geliştiricilerin projelerini hızla hayata geçirmesine yardımcı olur.

Sonuç
Metin2 özel sunucularında ışınlanma sistemi, kullanıcı deneyimini ciddi anlamda etkileyen önemli bir özelliktir. C++ ve Python tabanlı geliştirilen bu sistemler, doğru yapılandırıldığında hem güvenli hem de esnek bir şekilde kullanılabilir. Geliştiriciler için kaynak kodlar, örnek tablolar ve GUI sistemler, Metin2 Lobby gibi platformlarda kolayca erişilebilir durumdadır.


Metin2 Teleport Table System C++/PY

In Metin2 private servers, the teleport system is crucial for allowing players to quickly travel between specific locations on the map. This system enhances gameplay and provides strategic movement capabilities in PvP-oriented servers. In this article, we will examine the C++ and Python-based teleport table system used in Metin2 private servers in detail.

What is a Teleport System?
The teleport system allows players to instantly move to predefined coordinates via a command or GUI. The system is usually defined in a table (e.g., a CSV file or a structure defined in C++). Each location name, map, and its coordinates are written into this table.

Teleport System in Python
On the Python side, the teleport system is typically managed through uiscript files and Python scripts located in the root folder. When a player clicks a teleport button, the corresponding Python function executes and sends a packet to the server. The server then receives this packet and moves the player to the specified coordinates.

Teleport System in C++
On the server side, inside the game server, incoming teleport requests are handled. In the C++ source code, a teleport system is defined. This system checks whether the player has permission and then performs the teleportation to the designated coordinates.

Sample Teleport Table Structure
A teleport table generally follows this structure:

Map Name | X Coordinate | Y Coordinate | Permission Required

Example:

map_a | 1000 | 2000 | 0
map_b | 1500 | 2500 | 1

Automatic Teleport List
Some servers provide easy access to teleportation through automatic teleport lists. This list opens via GUI and allows the player to instantly teleport to selected locations. This system is usually developed with Python GUI and templates provided by developers like Martysama.

Packaging and Distribution
Such systems are distributed in the form of a pack file. The pack file includes both C++ codes and Python scripts. Users can integrate this package into their own private servers to quickly activate the teleport system.

Metin2 Lobby
Metin2Lobby provides C++ and Python source codes, systems, and support for Metin2 private server developers. Resources such as teleport systems found on our site assist developers in bringing their projects to life more quickly.

Conclusion
In Metin2 private servers, the teleport system is a key feature significantly affecting user experience. C++ and Python-based systems can be used securely and flexibly when properly configured. Source codes, sample tables, and GUI systems are easily accessible on platforms like Metin2 Lobby for developers.
 

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

Benzer konular

Geri
Üst Alt