I also change some numbers like 30 to 34 (regarding castles) as well as 6 to 7 (regarding regions) occassionally
set .Size, getarraysize($WOE_CONTROL);
if (.AutoKick || .NoOwner)
for(set .@i,0; .@i<34; set .@i,.@i+1) {
setmapflag(.Castles$[.@i], MF_LOADEVENT);
setd "."+.Castles$[.@i], .@i;
}
if (!agitcheck() && !agitcheck2()) sleep 4000;
set .Init,1;
However at the end, when i place a schedule for novice guild one of the castles of prontera is included and when I tried to delete the castle it also deletes the novice castle.
Hi All,
I am hoping someone will help adding novice castle on WoE Controller ...
Here are some things I updated...
// ----------------------------------------------------------- // Constants (leave this section alone). // ----------------------------------------------------------- setarray .Castles$[0], "prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05", "payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05", "gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05", "aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05", "arug_cas01","arug_cas02","arug_cas03","arug_cas04","arug_cas05", "schg_cas01","schg_cas02","schg_cas03","schg_cas04","schg_cas05", "nguild_alde","nguild_gef","nguild_pay","nguild_prt"; setarray .EndLabel$[0],"ar01","ar02","ar03","ar04","ar05","sc01","sc02","sc03","sc04","sc05"; setarray .Days$[0],"Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"; setarray .Regions$[0],"Prontera","Payon","Geffen","Aldebaran","Arunafeltz","Schwaltzvalt","Novice"; setarray .Map$[0],"prt_gld","pay_gld","gef_fild13","alde_gld","aru_gld","sch_gld","n_castle"; setarray .MapX[0],134,240,153,111,208,121,295,317,140,204,214,308,143,193,305,48, 95,142,239,264,158,83, 68,299,292,293,288, 97,137, 71,187,183, 18, 19; setarray .MapY[0], 65,128,137,240,240,233,116,293,160,266, 75,240,240,278, 87,83,249, 85,242, 90,272,47,155,345,107,100,252,196, 90,315, 16,180,178, 14; // -----------------------------------------------------------
I also change some numbers like 30 to 34 (regarding castles) as well as 6 to 7 (regarding regions) occassionally
set .Size, getarraysize($WOE_CONTROL); if (.AutoKick || .NoOwner) for(set .@i,0; .@i<34; set .@i,.@i+1) { setmapflag(.Castles$[.@i], MF_LOADEVENT); setd "."+.Castles$[.@i], .@i; } if (!agitcheck() && !agitcheck2()) sleep 4000; set .Init,1;
However at the end, when i place a schedule for novice guild one of the castles of prontera is included and when I tried to delete the castle it also deletes the novice castle.
Please help!
Thanks!
Share this post
Link to post
Share on other sites