Bir kaç kez denk geldim birisi cubede taşları vs aktarmış birisi efsunları aktarmış ama kimse bu ikisini birleştirip paylaşmamış,
ikisini birleştiremeyenler olabileceğini düşünüp bütün halini paylaşıyorum , eğer iki ayrı yerden alıp kullanmak isterseniz çakışıp sorun çıkartabiliyor.
Kanıt İsteyenlere:
ikisini birleştiremeyenler olabileceğini düşünüp bütün halini paylaşıyorum , eğer iki ayrı yerden alıp kullanmak isterseniz çakışıp sorun çıkartabiliyor.
Kanıt İsteyenlere:
Kod:
### Cube.cpp //Ara : this->gold = 0; //Altına Ekle : #ifdef ENABLE_CUBE_RENEWAL this->allowCopyAttr = false; this->allowCopySocket = false; #endif //Ara: else TOKEN("gold") { cube_data->gold = value1; } //Altına Ekle : #ifdef ENABLE_CUBE_RENEWAL else TOKEN("allow_copy") { cube_data->allowCopyAttr = (value1 == 1 ? true : false); } else TOKEN("allow_copy_socket") { cube_data->allowCopySocket = (value1 == 1 ? true : false); } #endif //Ara in : bool Cube_make (LPCHARACTER ch) LPITEM new_item; //Altına Ekle : #ifdef ENABLE_CUBE_RENEWAL DWORD copyAttr[ITEM_ATTRIBUTE_MAX_NUM][2]; DWORD copyAttr[ITEM_SOCKET_MAX_NUM][1]; #endif //Ara : CUBE_VALUE *reward_value = cube_proto->reward_value(); //Altına Ekle: #ifdef ENABLE_CUBE_RENEWAL for (int i=0; i<CUBE_MAX_NUM; ++i) { if (NULL==items[i]) continue; if (items[i]->GetType() == ITEM_WEAPON || items[i]->GetType() == ITEM_ARMOR) { bool hasElement = false; for (int j = 0; j < cube_proto->item.size(); ++j) { if(cube_proto->item[j].vnum == items[i]->GetVnum()) { hasElement = true; break; } } if(hasElement == false) continue; for (int a = 0; a < ITEM_ATTRIBUTE_MAX_NUM; a++) { copyAttr[a][0] = items[i]->GetAttributeType(a); copyAttr[a][1] = items[i]->GetAttributeValue(a); } break; } continue; } for (int i=0; i<CUBE_MAX_NUM; ++i) { if (NULL==items[i]) continue; if (items[i]->GetType() == ITEM_WEAPON || items[i]->GetType() == ITEM_ARMOR) { bool hasElement = false; for (int j = 0; j < cube_proto->item.size(); ++j) { if(cube_proto->item[j].vnum == items[i]->GetVnum()) { hasElement = true; break; } } if(hasElement == false) continue; for (int a = 0; a < ITEM_SOCKET_MAX_NUM; a++) { copySocket[a][0] = items[i]->GetSocket(a); } break; } continue; } #endif //Ara: new_item = ch->AutoGiveItem(reward_value->vnum, reward_value->count); //Altına Ekle: #ifdef ENABLE_CUBE_RENEWAL if (cube_proto->allowCopyAttr == true && copyAttr != NULL) { new_item->ClearAttribute(); for (int a = 0; a < ITEM_ATTRIBUTE_MAX_NUM; a++) { new_item->SetForceAttribute(a, copyAttr[a][0], copyAttr[a][1]); } } if (cube_proto->allowCopySocket == true && copySocket != NULL) { for (int a = 0; a < ITEM_SOCKET_MAX_NUM; a++) { new_item->SetSocket(a, copySocket[a][0]); } } #endif ###cube.h //Ara in : struct CUBE_DATA int percent; unsigned int gold; //Altına Ekle : #ifdef ENABLE_CUBE_RENEWAL bool allowCopyAttr; bool allowCopySocket; #endif ###service.h //Ekle: #define ENABLE_CUBE_RENEWAL //cube.txt örneği section npc 20016 item 189 2 item 25040 5 item 70031 3 item 80007 10 reward 260 1 gold 10000000 allow_copy 1 allow_copy_socket 1 percent 100 end
Cubede Ne Var? Efsunlar, Süreler ve Cevherler Hakkında Her Şey
Metin2 Lobby olarak, Cubenin Metin2 özel sunucuları için ne kadar önemli bir sistem olduğunu biliyoruz. Cube, oyuncuların eşyalarını güçlendirmelerine olanak tanıyan temel gelişmiş sistemlerden biridir. Bu yazıda Cube sisteminde yer alan Efsunlar, Süreler ve Cevherler hakkında detaylı bilgi vereceğiz.
Cube Nedir?
Cube, Metin2 oyununda eşyaların geliştirilmesi için kullanılan bir sistemdir. Özellikle PVP odaklı sunucularda oyuncuların güçlü silahlar, zırhlar ve aksesuarlar elde etmek için başvurdukları temel mekaniklerden biridir. Cube sistemi sayesinde oyuncular eşyalarına belirli malzemeler ve cevherler kullanarak efsunlar kazandırabilirler.
Efsunlar (Enchantments)
Efsunlar, eşyaya eklenen bonus özelliktir. Bu özellikler saldırı, savunma, can, mana gibi istatistikleri artırabilir. Efsunlar genellikle belirli seviyelere göre değişir ve her seviye artışı eşyanın gücünü doğrudan etkiler. Örneğin, bir silaha +10攻击力 (Atak Gücü) efsunu eklemek, silahın hasarını doğrudan artırır.
Efsunlar genellikle aşağıdaki gibi kategorilere ayrılır:
- Atak efsunları (örneğin: +攻击力, +HP Bonusu)
- Savunma efsunları (örneğin: +Defans, +MP Azaltma)
- Özel efsunlar (örneğin: +Doğum Hasarı, +Can Yenileme)
Süre Sistemleri (Time-based Enchantments)
Metin2 özel sunucularında bazı efsunlar belirli bir süre için geçerlidir. Bu tür efsunlara 'temporal enchantments' denir. Oyuncu bu süreyi doldurana kadar efsun aktif kalır. Bu sistem, oyuncuların kısa süreli savaşlar veya turnuvalar için güçlü eşyalar kullanmalarına izin verir.
Bu sistem, Metin2 Lobby üzerinde sunulan C++ tabanlı sunucu sistemleriyle kolayca entegre edilebilir. Geliştiriciler, bu tür sistemleri py root dosyaları aracılığıyla özelleştirebilir ve sunucuya dahil edebilirler.
Cevherler (Gems)
Cevherler, Cube sisteminde efsunlanacak eşyalar için gerekli olan temel malzemelerdir. Farklı tiplerde cevherler bulunur ve her biri farklı işlevler için kullanılır. Örneğin,攻击力 cevheri saldırı efsunları için, 防御力 cevheri ise savunma efsunları için kullanılır.
Cevherler genellikle düşmanlardan, görevlerden veya trade yoluyla elde edilir. Cube sisteminde yüksek seviye efsunlar için daha değerli cevherler gerekebilir. Bu nedenle oyuncular, Cube sistemini etkin şekilde kullanabilmek için stratejik bir şekilde cevher toplamalıdır.
Cube Sisteminin Sunucu Tarafında Uygulanması
Cube sistemi, Metin2 özel sunucularında genellikle game server üzerinde C++ dilinde yazılmış modüller aracılığıyla çalıştırılır. Bu sistemler, DB Core ile entegre çalışarak oyuncu envanteri, efsun seviyesi ve eşya verilerini yönetir.
Py GUI tabanlı sistemler sayesinde geliştiriciler, Cube arayüzlerini özelleştirebilir ve oyuncuların daha kullanıcı dostu bir deneyim yaşamasını sağlayabilirler. Bu tür gelişmiş yapılar, Martysama gibi kaynaklarla birlikte Metin2 Development topluluğu tarafından sıklıkla kullanılır.
Sonuç
Cube, Metin2 özel sunucularında güçlü ve stratejik bir sistemdir. Efsunlar, süre sistemleri ve cevherler bu sistemin temel taşlarıdır. Cube sistemi, hem oyuncuların hem de geliştiricilerin oyun deneyimini zenginleştiren bir yapıdır. Cube ile eşyalarınızı yükseltmek, sadece PVP değil aynı zamanda PVE içeriklerinde de avantaj sağlar.
Metin2 Lobby olarak, Cube sistemleriyle ilgili gelişmiş kaynak kodlar ve derleme süreçleri hakkında daha fazla bilgi almak için sitemizi ziyaret edebilirsiniz.
What's in Cube? Everything About Enchantments, Durations, and Gems
At Metin2 Lobby, we know how important the Cube system is for Metin2 private servers. Cube is one of the main advanced mechanics that allows players to enhance their items. In this article, we will provide detailed information about Enchantments, Durations, and Gems within the Cube system.
What is Cube?
Cube is a system used in Metin2 for enhancing items. Particularly on PVP-oriented servers, Cube serves as a primary mechanism for players to obtain powerful weapons, armor, and accessories. With the Cube system, players can add enchantments to their items using specific materials and gems.
Enchantments
Enchantments are bonuses added to items. These bonuses can increase stats such as attack, defense, HP, MP, etc. Enchantments typically vary by level, and each level increase directly affects the item's power. For instance, adding a +10攻击力 (Attack Power) enchantment to a weapon increases its damage output directly.
Enchantments are generally categorized as follows:
- Attack enchantments (e.g., +攻击力, +HP Bonus)
- Defense enchantments (e.g., +Defense, +MP Reduction)
- Special enchantments (e.g., +Birth Damage, +HP Regeneration)
Duration Systems (Time-based Enchantments)
On some Metin2 private servers, certain enchantments are temporary and only last for a set duration. These are known as 'temporal enchantments'. The player benefits from the enchantment until the timer expires. This system allows players to use powerful gear temporarily during battles or tournaments.
This system can be easily integrated into C++ based server systems offered on Metin2 Lobby. Developers can customize these types of systems via py root files and incorporate them into the server.
Gems
Gems are the basic materials required in the Cube system for enchanting items. Different types of gems exist, each serving different functions. For example,攻击力 gems are used for attack enchantments, while 防御力 gems are used for defense enchantments.
Gems are usually obtained from monsters, quests, or trading. Higher-level enchantments may require more valuable gems. Therefore, players must strategically collect gems to effectively utilize the Cube system.
Implementing Cube System on Server Side
The Cube system on Metin2 private servers typically operates through modules written in C++. These modules work in conjunction with DB Core to manage player inventories, enchantment levels, and item data.
With Py GUI-based systems, developers can customize Cube interfaces to create a more user-friendly experience for players. Such advanced structures are commonly used by the Metin2 Development community alongside sources like Martysama.
Conclusion
Cube is a powerful and strategic system in Metin2 private servers. Enchantments, durations, and gems are the fundamental components of this system. It enriches the gaming experience for both players and developers. Upgrading your items with Cube provides advantages not only in PVP but also in PVE content.
At Metin2 Lobby, you can visit our site to learn more about advanced source codes and compilation processes related to Cube systems.
