manabeast Posted July 7, 2012 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
Aerie Posted July 7, 2012 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
manabeast Posted July 7, 2012 Author 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
Aerie Posted July 7, 2012 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
manabeast Posted July 8, 2012 Author 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
Aerie Posted July 8, 2012 Posted July 8, 2012 No, It doesn't works with days only 48h per 48h. You want to have some specific days ? Quote
manabeast Posted July 9, 2012 Author 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
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:
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.