Freyader Publicado 8 de Enero del 2016 Reportar Compartir Publicado 8 de Enero del 2016 Hola, estoy en eso de modificaciones y cosas así, he tratado de compilar el cliente pero arroja muchos errores, no he modificado nada, les cuento: Tengo el source de este tema: Debes iniciar sesión para ver el contenido del enlace en esta publicación. Al compilar el game y db no arroja tampoco ningún problema, todo funcionando. Para compilar el cliente sigo los pasos de este tema, instalé los dos archivos que dice la guía: Debes iniciar sesión para ver el contenido del enlace en esta publicación. El primer error que tuve fue el de la compatibilidad, que solucioné renombrando el archivo "Metin2Client_VC90.sln.old" a "Metin2Client_VC90.old": Una vez que pude ingresar al programa y cargarlo, aparece esto: Le doy a ok Ok nuevamente Y ok, ahora lo pongo en Release y lo compilo, arrojando las siguientes advertencias y errores: Error 1 error C2664: 'CPythonGraphic::SaveJPEG' : cannot convert parameter 2 from 'char *' to 'LPBYTE' c:\Users\Javier\Desktop\Client Limpio\Client\Client\EterPythonLib\PythonGraphic.cpp 294 eterPythonLib Warning 2 warning C4305: 'initializing' : truncation from '' to 'char' c:\users\javier\desktop\client limpio\client\client\userinterface\packet.h 2792 UserInterface Warning 3 warning C4309: 'initializing' : truncation of constant value c:\users\javier\desktop\client limpio\client\client\userinterface\packet.h 2792 UserInterface Warning 4 warning C4305: 'initializing' : truncation from '' to 'char' c:\users\javier\desktop\client limpio\client\client\userinterface\packet.h 2801 UserInterface Warning 5 warning C4309: 'initializing' : truncation of constant value c:\users\javier\desktop\client limpio\client\client\userinterface\packet.h 2801 UserInterface Error 6 error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonNetworkStreamModule.cpp 678 UserInterface Error 7 error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonNetworkStreamModule.cpp 706 UserInterface Error 8 error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonNetworkStreamModule.cpp 712 UserInterface Error 9 error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonNetworkStreamModule.cpp 736 UserInterface Error 10 error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonNetworkStreamModule.cpp 765 UserInterface Error 11 error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonNetworkStreamModule.cpp 821 UserInterface Error 12 error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonNetworkStreamModule.cpp 825 UserInterface Error 13 error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonNetworkStreamModule.cpp 871 UserInterface Error 14 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonNetworkStreamModule.cpp 953 UserInterface Error 15 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonNetworkStreamModule.cpp 1222 UserInterface Error 16 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonNetworkStreamModule.cpp 1254 UserInterface Error 17 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonNetworkStreamModule.cpp 1303 UserInterface Error 18 error C2664: 'lzo1x_decompress_safe' : cannot convert parameter 1 from 'const char *' to 'const unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\MarkImage.cpp 190 UserInterface Error 19 error C2664: 'lzo1x_999_compress' : cannot convert parameter 1 from 'const char *' to 'const unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\MarkImage.cpp 305 UserInterface Warning 20 warning C4305: 'initializing' : truncation from '' to 'char' c:\users\javier\desktop\client limpio\client\client\userinterface\Packet.h 2792 UserInterface Warning 21 warning C4309: 'initializing' : truncation of constant value c:\users\javier\desktop\client limpio\client\client\userinterface\Packet.h 2792 UserInterface Warning 22 warning C4305: 'initializing' : truncation from '' to 'char' c:\users\javier\desktop\client limpio\client\client\userinterface\Packet.h 2801 UserInterface Warning 23 warning C4309: 'initializing' : truncation of constant value c:\users\javier\desktop\client limpio\client\client\userinterface\Packet.h 2801 UserInterface Error 24 error C2440: 'initializing' : cannot convert from 'byte *' to 'char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonApplicationLogo.cpp 122 UserInterface Warning 25 warning C4309: '=' : truncation of constant value c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonApplicationLogo.cpp 126 UserInterface Error 26 error C2440: 'initializing' : cannot convert from 'byte *' to 'char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonApplicationLogo.cpp 166 UserInterface Warning 27 warning C4309: '=' : truncation of constant value c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonApplicationLogo.cpp 170 UserInterface Warning 28 warning C4305: 'initializing' : truncation from '' to 'char' c:\users\javier\desktop\client limpio\client\client\userinterface\Packet.h 2792 UserInterface Warning 29 warning C4309: 'initializing' : truncation of constant value c:\users\javier\desktop\client limpio\client\client\userinterface\Packet.h 2792 UserInterface Warning 30 warning C4305: 'initializing' : truncation from '' to 'char' c:\users\javier\desktop\client limpio\client\client\userinterface\Packet.h 2801 UserInterface Warning 31 warning C4309: 'initializing' : truncation of constant value c:\users\javier\desktop\client limpio\client\client\userinterface\Packet.h 2801 UserInterface Warning 32 warning C4309: 'return' : truncation of constant value c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonShop.cpp 31 UserInterface Error 33 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonShop.cpp 330 UserInterface Error 34 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonShop.cpp 348 UserInterface Error 35 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonShop.cpp 360 UserInterface Error 36 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonShop.cpp 387 UserInterface Error 37 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonShop.cpp 396 UserInterface Warning 38 warning C4305: 'initializing' : truncation from '' to 'char' c:\users\javier\desktop\client limpio\client\client\userinterface\Packet.h 2792 UserInterface Warning 39 warning C4309: 'initializing' : truncation of constant value c:\users\javier\desktop\client limpio\client\client\userinterface\Packet.h 2792 UserInterface Warning 40 warning C4305: 'initializing' : truncation from '' to 'char' c:\users\javier\desktop\client limpio\client\client\userinterface\Packet.h 2801 UserInterface Warning 41 warning C4309: 'initializing' : truncation of constant value c:\users\javier\desktop\client limpio\client\client\userinterface\Packet.h 2801 UserInterface Error 42 error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 770 UserInterface Error 43 error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 774 UserInterface Error 44 error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 812 UserInterface Error 45 error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 842 UserInterface Error 46 error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 873 UserInterface Error 47 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 900 UserInterface Error 48 error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 912 UserInterface Error 49 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 919 UserInterface Error 50 error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 958 UserInterface Error 51 error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 991 UserInterface Error 52 error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 1021 UserInterface Error 53 error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 1083 UserInterface Error 54 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 1294 UserInterface Error 55 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 1340 UserInterface Error 56 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 1393 UserInterface Error 57 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 1456 UserInterface Error 58 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 1531 UserInterface Error 59 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 1616 UserInterface Error 60 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 1673 UserInterface Error 61 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 1713 UserInterface Error 62 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 1976 UserInterface Error 63 error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 2017 UserInterface Error 64 error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 2130 UserInterface Error 65 error C2664: 'PyTuple_GetByte' : cannot convert parameter 3 from 'char *' to 'unsigned char *' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\PythonPlayerModule.cpp 2152 UserInterface Error 66 error C2440: 'initializing' : cannot convert from 'CAffectFlagContainer::Element' to 'char &' c:\Users\Javier\Desktop\Client Limpio\Client\Client\UserInterface\AffectFlagContainer.cpp 68 UserInterface Enlace para comentar Compartir en otros sitios Mas opciones de compartir...
PanchoElMaraca Publicado 8 de Enero del 2016 Reportar Compartir Publicado 8 de Enero del 2016 La mayoria de source client que ahora suben vienen con las librerias, no necesitas hacer los pasos que dices que haces, estan sencillo como abrir VS2013 o el que tengas (yo uso VS2013), dar en abrir proyecto o solucion buscar el tuyo y listo, ahora dar en compilar y esperar a que acabe, sin complicaciones. Por lo que veo ahi es error del source client, recuerda que tampoco todos vienen completos, por lo que puede que: 1.- Tenga errores 2.- Este incompleto Enlace para comentar Compartir en otros sitios Mas opciones de compartir...
PanchoElMaraca Publicado 8 de Enero del 2016 Reportar Compartir Publicado 8 de Enero del 2016 PD: acabo de fijarme que es novaline, se compila en el freebsd As requested by some users i have you a VM with FreeBSD 9.2 32bit, novaline source and pre installed Ports so you can compile the game. It was like 10 minutes of work to enter the commands so no thanks needed. To compile the game: 1 2 3 cd /usr/src/novaline/Srcs/Server/game/src gmake clean gmake -j20 Enlace para comentar Compartir en otros sitios Mas opciones de compartir...
Freyader Publicado 8 de Enero del 2016 Author Reportar Compartir Publicado 8 de Enero del 2016 Solucionado:16>.AffectFlagContainer.cpp(68) : error C2440: 'initializing' : cannot convert from 'CAffectFlagContainer::Element' to 'char &' Right click on the BYTE and click Go to Definition and change the char to unsigned char. 6>.PythonGraphic.cpp(294) : error C2664: 'CPythonGraphic::SaveJPEG' : cannot convert parameter 2 from 'char *' to 'LPBYTE' Double click on the error and change the line to this: bool bSaved = SaveJPEG(c_pszFileName, (LPBYTE)pbyBuffer, uWidth, uHeight); De Metin2Dev Enlace para comentar Compartir en otros sitios Mas opciones de compartir...
Mensajes recomendados