none Posted March 24, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 84 Reputation: 1 Joined: 11/14/11 Last Seen: January 19, 2016 Share 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 Link to comment Share on other sites More sharing options...
Gepard Posted March 24, 2012 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 392 Reputation: 285 Joined: 12/19/11 Last Seen: January 23, 2022 Share Posted March 24, 2012 Update your War of Emperium scripts to latest version. Quote Link to comment Share on other sites More sharing options...
none Posted March 24, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 84 Reputation: 1 Joined: 11/14/11 Last Seen: January 19, 2016 Author Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted March 24, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share 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 Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
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.