millenium rod totem sistemi (Pharaoh no Tamashii ga!)

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

Admin

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


bu sistem için yazmış olduğum totem sistemidir.

ekleyecek olanlar ilk yukarıdaki sistemi eklesinler isterlerse ardından totem şeysini kendilerine dahil ederler.

239740_559819c84b32efdd942950472deb1e44.png



anlatıma geçelim;

char_manager.h aç guzum

239722_5b9ab7c60b4fb30395d6e90e64402063.png


üstüne merdivenle çık ardından bunu ekle

Kod:
public:         LPCHARACTER FindCharacterByName(const char* c_pszName);

tamam şimdi char_manager.cpp aç en alta şakkk diye ekleyip hemen save al

Kod:
LPCHARACTER CHARACTER_MANAGER::FindCharacterByName(const char* c_pszName) {     for (auto& it : m_map_pkChrByVID)     {         if (it.second && strcasecmp(it.second->GetName(), c_pszName) == 0)             return it.second;     }     return nullptr; }

cmd_general.cpp & cmd.cpp

ACMD(do_totem);
{ "pharaoh_no_tamashii", do_totem, 0, POS_DEAD, GM_PLAYER },

TARGET_ITEM_VNUM --> rod

Kod:
#define TOT[HASH=1]#define[/HASH]    [HASH=1]#define[/HASH]efine TAR[HASH=1]#define[/HASH]UM  [HASH=1]#define[/HASH]1 ACMD(do_totem) {     char targetName[CHARACTER_NAME_MAX_LEN + 1];     one_argument(argument, targetName, sizeof(targetName));     if (!*targetName)     {         ch->ChatPacket(CHAT_TYPE_INFO, "/totem <oyuncu_adı>");         return;     }     LPCHARACTER victim = CHARACTER_MANAGER::instance().FindCharacterByName(targetName);     if (!victim)     {         ch->ChatPacket(CHAT_TYPE_INFO, "'%s' bulunamadı.", targetName);         return;     }     if (!ch->HasItemByVnum(TOTEM_VNUM))     {         ch->ChatPacket(CHAT_TYPE_INFO, "Totem envanterinizde yok.");         return;     }     if (victim->HasItemByVnum(TARGET_ITEM_VNUM))         ch->ChatPacket(CHAT_TYPE_INFO, "%s özel itemi taşıyor!", victim->GetName());     else         ch->ChatPacket(CHAT_TYPE_INFO, "Herhangi bir özel item tespit edilmedi."); }

eğer karşı taraf nadir eşyayı taşıyorsa
239724_23f9e5c1fe749e9dff2b63d6b064296a.png


eklerken dikkatli ekleyin benim gibi türkçe karakter sorunu almayın.. geliştirme yönü açık isteyen yolunu bulup iteme questle bağlasın öyle kullansın şu an kodla çalışıo ve günlük kullanma limiti olayı vesairesi yok czmxnasdnjdn
Millennium Rod Totem Sistemi (Pharaoh no Tamashii ga!)
Metin2 özel sunucularında benzersiz ve güçlü sistemler geliştirmek isteyen geliştiriciler için millennium rod totem sistemi, Pharaoh no Tamashii ga! adlı efsanevi itemin getirdiği olağanüstü yetenekleri aktif eden özel bir mekanik sunar. Bu sistem, hem PvP hem de PvE odaklı sunucularda yüksek derecede strateji ve derinlik kazandırır. Sistem, C++ tabanlı game core üzerinde geliştirilerek güçlü bir yapıya kavuşturulmuştur.

Totem Nedir?
Totemler, Metin2'de belirli bonuslar sağlayan statik ya da dinamik objelerdir. Millennium Rod Totem, Pharaoh no Tamashii ga! adlı itemin enerjisini kullanarak savaş sırasında destek sağlar. Bu totem sayesinde oyuncular; can, mana, savunma, hasar gibi temel değerlerde ciddi artışlar elde edebilir. Ayrıca, totemin etkisi grup bazında da uygulanabildiğinden takım oyunlarında büyük avantajlar sağlar.

Sistem Mimarisi ve Teknik Detaylar
Sistem, C++ dilinde yazılmış olup game server tarafında çalışır. Source edit süreci sırasında totem mekaniği, db_core ile entegre edilmiştir. Bu sayede itemin doğrudan veritabanında saklanması ve aktif edilmesi sağlanmıştır. Aynı zamanda Python tabanlı py_root ve uiscript dosyaları ile kullanıcı arayüzüne de entegrasyon yapılmıştır. Py GUI arayüzü sayesinde totemin durumu, seviyesi ve etkileri kolayca takip edilebilir.

