Merhabalar arkadaşlar,
ZibaGames olarak, Ikarus OfflineShop V2 sürümünde tespit edilen pazarların iç içe açılabilmesi sorununu giderdik. Yeni güncelleme ile birlikte pazarlar arasında mesafe kontrolü eklenmiştir ve bu sayede sorun tamamen çözülmüştür.
Sorunsuz bir şekilde kullanabilirsiniz.
Güle güle kullanın!
Saygılar,
K Envanter Sistemi Nedir ve Metin2'de Nasıl Uygulanır?
Metin2 özel sunucularında gelişmiş sistemlerden biri olan K Envanter Sistemi, oyuncuların envanter alanını optimize ederek daha verimli kullanım sunar. Bu sistem sayesinde oyuncular, envanterlerindeki eşyaları daha kolay organize edebilir ve ihtiyaç duyduklarında hızlıca erişebilirler.
K Envanter Sistemi Nedir?
K Envanter Sistemi, Metin2 özel sunucu geliştiricilerinin C++ tabanlı sistemlerle entegre çalışarak geliştirilmiş bir özelliktir. Bu sistem, oyuncuların envanterlerinde sınırlı olan slot sayısını artırır veya farklı envanter kategorileri arasında geçiş yapmalarını sağlar. Bu sayede oyuncular, envanterlerini daha iyi organize edebilir ve PvP savaşları sırasında gerekli eşyaları daha hızlı bulabilirler.
Sistem Nasıl Çalışır?
K Envanter Sistemi genellikle Python ve C++ tabanlı yapılarla geliştirilir. Metin2 client tarafında UI Script dosyaları (.py) ile arayüz oluşturulurken, game server tarafında C++ kaynak kodlar ile envanter işlemleri desteklenir. Bu sistem genellikle 'pack' olarak adlandırılan modülasyonlarla birlikte dağıtılır ve sunucuya entegre edilir.
Bu sistem özellikle PvP sunucularında büyük önem taşır çünkü oyuncuların savaş sırasında doğru eşyayı hızlıca kullanabilmesi, mağlubiyet ya da zafer arasındaki farkı belirleyebilir.
Kurulum ve Entegrasyon
K Envanter Sistemi kurulumu, Metin2 özel sunucuları üzerinde manuel olarak yapılabileceği gibi, önceden hazırlanmış kaynak kodlarla da entegre edilebilir. Kurulum sırasında genellikle auth server, game server ve client arasında koordinasyon sağlanmalıdır. Bu süreçte Metin2Lobby gibi platformlardan elde edilen kaynaklar oldukça faydalı olabilir.
Avantajları
Sonuç
K Envanter Sistemi, Metin2 özel sunucularında gelişmiş kullanıcı deneyimi sunmayı hedefleyen geliştiriciler için önemli bir özelliktir. Doğru şekilde entegre edildiğinde, hem oyuncular hem de sunucu yöneticileri açısından birçok avantaj sağlar.
What is the K Inventory System and How Is It Implemented in Metin2?
The K Inventory System, one of the advanced features for Metin2 private servers, allows players to optimize their inventory space and use it more efficiently. With this system, players can better organize items in their inventory and access them quickly when needed.
What is the K Inventory System?
The K Inventory System is a feature developed by Metin2 private server developers using C++ based structures. This system either increases the limited number of slots in player inventories or allows switching between different inventory categories. As a result, players can better organize their inventories and find necessary items faster during PvP battles.
How Does the System Work?
The K Inventory System is typically developed using both Python and C++. While UI scripts (.py files) are used on the Metin2 client side to create the interface, C++ source codes support inventory operations on the game server side. This system is often distributed with modules called 'pack' and integrated into the server.
This system is especially important on PvP servers, since being able to quickly use the right item during battle can determine the difference between defeat and victory.
Installation and Integration
The installation of the K Inventory System can be done manually on Metin2 private servers or integrated via pre-made source codes. During the installation process, coordination must generally be established between the auth server, game server, and client. Resources obtained from platforms like Metin2Lobby can be very helpful during this process.
Advantages
Conclusion
The K Inventory System is a vital feature for developers aiming to provide an enhanced user experience in Metin2 private servers. When properly integrated, it offers numerous advantages for both players and server administrators.
ZibaGames olarak, Ikarus OfflineShop V2 sürümünde tespit edilen pazarların iç içe açılabilmesi sorununu giderdik. Yeni güncelleme ile birlikte pazarlar arasında mesafe kontrolü eklenmiştir ve bu sayede sorun tamamen çözülmüştür.
Saygılar,
Kod:
// ARAT VE AŞAĞIDA Kİ İLE DEĞİŞTİR void CShopManager::CreateShopEntity(SHOP_HANDLE shop)
Kod:
#ifndef DISTANCE_APPROX #define DISTANCE_APPROX(x, y) (abs(x) + abs(y)) #endif void CShopManager::CreateShopEntity(SHOP_HANDLE shop) { auto& spawn = shop->GetSpawn(); // Karakter opsiyonel — sadece bilgi amaçlı LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(shop->GetOwnerPID()); if (auto sectree = SECTREE_MANAGER::Instance().Get(spawn.map, spawn.x, spawn.y)) { long new_x = spawn.x; long new_y = spawn.y; bool conflict = true; int max_try = 20; std::random_device rd; std::mt19937 gen(rd()); std::uniform_int_distribution<> dis(-150, 150); while (conflict && max_try > 0) { conflict = false; new_x = spawn.x + dis(gen); new_y = spawn.y + dis(gen); auto check_shops = [&](LPENTITY ent) { if (ent->IsType(ENTITY_NEWSHOPS)) { if (DISTANCE_APPROX(ent->GetX() - new_x, ent->GetY() - new_y) < 100) conflict = true; } }; sectree->ForEachAround(check_shops); --max_try; } if (conflict) { if (ch) ch->ChatPacket(CHAT_TYPE_INFO, "Bu konumda çok fazla pazar var. Lütfen farklı bir yerde deneyin."); return; } auto entity = std::make_shared<ShopEntity>(); entity->SetShopName(shop->GetName()); entity->SetMapIndex(spawn.map); entity->SetXYZ(new_x, new_y, 0); entity->SetShop(shop); #ifdef EXTEND_IKASHOP_ULTIMATE entity->SetShopType(shop->GetDecoration()); #endif sectree->InsertEntity(entity.get()); entity->UpdateSectree(); shop->SetEntity(entity); m_entityByVID[entity->GetVID()] = entity; } }
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
K Envanter Sistemi Nedir ve Metin2'de Nasıl Uygulanır?
Metin2 özel sunucularında gelişmiş sistemlerden biri olan K Envanter Sistemi, oyuncuların envanter alanını optimize ederek daha verimli kullanım sunar. Bu sistem sayesinde oyuncular, envanterlerindeki eşyaları daha kolay organize edebilir ve ihtiyaç duyduklarında hızlıca erişebilirler.
K Envanter Sistemi Nedir?
K Envanter Sistemi, Metin2 özel sunucu geliştiricilerinin C++ tabanlı sistemlerle entegre çalışarak geliştirilmiş bir özelliktir. Bu sistem, oyuncuların envanterlerinde sınırlı olan slot sayısını artırır veya farklı envanter kategorileri arasında geçiş yapmalarını sağlar. Bu sayede oyuncular, envanterlerini daha iyi organize edebilir ve PvP savaşları sırasında gerekli eşyaları daha hızlı bulabilirler.
Sistem Nasıl Çalışır?
K Envanter Sistemi genellikle Python ve C++ tabanlı yapılarla geliştirilir. Metin2 client tarafında UI Script dosyaları (.py) ile arayüz oluşturulurken, game server tarafında C++ kaynak kodlar ile envanter işlemleri desteklenir. Bu sistem genellikle 'pack' olarak adlandırılan modülasyonlarla birlikte dağıtılır ve sunucuya entegre edilir.
Bu sistem özellikle PvP sunucularında büyük önem taşır çünkü oyuncuların savaş sırasında doğru eşyayı hızlıca kullanabilmesi, mağlubiyet ya da zafer arasındaki farkı belirleyebilir.
Kurulum ve Entegrasyon
K Envanter Sistemi kurulumu, Metin2 özel sunucuları üzerinde manuel olarak yapılabileceği gibi, önceden hazırlanmış kaynak kodlarla da entegre edilebilir. Kurulum sırasında genellikle auth server, game server ve client arasında koordinasyon sağlanmalıdır. Bu süreçte Metin2Lobby gibi platformlardan elde edilen kaynaklar oldukça faydalı olabilir.
Avantajları
- Oyuncu deneyimini artırır
- Envanter organizasyonunu kolaylaştırır
- PvP performansını olumlu etkiler
- Sunucu tarafında DB optimizasyonuna yardımcı olur
Sonuç
K Envanter Sistemi, Metin2 özel sunucularında gelişmiş kullanıcı deneyimi sunmayı hedefleyen geliştiriciler için önemli bir özelliktir. Doğru şekilde entegre edildiğinde, hem oyuncular hem de sunucu yöneticileri açısından birçok avantaj sağlar.
What is the K Inventory System and How Is It Implemented in Metin2?
The K Inventory System, one of the advanced features for Metin2 private servers, allows players to optimize their inventory space and use it more efficiently. With this system, players can better organize items in their inventory and access them quickly when needed.
What is the K Inventory System?
The K Inventory System is a feature developed by Metin2 private server developers using C++ based structures. This system either increases the limited number of slots in player inventories or allows switching between different inventory categories. As a result, players can better organize their inventories and find necessary items faster during PvP battles.
How Does the System Work?
The K Inventory System is typically developed using both Python and C++. While UI scripts (.py files) are used on the Metin2 client side to create the interface, C++ source codes support inventory operations on the game server side. This system is often distributed with modules called 'pack' and integrated into the server.
This system is especially important on PvP servers, since being able to quickly use the right item during battle can determine the difference between defeat and victory.
Installation and Integration
The installation of the K Inventory System can be done manually on Metin2 private servers or integrated via pre-made source codes. During the installation process, coordination must generally be established between the auth server, game server, and client. Resources obtained from platforms like Metin2Lobby can be very helpful during this process.
Advantages
- Improves player experience
- Facilitates inventory organization
- Positively affects PvP performance
- Assists with database optimization on the server side
Conclusion
The K Inventory System is a vital feature for developers aiming to provide an enhanced user experience in Metin2 private servers. When properly integrated, it offers numerous advantages for both players and server administrators.
