Jump to content

help pls compile client system gaya.error


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
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

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.