Jump to content
  • 0

Error GetCastleData


Question

Posted

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.

3 answers to this question

Recommended Posts

Posted (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 by none

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...