Changeset 2413
Author: Sarynth
(2010/06/29 04:47) Over 1 year ago
[trunk] Basic Siege Information support. (See 1.9 branch for details.)
Author: Sarynth
(2010/06/29 04:47) Over 1 year ago
[trunk] Basic Siege Information support. (See 1.9 branch for details.)
# Legion command allows you to disband/setlevel/setpoints of a legiongameserver.administration.command.legion = 3# Remove command allow remove an item from playergameserver.administration.command.remove = 3# Playerinfo commandgameserver.administration.command.playerinfo = 3# Prison commandgameserver.administration.command.prison = 3<siege_locations><import file="siege/siege_locations.xml" skipRoot="true"/></siege_locations>-- ------------------------------ `siege_locations`-- ----------------------------CREATE TABLE IF NOT EXISTS `siege_locations` (`id` int(11) NOT NULL,`race` enum('ELYOS', 'ASMODIANS', 'BALAUR') NOT NULL,`legion_id` int (11) NOT NULL,PRIMARY KEY(`id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8;@Property(key = "gameserver.administration.command.legion", defaultValue = "3")public static int COMMAND_LEGION;@Property(key = "gameserver.administration.command.remove", defaultValue = "3")public static int COMMAND_REMOVE;@Property(key = "gameserver.administration.command.playerinfo", defaultValue = "3")public static int COMMAND_PLAYERINFO;@Property(key = "gameserver.administration.command.prison", defaultValue = "3")public static int COMMAND_PRISON;log.info("Loading: " + main + "/prices.properties");log.info("Loading: " + main + "/prices.properties");log.info("Loading: " + main + "/siege.properties");log.info("Loading: " + main + "/thread.properties");log.info("Loading: " + main + "/thread.properties");@SuppressWarnings("unused")@SuppressWarnings("unused")DataManager.log.info("Loaded " + itemSetData.size() + " item set entries");DataManager.log.info("Loaded " + itemSetData.size() + " item set entries");DataManager.log.info("Loaded " + npcSkillData.size() + " npc skill list entries");DataManager.log.info("Loaded " + npcSkillData.size() + " npc skill list entries");DataManager.log.info("Loaded " + petSkillData.size() + " pet skill list entries");DataManager.log.info("Loaded " + petSkillData.size() + " pet skill list entries");DataManager.log.info("Loaded " + siegeLocationData.size() + " siege location entries");{{writeD(buf, 5749);Influence inf = Influence.getInstance();writeF(buf, (float) 0.34); //elyoswriteF(buf, (float) 0.33); //asmowriteD(buf, SiegeService.getInstance().getSiegeTime());writeF(buf, (float) 0.33); //balaurwriteF(buf, inf.getElyos());// asmo + balaur + elyos = 1writeF(buf, inf.getAsmos());writeF(buf, inf.getBalaur());//TODO: 1.9 has writeH(buf, 3) with balauria valueswriteD(buf, 400010000); //worlid ?writeF(buf, (float) 0.34); //elyoswriteD(buf, 400010000);writeF(buf, (float) 0.33); //asmowriteF(buf, inf.getElyos());writeF(buf, (float) 0.33); //balaurwriteF(buf, inf.getAsmos());writeF(buf, inf.getBalaur());