Jump to content

Search the Community

Showing results for tags 'c++'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Rules
    • Forum rules
  • Servers
    • Private servers
  • Metin2 - Releases
    • Tutorials
    • Webpages
    • Serverfiles/Clients
    • Quests
    • Graphics/Models/Maps
    • C++/Python
    • Scripts
    • Applications
    • Questions/Problems
  • Metin2 - Services
    • Tutorials
    • Webpages
    • Serverfiles/Clients
    • Quests
    • Graphics/Models/Maps
    • C++/Python
    • Scripts
    • Applications
    • Questions/Problems

Blogs

There are no results to display.

Product Groups

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

  1. piktorvik01 publikációja, régi hugamesről. (Napi ajándék, new exp calculation, immune-fix, flood védelem, ping time, dog mode) Letöltés
  2. ClientManager.h Ezt: typedef boost::unordered_map<short, BYTE> TChannelStatusMap; Erre: typedef boost::unordered_map<int, BYTE> TChannelStatusMap; ----------------------------------------------------------------------- ClientManager.cpp Ezt: peer->Encode(&it->first, sizeof(short)); peer->Encode(&it->second, sizeof(BYTE)); Erre: peer->Encode(&it->first, sizeof(int)); peer->Encode(&it->second, sizeof(BYTE)); ----------------------------------------------------------------------- common\tables.
  3. Download: Attached PlayerProfileWithKillStatistic_v103.rar
  4. uiinventory.py: Keress rá: def __DropSrcItemToDestItemInInventory(self, srcItemVID, srcItemSlotPos, dstItemSlotPos): Ezt: elif item.IsMetin(srcItemVID): self.AttachMetinToItem(srcItemSlotPos, dstItemSlotPos) Cseréld erre: elif item.IsMetin(srcItemVID) and not item.IsMetin(player.GetItemIndex(dstItemSlotPos)): self.AttachMetinToItem(srcItemSlotPos, dstItemSlotPos) Keress rá: def __CanUseSrcItemToDstItem(self, srcItemVNum, srcSlotPos, dstSlotPos): Ezt: elif item.IsMetin(srcItemVNum): if player.ATTACH_METIN_OK ==
  5. Letöltés - UPDATE 2021.10.12 - 19:24 Egyből frissíti neked és másik játékosoknak is a szintlépésed
  6. ELŐTTE UTÁNA ActorInstanceCollisionDetection.cpp //16 ról 32-re változtass itt: int iMaxHitCount = (0 == c_rAttackData.iHitLimitCount? 16: c_rAttackData.iHitLimitCount); //És itt: if (iCurrentHitCount> 16)
  7. Sziasztok! ez a kis módosítás viszonylag egyszerű,de nagyon hasznos ezzel a módosítással át tudsz menni,mobokon npc-ken és meteorkövön Letöltés:[Hidden Content]
  8. exchange.cpp bool CHARACTER::ExchangeStart(LPCHARACTER victim) { #ifdef EXCHANGE_BLOCK if (GetMapIndex() == 41 || GetMapIndex() == 21 || GetMapIndex() == 1) { //return true; } else { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Ezt nem teheted meg!")); return false; } #endif [...] } Ezzel a funkcióval az összes mapon letiltod a kereskedést kívéve a map1 városokat. Ami esetünkben jelenleg csak kék - piros - sárga map1-en lehet kereskedni. A kódot úgy alakítjátok ahogy akarjátok! 🙂
  9. Serverside: 1) input_main.cpp 2.1) Keress rá erre: case SHOP_SUBHEADER_CG_SELL2: 2.2) Írd felül ezzel: case SHOP_SUBHEADER_CG_SELL2: { if (uiBytes < sizeof(WORD) + sizeof(BYTE) + sizeof(BYTE)) return -1; const WORD wPos = *reinterpret_cast<const WORD*>(c_pData); const BYTE bCount = *(c_pData + sizeof(WORD)); const BYTE bType = *(c_pData + sizeof(WORD) + sizeof(BYTE)); sys_log(0, "INPUT: %s SHOP: SELL2", ch->GetName()); CShopManage
  10. How to Update Client src c++20 First, we open the client source with visual studio 2022. Select all projects and right click on them -> properties -> General -> c++ language standard -> Here we choose c++20. [Hidden Content] need to make some step from this topic HowToc++20 If you don't understand something, you can ask your questions here.
  11. Elemi bónuszokkal, megfelelő sorrendben kiegészített. Képek: Érdeklődni PM-ben vagy Skype címemen! Skype címem: pisti95-spectra
  12. Letöltés: [Hidden Content]
  13. game/src/char.cpp static bool __party_can_join_by_level(LPCHARACTER leader, LPCHARACTER quest) { int level_limit = 30; return (abs(leader->GetLevel() - quest->GetLevel()) <= level_limit); } 'level_limit = ' értéket kell módosítanotok a változtatáshoz.
  14. common/service.h rákeresel erre: PET_SYSTEM Beilleszted a többi közé ezt: #define ENABLE_PORT_SECURITY game fájl forrás: desc_p2p.cpp Rákeresel erre: #include "p2p.h" alá írod ezt: #include "../../common/service.h" Rákeresel erre: bool DESC_P2P::Setup(LPFDWATCH fdw, socket_t fd, const char * host, WORD wPort) Így nézzen ki: bool DESC_P2P::Setup(LPFDWATCH fdw, socket_t fd, const char * host, WORD wPort) { m_lpFdw = fdw; m_stHost = host; m_wPort = wPort; m_sock = fd; #ifdef ENABLE_PORT
  15. char_item.cpp Rá keresel erre: if (true == LearnSkillByBook(dwVnum)) { ITEM_MANAGER::instance().RemoveItem(item); Módosítod erre: if (true == LearnSkillByBook(dwVnum)) { item->SetCount(item->GetCount() - 1);
  16. Download: [Hidden Content]
  17. What is this system? When the player reaches the maximum level on the server you get access to the reborn manager panel. Once having access to this panel that you can open it with a button you can activate the first degree reborn. When reborn is enabled these things will occur: Disadvantages: – Reset total additional skills – Restore the total points collected – Reset level which means that you will get the start server (1) Benefits: – Receiving 4 bonuses that can be easily modified. Bonuses default in the system are: – [1. Bonus] Max. HP – [2. Bonus] Against t
  18. battle.cpp Keress rá erre: m_pkDeadEvent = event_create(dead_event, pEventInfo, bImmediateDead ? 1 : PASSES_PER_SEC(10)); A PASSES_PER_SEC-et módosítsd arra amire szeretnéd. Minél kissebb a szám, annál hamarabb tünnek el a mobok halál után
  19. Ezzel a kis fixxel, a kliens nem fogja többé betölteni a d:/ymir fileokat, gyorsabban megnyílik a kliens, gyorsabban tölti be a fájlokat, kevesebb fps drop lesz. 1. EterPackManager.cpp 1.1 Keress rá: bool CEterPackManager::Get(CMappedFile & rMappedFile, const char * c_szFileName, LPCVOID * pData) Cseréld le az egész funkciót erre: bool CEterPackManager::Get(CMappedFile & rMappedFile, const char * c_szFileName, LPCVOID * pData) { if (m_iSearchMode == SEARCH_PACK_FIRST) { if (GetFromPack(rMappedFile, c_szFileName, pData)) return true; if (c_szFileName[1] !=
  20. How to Update Client src c++17 Step 1: First, we open the client source with visual studio 2019/2022. Select all projects and right click on them -> properties -> General -> c++ language standard -> Here we choose c++17. [Hidden Content] Step 2: In each file (ctrl + shift +f) , we search for the following & delete them: using namespace std; Step 3: Now the following details need to be modified (every file): string pair make_pair vector to std::string std::pair std::make_pair
×
×
  • Create New...