ngek202 Posted March 6, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted March 6, 2012 (edited) 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 March 5, 2012 by ngek202 Quote Link to comment Share on other sites More sharing options...
rexxar31 Posted April 29, 2012 Group: Members Topic Count: 62 Topics Per Day: 0.01 Content Count: 137 Reputation: 0 Joined: 04/07/12 Last Seen: May 17, 2012 Share Posted April 29, 2012 any updates?? Quote Link to comment Share on other sites More sharing options...
Question
ngek202
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:
anyone can check and correct the issues.
WoE_Setter_3.4.3.rar
Edited by ngek202Link to comment
Share on other sites
26 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.