Jump to content

Recommended Posts

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

  • Premium
		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

  • Forum Moderator

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.

  • Good 1

Gurgarath
coming soon

Link to comment
Share on other sites

  • Premium
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 by xXIntelXx
Link to comment
Share on other sites

  • Forum Moderator
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 by VegaS™
  • Metin2 Dev 1
  • Scream 1
  • Good 3
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.