none Posted March 24, 2012 Posted March 24, 2012 Hello, I have a error on woe script: script error on npc/guild/agit_template.txt line 64 parse_line: need ';' 59 : end; 60 : 61 : // Load (or reload) specific information for a castle. 62 : OnInterIfInitOnce: 63 : if (strnpcinfo(0) == "Gld_Agit_Manager") end; * 64 : GetCastleData strnpcinfo(2),0','strnpcinfo(0) + "::OnRecvCastle"; 65 : end; 66 : 67 : // War of Emperium has started. 68 : OnAgitStart: I have seen that somebody have the same error: http://rathena.org/board/topic/59804-need-help-with-fixing-gmxeons-woe-setter-v3-sql/page__hl__oninterifinitonce But i don't understand the solution (bad english). It's seem that the "GetCastleData" is the error, how to solve it ? Thx for your answer. Quote
Gepard Posted March 24, 2012 Posted March 24, 2012 Update your War of Emperium scripts to latest version. Quote
none Posted March 24, 2012 Author Posted March 24, 2012 (edited) Thx but i have custom woe script, so i just want edit it.. Edit: I 've solve it (watch modification by Vali on WoE Setter 3.4.4) New error on a function: // callfunc "is_map", "<map>"; // returns 1 if the map is a real map. function script is_map { return (getmapmobs (getarg ( 0 )) >= 0); } script error on npc/Functions.txt line 93 parse_simpleexpr: unmatch ')' 91 : { 92 : * 93 : return (getmapmobs '('getarg ( 0 )) >= 0); 94 : 95 : } I 've seen that getmapmobs as been drops. So i try to use mob count but i have error: not enougt argument. return (mobcount (getarg ( 0 )')' >= 0); Edited March 24, 2012 by none Quote
Emistry Posted March 24, 2012 Posted March 24, 2012 *mobcount("<map name>","<event label>") you have to give an event label also.. try this.... return( mobcount( getarg(0),"" ) >= 0 ); Quote
Question
none
Hello,
I have a error on woe script:
I have seen that somebody have the same error:
http://rathena.org/board/topic/59804-need-help-with-fixing-gmxeons-woe-setter-v3-sql/page__hl__oninterifinitonce
But i don't understand the solution (bad english).
It's seem that the "GetCastleData" is the error, how to solve it ?
Thx for your answer.
3 answers to this question
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.