Search the Community
Showing results for tags 'c++'.
-
- 1 reply
-
- 40
-
- kiváltozás
- átváltoztató gömb
-
(and 2 more)
Tagged with:
-
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
- 1 reply
-
- 70
-
Letöltés
-
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.
-
-
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 ==
-
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
- 2 replies
-
- 74
-
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)
- 1 reply
-
- 74
-
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]
- 3 replies
-
- 113
-
c++ [C++] Kereskedés engedélyezése csak a fővárosokban!(MAP1)
piktorvik posted a topic in C++/Python
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! 🙂 -
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
-
- 70
-
- newsellpacket
- eladás
-
(and 2 more)
Tagged with:
-
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.
-
Letöltés:
-
- 17
-
- characters
- all
- (and 5 more)
-
Letöltés: [Hidden Content]
-
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
-
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);
-
- 25
-
- skillbook
- removeitem
-
(and 1 more)
Tagged with:
-
Download: [Hidden Content]
-
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
-
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
-
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] !=
-
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