saralgo123 19 Posted August 24, 2021 Share Posted August 24, 2021 hello i am putting systema wiki ingame when compiling my source bin i get an error (the identifier "t" is not declared) PythonNonPlayer.cpp #ifdef INGAME_WIKI auto ptr = std::make_unique <TMobTable>(); *ptr =t; m_NonPlayerDataMap[t.dwVnum].mobTable = std::move(ptr); m_NonPlayerDataMap[t.dwVnum].isSet = false; m_NonPlayerDataMap[t.dwVnum].isFiltered = false; m_NonPlayerDataMap[t.dwVnum].dropList.clear(); #else TMobTable* pNonPlayerData = new TMobTable; memcpy(pNonPlayerData, pTable, sizeof(TMobTable)); m_NonPlayerDataMap.insert(TNonPlayerDataMap::value_type(pNonPlayerData->dwVnum, pNonPlayerData)); #endif Link to comment Share on other sites More sharing options...
Premium Intel 757 Posted August 24, 2021 Premium Share Posted August 24, 2021 auto ptr = std::make_unique <TMobTable>(*pTable); auto t = *ptr; /* auto ptr = std::make_unique <TMobTable>(); //??? *ptr = t; //whAAAAAAAAAAAAAAAAAAAAT THE HECK IS THIS */ m_NonPlayerDataMap[t.dwVnum].mobTable = std::move(ptr); m_NonPlayerDataMap[t.dwVnum].isSet = false; m_NonPlayerDataMap[t.dwVnum].isFiltered = false; m_NonPlayerDataMap[t.dwVnum].dropList.clear(); as usual, leaked code in turkish forums never ceases to be stupidly bugged. I am pretty sure it misses this as well (add the types you need accordingly): PyObject* wikiCanIncrRefineLevel(PyObject* poSelf, PyObject* poArgs) { _wint32 itemVnum; if (!PyTuple_GetInteger(poArgs, 0, &itemVnum)) return Py_BadArgument(); CItemData* table = nullptr; if (CItemManager::instance().GetItemDataPointer(itemVnum, &table)) { if(table->GetType() == CItemData::ITEM_TYPE_ARMOR || table->GetType() == CItemData::ITEM_TYPE_WEAPON || table->GetType() == CItemData::ITEM_TYPE_BELT) return Py_BuildValue("b", true); } return Py_BuildValue("b", false); } and there's also (not sure about this but it seemed an issue in debug mode): else { if (m_pyGraphic.IsLostDevice()) { CPythonBackground& rkBG = CPythonBackground::Instance(); rkBG.ReleaseCharacterShadowTexture(); CRenderTargetManager::Instance().ReleaseRenderTargetTextures(); //if (CPythonWikiRenderTarget::instance().CanRenderWikiModules()) CWikiRenderTargetManager::Instance().ReleaseRenderTargetTextures(); if (m_pyGraphic.RestoreDevice()) { CRenderTargetManager::Instance().CreateRenderTargetTextures(); //if (CPythonWikiRenderTarget::instance().CanRenderWikiModules()) CWikiRenderTargetManager::Instance().CreateRenderTargetTextures(); rkBG.CreateCharacterShadowTexture(); } else canRender = false; } } Link to comment Share on other sites More sharing options...
Forum Moderator Gurgarath 2511 Posted August 24, 2021 Forum Moderator Share Posted August 24, 2021 This leaked system is intended to be fully fixed as it lacks MANY things and I highly recommend you to use it if you know what you are doing. About the t identifier, it is ONLY in Martysama sources, so you will need to add this part of the code (Struct autodetect iirc). As xXIntelXx said, many things will be missing and many crashes will occur if you do not fix faulty / unadapted code. The code itself is good, but keep in mind that you need to make it blend into your sources. 1 Gurgarath coming soon Link to comment Share on other sites More sharing options...
Premium Intel 757 Posted August 24, 2021 Premium Share Posted August 24, 2021 (edited) 22 minutes ago, Gurgarath said: This leaked system is intended to be fully fixed as it lacks MANY things and I highly recommend you to use it if you know what you are doing. About the t identifier, it is ONLY in Martysama sources, so you will need to add this part of the code (Struct autodetect iirc). As xXIntelXx said, many things will be missing and many crashes will occur if you do not fix faulty / unadapted code. The code itself is good, but keep in mind that you need to make it blend into your sources. Is it leaked, though? I mean, it's the leaked version the only one bugged? Because then a friend of mine got scammed (I got to do the implementation for a friend of mine). He said he bought it from a guy, though I can be wrong. But the leaked version and his were the same with the same issues (because there are more lol). Edited August 24, 2021 by xXIntelXx Link to comment Share on other sites More sharing options...
Forum Moderator VegaS™ 10266 Posted August 24, 2021 Forum Moderator Share Posted August 24, 2021 (edited) 30 minutes ago, xXIntelXx said: Is it leaked, though? I mean, it's the leaked version the only one bugged? @xXIntelXx@saralgo123Yes, this system is fully leaked from Aeldra source, the author is @masodikbela. There were many people who sold the system in different forms/designs, so they made the code much worse. We don't support leaks here, topic closed. Edited August 24, 2021 by VegaS™ 1 1 3 Check my GitHub Profile Click to find all the threads started by me [TOOL] Text file loader + JSON Link to comment Share on other sites More sharing options...
Forum Moderator Gurgarath 2511 Posted August 24, 2021 Forum Moderator Share Posted August 24, 2021 Yeah, it is leaked and it lacks many features and has some issues related to rendering (and categories and whatever). But I think only one version is around Gurgarath coming soon Link to comment Share on other sites More sharing options...
Recommended Posts