chromus28 Posted July 20, 2013 Posted July 20, 2013 Hi Team rAthena, Im here again >.< can u please help me about setting my woe setter? It set for 1hour woe only but i want to make it 2hours //convert timestamps to readable format for(set .@i, 0; .@i < .num_woes; set .@i, .@i + 1) { set .@hrs, .woe_0[.@i] / 3600; set .@mins, .woe_0[.@i] % 3600 / 60; set .@output$, ((.@hrs % 12)?.@hrs%12:12) + ":" + ((.@mins < 10)?"0"+.@mins:.@mins) + " " + ((.@hrs > 12)?"PM":"AM"); set .woe_0_str$[.@i], .@output$; set .@hrs, .woe_1[.@i] / 3600; set .@mins, .woe_1[.@i] % 3600 / 60; set .@output$, ((.@hrs % 12)?.@hrs%12:12) + ":" + ((.@mins < 10)?"0"+.@mins:.@mins) + " " + ((.@hrs > 12)?"PM":"AM"); set .woe_1_str$[.@i], .@output$; } i make the 3600 time into 7200 but it change at 30mins lol...please help >.< Quote
LatSo Posted July 20, 2013 Posted July 20, 2013 you made this script or you are using pre-made WOE setter? Quote
chromus28 Posted July 20, 2013 Author Posted July 20, 2013 pre-made i think... i dont really know may dev put this woe setter my* Quote
Patskie Posted July 20, 2013 Posted July 20, 2013 You can try euphy woe controller trunk/npc/custom/woe_controller.txt Quote
chromus28 Posted July 20, 2013 Author Posted July 20, 2013 Ok i will try thanks for the help >.< thanks for the fast reply >.< Quote
Capuche Posted July 20, 2013 Posted July 20, 2013 The script you gave us is only used to display the time, you can't set the woe timer with this Quote
Question
chromus28
Hi Team rAthena,
Im here again >.< can u please help me about setting my woe setter?
It set for 1hour woe only but i want to make it 2hours
i make the 3600 time into 7200 but it change at 30mins lol...please help >.<
5 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.