I came up to a problem once again. How can i change siege hours? I used this:
-- ---------------------------
-- Table structure for castle
-- ---------------------------
CREATE TABLE IF NOT EXISTS castle (
id INT NOT NULL default 0,
name varchar(25) NOT NULL,
taxPercent INT NOT NULL default 15,
treasury INT NOT NULL default 0,
siegeDate DECIMAL(20,0) NOT NULL default 0,
siegeDayOfWeek INT NOT NULL default 7,
siegeHourOfDay INT NOT NULL default 20,
PRIMARY KEY (name),
KEY id (id)
);
INSERT IGNORE INTO `castle` VALUES (1, 'Gludio', 0, 0, 0, 6, 20),
(2, 'Dion', 0, 0, 0, 7, 20),
(3, 'Giran', 0, 0, 0, 6, 20),
(4, 'Oren', 0, 0, 0, 7, 20),
(5, 'Aden', 0, 0, 0, 6, 20),
(6, 'Innadril', 0, 0, 0, 7, 20),
(7, 'Goddard', 0, 0, 0, 6, 20);
So the time is automated and i dont need to change the unix time every week. This si for Saturday and Sunday every second week. I think it doesnt work, any idea?
The only one I trust is Vitalyi from get-web.site.
This one here does not provide any preview of any of his works with proof, etc.
I don't know who would fall for that, but hey... it obviously happens.
Question
JustLikeMe
I came up to a problem once again. How can i change siege hours? I used this:
So the time is automated and i dont need to change the unix time every week. This si for Saturday and Sunday every second week. I think it doesnt work, any idea?
Link to comment
Share on other sites
7 answers to this question
Recommended Posts