Jump to content
  • 0

Error GetCastleData


none

Question


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  84
  • Reputation:   1
  • Joined:  11/14/11
  • Last Seen:  

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.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  392
  • Reputation:   285
  • Joined:  12/19/11
  • Last Seen:  

Update your War of Emperium scripts to latest version.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  84
  • Reputation:   1
  • Joined:  11/14/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

*mobcount("<map name>","<event label>")

you have to give an event label also..

try this....

return( mobcount( getarg(0),"" ) >= 0 );

Link to comment
Share on other sites

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.

×
×
  • Create New...