Eyhra Posted March 6, 2016 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 73 Reputation: 7 Joined: 04/30/14 Last Seen: 7 hours ago Share Posted March 6, 2016 miren tengo el siguiente problema me tira el error de [Error]: Loading NPC file: npc/scripts/woe_setter_3.txt script error on npc/scripts/woe_setter_3.txt line 85 parse_line: expected ';' pero lo reviso lo reviso y no encuentro el error podrian ayudarme les dejo el script woe_setter_3.txt Quote Link to comment Share on other sites More sharing options...
Eyhra Posted March 13, 2016 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 73 Reputation: 7 Joined: 04/30/14 Last Seen: 7 hours ago Author Share Posted March 13, 2016 cri cri cri Quote Link to comment Share on other sites More sharing options...
Echoes Posted March 13, 2016 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 155 Reputation: 6 Joined: 03/30/13 Last Seen: March 6 Share Posted March 13, 2016 getcastledata .@Castle$,0,"Agit#" + .@Castle$ + "::OnRecvCastle",; Está aquí ( ,; ), borra la ( , ) y debería servirte. Quote Link to comment Share on other sites More sharing options...
Eyhra Posted March 14, 2016 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 73 Reputation: 7 Joined: 04/30/14 Last Seen: 7 hours ago Author Share Posted March 14, 2016 (edited) ya había hecho eso pero sigue dando problemas ya se a cambiando varias veces y sige surgiendo el mismo problema u.u por eso es que decidi por hablar por aqui en el grupo Edited March 15, 2016 by Ziu corrector que me sagran los ojos Quote Link to comment Share on other sites More sharing options...
Ziu Posted March 16, 2016 Group: Members Topic Count: 178 Topics Per Day: 0.04 Content Count: 909 Reputation: 247 Joined: 11/08/11 Last Seen: March 28 Share Posted March 16, 2016 el error que marca es claro la coma, si modificandolo no funciona contacta con el creador del script Quote Link to comment Share on other sites More sharing options...
DanielArt Posted March 16, 2016 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 58 Reputation: 2 Joined: 11/08/12 Last Seen: July 1, 2017 Share Posted March 16, 2016 Ponlo así: getcastledata .@Castle$,"Agit#" + .@Castle$ + "::OnRecvCastle"; getcastledata solo lleva dos valores.setcastledata lleva 3 valores, si fuera setcastledata estaría correcto quitándole ese feo ,;Vamos leyendo scripts commands *getcastledata("<map name>",<type of data>) *setcastledata "<map name>",<type of data>,<value>; This function returns the castle ownership information for the castle referred to by its map name. Castle information is stored in `guild_castle` SQL table. Types of data correspond to `guild_castle` table columns: 1 - `guild_id` - Guild ID. 2 - `economy` - Castle Economy score. 3 - `defense` - Castle Defense score. 4 - `triggerE` - Number of times the economy was invested in today. 5 - `triggerD` - Number of times the defense was invested in today. 6 - `nextTime` - unused 7 - `payTime` - unused 8 - `createTime` - unused 9 - `visibleC` - Is 1 if a Kafra was hired for this castle, 0 otherwise. 10 - `visibleG0` - Is 1 if the 1st guardian is present (Soldier Guardian) 11 - `visibleG1` - Is 1 if the 2nd guardian is present (Soldier Guardian) 12 - `visibleG2` - Is 1 if the 3rd guardian is present (Soldier Guardian) 13 - `visibleG3` - Is 1 if the 4th guardian is present (Archer Guardian) 14 - `visibleG4` - Is 1 if the 5th guardian is present (Archer Guardian) 15 - `visibleG5` - Is 1 if the 6th guardian is present (Knight Guardian) 16 - `visibleG6` - Is 1 if the 7th guardian is present (Knight Guardian) 17 - `visibleG7` - Is 1 if the 8th guardian is present (Knight Guardian) All types of data have their meaning determined by War of Emperium scripts, with exception of: - `guild_id` that is always considered ID of the guild that owns the castle, - `defense` that is used in Guardians & Emperium HP calculations, - `visibleG` that is always considered to hold guardian presence bits. The 'setcastledata' command will behave identically, but instead of returning values for the specified types of accessible data, it will alter them and cause them to be sent to the char-server for storage. Changing Guild ID or Castle Defense will trigger additional actions, like recalculating guardians' HP. Quote Link to comment Share on other sites More sharing options...
Echoes Posted March 16, 2016 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 155 Reputation: 6 Joined: 03/30/13 Last Seen: March 6 Share Posted March 16, 2016 @DanielArt El comando getcastledata también puede llevar un tercer argumento getcastledata("<map name>",<type of data>{,<event>}) Fuente: https://rathena.org/wiki/Getcastledata Quizás ese 0 actúa para que siga el script.. Como dice Ziu, mejor contacta al creador del Script para que resuelvas dudas con él. Quote Link to comment Share on other sites More sharing options...
DanielArt Posted March 16, 2016 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 58 Reputation: 2 Joined: 11/08/12 Last Seen: July 1, 2017 Share Posted March 16, 2016 ¿Qué emulador usan pues?Que yo tengo el lastrev de rAthena y en mi scripts commands es el copy paste que he hecho >=C Quote Link to comment Share on other sites More sharing options...
Eyhra Posted March 21, 2016 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 73 Reputation: 7 Joined: 04/30/14 Last Seen: 7 hours ago Author Share Posted March 21, 2016 ¿Qué emulador usan pues? Que yo tengo el lastrev de rAthena y en mi scripts commands es el copy paste que he hecho >=C listo se soluciono eso pero no solo es eso ahora ya no sale el otro error pero sale que esta linea esta mal getcastledata .@Castle$,0,.Castles_SE_Event$[$Castles_SE[getarg(0)]]; Quote Link to comment Share on other sites More sharing options...
Eyhra Posted April 6, 2016 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 73 Reputation: 7 Joined: 04/30/14 Last Seen: 7 hours ago Author Share Posted April 6, 2016 SOLUCIONADO CERRAR 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.