Auryn Posted August 2, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 147 Reputation: 1 Joined: 01/26/12 Last Seen: April 27, 2018 Share Posted August 2, 2012 There is two WoEs per week on my server, one on wednesday and another on sunday. I would the castle that has been aquired by a guild in wednesday be reset when the sunday one comes. How could I do it ? I hope I explained myself correctly. NB : I'm using WoE Setter 3 by [GM]Xeon. Link to comment Share on other sites More sharing options...
Emistry Posted August 2, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Thursday at 04:49 PM Share Posted August 2, 2012 try this - script Sample -1,{ OnClock0001: switch( gettime(4) ){ Case 0: // Sunday setarray .@Map$[0], "prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05","payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05"; break; Case 3: // Wednesday setarray .@Map$[0], "gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05","aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05"; break; default: end; } if( getarraysize(.@Map$) ) for( set .@i,0; .@i < getarraysize(.@Map$); set .@i,.@i + 1 ) setcastledata .@Map$[.@i],1,0; end; } edit the map array to set which castle map guild ownership to be remove this script should be able to remove the guild castle ownership every designed day on 00:01 AM And Please do not create more than 1 topic with same things that you are going to request. http://rathena.org/board/topic/68685-woe-configuration-two-castles-but-only-one-at-a-time/ * Topic Closed * Link to comment Share on other sites More sharing options...
Question
Auryn
There is two WoEs per week on my server, one on wednesday and another on sunday.
I would the castle that has been aquired by a guild in wednesday be reset when the sunday one comes.
How could I do it ?
I hope I explained myself correctly.
NB : I'm using WoE Setter 3 by [GM]Xeon.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts