Jump to content
  • 0

Need Help with Fixing [GM]Xeon]'s WoE Setter v3 SQL


ngek202

Question


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

Need Help with Fixing [GM]Xeon]'s WoE Setter v3 SQL, to make it work on the recent SVN Changes from r15657 and r15658

seems GetCastleData changed it's parameter.

Error return from Map Server:


[Error]:  Loading NPC file: npc/guild/agit_template.txt
script error on npc/guild/agit_template.txt line 54
parse_line: need ';'
49 : {
50 :		end;
51 :
52 : // Load (or reload) specific information for a castle.
53 : OnInterIfInitOnce:
*   54 :		if (strnpcinfo(2) == "aldeg_cas01") { GetCastleData "aldeg_cas01
",0','strnpcinfo(0)+"::OnRecvCastle"; }
55 :		else if (strnpcinfo(2) == "aldeg_cas02") { GetCastleData "aldeg_
cas02",0,strnpcinfo(0)+"::OnRecvCastle"; }
56 :		else if (strnpcinfo(2) == "aldeg_cas03") { GetCastleData "aldeg_
cas03",0,strnpcinfo(0)+"::OnRecvCastle"; }
57 :		else if (strnpcinfo(2) == "aldeg_cas04") { GetCastleData "aldeg_
cas04",0,strnpcinfo(0)+"::OnRecvCastle"; }
58 :		else if (strnpcinfo(2) == "aldeg_cas05") { GetCastleData "aldeg_
cas05",0,strnpcinfo(0)+"::OnRecvCastle"; }
59 :		else if (strnpcinfo(2) == "gefg_cas01") { GetCastleData "gefg_ca
s01",0,strnpcinfo(0)+"::OnRecvCastle"; }
[Error]:  Loading NPC file: npc/custom/woe/plugins/woes3_pl-changeownership.txt
script error on npc/custom/woe/plugins/woes3_pl-changeownership.txt line 45
parse_line: need ';'
40 :				if (.@tcode>=.@tcurrent) {
41 :						set .@temp$, ""; set .@ccode, getarg(1); set .@c
current, 16;
42 :						for (set .@i, 5; .@i>0; set .@i,.@i-1) {
43 :								if (.@ccode>=.@ccurrent) {
44 :										setcastledata(getd("$woe_cas"+.@
i_+"_3$["+.@i+"]"),1,.@ownerid); set .@temp$, .@temp$+getd("$woe_cas"+.@i_+"_1$[
"+.@i+"]")+((.@ccode>.@ccurrent)?", ":" ");
*   45 :										if (.@i_<5) { disablenpc "Kafra
Staff#"+getd("$woe_cas"+.@i_+"_3$["+.@i+"]"); GetCastleData getd("$woe_cas"+.@i_
+"_3$["+.@i+"]"),0','"::OnRecvCastle"; } //Some OnRecvCastle label in a guild sc
ript is spitting out 'Map "" not found' debugs =(
46 :										if (.@i_>5) { disablenpc "Kafra
Employee#"+((.@i==6)?"sch":"aru")+"0"+.@i; GetCastleData getd("$woe_cas"+.@i_+"_
3$["+.@i+"]"),0,"::OnRecvCastle"+((.@i==6)?"sc":"Ar")+"0"+.@i; }
47 :										for( set .@n, 4; .@n <= 9; set .
@n, .@n+1 ) {
48 :												SetCastleData getd("$woe
_cas"+.@i_+"_3$["+.@i+"]"), .@n, 0;
49 :										}
50 :										set .@ccode, .@ccode-.@ccurrent;

anyone can check and correct the issues.

WoE_Setter_3.4.3.rar

Edited by ngek202
Link to comment
Share on other sites

Recommended Posts


  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.01
  • Content Count:  137
  • Reputation:   0
  • Joined:  04/07/12
  • Last Seen:  

any updates??

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...