Hello guys, someone can help, the WoE don't starts and I haven't idea why...
It's the Oficial NPC, I just changed some things, the start time I put 1745 to start just for test, but it's not working.
- script Agit_Event -1,{
end;
OnClock1745: //start time for Tues(2), Thurs(4)
OnClock1750: //end time for Tues(2), Thurs(4)
OnAgitInit:
// starting time checks
if(gettime(4)==5) && (gettime(3)>=1745) {
if (!agitcheck()) {
agitstart;
callsub S_DisplayOwners;
}
end;
}
// end time checks
if (gettime(4)==5) && (gettime(3)==1750) {
if (agitcheck()) {
agitend;
callsub S_DisplayOwners;
}
end;
}
end;
S_DisplayOwners:
// setarray .@maps$[0],"aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05";
// setarray .@maps$[5],"gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05";
// setarray .@maps$[10],"payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05";
setarray .@maps$[15],"prtg_cas01"; //"prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05";
for (.@i = 0; .@i <= 19; ++.@i) {
if (getcastledata(.@maps$[.@i],1))
announce "O Castelo [" + getcastlename(.@maps$[.@i]) + "] está em posse do Clã [" + getguildname(getcastledata(.@maps$[.@i],1)) + "].",bc_all|bc_woe;
else
announce "O Castelo [" + getcastlename(.@maps$[.@i]) + "] está totalmente desocupado.",bc_all|bc_woe;
}
end;
}
Hello guys, someone can help, the WoE don't starts and I haven't idea why...
It's the Oficial NPC, I just changed some things, the start time I put 1745 to start just for test, but it's not working.
Please help. :'(
Share this post
Link to post
Share on other sites