Jump to content

Recommended Posts

Quote

Error    LNK2001    

unresolved external symbol "public: bool __thiscall CPythonNetworkStream::SendExchangeGemAddPacket(unsigned char)"

(?SendExchangeGemAddPacket@CPythonNetworkStream@@QAE_NE@Z)    

UserInterface    3  

 F:\blackcatq8\test1-server\test1-client\Srcs\Client\UserInterface    

F:\blackcatq8\test1-server\test1-client\Srcs\Client\UserInterface\PythonNetworkStreamModule.obj    1    

Quote

#ifdef ENABLE_GEM_SYSTEM
        { "SendExchangeGemAddPacket",            netSendExchangeGemAddPacket,            METH_VARARGS },
#endif

#ifdef ENABLE_GEM_SYSTEM
PyObject* netSendExchangeGemAddPacket(PyObject* poSelf, PyObject* poArgs)
{
	BYTE iGem;
	if (!PyTuple_GetInteger(poArgs, 0, &iGem))
		return Py_BuildException();

	CPythonNetworkStream& rkNetStream=CPythonNetworkStream::Instance();
	rkNetStream.SendExchangeGemAddPacket(iGem);
	return Py_BuildNone();
}
#endif

pythonnetworkstream.h

#ifdef ENABLE_GEM_SYSTEM
		bool SendExchangeGemAddPacket(BYTE gem);
#endif

I try rebuild again a lot O.o pls help me

if i add in pythonnetworkstreamphasegame.cpp it line compile i done

bool CPythonNetworkStream::SendExchangeGemAddPacket(BYTE gem)
{
    return false;
}

if someone have code for it part tell me pls what i do im so nuba ?

Link to comment
https://metin2.dev/topic/20278-help-pls-compile-client-system-gayaerror/
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

On 12/27/2018 at 3:11 PM, WeedHex said:

bool CPythonNetworkStream::SendExchangeGemAddPacket(BYTE gem)
{
    return false;
}

 

You made a bool function to let it return always false? O_O

yeah i was find error *_*"

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.