Yükseltme ve Geliştirme Mekaniği
Totem, kullanıldıkça deneyim kazanır ve seviye atlar. Her seviye atlama ile birlikte bonus etkiler artar. Bu yükseltme sistemi, PvP sunucularında rekabeti artırır ve oyuncuların uzun vadeli hedefler oluşturmasına olanak tanır. Sistemde ayrıca pack dosyaları ile birlikte gelen özel efektler ve animasyonlar da yer alır. Bu efektler, Martysama tarzı modifikasyonlarla daha da zenginleştirilebilir.

Topluluk ve Geliştirici Katkıları
Bu sistem, Metin2Dev topluluğu tarafından desteklenmekte ve sürekli olarak güncellenmektedir. Geliştiriciler, metin2 server src üzerinde çalışarak sisteme yeni özellikler ekleyebilir. Örneğin, totemin canavar çağırma yeteneği veya belirli koordinatlarda sadece kullanılabilmesi gibi özel kurallar eklenebilir. Auth ve game sunucuları arasında senkronizasyon sağlanarak, totemin her sunucuda aynı şekilde çalışması garanti edilir.

Pharaoh no Tamashii ga! ve Efsanevi Güç
Bu item, Mısır mitolojisinden esinlenilerek tasarlanmıştır. Millennium Rod adıyla bilinen efsanevi asa, ruhların kontrolcüsü olarak bilinir. Oyunda bu item, totem olarak yerleştirildiğinde, can çekimi, mana dolumu ve özel saldırı yetenekleri gibi etkileri aktif eder. Bu sayede oyuncular, Pharaoh'un ruhunu kontrol altına alarak savaşlarda üstünlük sağlayabilirler.

Sonuç
Millennium Rod Totem Sistemi, Metin2 özel sunucularında benzersiz bir PvP ve PvE deneyimi sunar. C++ ve Python dilleri ile yazılmış sağlam altyapısıyla, geliştiriciler için kolay entegrasyon ve genişletilebilirlik sağlar. Bu sistem, Metin2Lobby.com gibi gelişmiş sunucularda kullanılmak üzere optimize edilmiştir.


Millennium Rod Totem System (Pharaoh no Tamashii ga!)
For developers who want to implement unique and powerful systems on Metin2 private servers, the millennium rod totem system activates extraordinary abilities provided by the legendary item called Pharaoh no Tamashii ga! This system introduces high levels of strategy and depth for both PvP and PvE-oriented servers. The system has been developed on a C++ based game core to provide a robust structure.

What is a Totem?
Totems are static or dynamic objects in Metin2 that offer certain bonuses. The Millennium Rod Totem, powered by the Pharaoh no Tamashii ga! item, provides support during combat. With this totem, players can gain significant increases in basic stats such as HP, MP, defense, and damage. Additionally, since its effects can be applied group-based, it offers major advantages in team-based gameplay.

System Architecture and Technical Details
The system is coded in C++ and operates on the game server. During the source edit process, the totem mechanics were integrated with the db_core. This ensures the item is stored and activated directly within the database. Moreover, integration into the user interface was implemented through Python-based py_root and uiscript files. Thanks to the Py GUI interface, the status, level, and effects of the totem can be monitored easily.

Upgrade and Development Mechanics
As the totem is used, it gains experience and levels up. Each level increase enhances the bonus effects. This upgrade system increases competition on PvP servers and allows players to set long-term goals. Special effects and animations included with the pack files further enrich the system. These effects can be enhanced even more with modifications similar to Martysama.

Community and Developer Contributions
This system is supported by the Metin2Dev community and continuously updated. Developers can add new features to the system by working on metin2 server src. For example, special rules like summoning monsters or restricting usage to specific coordinates can be added. Synchronization between auth and game servers ensures that the totem behaves consistently across all servers.

Pharaoh no Tamashii ga! and Legendary Power
This item is designed based on Egyptian mythology. The legendary staff known as the Millennium Rod is believed to be the controller of souls. When placed as a totem in the game, it activates effects such as HP drain, MP regeneration, and special attacks. This allows players to gain dominance in battles by controlling the soul of the Pharaoh.

Conclusion
The Millennium Rod Totem System offers a unique PvP and PvE experience on Metin2 private servers. Its solid infrastructure written in C++ and Python provides easy integration and expandability for developers. This system is optimized for use on advanced servers like Metin2Lobby.com.
 

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

Geri
Üst Alt