I set the days, castles and schedules, but all the castles are enabled for every day, and I would like to follow the order defined.
What can I change?
//WoE timings needs to be ordered ascendingly unless you want to do weird
//stuff like skip a region every other week or so...
//Also times can't overlap. Uses second of day(gettimetick(1)) for timing
// eg 1am -> 3600, 2:30pm -> 52200, midnight -> 86400 (anything past that doesn't work)
//Note: woe_0 is start times, woe_1 is end times. Ignore how it's called but
// don't change it either since it's dynamically used
// Also..woe has to end on the same day it starts (it's easier that way..)
setarray .woe_day[0], 0, 1, 3, 5;
setarray .woe_0[0], 73800,73800,73800,73800;
setarray .woe_1[0], 77400,77400,77400,77400;
setarray .woe_state[0], 0, 0, 0, 0;
//WoE state settings. Every WoE session can be defined as a particular state of castle configuration.
//.woe_state_#[%] = $
// # - state number
// % - region number
// $ - binary representation of castles that are active for that region in that state (
// (ie. 0 is no castles, 5 is castle 0 and 2 (2^0 + 2^2 = 5))
setarray .woe_state_0[0],16,1,0,0,1,8,0;
Question
Christopher Freitas
help to set up a small problem
I set the days, castles and schedules, but all the castles are enabled for every day, and I would like to follow the order defined. What can I change?
//WoE timings needs to be ordered ascendingly unless you want to do weird //stuff like skip a region every other week or so... //Also times can't overlap. Uses second of day(gettimetick(1)) for timing // eg 1am -> 3600, 2:30pm -> 52200, midnight -> 86400 (anything past that doesn't work) //Note: woe_0 is start times, woe_1 is end times. Ignore how it's called but // don't change it either since it's dynamically used // Also..woe has to end on the same day it starts (it's easier that way..) setarray .woe_day[0], 0, 1, 3, 5; setarray .woe_0[0], 73800,73800,73800,73800; setarray .woe_1[0], 77400,77400,77400,77400; setarray .woe_state[0], 0, 0, 0, 0; //WoE state settings. Every WoE session can be defined as a particular state of castle configuration. //.woe_state_#[%] = $ // # - state number // % - region number // $ - binary representation of castles that are active for that region in that state ( // (ie. 0 is no castles, 5 is castle 0 and 2 (2^0 + 2^2 = 5)) setarray .woe_state_0[0],16,1,0,0,1,8,0;
Link to comment
Share on other sites
4 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.