Morpheo 0 Posted November 25, 2013 (edited) Hola amigo, me salio un error al compilar en el Map Server. Uso Visual C++ 2008 Express Edition. Al parecer el error viene de este Codigo: /*2012-06-18aRagexeRE*/#if PACKETVER >= 20120618 packet(0x01FD,15,clif->pRepairitem,2); packet(0x023B,26,clif->pFriendslistadd,2); packet(0x0361,5,clif->pHommenu,2:4); packet(0x0819,36,clif->pStoragepassword,0); packet(0x0288,-1,clif->pCashshopbuy,4:8); packet(0x0802,26,clif->pPartyinvite2,2); packet(0x022D,19,clif->pWanttoconnection,2:6:10:14:18); packet(0x0369,7,clif->pActionrequest,2:6); packet(0x083C,10,clif->pUseskilltoid,2:4:6); packet(0x0439,8,clif->pUseitem,2:4); packet(0x0281,-1,clif->pItemlistwindowselected,2:4:8); packet(0x0815,-1,clif->pReqopenbuyingstore,2:4:8:9:89); packet(0x0817,2,clif->pReqclosebuyingstore,0); packet(0x0360,6,clif->pReqclickbuyingstore,2); packet(0x0940,-1,clif->pReqtradebuyingstore,2:4:8:12); packet(0x0811,-1,clif->pSearchstoreinfo,2:4:5:9:13:14:15); packet(0x0835,2,clif->pSearchstoreinfonextpage,0); packet(0x0838,12,clif->pSearchstoreinfolistitemclick,2:6:10); packet(0x0437,5,clif->pWalktoxy,2); packet(0x035F,6,clif->pTicksend,2); packet(0x0202,5,clif->pChangedir,2:4); packet(0x07E4,6,clif->pTakeitem,2); packet(0x0362,6,clif->pDropitem,2:4); packet(0x07EC,8,clif->pMovetokafra,2:4); packet(0x0364,8,clif->pMovefromkafra,2:4); packet(0x0438,10,clif->pUseskilltopos,2:4:6:8); packet(0x0366,90,clif->pUseskilltoposinfo,2:4:6:8:10); packet(0x096A,6,clif->pGetcharnamerequest,2); packet(0x0368,6,clif->pSolvecharname,2); packet(0x08E5,41,clif->pBookingregreq,2:4);/*Added to prevent disconnections*/ packet(0x08E6,4); packet(0x08E7,10,clif->pBookingsearchreq,2); packet(0x08E8,-1); packet(0x08E9,2,clif->pBookingdelreq,2); packet(0x08EA,4); packet(0x08EB,39,clif->pBookingupdatereq,2); packet(0x08EC,73); packet(0x08ED,43); packet(0x08EE,6); packet(0x08EF,6,clif->pBookingignorereq,2); packet(0x08F0,6); packet(0x08F1,6,clif->pBookingjoinpartyreq,2); packet(0x08F2,36); packet(0x08F3,-1); packet(0x08F4,6); packet(0x08F5,-1,clif->pBookingsummonmember,2:4); packet(0x08F6,22); packet(0x08F7,3); packet(0x08F8,7); packet(0x08F9,6); packet(0x08FA,6); packet(0x08FB,6,clif->pBookingcanceljoinparty,2); packet(0x0907,5,clif->pMoveitem,2:4); packet(0x0908,5); packet(0x08D7,28,clif->pDull,2:4); /*Added to prevent disconnections*/#endif Me tira el siguiente error al compilar: 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2038) : error C2039: 'pRepairitem' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2039) : error C2039: 'pFriendslistadd' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2040) : error C2039: 'pHommenu' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2040) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2040) : error C2059: syntax error : ')' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2041) : error C2039: 'pStoragepassword' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2042) : error C2039: 'pCashshopbuy' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2042) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2042) : error C2059: syntax error : ')' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2043) : error C2039: 'pPartyinvite2' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2044) : error C2039: 'pWanttoconnection' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2044) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2044) : error C2059: syntax error : ')' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2045) : error C2039: 'pActionrequest' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2045) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2045) : error C2059: syntax error : ')' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2046) : error C2039: 'pUseskilltoid' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2046) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2046) : error C2059: syntax error : ')' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2047) : error C2039: 'pUseitem' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2047) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2047) : error C2059: syntax error : ')' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2048) : error C2039: 'pItemlistwindowselected' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2048) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2048) : error C2059: syntax error : ')' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2049) : error C2039: 'pReqopenbuyingstore' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2049) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2049) : error C2059: syntax error : ')' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2050) : error C2039: 'pReqclosebuyingstore' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2051) : error C2039: 'pReqclickbuyingstore' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2052) : error C2039: 'pReqtradebuyingstore' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2052) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2052) : error C2059: syntax error : ')' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2053) : error C2039: 'pSearchstoreinfo' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2053) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2053) : error C2059: syntax error : ')' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2054) : error C2039: 'pSearchstoreinfonextpage' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2055) : error C2039: 'pSearchstoreinfolistitemclick' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2055) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2055) : error C2059: syntax error : ')' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2056) : error C2039: 'pWalktoxy' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2057) : error C2039: 'pTicksend' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2058) : error C2039: 'pChangedir' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2058) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2058) : error C2059: syntax error : ')' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2059) : error C2039: 'pTakeitem' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2060) : error C2039: 'pDropitem' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2060) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2060) : error C2059: syntax error : ')' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2061) : error C2039: 'pMovetokafra' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2061) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2061) : error C2059: syntax error : ')' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2062) : error C2039: 'pMovefromkafra' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2062) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2062) : error C2059: syntax error : ')' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2063) : error C2039: 'pUseskilltopos' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2063) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2063) : error C2059: syntax error : ')' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2064) : error C2039: 'pUseskilltoposinfo' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2064) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2064) : error C2059: syntax error : ')' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2065) : error C2039: 'pGetcharnamerequest' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2066) : error C2039: 'pSolvecharname' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2067) : error C2039: 'pBookingregreq' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2067) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2067) : error C2059: syntax error : ')' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2069) : error C2039: 'pBookingsearchreq' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2071) : error C2039: 'pBookingdelreq' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2073) : error C2039: 'pBookingupdatereq' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2077) : error C2039: 'pBookingignorereq' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2079) : error C2039: 'pBookingjoinpartyreq' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2083) : error C2039: 'pBookingsummonmember' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2083) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2083) : error C2059: syntax error : ')' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2089) : error C2039: 'pBookingcanceljoinparty' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2090) : error C2039: 'pMoveitem' : is not a member of 'clif_interface' 3> c:usersnazguldesktopsantyax ro herculessrcmapclif.h(517) : see declaration of 'clif_interface' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2090) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2090) : error C2059: syntax error : ')' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2092) : error C2143: syntax error : missing ')' before ':' 3>c:usersnazguldesktopsantyax ro herculessrcmappackets.h(2092) : error C2059: syntax error : ')' * Adjunto imágenes para mejor entendimiento. Por cierto esta de lujo amigo, llevo buscando algo así un buen tiempo. Por pura curiosidad no se debe tambien agregar las packetKeys, es que le di al siguiente de buscador y me aparecio esto: #if PACKETVER >= 20120618 packetKeys(0x261F261F,0x261F261F,0x261F261F); /* Thanks to Shakto */ #endif Edited November 25, 2013 by Morpheo Quote Share this post Link to post Share on other sites
0 Morpheo 0 Posted November 25, 2013 Ya arregle el error de la sintaxis al cambiar los dos puntos que ponias por una coma. Ejemplo: packet(0x01FD,15,clif->pRepairitem,2); packet(0x023B,26,clif->pFriendslistadd,2); packet(0x0361,5,clif->pHommenu,2:4); packet(0x0819,36,clif->pStoragepassword,0); packet(0x0288,-1,clif->pCashshopbuy,4:8); packet(0x0802,26,clif->pPartyinvite2,2); packet(0x022D,19,clif->pWanttoconnection,2:6:10:14:18); Como quedo sin error de sintaxis: packet(0x01FD,15,clif->pRepairitem,2); packet(0x023B,26,clif->pFriendslistadd,2); packet(0x0361,5,clif->pHommenu,2,4); packet(0x0819,36,clif->pStoragepassword,0); packet(0x0288,-1,clif->pCashshopbuy,4,8); packet(0x0802,26,clif->pPartyinvite2,2); packet(0x022D,19,clif->pWanttoconnection,2,6,10,14,18); Pero el problema que presenta ahora es que segun la compilacion es mala porque no pertenece a el grupo de clif_interface segun lo marca en la linea 517 de clif.h, pero lo busque alli y si estaba y todo, asi que ya no se que hacer al respecto Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted November 27, 2013 Este cliente es ya viejecito, (aunque es el mismo que ofrece Judas en la sección de publicaciones de cliente en inglés), aunque que sepa el de Judas siempre ha funcionado sin ningún problema (ambos son la misma versión de cliente). No obstante, esto no es un problema de cliente sino de compilación del servidor, que es parte del servidor. Con permiso, muevo tus mensajes al foro apropiado. Hablando con Haru de tu problema a través de IRC, parece que has intentado convertir el packet_db.txt de rAthena a Hercules, de una forma inapropiada. No necesitas convertirlo, los packets simplemente funcionan igual descargando desde Hercules. Intenta descargar una copia reciente de Hercules y pruébala. Generalmente no necesitarás adaptar el emulador a un cliente versión 20120418 debido a que nuestro emulador viene preconfigurado por defecto para tratar con esa version de cliente. En caso de que siga sin funcionar, trataremos de encontrar alguna otra solución. Por ejemplo, es posible que ya no funcione compilar bajo MSVC++ 2008 ya que Windows ha cesado el soporte oficial a dicha versión y se haya hecho algún cambio en el código fuente, incompatible con compiladores MSVC++ 2008. En todo caso, bajo entornos Windows XP se recomienda utilizar MSVC++ 2010 o superior si tienes una versión más actualizada de Windows. Un saludo. Quote Share this post Link to post Share on other sites
0 Relzz 32 Posted December 5, 2013 Que extraño, este post me acaba de salir como "No visto" o.o pero si checo esta seccion a diario.. Bueno, perdon por no revisar :c jeje Quote Share this post Link to post Share on other sites
Hola amigo, me salio un error al compilar en el Map Server.
Uso Visual C++ 2008 Express Edition.
Al parecer el error viene de este Codigo:
Me tira el siguiente error al compilar:
* Adjunto imágenes para mejor entendimiento.
Por cierto esta de lujo amigo, llevo buscando algo así un buen tiempo.
Por pura curiosidad no se debe tambien agregar las packetKeys, es que le di al siguiente de buscador y me aparecio esto:
Share this post
Link to post
Share on other sites