Main problem is convert char to unsigned char.
Code:
MetinClient: PythonGraphic.cpp(294): error C2664: 'CPythonGraphic::SaveJPEG' : cannot convert parameter 2 from 'char *' to 'LPBYTE' AffectFlagContainer.cpp(68): error C2440: 'initializing' : cannot convert from 'CAffectFlagContainer::Element' to 'char &' 3>PythonPlayerModule.cpp(770): error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' 3> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 3>PythonPlayerModule.cpp(774): error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' 3> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 3>PythonPlayerModule.cpp(812): error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' 3> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 3>PythonPlayerModule.cpp(842): error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' 3> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 3>PythonPlayerModule.cpp(873): error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' 3> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 3>PythonPlayerModule.cpp(900): error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(6): could be 'bool PyTuple_GetInteger(PyObject *,int,unsigned char *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(7): or 'bool PyTuple_GetInteger(PyObject *,int,int *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(8): or 'bool PyTuple_GetInteger(PyObject *,int,WORD *)' 3> while trying to match the argument list '(PyObject *, int, char *)' 3>PythonPlayerModule.cpp(912): error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' 3> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 3>PythonPlayerModule.cpp(919): error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(6): could be 'bool PyTuple_GetInteger(PyObject *,int,unsigned char *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(7): or 'bool PyTuple_GetInteger(PyObject *,int,int *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(8): or 'bool PyTuple_GetInteger(PyObject *,int,WORD *)' 3> while trying to match the argument list '(PyObject *, int, char *)' 3>PythonPlayerModule.cpp(958): error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' 3> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 3>PythonPlayerModule.cpp(991): error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' 3> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 3>PythonPlayerModule.cpp(1021): error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' 3> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 3>PythonPlayerModule.cpp(1083): error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' 3> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 3>PythonPlayerModule.cpp(1294): error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(6): could be 'bool PyTuple_GetInteger(PyObject *,int,unsigned char *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(7): or 'bool PyTuple_GetInteger(PyObject *,int,int *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(8): or 'bool PyTuple_GetInteger(PyObject *,int,WORD *)' 3> while trying to match the argument list '(PyObject *, int, char *)' 3>PythonPlayerModule.cpp(1340): error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(6): could be 'bool PyTuple_GetInteger(PyObject *,int,unsigned char *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(7): or 'bool PyTuple_GetInteger(PyObject *,int,int *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(8): or 'bool PyTuple_GetInteger(PyObject *,int,WORD *)' 3> while trying to match the argument list '(PyObject *, int, char *)' 3>PythonPlayerModule.cpp(1393): error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(6): could be 'bool PyTuple_GetInteger(PyObject *,int,unsigned char *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(7): or 'bool PyTuple_GetInteger(PyObject *,int,int *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(8): or 'bool PyTuple_GetInteger(PyObject *,int,WORD *)' 3> while trying to match the argument list '(PyObject *, int, char *)' 3>PythonPlayerModule.cpp(1456): error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(6): could be 'bool PyTuple_GetInteger(PyObject *,int,unsigned char *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(7): or 'bool PyTuple_GetInteger(PyObject *,int,int *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(8): or 'bool PyTuple_GetInteger(PyObject *,int,WORD *)' 3> while trying to match the argument list '(PyObject *, int, char *)' 3>PythonPlayerModule.cpp(1531): error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(6): could be 'bool PyTuple_GetInteger(PyObject *,int,unsigned char *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(7): or 'bool PyTuple_GetInteger(PyObject *,int,int *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(8): or 'bool PyTuple_GetInteger(PyObject *,int,WORD *)' 3> while trying to match the argument list '(PyObject *, int, char *)' 3>PythonPlayerModule.cpp(1616): error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(6): could be 'bool PyTuple_GetInteger(PyObject *,int,unsigned char *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(7): or 'bool PyTuple_GetInteger(PyObject *,int,int *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(8): or 'bool PyTuple_GetInteger(PyObject *,int,WORD *)' 3> while trying to match the argument list '(PyObject *, int, char *)' 3>PythonPlayerModule.cpp(1673): error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(6): could be 'bool PyTuple_GetInteger(PyObject *,int,unsigned char *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(7): or 'bool PyTuple_GetInteger(PyObject *,int,int *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(8): or 'bool PyTuple_GetInteger(PyObject *,int,WORD *)' 3> while trying to match the argument list '(PyObject *, int, char *)' 3>PythonPlayerModule.cpp(1713): error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(6): could be 'bool PyTuple_GetInteger(PyObject *,int,unsigned char *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(7): or 'bool PyTuple_GetInteger(PyObject *,int,int *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(8): or 'bool PyTuple_GetInteger(PyObject *,int,WORD *)' 3> while trying to match the argument list '(PyObject *, int, char *)' 3>PythonPlayerModule.cpp(1976): error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(6): could be 'bool PyTuple_GetInteger(PyObject *,int,unsigned char *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(7): or 'bool PyTuple_GetInteger(PyObject *,int,int *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(8): or 'bool PyTuple_GetInteger(PyObject *,int,WORD *)' 3> while trying to match the argument list '(PyObject *, int, char *)' 3>PythonPlayerModule.cpp(2017): error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(6): could be 'bool PyTuple_GetInteger(PyObject *,int,unsigned char *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(7): or 'bool PyTuple_GetInteger(PyObject *,int,int *)' 3> l:\dev\srcs\client\scriptlib\PythonUtils.h(8): or 'bool PyTuple_GetInteger(PyObject *,int,WORD *)' 3> while trying to match the argument list '(PyObject *, int, char *)' 3>PythonPlayerModule.cpp(2130): error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' 3> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 3>PythonPlayerModule.cpp(2152): error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' 3> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast