manabeast Posted July 7, 2012 Group: Members Topic Count: 138 Topics Per Day: 0.03 Content Count: 835 Reputation: 25 Joined: 11/22/11 Last Seen: December 4, 2012 Share Posted July 7, 2012 is there anyway to set the treasure box spawn time? i want the treasure every 48hour spawn treasure box in guild. Kriemhild Castle,Bamboo Grove Hill Castle,Schwaltzvalt Guild Castle. // Treasure Room Spawn Template //============================================================ - script Gld_Trea_Spawn::Gld_Trea_Spawn -1,{ end; OnClock0001: ok for 48hour i think kinda not suitable. can i set like this? OnMon0001: OnWed0001: OnFri0001: // Treasure Room Spawn Template //============================================================ - script Gld_Trea_Spawn::Gld_Trea_Spawn -1,{ end; OnMon0001: OnWed0001: OnFri0001: Quote Link to comment Share on other sites More sharing options...
Aerie Posted July 7, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 383 Reputation: 110 Joined: 11/11/11 Last Seen: August 2, 2017 Share Posted July 7, 2012 You can make something like that : // Treasure Room Spawn Template //============================================================ - script Gld_Trea_Spawn::Gld_Trea_Spawn -1,{ end; OnClock0001: //will run each day set $Time_treasure,$Time_treasure+1; //add 1 day if ( $Time_treasure != 2) { end; } // if diffirent of 2 days the script won't launch set $Time_treasure,0; // script launch ... return to 0 //then run the script This topic should be in script support ;D Quote Link to comment Share on other sites More sharing options...
manabeast Posted July 7, 2012 Group: Members Topic Count: 138 Topics Per Day: 0.03 Content Count: 835 Reputation: 25 Joined: 11/22/11 Last Seen: December 4, 2012 Author Share Posted July 7, 2012 thanks. opps.. i thought is server side thing post here. but i little not understand OnClock0001: //(this is what time spawn right?) set $Time_treasure,$Time_treasure+1; //( what mean add 1 day? winner can get how many spawn time? example i set 3. 1 week 3 time only right?) if ( $Time_treasure != 2) { end; } // (no understnad) set $Time_treasure,0; // (no understand) //then run the script Quote Link to comment Share on other sites More sharing options...
Aerie Posted July 7, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 383 Reputation: 110 Joined: 11/11/11 Last Seen: August 2, 2017 Share Posted July 7, 2012 OnClock0001: // This is activated only once per day so each 24hours set $Time_treasure,$Time_treasure+1; //No this only add 1 to the value for each day / per 24 hours if ( $Time_treasure <= 2) { end; } // I've modify in case of problem, but that means when 2*24 hours passed, so $Time_treasure == 2, the script for spawn treasure will be run. If you have only 24 hours passed, the script of treasure spawn wouldn't be run. set $Time_treasure,0; // Back to 0 day for restart the cooldown. //then run the script Quote Link to comment Share on other sites More sharing options...
manabeast Posted July 8, 2012 Group: Members Topic Count: 138 Topics Per Day: 0.03 Content Count: 835 Reputation: 25 Joined: 11/22/11 Last Seen: December 4, 2012 Author Share Posted July 8, 2012 oh i see, will it reset when reach sunday? then the calculate will restart again? 1 2-treasure box 3 4-treasure box 5 6-treasure box 7 Quote Link to comment Share on other sites More sharing options...
Aerie Posted July 8, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 383 Reputation: 110 Joined: 11/11/11 Last Seen: August 2, 2017 Share Posted July 8, 2012 No, It doesn't works with days only 48h per 48h. You want to have some specific days ? Quote Link to comment Share on other sites More sharing options...
manabeast Posted July 9, 2012 Group: Members Topic Count: 138 Topics Per Day: 0.03 Content Count: 835 Reputation: 25 Joined: 11/22/11 Last Seen: December 4, 2012 Author Share Posted July 9, 2012 (edited) actually i dun want castle drop spawn too many time. i want 1 week 3 time treasure box will spawn. dun cure any day hehe.... Edited July 9, 2012 by manabeast Quote Link to comment Share on other sites More sharing options...
Question
manabeast
is there anyway to set the treasure box spawn time? i want the treasure every 48hour spawn treasure box in guild.
Kriemhild Castle,Bamboo Grove Hill Castle,Schwaltzvalt Guild Castle.
ok for 48hour i think kinda not suitable.
can i set like this?
OnMon0001:
OnWed0001:
OnFri0001:
Link to comment
Share on other sites
6 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.