Jump to content
  • 0

Novice WoE getcastledata error


Benitora Masaki

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   1
  • Joined:  03/26/12
  • Last Seen:  

Hello I'm currently getting this error when loading nguild event: npc/events/nguild/nguild_ev_agit.txt:

[Error]:
script error on npc/events/nguild/nguild_ev_agit.txt line 181
parse_line: need ';'
179 : {
180 : OnInterIfInitOnce:
* 181 : GetCastleData "nguild_prt",0','"::OnRecvCastleN04";
182 : end;
183 : OnRecvCastleN04:
184 : RequestGuildInfo GetCastleData("nguild_prt",1);
185 : end;
186 : OnAgitStart:

Any help on why this is an issue when it wasnt before would be great ^^

I'd like to state that this is the original untouched script, and yet it errors.

Edited by Benitora Masaki
  • Upvote 1
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


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

huh ? type 0 ? i nvr saw a castle type info of 0 ?

https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/doc/script_commands.txt

here is the valid type...

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)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

Updating status to: Confirmed

(and moved to bugreport:5653)

Bug exists since r15657.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...