exchisu Posted November 28, 2014 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 60 Reputation: 1 Joined: 12/12/13 Last Seen: July 22, 2023 Share Posted November 28, 2014 (edited) Hola a todos, me presento soy Fernando, desde Chile. E estado buscando durante toda la tarde y no e llegado a ningún resultado concreto y bueno. El Error: [Error]: Loading NPC file: npc/custom/costume.txt script error on npc/custom/costume.txt line 45 parse_line: expect command, missing function name or calling undeclared f tion 40 : mes "[Clown]"; 41 : mes "Need some time to think about it uh?"; 42 : mes "Alright, I can understand."; 43 : close; 44 : } * 45 : 'c'ostume .@Part, // Convert the Headgear 46 : mes "[Clown]"; 47 : mes "Done, enjoy your costume headgear."; 48 : close; 49 : case 2: 50 : next; El script costume item es el tipico que todos conocemos que te identificara el Hat que traes puesto, si es que esta dentro de un listado interno obviamente, en donde te dará la opción de Hacerlo CUSTOME, la pestañita de Equipo custome en donde se vera tu Hat costume y no el que traerás puesto en verdad. todas hacían referencia a: http://rathena.org/board/topic/82370-costume-npc-and-costumeitem/ en donde puse el Script y me lanzo un error, leí los post y el mismo error tenia un tipo, y bueno nadie respondio. si alguien sabe, tiene, podría facilitar ayuda ? o su script ? PD: ahí sale un diff... no leí como se integra oh que se hace con eso :S De ante mano me despido, Gracias Edited November 28, 2014 by exchisu Quote Link to comment Share on other sites More sharing options...
Thanatos Memory Posted November 28, 2014 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 80 Reputation: 14 Joined: 05/29/13 Last Seen: October 29, 2016 Share Posted November 28, 2014 English pls Quote Link to comment Share on other sites More sharing options...
exchisu Posted November 28, 2014 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 60 Reputation: 1 Joined: 12/12/13 Last Seen: July 22, 2023 Author Share Posted November 28, 2014 (edited) English pls is this the Spanish support ? what ever, Resumed: i wanna add a script, who convert the normal headgear into "Costume Headgear" i was looking foor the next guide http://rathena.org/board/topic/82370-costume-npc-and-costumeitem/ i add the costume.txt to my server and nothing but the next error appear: [Error]: Loading NPC file: npc/custom/costume.txt script error on npc/custom/costume.txt line 45 parse_line: expect command, missing function name or calling undeclared f tion 40 : mes "[Clown]"; 41 : mes "Need some time to think about it uh?"; 42 : mes "Alright, I can understand."; 43 : close; 44 : } * 45 : 'c'ostume .@Part, // Convert the Headgear 46 : mes "[Clown]"; 47 : mes "Done, enjoy your costume headgear."; 48 : close; 49 : case 2: 50 : next; well... ah! in the original topic, (mentioned up there) are two attached items, i dunno what can i do with the .Diff ?? i just add costume.txt like a ordinary script and i have the error. Attached Files Costume_System_v1.diff 9.35KB 1025 downloads costume.txt 3.28KB 971 downloads Edited November 28, 2014 by exchisu Quote Link to comment Share on other sites More sharing options...
Abschied Posted November 28, 2014 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 1 Reputation: 0 Joined: 10/04/14 Last Seen: February 23, 2019 Share Posted November 28, 2014 'c'ostume .@Part, // Convert the HeadgearSi ese es el error, es porque estas cerrado la línea con una "," en lugar de con ";". Quote Link to comment Share on other sites More sharing options...
exchisu Posted November 28, 2014 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 60 Reputation: 1 Joined: 12/12/13 Last Seen: July 22, 2023 Author Share Posted November 28, 2014 (edited) 'c'ostume .@Part, // Convert the Headgear Si ese es el error, es porque estas cerrado la línea con una "," en lugar de con ";". no fue creado por mi, fue creado por Zephyrus creo lel... Error: Y en este otro que encontré dentro de los comentarios acá en rathena...lanza este error: [Error]: Loading NPC file: npc/custom/Eclipse/costume.txt script error on npc/custom/Eclipse/costume.txt line 11 parse_simpleexpr: unmatched ')' 6 : { 7 : 8 : set .@PRECIO , 500; 9 : 10 : mes name$; mes ""; * 11 : if( isPremium'(') != 1 ) { 12 : mes "This is a premium account system"; 13 : close; 14 : } 15 : mes "Precio: " + .@PRECIO + " Cash C/U"; 16 : Edited November 28, 2014 by exchisu Quote Link to comment Share on other sites More sharing options...
Radian Posted November 29, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted November 29, 2014 I dont understand. but here please relay on this and apply it manually. http://rathena.org/board/topic/82370-costume-npc-and-costumeitem/?p=272111 I tested it on the latest revision. Quote Link to comment Share on other sites More sharing options...
exchisu Posted November 29, 2014 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 60 Reputation: 1 Joined: 12/12/13 Last Seen: July 22, 2023 Author Share Posted November 29, 2014 I dont understand. but here please relay on this and apply it manually. http://rathena.org/board/topic/82370-costume-npc-and-costumeitem/?p=272111 I tested it on the latest revision. a guy post the same problem what i have bro... THIS: and where can i add this.. Costume_System_v1.diff Quote Link to comment Share on other sites More sharing options...
Zikoziz Posted November 29, 2014 Group: Members Topic Count: 61 Topics Per Day: 0.01 Content Count: 208 Reputation: 16 Joined: 12/19/13 Last Seen: 56 minutes ago Share Posted November 29, 2014 Fernando intenta con esto Yo lo tengo que pida 10 Valor Badge + 5.000.000 millones de Zeny Tu puedes editar esa parte como también el mensaje que te dice itemmall,194,72,4 script Custome 864,{ mes "[^FFA500Custome^000000]"; mes "¡Hola! ^0000FF" + strcharinfo(0) + "^000000."; mes "Yo puedo convertir cualquiera de tus Headgear en Custome items."; next; mes "[^FFA500Custome^000000]"; mes "Selecciona que item quieres convertir"; mes "^FF0000Advertencia:^000000 Los bonus, refine y cartas serán removidos."; mes "^FF0000Advertencia:^000000 Si no sabes lo que es pregunta a un GM o revisa información en el foro."; next; setarray .@Position$[1],"Top","Mid","Low"; setarray .@Position[1], 1, 9, 10; set .@Menu$,""; for( set .@i, 1; .@i < 4; set .@i, .@i + 1 ) { if( getequipisequiped(.@Position[.@i]) ) set .@Menu$, .@Menu$ + .@Position$[.@i] + "-" + "[" + getequipname(.@Position[.@i]) + "]"; set .@Menu$, .@Menu$ + ":"; } set .@Part, .@Position[ select(.@Menu$) ]; if( !getequipisequiped(.@Part) ) { mes "[^FFA500Custome^000000]"; mes "No estás vistiendo nada"; close; } mes "[^FFA500Custome^000000]"; mes "¿Quieres convertir " + getitemname(getequipid(.@Part)) + " en custome?"; next; if( select("Sí, por favor:No, lo siento.") == 2 ) { mes "[^FFA500Custome^000000]"; mes "Regresa cuando necesites de mis servicios."; close; } mes "[^FFA500Custome^000000]"; mes "Para poder convertir " + getitemname(getequipid(.@Part)) + " necesitas estas cosas."; mes "10 Valor Badge"; mes "5.000.000 millones de Zeny"; next; mes "[^FFA500Custome^000000]"; mes "¿Tienes lo que se necesita?"; next; if( select("Sí, lo tengo:No") == 2 ) { mes "[^FFA500Custome^000000]"; mes "Regresa cuando tengas lo que te pedí."; close; } if(countitem(7829) < 10 || Zeny < 5000000) { mes "[^FFA500Custome^000000]"; mes "Regresa cuando tengas los items."; close; } else { delitem 7829, 10; set Zeny, Zeny - 5000000; costume .@Part; // Convert the Headgear mes "[^FFA500Custome^000000]"; mes "Listo, disfrutalo."; close; } OnInit: waitingroom "Custome",0; end; } Quote Link to comment Share on other sites More sharing options...
exchisu Posted November 29, 2014 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 60 Reputation: 1 Joined: 12/12/13 Last Seen: July 22, 2023 Author Share Posted November 29, 2014 mismo error ! Quote Link to comment Share on other sites More sharing options...
Zikoziz Posted November 30, 2014 Group: Members Topic Count: 61 Topics Per Day: 0.01 Content Count: 208 Reputation: 16 Joined: 12/19/13 Last Seen: 56 minutes ago Share Posted November 30, 2014 El problema es que no usas eamod esos comandos no te correrán con solo rathena Quote Link to comment Share on other sites More sharing options...
exchisu Posted November 30, 2014 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 60 Reputation: 1 Joined: 12/12/13 Last Seen: July 22, 2023 Author Share Posted November 30, 2014 pero ahi colocan ese diff pero nose que hacer con el Quote Link to comment Share on other sites More sharing options...
lalaker Posted December 1, 2014 Group: Members Topic Count: 21 Topics Per Day: 0.01 Content Count: 72 Reputation: 3 Joined: 03/09/14 Last Seen: April 8 Share Posted December 1, 2014 tengo el npc disguise por ejemplo puede convertir cualquier hat en costume manda imbox si te interesa hehe Quote Link to comment Share on other sites More sharing options...
Radian Posted December 1, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted December 1, 2014 I dont understand. but here please relay on this and apply it manually. http://rathena.org/board/topic/82370-costume-npc-and-costumeitem/?p=272111 I tested it on the latest revision. a guy post the same problem what i have bro... THIS: and where can i add this.. Costume_System_v1.diff It means that you need to add/change something on the source. so the script will work properly Quote Link to comment Share on other sites More sharing options...
Zikoziz Posted December 1, 2014 Group: Members Topic Count: 61 Topics Per Day: 0.01 Content Count: 208 Reputation: 16 Joined: 12/19/13 Last Seen: 56 minutes ago Share Posted December 1, 2014 pero ahi colocan ese diff pero nose que hacer con el El diff es para agregar comandos al src Quote Link to comment Share on other sites More sharing options...
exchisu Posted December 1, 2014 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 60 Reputation: 1 Joined: 12/12/13 Last Seen: July 22, 2023 Author Share Posted December 1, 2014 pero ahi colocan ese diff pero nose que hacer con el El diff es para agregar comandos al src pero como lo uso xD!! Quote Link to comment Share on other sites More sharing options...
darkmejor Posted August 17, 2019 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 22 Reputation: 0 Joined: 08/11/19 Last Seen: May 15, 2023 Share Posted August 17, 2019 pudiste solucionarlo? Quote Link to comment Share on other sites More sharing options...
Mael Posted August 20, 2019 Group: Forum Moderator Topic Count: 25 Topics Per Day: 0.01 Content Count: 837 Reputation: 321 Joined: 02/11/19 Last Seen: 9 hours ago Share Posted August 20, 2019 On 8/16/2019 at 11:31 PM, darkmejor said: pudiste solucionarlo? Lo que debía hacer primero es aplicar el diff y luego el npc para convertir items a costumes. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.