Versiyon 20XX Balık Tutma

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

Admin

Knight Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
45,967
Merhaba Arkadaslar Bu Gün Balıkçılık Balık Tutma için Kodları Vercem 19xx ve 20xx de geçerlidir





İlk Önce Define.h de #define ITEM_KILLING_BLADE 700037000 bunu arattırıp altına şunları Ekleyiniz











Kod:
[COLOR=#000000][COLOR=#FF8000]#define FISHING                    191346000#define GOLDEN_FISHING                    191347000 #define RAINWORM                508226000 #define EXP_FLASH                399127000 #define DC_FLASH                399128000 #define WAR_FLASH                399129000   [/COLOR] [/COLOR]




Sonra Packets.h de enum MiningSystemOpcodes Arattırın ve şunla değiştirin



Kod:
[COLOR=#000000] [COLOR=#0000BB]enum MiningSystemOpcodes[/COLOR][COLOR=#007700]{     [/COLOR][COLOR=#FF8000]// Starts the mining process     [/COLOR][COLOR=#0000BB]MiningStart        [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]1[/COLOR][COLOR=#007700],     [/COLOR][COLOR=#FF8000]// Every n seconds, calls this packet to see if they found anything.     [/COLOR][COLOR=#0000BB]MiningAttempt    [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]2[/COLOR][COLOR=#007700],     [/COLOR][COLOR=#FF8000]// Stops the mining process     [/COLOR][COLOR=#0000BB]MiningStop        [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]3[/COLOR][COLOR=#007700],     [/COLOR][COLOR=#FF8000]// Fish Stard     [/COLOR][COLOR=#0000BB]FishingStart    [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]6[/COLOR][COLOR=#007700],     [/COLOR][COLOR=#FF8000]// Fish Every n seconds, calls this packet to see if they found anything.     [/COLOR][COLOR=#0000BB]FishingAttempt    [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]7[/COLOR][COLOR=#007700],     [/COLOR][COLOR=#FF8000]// Fish the mining process     [/COLOR][COLOR=#0000BB]FishingStop        [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]8[/COLOR][COLOR=#007700],     [/COLOR][COLOR=#FF8000]// Soccer handler is part of the mining handler (yuck).     [/COLOR][COLOR=#0000BB]MiningSoccer    [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]16[/COLOR][COLOR=#007700], };   [/COLOR] [/COLOR]





Kod:
[COLOR=#333333][FONT=Source Sans Pro][B]Sonra Gamedefine.h de #define WEAPON_PICKAXE 61 altına şunu ekleyin [/B][/FONT][/COLOR]                                                         [COLOR=#333333][FONT=monospace]#define WEAPON_FISHING            63    // Unlike the others, this is just the Kind field as-is (not / 10).[/FONT][/COLOR]






Kod:
Sonra INLINE bool isPickaxe() { return GetKind() == WEAPON_PICKAXE; } altına Şunu Ekleyin                                                          [FONT=monospace]INLINE bool isFishing() { return GetKind() == WEAPON_FISHING; }[/FONT]







Kod:
Sonra User.h de void HandleMiningStop(Packet & pkt); Altına Şunu Ekleyin
Kod:
[COLOR=#333333][FONT=monospace]void HandleFishingStart(Packet & pkt);[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    void HandleFishingAttempt(Packet & pkt);[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    void HandleFishingStop(Packet & pkt);[/FONT][/COLOR]






Kod:
[COLOR=#333333][FONT=Source Sans Pro][B]Sonra User.cpp de void CUser::HandleMiningSystem(Packet & pkt) şunla Değiştirin [/B][/FONT][/COLOR]                                                         [COLOR=#333333][FONT=monospace]void CUser::HandleFishingStart(Packet & pkt)[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]{[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    Packet result(WIZ_MINING, uint8(FishingStart));[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    uint16 resultCode = MiningResultSuccess;[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    // Are we mining already?[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    if (isMining())[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]        resultCode = MiningResultMiningAlready;[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    // Do we have a pickaxe? Is it worn?[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    _ITEM_DATA * pItem;[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    _ITEM_TABLE * pTable = GetItemPrototype(RIGHTHAND, pItem);[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    if (pItem == nullptr || pTable == nullptr[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]        || pItem->sDuration <= 0[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]        || !pTable->isFishing()[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]        || GetItemCount(RAINWORM) <= 0)[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]        resultCode = MiningResultNotPickaxe;[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    result << resultCode;[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    // If nothing went wrong, allow the user to start mining.[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    // Be sure to let everyone know we're mining.[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    if (resultCode == MiningResultSuccess)[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    {[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]        m_bMining = true;[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]        result << GetID();[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]        SendToRegion(&result);[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    }[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    else[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    {[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]        Send(&result);[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    }[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]}[/FONT][/COLOR]





Kod:
[COLOR=#333333][FONT=Source Sans Pro][B]Daha Sonra Şunu Ekleyin [/B][/FONT][/COLOR]                                                         [COLOR=#333333][FONT=Source Sans Pro]void CUser::HandleFishingAttempt(Packet & pkt)[/FONT][/COLOR][COLOR=#333333][FONT=Source Sans Pro]{     if (!isMining())         return;     Packet result(WIZ_MINING, uint8(FishingAttempt));     uint16 resultCode = MiningResultSuccess;     // Do we have a pickaxe? Is it worn?     _ITEM_DATA * pItem;     _ITEM_TABLE * pTable = GetItemPrototype(RIGHTHAND, pItem);     if (pItem == nullptr || pTable == nullptr         || pItem->sDuration <= 0 // are we supposed to wear the pickaxe on use? Need to verify.         || !pTable->isFishing()         || GetItemCount(RAINWORM) <= 0)         resultCode = MiningResultNotPickaxe;     // Check to make sure we're not spamming the packet...     if ((UNIXTIME - m_tLastMiningAttempt) < MINING_DELAY)         resultCode = MiningResultMiningAlready; // as close an error as we're going to get...     // Effect to show to clients     uint16 sEffect = 0;     // This is just a mock-up based on another codebase's implementation.     // Need to log official data to get a proper idea of how it behaves, rate-wise,     // so that we can then implement it more dynamically.     if (resultCode == MiningResultSuccess)     {         int rate = myrand(1, 100), random = myrand(1, 10000);         if (GetPremiumProperty(PremiumDropPercent) > 0)         {             rate += (rate / 100) * GetPremiumProperty(PremiumDropPercent);             random += (rate / 100) * GetPremiumProperty(PremiumDropPercent);         }         if (pTable->m_iNum == GOLDEN_FISHING)         {             rate += (rate / 100) * 10;             random += (random / 100) * 10;         }         if (rate > 100)             rate = 100;         if (random > 10000)             random = 10000;         if (rate <= 50 && random <= 5000)         {             if (GetLevel() >= 35 && GetLevel() <= 59)                 ExpChange(100);             if (GetLevel() >= 60 && GetLevel() <= 69)                 ExpChange(200);             if (GetLevel() >= 70)                 ExpChange(300);             sEffect = 13082; // "XP" effect         }         else if (rate >= 45 && rate <= 50 && random <= 8000)         {             if (pTable->m_iNum == GOLDEN_FISHING)                 GiveItem(g_pMain->f_Drop1);             if (pTable->m_iNum == FISHING)                 GiveItem(g_pMain->gf_Drop1);             sEffect = 30730; // "Fish" effect         }         else if (rate >= 60 && rate <= 75 && random <= 9000)         {             if (pTable->m_iNum == GOLDEN_FISHING)                 GiveItem(g_pMain->f_Drop2);             if (pTable->m_iNum == FISHING)                 GiveItem(g_pMain->gf_Drop2);             sEffect = 30730; // "Fish" effect         }         else if (rate >= 75 && rate <= 100 && random <= 10000)         {             if (pTable->m_iNum == GOLDEN_FISHING)                 GiveItem(g_pMain->f_Drop3);             if (pTable->m_iNum == FISHING)                 GiveItem(g_pMain->gf_Drop3);             sEffect = 30730; // "Fish" effect         }         else         {             sEffect = 30731; // "Fail" effect         }         m_tLastMiningAttempt = UNIXTIME;     }     result << resultCode << GetID() << sEffect;     RobItem(RAINWORM,1);     ItemWoreOut(ATTACK,100);      if (resultCode != MiningResultSuccess         && resultCode != MiningResultNothingFound)     {         // Tell us the error first         Send(&result);         // and then tell the client to stop mining         HandleFishingStop(pkt);         return;     }     if(resultCode != MiningResultNothingFound)         SendToRegion(&result);     else if(resultCode == MiningResultNothingFound)         Send(&result); } [/FONT][/COLOR]






Kod:
[COLOR=#333333][FONT=Source Sans Pro][B]Sonra Şunu Ekleyin [/B][/FONT][/COLOR]                                                         [COLOR=#333333][FONT=monospace]void CUser::HandleFishingStop(Packet & pkt)[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]{[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    if (!isMining())[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]        return;[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    Packet result(WIZ_MINING, uint8(FishingStop));[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    result << uint16(1) << GetID();[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    m_bMining = false;[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]    SendToRegion(&result);[/FONT][/COLOR] [COLOR=#333333][FONT=monospace]}[/FONT][/COLOR]






Bu Kadar Arkdaslar Bir Teşekkürü Az Görmeyin Sizin İçin Çabalıyoruz Bir Şeyler Paylaşıyoruz Yorumda Yazanlar +++++ 11111 000 Tarzı Şeyler Eyer Bir Daha Böle Yazan Olursa Banlanır; Alıntı Yaparsanız Belirtin Alıntı Oldugunu




Knight Online oyununda 'Versiyon 20XX Balık Tutma' sistemi, oyuncuların eğlenceli ve stratejik bir şekilde zaman geçirmesini sağlayan önemli bir sosyal aktivitedir. Bu sistem, hem新人玩家 hem de deneyimli oyuncular için hem eğlence hem de ekonomik kazanç sağlama potansiyeline sahiptir. Özellikle Knight Online Private Server (Pserver) dünyasında, geliştiriciler bu özelliği farklı versiyonlarda özelleştirerek oyunculara benzersiz deneyimler sunar. Balık tutma mekaniği, genellikle belirli itemler, balık türleri ve özel lokasyonlar üzerinden şekillenir. Oyuncular, balıkları yakalamak için uygun ekipmanları kullanmalı ve bazı durumlarda özel formüllerle hazırlanmış yemleri tercih etmelidir. Bu süreçte, doğru balık türüne ulaşmak zamanla gelişen bir beceri haline gelir. Balık tutma işlemi sırasında rastgele gelen olaylar ya da özel düşmanlarla karşılaşmak da mümkündür. Bu da aktiviteye daha fazla heyecan katmaktadır. Balık tutma sistemi, Knight Online'da zaman geçirmek isteyen oyuncular için ideal bir aktivite sunar. Aynı zamanda bazı özel sunucularda bu aktivitenin PvP etkinlikleriyle veya özel ödüllerle birleştirilmiş versiyonları da yer alabilir. Bu sayede oyuncular, hem eğlenir hem de özel item'lar, para veya stat kazanımları elde eder. Versiyon 20XX özelinde, balık tutma sisteminin detayları sunucu dosyaları üzerinde değişiklik yapılarak özelleştirilebilir. Bu tür ayarlamalar, Knight Online Development (KODEV) sürecinde önemli rol oynar. Balık tutma sistemi, doğru kodlama ve sunucu yapılandırması ile özel sunucularda farklı boyutlara taşınabilir. Bu tür detaylar, Knight Online emulator'lerinde aktif olarak geliştirilmekte olan özelliklerden biridir. Balık tutma mekaniği, Knight Online'un yalnızca eğlenceli yanlarını değil, aynı zamanda sosyal etkileşim ve ekonomik yapı yönlerini de destekler. Özellikle USKO, ROFD, ESLANT gibi bilinen sunucularda balık tutma sistemi, farklı varyasyonlarla yer alabilir. Bu da oyuncuların daha fazla zaman harcamasını ve sunucuya bağlanmasını sağlar. Balık tutma aktivitesi, Knight Online Private Server dünyasında yer alan birçok sunucunun temel özelliklerinden biridir. Geliştiriciler, bu sistemi kullanarak oyunculara yeni hedefler ve ödüller sunar. Balık tutma sırasında elde edilen ürünler, bazı sunucularda trade item'larına dönüştürülebilir veya özel NPC'ler aracılığıyla takas edilebilir. Bu da oyun içi ekonomiyi hareketlendirir. Balık tutma, Knight Online'da sadece bir hobi gibi görünse de, detaylara inildiğinde oyunun derinliğini ve çeşitliliğini ortaya koyar. Versiyon 20XX özelinde, bu sistemin detayları sunucu yapılandırmalarıyla değişebilir. Bu nedenle geliştiriciler, balık tutma sisteminin nasıl çalışacağını, hangi item'ların üretileceğini ve hangi bonus etkilerin olacağını belirlemek için sunucu dosyalarında (örneğin item.bin, mob.bin, npc.bin) değişiklik yapabilir. Knight Lobby gibi platformlar aracılığıyla sunucu sahipleri, bu tür özel sistemleri kullanıcılarına tanıtabilir ve detaylı bilgi paylaşabilirler. Balık tutma sistemi, Knight Online oyununun uzun süreli oyuncu sadakati için önemli bir araçtır. Eğlenceli, sürükleyici ve stratejik bir yapıya sahip olması, bu aktivitenin popüler kalmasını sağlar. Versiyon 20XX balık tutma sistemi, tüm bu unsurları bir araya getirerek oyunculara unutulmaz bir deneyim sunar.


The 'Version 20XX Fishing' system in Knight Online is an important social activity that allows players to spend time in an entertaining and strategic way. This system offers both new and experienced players potential for fun and economic gain. Especially within the Knight Online Private Server (Pserver) world, developers customize this feature in various versions to provide unique experiences to players. The fishing mechanism typically revolves around specific items, fish types, and special locations. Players must use appropriate equipment to catch fish, and sometimes prefer specially formulated baits. Over time, catching the right type of fish becomes a developing skill. Random events or encounters with special enemies during fishing are also possible, adding more excitement to the activity. The fishing system provides an ideal activity for players who wish to spend time in Knight Online. Additionally, on certain servers, this activity may be combined with PvP events or special rewards. This allows players to have fun while earning special items, money, or stat gains. In the context of Version 20XX, details of the fishing system can be customized by making modifications to server files. Such adjustments play an important role in the Knight Online Development (KODEV) process. With proper coding and server configuration, the fishing system can be expanded into new dimensions on private servers. These details are among the features actively being developed in Knight Online emulators. The fishing mechanism not only supports the entertaining aspects of Knight Online but also enhances its social interaction and economic structure. Particularly on known servers such as USKO, ROFD, and ESLANT, the fishing system may appear in different variations. This encourages players to spend more time and remain connected to the server. Fishing activities are one of the core features of many servers within the Knight Online Private Server world. Developers offer players new goals and rewards through this system. Products obtained during fishing can be converted into trade items or exchanged via special NPCs on some servers. This stimulates the in-game economy. Although fishing in Knight Online might seem like just a hobby, upon closer examination, it reveals the depth and diversity of the game. In Version 20XX, the details of this system can vary depending on server configurations. Therefore, developers may modify server files (e.g., item.bin, mob.bin, npc.bin) to determine how the fishing system works, which items will be produced, and what bonus effects will apply. Platforms like Knight Lobby allow server owners to introduce these special systems to their users and share detailed information. The fishing system is an important tool for long-term player retention in Knight Online. Its entertaining, engaging, and strategic nature ensures the continued popularity of this activity. The Version 20XX fishing system combines all these elements to provide players with an unforgettable experience.
 

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

Geri
Üst Alt