├── resources ├── version ├── scripts │ ├── cd.xls │ ├── arena.xls │ ├── boss.xls │ ├── escort.xls │ ├── foster.xls │ ├── gift.xls │ ├── guide.xls │ ├── helper.xls │ ├── items.xls │ ├── legion.xls │ ├── mall.xls │ ├── mars.xls │ ├── mine.xls │ ├── name.xls │ ├── prison.xls │ ├── quest.xls │ ├── rank.xls │ ├── refine.xls │ ├── reward.xls │ ├── shop.xls │ ├── skill.xls │ ├── spree.xls │ ├── sprite.xls │ ├── stage.xls │ ├── target.xls │ ├── titles.xls │ ├── abattoir.xls │ ├── faction.xls │ ├── godsoul.xls │ ├── maincity.xls │ ├── monster.xls │ ├── predict.xls │ ├── recharge.xls │ ├── training.xls │ ├── warrior.xls │ ├── battlePop.xls │ ├── betareward.xls │ ├── bloodtemple.xls │ ├── buildings.xls │ ├── costnotify.xls │ ├── dirtywords.xls │ ├── elitestage.xls │ ├── equipment.xls │ ├── gamefuncs.xls │ ├── harvestgem.xls │ ├── honourshop.xls │ ├── horoscope.xls │ ├── legionboss.xls │ ├── legionmine.xls │ ├── levelConfig.xls │ ├── loginreward.xls │ ├── matchbattle.xls │ ├── meditation.xls │ ├── occupation.xls │ ├── questions.xls │ ├── stagestar.xls │ ├── technology.xls │ ├── timetasks.xls │ ├── turntable.xls │ ├── yellowvip.xls │ ├── onlinereward.xls │ ├── vipprivilege.xls │ └── crystalexchange.xls ├── i18n │ ├── en_US │ │ ├── lang_npc.xls │ │ ├── lang_vip.xls │ │ ├── lang_war.xls │ │ ├── sys_lang.xls │ │ ├── lang_army.xls │ │ ├── lang_array.xls │ │ ├── lang_barn.xls │ │ ├── lang_camp.xls │ │ ├── lang_farm.xls │ │ ├── lang_guide.xls │ │ ├── lang_guild.xls │ │ ├── lang_items.xls │ │ ├── lang_learn.xls │ │ ├── lang_levy.xls │ │ ├── lang_mail.xls │ │ ├── lang_pets.xls │ │ ├── lang_prize.xls │ │ ├── lang_quest.xls │ │ ├── lang_rank.xls │ │ ├── lang_shop.xls │ │ ├── lang_sieze.xls │ │ ├── lang_tech.xls │ │ ├── lang_trade.xls │ │ ├── lang_world.xls │ │ ├── lang_activity.xls │ │ ├── lang_alliance.xls │ │ ├── lang_behavior.xls │ │ ├── lang_building.xls │ │ ├── lang_bursary.xls │ │ ├── lang_cdqueue.xls │ │ ├── lang_enhance.xls │ │ ├── lang_festival.xls │ │ ├── lang_gamefunc.xls │ │ ├── lang_invest.xls │ │ ├── lang_market.xls │ │ ├── lang_missions.xls │ │ ├── lang_openbag.xls │ │ ├── lang_season.xls │ │ ├── lang_shopmall.xls │ │ ├── lang_training.xls │ │ ├── lang_dirtywords.xls │ │ ├── lang_firstsend.xls │ │ ├── lang_silverore.xls │ │ ├── lang_timeevent.xls │ │ └── lang_slavetorment.xls │ └── zh_CN │ │ └── sys_lang.xls └── .project ├── tools ├── doc │ ├── README.txt │ └── 自动化模版生成工具的使用.xlsx ├── bin │ ├── excel │ │ └── model │ │ │ ├── LevyRevenueTemplate.txt │ │ │ ├── ItemConstantIdTemplate.txt │ │ │ ├── LevyCostTemplate.txt │ │ │ ├── DailyQuestBuyNumCostTemplate.txt │ │ │ ├── LevyBetRevenueTemplate.txt │ │ │ ├── LevyCertainWinCostTemplate.txt │ │ │ ├── MainBagUpgradeTemplate.txt │ │ │ ├── QuestionConsumeTemplate.txt │ │ │ ├── RefineCostTemplate.txt │ │ │ ├── TimeTasksTemplate.txt │ │ │ ├── TurntableCostTemplate.txt │ │ │ ├── YellowVipOnceRewardTemplate.txt │ │ │ ├── AbattoirBuyNumCostTemplate.txt │ │ │ ├── ArenaBuyTimeCostTemplate.txt │ │ │ ├── EscortBuyRobNumCostTemplate.txt │ │ │ ├── EscortRefreshMonsterCostTemplate.txt │ │ │ ├── EscortRobRankRewardTemplate.txt │ │ │ ├── LegionFuncTemplate.txt │ │ │ ├── MarsBuyMultipleNumCostTemplate.txt │ │ │ ├── RefineRefreshCostTemplate.txt │ │ │ ├── SpritePubCertainWinCostTemplate.txt │ │ │ ├── TimesTemplate.txt │ │ │ ├── BloodTempleBuyNumCostTemplate.txt │ │ │ ├── CdTiredTemplate.txt │ │ │ ├── DirtyWordsTemplate.txt │ │ │ ├── MatchBattleRankRewardTemplate.txt │ │ │ ├── MeditationAssistRewardTemplate.txt │ │ │ ├── StageStarCdTemplate.txt │ │ │ ├── EliteStageStateRefreshCostTemplate.txt │ │ │ ├── EquipMakeGuideTemplate.txt │ │ │ ├── FosterCoinCostTemplate.txt │ │ │ ├── MagicStoneCollectConsumeTemplate.txt │ │ │ ├── MineLevelTemplate.txt │ │ │ ├── NameDirtyWordsTemplate.txt │ │ │ ├── PrisonBuyArrestNumTemplate.txt │ │ │ ├── RewardPushTemplate.txt │ │ │ ├── BetaRewardTemplate.txt │ │ │ ├── FirstRechargeTemplate.txt │ │ │ ├── MagicStoneTemplate.txt │ │ │ ├── NameFirstTemplate.txt │ │ │ ├── BuyEnergyCostTemplate.txt │ │ │ ├── FuncCategoryTemplate.txt │ │ │ ├── LoginRewardTemplate.txt │ │ │ ├── BattlePopTemplate.txt │ │ │ ├── LoginRewardTimeTemplate.txt │ │ │ ├── LoginSpecialRewardTemplate.txt │ │ │ ├── NameSecondFemaleTemplate.txt │ │ │ ├── NameSecondMaleTemplate.txt │ │ │ ├── SceneTemplate.txt │ │ │ ├── PrisonUnlockRoomTemplate.txt │ │ │ ├── YellowVipDailyRewardTemplate.txt │ │ │ ├── CrystalExchangeConfigTemplate.txt │ │ │ ├── EquipBitPropertyAmendTemplate.txt │ │ │ ├── ResetSkillPointsTemplate.txt │ │ │ ├── GemItemTemplate.txt │ │ │ ├── PredictPageTemplate.txt │ │ │ ├── BetaUserTemplate.txt │ │ │ ├── FuncHelperMapTemplate.txt │ │ │ ├── RechargeTemplate.txt │ │ │ ├── YellowVipLevelUpRewardTemplate.txt │ │ │ ├── FosterCostTemplate.txt │ │ │ ├── LegionMineTypeTemplate.txt │ │ │ ├── MineConsumeTemplate.txt │ │ │ ├── HelperTemplate.txt │ │ │ ├── LegionLevelTemplate.txt │ │ │ ├── MarsBetTemplate.txt │ │ │ ├── ComboTemplate.txt │ │ │ ├── CostNotifyTemplate.txt │ │ │ ├── LegionBufTemplate.txt │ │ │ ├── MarsFieldTemplate.txt │ │ │ ├── ArenaConfigTemplate.txt │ │ │ ├── EscortRewardTemplate.txt │ │ │ ├── LegionMineSurroundStateTemplate.txt │ │ │ ├── FosterMaxTemplate.txt │ │ │ ├── MainCityMonsterTemplate.txt │ │ │ ├── TurntableTemplate.txt │ │ │ ├── LegionTaskRankTemplate.txt │ │ │ ├── MarsBattleRewardTemplate.txt │ │ │ ├── YearYellowVipRewardTemplate.txt │ │ │ ├── EquipBitBuffTemplate.txt │ │ │ ├── MagicPaperBuffTemplate.txt │ │ │ ├── MeditationRewardTemplate.txt │ │ │ ├── CrystalExchangeConsumeTemplate.txt │ │ │ ├── FactionTemplate.txt │ │ │ ├── LegionMeditationLevelTemplate.txt │ │ │ ├── LevyAuraTemplate.txt │ │ │ ├── RefreshSpecialShopTemplate.txt │ │ │ ├── StageRewardConsumeTemplate.txt │ │ │ ├── CrystalExchangeRewardTemplate.txt │ │ │ ├── HoroscopeIntroduceTemplate.txt │ │ │ ├── RechargeActivityTimeTemplate.txt │ │ │ ├── StageRewardTemplate.txt │ │ │ ├── StageStarRewardTemplate.txt │ │ │ ├── ActivityShowTypeTemplate.txt │ │ │ ├── EliteStageTypeTemplate.txt │ │ │ ├── HoroscopeTypeTemplate.txt │ │ │ ├── LegionMineTemplate.txt │ │ │ ├── MeditationModeTemplate.txt │ │ │ ├── RefineMapTemplate.txt │ │ │ ├── TotalRechargeTemplate.txt │ │ │ ├── RankRewardTemplate.txt │ │ │ ├── RankTemplate.txt │ │ │ ├── SingleRechargeTemplate.txt │ │ │ ├── BossRankRewardTemplate.txt │ │ │ ├── BuildingUpgradeRatioTemplate.txt │ │ │ ├── LegionShopTemplate.txt │ │ │ ├── TrainingTypeTemplate.txt │ │ │ ├── BuildingFuncTemplate.txt │ │ │ ├── EscortHelpRewardTemplate.txt │ │ │ ├── FosterModeTemplate.txt │ │ │ ├── LegionMineSelfBufTemplate.txt │ │ │ ├── LegionTaskBuildingTemplate.txt │ │ │ ├── EscortRefreshMonsterRateTemplate.txt │ │ │ ├── LegionHonorBuildingTemplate.txt │ │ │ ├── LegionShopBuildingTemplate.txt │ │ │ ├── MeditationAssistPositionTemplate.txt │ │ │ ├── HumanGemPropTemplate.txt │ │ │ ├── LegionMineRichRateTemplate.txt │ │ │ ├── LegionTechnologyBuildingTemplate.txt │ │ │ ├── SkillSlotTemplate.txt │ │ │ ├── SpriteRecruitTemplate.txt │ │ │ ├── LegionTechnologyTypeTemplate.txt │ │ │ ├── QuestionScoreExchangeTemplate.txt │ │ │ ├── HonourShopTemplate.txt │ │ │ ├── LegionMineBattleRewardTemplate.txt │ │ │ ├── MatchBattleStreakWinTemplate.txt │ │ │ ├── MineFieldRateTemplate.txt │ │ │ ├── QuestionAnswerTemplate.txt │ │ │ ├── LegionMeditationBuildingTemplate.txt │ │ │ ├── PrisonExperienceTemplate.txt │ │ │ ├── ShopTemplate.txt │ │ │ ├── EscortMonsterTemplate.txt │ │ │ ├── FosterAttributeTemplate.txt │ │ │ ├── LegionPositionTemplate.txt │ │ │ ├── BuildingUpgradeTemplate.txt │ │ │ ├── ArenaBattleRewardTemplate.txt │ │ │ ├── FuncHelperTemplate.txt │ │ │ ├── OnLineRewardTemplate.txt │ │ │ ├── SpriteStarMapTemplate.txt │ │ │ ├── ItemForgeRandomTemplate.txt │ │ │ ├── LegionMeditationTemplate.txt │ │ │ ├── MarsRoomTemplate.txt │ │ │ ├── PredictTemplate.txt │ │ │ ├── BloodTempleRoomTemplate.txt │ │ │ ├── EscortRobRewardTemplate.txt │ │ │ ├── LegionRightTemplate.txt │ │ │ ├── LegionTechnologyTemplate.txt │ │ │ ├── WarriorChallengeRewardTemplate.txt │ │ │ ├── EquipBitLevelTemplate.txt │ │ │ ├── VipTrainingTypeTemplate.txt │ │ │ ├── WarriorQuestTemplate.txt │ │ │ ├── LegionMineRewardTemplate.txt │ │ │ ├── BuildingTemplate.txt │ │ │ ├── ItemForgeTemplate.txt │ │ │ ├── DailyQuestRewardTemplate.txt │ │ │ ├── StageStarTemplate.txt │ │ │ ├── HumanLevelUpTemplate.txt │ │ │ ├── SkillDevelopTypeTemplate.txt │ │ │ ├── MatchBattleRewardTemplate.txt │ │ │ ├── GemUpgradeTemplate.txt │ │ │ ├── TechnologyTemplate.txt │ │ │ ├── AbattoirRoomTemplate.txt │ │ │ ├── SkillScrollTemplate.txt │ │ │ ├── GiftChipTemplate.txt │ │ │ ├── StagePassRewardTemplate.txt │ │ │ ├── SpecialShopTemplate.txt │ │ │ ├── MagicPaperUpgradeTemplate.txt │ │ │ ├── SpriteBuffTemplate.txt │ │ │ ├── GiftTemplate.txt │ │ │ ├── StageStrongholdTemplate.txt │ │ │ └── RechargeTXTemplate.txt │ ├── xls2txt │ │ ├── run.bat │ │ ├── test.xls │ │ └── config.xml │ ├── data │ │ ├── run.bat │ │ └── bin │ │ │ ├── ExportExcel.jar │ │ │ └── lib │ │ │ ├── jdom-1.0.jar │ │ │ └── poi-3.5-FINAL-20090928.jar │ ├── log │ │ └── model │ │ │ ├── QuestLog.txt │ │ │ ├── GmCommandLog.txt │ │ │ ├── EnergyLog.txt │ │ │ ├── HonourLog.txt │ │ │ ├── ExperienceLog.txt │ │ │ ├── PropertyLog.txt │ │ │ ├── SkillPointLog.txt │ │ │ ├── TechPointLog.txt │ │ │ ├── BattleLog.txt │ │ │ ├── MoneyLog.txt │ │ │ ├── HoroscopeLog.txt │ │ │ ├── ChatLog.txt │ │ │ ├── FriendLog.txt │ │ │ ├── OnlineTimeLog.txt │ │ │ ├── ItemLog.txt │ │ │ ├── BasicPlayerLog.txt │ │ │ └── RechargeLog.txt │ ├── updateSqlTool.properties │ ├── msg │ │ └── template │ │ │ ├── lua │ │ │ ├── test │ │ │ │ ├── CGMessageRegistry.lua │ │ │ │ └── GCMessageRegistry.lua │ │ │ ├── LuaMessageType.vm │ │ │ └── LuaGCMessageRegistry.vm │ │ │ └── properties_txt.vm │ ├── avgload │ │ └── readme.txt │ └── entity │ │ └── codetemplate │ │ └── EntityMessageType.template ├── config │ ├── excel │ │ └── model │ │ │ ├── LevyCostTemplate.txt │ │ │ ├── LevyRevenueTemplate.txt │ │ │ ├── ItemConstantIdTemplate.txt │ │ │ ├── MainBagUpgradeTemplate.txt │ │ │ ├── QuestionConsumeTemplate.txt │ │ │ ├── RefineCostTemplate.txt │ │ │ ├── TurntableCostTemplate.txt │ │ │ ├── DailyQuestBuyNumCostTemplate.txt │ │ │ ├── EscortBuyRobNumCostTemplate.txt │ │ │ ├── EscortRobRankRewardTemplate.txt │ │ │ ├── LegionFuncTemplate.txt │ │ │ ├── LevyBetRevenueTemplate.txt │ │ │ ├── LevyCertainWinCostTemplate.txt │ │ │ ├── TimeTasksTemplate.txt │ │ │ ├── TimesTemplate.txt │ │ │ ├── YellowVipOnceRewardTemplate.txt │ │ │ ├── AbattoirBuyNumCostTemplate.txt │ │ │ ├── ArenaBuyTimeCostTemplate.txt │ │ │ ├── CdTiredTemplate.txt │ │ │ ├── EscortRefreshMonsterCostTemplate.txt │ │ │ ├── MarsBuyMultipleNumCostTemplate.txt │ │ │ ├── MeditationAssistRewardTemplate.txt │ │ │ ├── RefineRefreshCostTemplate.txt │ │ │ ├── SpritePubCertainWinCostTemplate.txt │ │ │ ├── BloodTempleBuyNumCostTemplate.txt │ │ │ ├── DirtyWordsTemplate.txt │ │ │ ├── EliteStageStateRefreshCostTemplate.txt │ │ │ ├── EquipMakeGuideTemplate.txt │ │ │ ├── FosterCoinCostTemplate.txt │ │ │ ├── MagicStoneCollectConsumeTemplate.txt │ │ │ ├── MatchBattleRankRewardTemplate.txt │ │ │ ├── MineLevelTemplate.txt │ │ │ ├── StageStarCdTemplate.txt │ │ │ ├── BetaRewardTemplate.txt │ │ │ ├── FirstRechargeTemplate.txt │ │ │ ├── NameDirtyWordsTemplate.txt │ │ │ ├── NameFirstTemplate.txt │ │ │ ├── PrisonBuyArrestNumTemplate.txt │ │ │ ├── RewardPushTemplate.txt │ │ │ ├── MagicStoneTemplate.txt │ │ │ ├── BuyEnergyCostTemplate.txt │ │ │ ├── FuncCategoryTemplate.txt │ │ │ ├── LoginRewardTemplate.txt │ │ │ ├── NameSecondMaleTemplate.txt │ │ │ ├── SceneTemplate.txt │ │ │ ├── BattlePopTemplate.txt │ │ │ ├── LoginRewardTimeTemplate.txt │ │ │ ├── LoginSpecialRewardTemplate.txt │ │ │ ├── NameSecondFemaleTemplate.txt │ │ │ ├── CrystalExchangeConfigTemplate.txt │ │ │ ├── PrisonUnlockRoomTemplate.txt │ │ │ ├── ResetSkillPointsTemplate.txt │ │ │ ├── YellowVipDailyRewardTemplate.txt │ │ │ ├── EquipBitPropertyAmendTemplate.txt │ │ │ ├── FuncHelperMapTemplate.txt │ │ │ ├── GemItemTemplate.txt │ │ │ ├── PredictPageTemplate.txt │ │ │ ├── RechargeTemplate.txt │ │ │ ├── YellowVipLevelUpRewardTemplate.txt │ │ │ ├── BetaUserTemplate.txt │ │ │ ├── FosterCostTemplate.txt │ │ │ ├── LegionMineTypeTemplate.txt │ │ │ ├── MineConsumeTemplate.txt │ │ │ ├── HelperTemplate.txt │ │ │ ├── CostNotifyTemplate.txt │ │ │ ├── LegionBufTemplate.txt │ │ │ ├── LegionLevelTemplate.txt │ │ │ ├── MarsBetTemplate.txt │ │ │ ├── MarsFieldTemplate.txt │ │ │ ├── ArenaConfigTemplate.txt │ │ │ ├── ComboTemplate.txt │ │ │ ├── LegionMineSurroundStateTemplate.txt │ │ │ ├── EscortRewardTemplate.txt │ │ │ ├── TurntableTemplate.txt │ │ │ ├── FosterMaxTemplate.txt │ │ │ ├── MainCityMonsterTemplate.txt │ │ │ ├── YearYellowVipRewardTemplate.txt │ │ │ ├── LegionTaskRankTemplate.txt │ │ │ ├── MarsBattleRewardTemplate.txt │ │ │ ├── MeditationRewardTemplate.txt │ │ │ ├── EquipBitBuffTemplate.txt │ │ │ ├── FactionTemplate.txt │ │ │ ├── LevyAuraTemplate.txt │ │ │ ├── MagicPaperBuffTemplate.txt │ │ │ ├── StageRewardConsumeTemplate.txt │ │ │ ├── CrystalExchangeConsumeTemplate.txt │ │ │ ├── LegionMeditationLevelTemplate.txt │ │ │ ├── RechargeActivityTimeTemplate.txt │ │ │ ├── RefreshSpecialShopTemplate.txt │ │ │ ├── CrystalExchangeRewardTemplate.txt │ │ │ ├── EliteStageTypeTemplate.txt │ │ │ ├── HoroscopeIntroduceTemplate.txt │ │ │ ├── StageRewardTemplate.txt │ │ │ ├── StageStarRewardTemplate.txt │ │ │ ├── ActivityShowTypeTemplate.txt │ │ │ ├── HoroscopeTypeTemplate.txt │ │ │ ├── LegionMineTemplate.txt │ │ │ ├── MeditationModeTemplate.txt │ │ │ ├── RankTemplate.txt │ │ │ ├── RefineMapTemplate.txt │ │ │ ├── SingleRechargeTemplate.txt │ │ │ ├── TotalRechargeTemplate.txt │ │ │ ├── RankRewardTemplate.txt │ │ │ ├── TrainingTypeTemplate.txt │ │ │ ├── BossRankRewardTemplate.txt │ │ │ ├── BuildingUpgradeRatioTemplate.txt │ │ │ ├── FosterModeTemplate.txt │ │ │ ├── LegionShopTemplate.txt │ │ │ ├── BuildingFuncTemplate.txt │ │ │ ├── EscortHelpRewardTemplate.txt │ │ │ ├── LegionMineSelfBufTemplate.txt │ │ │ ├── LegionShopBuildingTemplate.txt │ │ │ ├── LegionTaskBuildingTemplate.txt │ │ │ ├── EscortRefreshMonsterRateTemplate.txt │ │ │ ├── HumanGemPropTemplate.txt │ │ │ ├── LegionHonorBuildingTemplate.txt │ │ │ ├── MeditationAssistPositionTemplate.txt │ │ │ ├── SpriteRecruitTemplate.txt │ │ │ ├── LegionMineRichRateTemplate.txt │ │ │ ├── LegionTechnologyBuildingTemplate.txt │ │ │ ├── SkillSlotTemplate.txt │ │ │ ├── LegionTechnologyTypeTemplate.txt │ │ │ ├── HonourShopTemplate.txt │ │ │ ├── MineFieldRateTemplate.txt │ │ │ ├── QuestionScoreExchangeTemplate.txt │ │ │ ├── LegionMineBattleRewardTemplate.txt │ │ │ ├── MatchBattleStreakWinTemplate.txt │ │ │ ├── QuestionAnswerTemplate.txt │ │ │ ├── EscortMonsterTemplate.txt │ │ │ ├── LegionMeditationBuildingTemplate.txt │ │ │ ├── LegionPositionTemplate.txt │ │ │ ├── PrisonExperienceTemplate.txt │ │ │ ├── ShopTemplate.txt │ │ │ ├── FosterAttributeTemplate.txt │ │ │ ├── BuildingUpgradeTemplate.txt │ │ │ ├── OnLineRewardTemplate.txt │ │ │ ├── SpriteStarMapTemplate.txt │ │ │ ├── ArenaBattleRewardTemplate.txt │ │ │ ├── FuncHelperTemplate.txt │ │ │ ├── LegionMeditationTemplate.txt │ │ │ ├── PredictTemplate.txt │ │ │ ├── BloodTempleRoomTemplate.txt │ │ │ ├── ItemForgeRandomTemplate.txt │ │ │ ├── MarsRoomTemplate.txt │ │ │ ├── WarriorChallengeRewardTemplate.txt │ │ │ ├── EscortRobRewardTemplate.txt │ │ │ ├── LegionRightTemplate.txt │ │ │ ├── LegionTechnologyTemplate.txt │ │ │ ├── EquipBitLevelTemplate.txt │ │ │ ├── VipTrainingTypeTemplate.txt │ │ │ ├── WarriorQuestTemplate.txt │ │ │ ├── BuildingTemplate.txt │ │ │ ├── LegionMineRewardTemplate.txt │ │ │ ├── DailyQuestRewardTemplate.txt │ │ │ ├── ItemForgeTemplate.txt │ │ │ ├── StageStarTemplate.txt │ │ │ ├── HumanLevelUpTemplate.txt │ │ │ ├── SkillDevelopTypeTemplate.txt │ │ │ ├── MatchBattleRewardTemplate.txt │ │ │ ├── TechnologyTemplate.txt │ │ │ ├── GemUpgradeTemplate.txt │ │ │ ├── AbattoirRoomTemplate.txt │ │ │ ├── SkillScrollTemplate.txt │ │ │ ├── StagePassRewardTemplate.txt │ │ │ ├── GiftChipTemplate.txt │ │ │ ├── SpecialShopTemplate.txt │ │ │ ├── MagicPaperUpgradeTemplate.txt │ │ │ ├── SpriteBuffTemplate.txt │ │ │ ├── StageStrongholdTemplate.txt │ │ │ ├── GiftTemplate.txt │ │ │ └── RechargeTXTemplate.txt │ ├── xls2txt │ │ ├── run.bat │ │ ├── test.xls │ │ └── config.xml │ ├── data │ │ ├── run.bat │ │ └── bin │ │ │ ├── ExportExcel.jar │ │ │ └── lib │ │ │ ├── jdom-1.0.jar │ │ │ └── poi-3.5-FINAL-20090928.jar │ ├── log │ │ └── model │ │ │ ├── QuestLog.txt │ │ │ ├── GmCommandLog.txt │ │ │ ├── EnergyLog.txt │ │ │ ├── HonourLog.txt │ │ │ ├── ExperienceLog.txt │ │ │ ├── PropertyLog.txt │ │ │ ├── SkillPointLog.txt │ │ │ ├── TechPointLog.txt │ │ │ ├── BattleLog.txt │ │ │ ├── MoneyLog.txt │ │ │ ├── HoroscopeLog.txt │ │ │ ├── ChatLog.txt │ │ │ ├── FriendLog.txt │ │ │ ├── ItemLog.txt │ │ │ ├── OnlineTimeLog.txt │ │ │ ├── BasicPlayerLog.txt │ │ │ └── RechargeLog.txt │ ├── updateSqlTool.properties │ ├── msg │ │ └── template │ │ │ ├── lua │ │ │ ├── test │ │ │ │ ├── CGMessageRegistry.lua │ │ │ │ └── GCMessageRegistry.lua │ │ │ ├── LuaMessageType.vm │ │ │ └── LuaGCMessageRegistry.vm │ │ │ └── properties_txt.vm │ ├── avgload │ │ └── readme.txt │ └── entity │ │ └── codetemplate │ │ └── EntityMessageType.template ├── lib │ ├── jacob.jar │ ├── coolsql.jar │ ├── jdom-1.0.jar │ ├── oro-2.0.8.jar │ ├── antlr-2.7.6.jar │ ├── jaxen-1.1.1.jar │ ├── log4j-1.2.15.jar │ ├── servletapi-2.3.jar │ ├── velocity-1.6.4.jar │ ├── commons-lang-2.4.jar │ ├── poi-3.6-20091214.jar │ ├── slf4j-api-1.5.6.jar │ ├── avalon-logkit-2.1.jar │ ├── commons-logging-1.1.jar │ ├── slf4j-log4j12-1.5.6.jar │ ├── werken-xpath-0.9.4.jar │ ├── maven-ant-tasks-2.1.1.jar │ └── commons-collections-3.2.1.jar ├── .settings │ └── org.eclipse.core.resources.prefs └── src │ └── com │ └── hifun │ └── soul │ └── tools │ └── Tools.java ├── game_server ├── bin │ └── game_server_hibernate.cfg.out.xml ├── config │ └── game_server_hibernate.cfg.out.xml ├── .settings │ └── org.eclipse.core.resources.prefs └── src │ └── com │ └── hifun │ └── soul │ └── gameserver │ ├── battle │ ├── unit │ │ └── BattleUnitBuilder.java │ ├── property │ │ └── IRecalculateable.java │ └── processor │ │ └── IBattleProcessor.java │ ├── human │ ├── quest │ │ └── IQuestAimType.java │ └── ILoginManager.java │ ├── item │ ├── ItemConstants.java │ └── feature │ │ └── ItemFeature.java │ ├── activity │ └── ITimingActivityManager.java │ ├── sprite │ └── Sprite.java │ ├── antiindulge │ └── service │ │ └── ILocalService.java │ ├── meditation │ └── MeditationState.java │ ├── common │ └── obj │ │ ├── DynamicObject.java │ │ ├── StaticObject.java │ │ └── IGameObject.java │ ├── event │ ├── IQuestEvent.java │ ├── IEvent.java │ ├── ClickFriendMiniBattleEvent.java │ └── MineEvent.java │ ├── monster │ └── IMonsterFactory.java │ ├── prison │ └── PrisonBattleType.java │ ├── skill │ └── effect │ │ ├── IControlableEffector.java │ │ └── INoneAttackEffector.java │ ├── rank │ └── Sortable.java │ ├── mail │ └── SpecialMailReceiver.java │ ├── legionmine │ └── enums │ │ └── OperateType.java │ ├── compass │ └── IResponse.java │ └── chat │ └── IChatStrategy.java ├── core ├── lib │ ├── QQBitch.jar │ ├── jta-1.1.jar │ ├── c3p0-0.9.1.jar │ ├── gibp-probe.jar │ ├── h2-1.2.142.jar │ ├── jdom-1.0.jar │ ├── libthrift.jar │ ├── antlr-2.7.6.jar │ ├── dom4j-1.6.1.jar │ ├── log4j-1.2.15.jar │ ├── commons-io-1.4.jar │ ├── ezmorph-1.0.6.jar │ ├── hibernate3.3.2.jar │ ├── launch_server.jar │ ├── mina-core-1.1.7.jar │ ├── slf4j-api-1.5.8.jar │ ├── commons-codec-1.3.jar │ ├── commons-lang-2.4.jar │ ├── ibatis-2.3.4.726.jar │ ├── poi-3.6-20091214.jar │ ├── commons-pool-1.5.2.jar │ ├── h2.bat │ ├── imop-platform-local.jar │ ├── javassist-3.9.0.GA.jar │ ├── json-lib-2.3-jdk15.jar │ ├── slf4j-log4j12-1.5.8.jar │ ├── commons-httpclient-3.1.jar │ ├── commons-logging-1.0.4.jar │ ├── hibernate-annotations.jar │ ├── poi-ooxml-3.6-20091214.jar │ ├── commons-beanutils-1.8.0.jar │ ├── commons-collections-3.1.jar │ ├── geronimo-jpa_3.0_spec-1.1.jar │ ├── poi-scratchpad-3.6-20091214.jar │ ├── hibernate-commons-annotations.jar │ ├── mysql-connector-java-5.1.7-bin.jar │ ├── poi-ooxml-schemas-3.6-20091214.jar │ ├── google-collect-snapshot-20071022.jar │ ├── org.springframework.aop-3.1.1.RELEASE.jar │ ├── org.springframework.asm-3.1.1.RELEASE.jar │ ├── org.springframework.beans-3.1.1.RELEASE.jar │ ├── org.springframework.core-3.1.1.RELEASE.jar │ ├── org.springframework.aspects-3.1.1.RELEASE.jar │ ├── org.springframework.context-3.1.1.RELEASE.jar │ ├── org.springframework.expression-3.1.1.RELEASE.jar │ └── org.springframework.context.support-3.1.1.RELEASE.jar ├── .settings │ └── org.eclipse.core.resources.prefs ├── lib-src │ ├── log4j-1.2.15-src.zip │ ├── mina-core-1.1.7-sources.jar │ ├── slf4j-api-1.5.8-sources.jar │ ├── slf4j-log4j12-1.5.8-sources.jar │ ├── org.springframework.aop-sources-3.1.1.RELEASE.jar │ ├── org.springframework.asm-sources-3.1.1.RELEASE.jar │ ├── org.springframework.core-sources-3.1.1.RELEASE.jar │ ├── org.springframework.jdbc-sources-3.1.1.RELEASE.jar │ ├── org.springframework.beans-sources-3.1.1.RELEASE.jar │ ├── org.springframework.aspects-sources-3.1.1.RELEASE.jar │ ├── org.springframework.context-sources-3.1.1.RELEASE.jar │ ├── org.springframework.expression-sources-3.1.1.RELEASE.jar │ └── org.springframework.context.support-sources-3.1.1.RELEASE.jar └── src │ └── com │ └── hifun │ └── soul │ ├── core │ ├── Core.java │ ├── msg │ │ ├── property │ │ │ ├── PropertyResolver.java │ │ │ ├── IPropertyBagable.java │ │ │ └── IStringPropertyBagable.java │ │ └── ISliceMessage.java │ ├── object │ │ └── TempIdObject.java │ ├── orm │ │ ├── IdGenerator.java │ │ └── CacheEntity.java │ ├── command │ │ ├── IDebugCommand.java │ │ └── IAdminCommand.java │ ├── session │ │ └── GmClientSession.java │ ├── check │ │ └── ICheck.java │ └── util │ │ └── IndexedObject.java │ └── common │ ├── constants │ ├── PMKey.java │ ├── FormulaCaculator.java │ ├── LocalConstants.java │ └── NoticeTypes.java │ ├── IModuleMessageHandler.java │ ├── IFacade.java │ ├── INonThreadSafe.java │ ├── IDestroyRequired.java │ ├── IInitializeRequired.java │ ├── IHeartBeatListener.java │ ├── ITickable.java │ ├── IHeartBeatable.java │ └── IMouldable.java ├── proto ├── lib │ └── protobuf-2.4.1.jar ├── .settings │ └── org.eclipse.core.resources.prefs ├── lib-src │ └── protobuf-2.4.1.zip └── proto │ ├── Common.proto │ ├── Gift.proto │ ├── MagicPaper.proto │ ├── Stargazer.proto │ ├── Target.proto │ ├── Technology.proto │ ├── EquipBit.proto │ ├── SpecialShopItem.proto │ ├── CostNotify.proto │ └── Cd.proto ├── game_db ├── .settings │ └── org.eclipse.core.resources.prefs ├── sql │ ├── db_soul_update_20120609.sql │ ├── db_soul_update_20130102.sql │ ├── db_soul_update_20130417.sql │ ├── db_soul_update_20130515.sql │ ├── db_soul_update_20130413.sql │ ├── db_soul_update_20130420.sql │ ├── db_soul_update_20130525.sql │ ├── db_soul_update_20121212.sql │ ├── db_soul_update_20121031.sql │ ├── db_soul_update_20121101.sql │ ├── db_soul_update_20121108.sql │ ├── db_soul_update_20130507.sql │ ├── db_soul_update_20130724.sql │ ├── db_soul_update_20140315.sql │ ├── db_soul_update_20121217.sql │ ├── db_soul_update_20130219.sql │ ├── db_soul_update_20130605.sql │ ├── db_soul_update_20140423.sql │ ├── db_soul_update_20130606.sql │ ├── db_soul_update_20140113.sql │ ├── db_soul_update_20140114.sql │ ├── db_soul_update_20140217.sql │ ├── db_soul_update_20121127.sql │ ├── db_soul_update_20131119.sql │ ├── db_soul_update_20130627.sql │ ├── db_soul_update_20130320.sql │ ├── db_soul_update_20131225.sql │ ├── db_soul_update_20130330.sql │ ├── db_soul_update_20131226.sql │ ├── db_soul_update_20140307.sql │ ├── db_soul_update_20130708.sql │ ├── db_soul_update_20140228.sql │ ├── db_soul_update_20140304.sql │ ├── db_soul_update_20140416.sql │ ├── db_soul_update_20140318.sql │ ├── db_soul_update_20130530.sql │ ├── db_soul_update_20130411.sql │ ├── db_soul_update_20140401.sql │ └── db_soul_update_20130107.sql └── src │ └── com │ └── hifun │ └── soul │ └── gamedb │ ├── callback │ └── IMainThreadDBCallback.java │ └── IHumanSubEntity.java └── test ├── .settings └── org.eclipse.core.resources.prefs └── src └── com └── hifun └── soul ├── mytest ├── PackageClassTest.java ├── MathTest.java ├── IntTest.java ├── RandomTest.java └── AmendMethodTest.java └── gamedb └── GameUtil.java /resources/version: -------------------------------------------------------------------------------- 1 | 1.0.0.19 -------------------------------------------------------------------------------- /tools/doc/README.txt: -------------------------------------------------------------------------------- 1 | 1. 此目录用来放置项目个工程的一些介绍文档; -------------------------------------------------------------------------------- /game_server/bin/game_server_hibernate.cfg.out.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /game_server/config/game_server_hibernate.cfg.out.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/bin/excel/model/LevyRevenueTemplate.txt: -------------------------------------------------------------------------------- 1 | int revenue; //收益 -------------------------------------------------------------------------------- /tools/bin/excel/model/ItemConstantIdTemplate.txt: -------------------------------------------------------------------------------- 1 | int itemId; //物品id -------------------------------------------------------------------------------- /tools/bin/excel/model/LevyCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystalCost; //魔晶消耗 -------------------------------------------------------------------------------- /tools/config/excel/model/LevyCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystalCost; //魔晶消耗 -------------------------------------------------------------------------------- /tools/config/excel/model/LevyRevenueTemplate.txt: -------------------------------------------------------------------------------- 1 | int revenue; //收益 -------------------------------------------------------------------------------- /tools/bin/excel/model/DailyQuestBuyNumCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal;//消耗魔晶数 -------------------------------------------------------------------------------- /tools/bin/excel/model/LevyBetRevenueTemplate.txt: -------------------------------------------------------------------------------- 1 | int trainCoin;//押注胜利获得训练币 -------------------------------------------------------------------------------- /tools/bin/excel/model/LevyCertainWinCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal; //消耗的魔晶数 -------------------------------------------------------------------------------- /tools/bin/excel/model/MainBagUpgradeTemplate.txt: -------------------------------------------------------------------------------- 1 | int costNum; //开启背包的花费 -------------------------------------------------------------------------------- /tools/bin/excel/model/QuestionConsumeTemplate.txt: -------------------------------------------------------------------------------- 1 | int costNum; //消耗魔晶数 -------------------------------------------------------------------------------- /tools/bin/excel/model/RefineCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal; //消耗魔晶数 2 | -------------------------------------------------------------------------------- /tools/bin/excel/model/TimeTasksTemplate.txt: -------------------------------------------------------------------------------- 1 | String taskTimes; // 以逗号分隔的时间点 -------------------------------------------------------------------------------- /tools/bin/excel/model/TurntableCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystalCost; //魔晶花费 -------------------------------------------------------------------------------- /tools/bin/excel/model/YellowVipOnceRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int itemId; //奖励物品 -------------------------------------------------------------------------------- /tools/config/excel/model/ItemConstantIdTemplate.txt: -------------------------------------------------------------------------------- 1 | int itemId; //物品id -------------------------------------------------------------------------------- /tools/config/excel/model/MainBagUpgradeTemplate.txt: -------------------------------------------------------------------------------- 1 | int costNum; //开启背包的花费 -------------------------------------------------------------------------------- /tools/config/excel/model/QuestionConsumeTemplate.txt: -------------------------------------------------------------------------------- 1 | int costNum; //消耗魔晶数 -------------------------------------------------------------------------------- /tools/config/excel/model/RefineCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal; //消耗魔晶数 2 | -------------------------------------------------------------------------------- /tools/config/excel/model/TurntableCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystalCost; //魔晶花费 -------------------------------------------------------------------------------- /tools/bin/excel/model/AbattoirBuyNumCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal; //消耗的魔晶数 2 | -------------------------------------------------------------------------------- /tools/bin/excel/model/ArenaBuyTimeCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal; //消耗的魔晶数 2 | -------------------------------------------------------------------------------- /tools/bin/excel/model/EscortBuyRobNumCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal; //消耗的魔晶数 -------------------------------------------------------------------------------- /tools/bin/excel/model/EscortRefreshMonsterCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal;//消耗魔晶 -------------------------------------------------------------------------------- /tools/bin/excel/model/EscortRobRankRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int rewardCoin;//奖励金币 -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionFuncTemplate.txt: -------------------------------------------------------------------------------- 1 | int openLegionLevel;//开启所需军团等级 -------------------------------------------------------------------------------- /tools/bin/excel/model/MarsBuyMultipleNumCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal; //消耗的魔晶数 -------------------------------------------------------------------------------- /tools/bin/excel/model/RefineRefreshCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal; //消耗魔晶数 2 | -------------------------------------------------------------------------------- /tools/bin/excel/model/SpritePubCertainWinCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal; //消耗的魔晶数 -------------------------------------------------------------------------------- /tools/bin/excel/model/TimesTemplate.txt: -------------------------------------------------------------------------------- 1 | String triggerTime; // 触发时间 HH:mm:ss -------------------------------------------------------------------------------- /tools/config/excel/model/DailyQuestBuyNumCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal;//消耗魔晶数 -------------------------------------------------------------------------------- /tools/config/excel/model/EscortBuyRobNumCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal; //消耗的魔晶数 -------------------------------------------------------------------------------- /tools/config/excel/model/EscortRobRankRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int rewardCoin;//奖励金币 -------------------------------------------------------------------------------- /tools/config/excel/model/LegionFuncTemplate.txt: -------------------------------------------------------------------------------- 1 | int openLegionLevel;//开启所需军团等级 -------------------------------------------------------------------------------- /tools/config/excel/model/LevyBetRevenueTemplate.txt: -------------------------------------------------------------------------------- 1 | int trainCoin;//押注胜利获得训练币 -------------------------------------------------------------------------------- /tools/config/excel/model/LevyCertainWinCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal; //消耗的魔晶数 -------------------------------------------------------------------------------- /tools/config/excel/model/TimeTasksTemplate.txt: -------------------------------------------------------------------------------- 1 | String taskTimes; // 以逗号分隔的时间点 -------------------------------------------------------------------------------- /tools/config/excel/model/TimesTemplate.txt: -------------------------------------------------------------------------------- 1 | String triggerTime; // 触发时间 HH:mm:ss -------------------------------------------------------------------------------- /tools/config/excel/model/YellowVipOnceRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int itemId; //奖励物品 -------------------------------------------------------------------------------- /tools/bin/excel/model/BloodTempleBuyNumCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal; //消耗的魔晶数 2 | -------------------------------------------------------------------------------- /tools/bin/excel/model/CdTiredTemplate.txt: -------------------------------------------------------------------------------- 1 | Float tired;[notNull=true] // 疲劳度 2 | -------------------------------------------------------------------------------- /tools/bin/excel/model/DirtyWordsTemplate.txt: -------------------------------------------------------------------------------- 1 | String dirtyWords;[NotTranslate]//要过滤的词 -------------------------------------------------------------------------------- /tools/bin/excel/model/MatchBattleRankRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int rewardItemId; //奖励物品id -------------------------------------------------------------------------------- /tools/bin/excel/model/MeditationAssistRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int techPoint; //获得的科技点数 -------------------------------------------------------------------------------- /tools/bin/excel/model/StageStarCdTemplate.txt: -------------------------------------------------------------------------------- 1 | int reduceCd; // 减免cd时间(分钟) 2 | 3 | -------------------------------------------------------------------------------- /tools/config/excel/model/AbattoirBuyNumCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal; //消耗的魔晶数 2 | -------------------------------------------------------------------------------- /tools/config/excel/model/ArenaBuyTimeCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal; //消耗的魔晶数 2 | -------------------------------------------------------------------------------- /tools/config/excel/model/CdTiredTemplate.txt: -------------------------------------------------------------------------------- 1 | Float tired;[notNull=true] // 疲劳度 2 | -------------------------------------------------------------------------------- /tools/config/excel/model/EscortRefreshMonsterCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal;//消耗魔晶 -------------------------------------------------------------------------------- /tools/config/excel/model/MarsBuyMultipleNumCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal; //消耗的魔晶数 -------------------------------------------------------------------------------- /tools/config/excel/model/MeditationAssistRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int techPoint; //获得的科技点数 -------------------------------------------------------------------------------- /tools/config/excel/model/RefineRefreshCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal; //消耗魔晶数 2 | -------------------------------------------------------------------------------- /tools/config/excel/model/SpritePubCertainWinCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal; //消耗的魔晶数 -------------------------------------------------------------------------------- /core/lib/QQBitch.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/QQBitch.jar -------------------------------------------------------------------------------- /core/lib/jta-1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/jta-1.1.jar -------------------------------------------------------------------------------- /tools/bin/excel/model/EliteStageStateRefreshCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int costCrystal; //消耗魔晶数 -------------------------------------------------------------------------------- /tools/bin/excel/model/EquipMakeGuideTemplate.txt: -------------------------------------------------------------------------------- 1 | String guide; //对应的地图和关卡id,以逗号分隔 2 | -------------------------------------------------------------------------------- /tools/bin/excel/model/FosterCoinCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int trainCoinCostNum; //花费培养币数量 2 | -------------------------------------------------------------------------------- /tools/bin/excel/model/MagicStoneCollectConsumeTemplate.txt: -------------------------------------------------------------------------------- 1 | int costCrystalNum; //消费的魔晶 -------------------------------------------------------------------------------- /tools/bin/excel/model/MineLevelTemplate.txt: -------------------------------------------------------------------------------- 1 | int coin;//金币收益 2 | int trainCoin;//培养币收益 -------------------------------------------------------------------------------- /tools/bin/excel/model/NameDirtyWordsTemplate.txt: -------------------------------------------------------------------------------- 1 | String dirtyWords;[NotTranslate]//要过滤的词 -------------------------------------------------------------------------------- /tools/bin/excel/model/PrisonBuyArrestNumTemplate.txt: -------------------------------------------------------------------------------- 1 | int costCrystal; //消耗的魔晶数 2 | 3 | -------------------------------------------------------------------------------- /tools/bin/excel/model/RewardPushTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; //奖励名称 2 | int iconId; //图标id -------------------------------------------------------------------------------- /tools/config/excel/model/BloodTempleBuyNumCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal; //消耗的魔晶数 2 | -------------------------------------------------------------------------------- /tools/config/excel/model/DirtyWordsTemplate.txt: -------------------------------------------------------------------------------- 1 | String dirtyWords;[NotTranslate]//要过滤的词 -------------------------------------------------------------------------------- /tools/config/excel/model/EliteStageStateRefreshCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int costCrystal; //消耗魔晶数 -------------------------------------------------------------------------------- /tools/config/excel/model/EquipMakeGuideTemplate.txt: -------------------------------------------------------------------------------- 1 | String guide; //对应的地图和关卡id,以逗号分隔 2 | -------------------------------------------------------------------------------- /tools/config/excel/model/FosterCoinCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int trainCoinCostNum; //花费培养币数量 2 | -------------------------------------------------------------------------------- /tools/config/excel/model/MagicStoneCollectConsumeTemplate.txt: -------------------------------------------------------------------------------- 1 | int costCrystalNum; //消费的魔晶 -------------------------------------------------------------------------------- /tools/config/excel/model/MatchBattleRankRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int rewardItemId; //奖励物品id -------------------------------------------------------------------------------- /tools/config/excel/model/MineLevelTemplate.txt: -------------------------------------------------------------------------------- 1 | int coin;//金币收益 2 | int trainCoin;//培养币收益 -------------------------------------------------------------------------------- /tools/config/excel/model/StageStarCdTemplate.txt: -------------------------------------------------------------------------------- 1 | int reduceCd; // 减免cd时间(分钟) 2 | 3 | -------------------------------------------------------------------------------- /tools/lib/jacob.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/lib/jacob.jar -------------------------------------------------------------------------------- /core/lib/c3p0-0.9.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/c3p0-0.9.1.jar -------------------------------------------------------------------------------- /core/lib/gibp-probe.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/gibp-probe.jar -------------------------------------------------------------------------------- /core/lib/h2-1.2.142.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/h2-1.2.142.jar -------------------------------------------------------------------------------- /core/lib/jdom-1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/jdom-1.0.jar -------------------------------------------------------------------------------- /core/lib/libthrift.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/libthrift.jar -------------------------------------------------------------------------------- /tools/bin/excel/model/BetaRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int rewardId;[notNull=true;minValue=1] // 奖励id -------------------------------------------------------------------------------- /tools/bin/excel/model/FirstRechargeTemplate.txt: -------------------------------------------------------------------------------- 1 | int itemId; //物品ID 2 | int itemNum; //物品数量 -------------------------------------------------------------------------------- /tools/bin/excel/model/MagicStoneTemplate.txt: -------------------------------------------------------------------------------- 1 | int icon; //魔法石图标 2 | boolean inTarget; //是否为目标宝石 -------------------------------------------------------------------------------- /tools/bin/excel/model/NameFirstTemplate.txt: -------------------------------------------------------------------------------- 1 | int langId; //多语言id 2 | String firstName; //姓氏 -------------------------------------------------------------------------------- /tools/config/excel/model/BetaRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int rewardId;[notNull=true;minValue=1] // 奖励id -------------------------------------------------------------------------------- /tools/config/excel/model/FirstRechargeTemplate.txt: -------------------------------------------------------------------------------- 1 | int itemId; //物品ID 2 | int itemNum; //物品数量 -------------------------------------------------------------------------------- /tools/config/excel/model/NameDirtyWordsTemplate.txt: -------------------------------------------------------------------------------- 1 | String dirtyWords;[NotTranslate]//要过滤的词 -------------------------------------------------------------------------------- /tools/config/excel/model/NameFirstTemplate.txt: -------------------------------------------------------------------------------- 1 | int langId; //多语言id 2 | String firstName; //姓氏 -------------------------------------------------------------------------------- /tools/config/excel/model/PrisonBuyArrestNumTemplate.txt: -------------------------------------------------------------------------------- 1 | int costCrystal; //消耗的魔晶数 2 | 3 | -------------------------------------------------------------------------------- /tools/config/excel/model/RewardPushTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; //奖励名称 2 | int iconId; //图标id -------------------------------------------------------------------------------- /tools/lib/coolsql.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/lib/coolsql.jar -------------------------------------------------------------------------------- /tools/lib/jdom-1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/lib/jdom-1.0.jar -------------------------------------------------------------------------------- /tools/lib/oro-2.0.8.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/lib/oro-2.0.8.jar -------------------------------------------------------------------------------- /core/lib/antlr-2.7.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/antlr-2.7.6.jar -------------------------------------------------------------------------------- /core/lib/dom4j-1.6.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/dom4j-1.6.1.jar -------------------------------------------------------------------------------- /core/lib/log4j-1.2.15.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/log4j-1.2.15.jar -------------------------------------------------------------------------------- /resources/scripts/cd.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/cd.xls -------------------------------------------------------------------------------- /tools/bin/excel/model/BuyEnergyCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int energyNum; //获得的体力值 2 | int crystalCost; //魔晶花费 -------------------------------------------------------------------------------- /tools/bin/excel/model/FuncCategoryTemplate.txt: -------------------------------------------------------------------------------- 1 | int nameLangId; //分类名称多语言id 2 | String name; //分类名称 -------------------------------------------------------------------------------- /tools/bin/excel/model/LoginRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | List rewards;[collection(9,1)] // 奖励物品 2 | -------------------------------------------------------------------------------- /tools/config/excel/model/MagicStoneTemplate.txt: -------------------------------------------------------------------------------- 1 | int icon; //魔法石图标 2 | boolean inTarget; //是否为目标宝石 -------------------------------------------------------------------------------- /tools/lib/antlr-2.7.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/lib/antlr-2.7.6.jar -------------------------------------------------------------------------------- /tools/lib/jaxen-1.1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/lib/jaxen-1.1.1.jar -------------------------------------------------------------------------------- /core/lib/commons-io-1.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/commons-io-1.4.jar -------------------------------------------------------------------------------- /core/lib/ezmorph-1.0.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/ezmorph-1.0.6.jar -------------------------------------------------------------------------------- /core/lib/hibernate3.3.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/hibernate3.3.2.jar -------------------------------------------------------------------------------- /core/lib/launch_server.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/launch_server.jar -------------------------------------------------------------------------------- /core/lib/mina-core-1.1.7.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/mina-core-1.1.7.jar -------------------------------------------------------------------------------- /core/lib/slf4j-api-1.5.8.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/slf4j-api-1.5.8.jar -------------------------------------------------------------------------------- /proto/lib/protobuf-2.4.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/proto/lib/protobuf-2.4.1.jar -------------------------------------------------------------------------------- /resources/scripts/arena.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/arena.xls -------------------------------------------------------------------------------- /resources/scripts/boss.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/boss.xls -------------------------------------------------------------------------------- /resources/scripts/escort.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/escort.xls -------------------------------------------------------------------------------- /resources/scripts/foster.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/foster.xls -------------------------------------------------------------------------------- /resources/scripts/gift.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/gift.xls -------------------------------------------------------------------------------- /resources/scripts/guide.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/guide.xls -------------------------------------------------------------------------------- /resources/scripts/helper.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/helper.xls -------------------------------------------------------------------------------- /resources/scripts/items.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/items.xls -------------------------------------------------------------------------------- /resources/scripts/legion.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/legion.xls -------------------------------------------------------------------------------- /resources/scripts/mall.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/mall.xls -------------------------------------------------------------------------------- /resources/scripts/mars.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/mars.xls -------------------------------------------------------------------------------- /resources/scripts/mine.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/mine.xls -------------------------------------------------------------------------------- /resources/scripts/name.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/name.xls -------------------------------------------------------------------------------- /resources/scripts/prison.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/prison.xls -------------------------------------------------------------------------------- /resources/scripts/quest.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/quest.xls -------------------------------------------------------------------------------- /resources/scripts/rank.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/rank.xls -------------------------------------------------------------------------------- /resources/scripts/refine.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/refine.xls -------------------------------------------------------------------------------- /resources/scripts/reward.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/reward.xls -------------------------------------------------------------------------------- /resources/scripts/shop.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/shop.xls -------------------------------------------------------------------------------- /resources/scripts/skill.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/skill.xls -------------------------------------------------------------------------------- /resources/scripts/spree.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/spree.xls -------------------------------------------------------------------------------- /resources/scripts/sprite.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/sprite.xls -------------------------------------------------------------------------------- /resources/scripts/stage.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/stage.xls -------------------------------------------------------------------------------- /resources/scripts/target.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/target.xls -------------------------------------------------------------------------------- /resources/scripts/titles.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/titles.xls -------------------------------------------------------------------------------- /tools/bin/excel/model/BattlePopTemplate.txt: -------------------------------------------------------------------------------- 1 | List words; [collection(5,1);notNull=false] // pop内容 -------------------------------------------------------------------------------- /tools/bin/excel/model/LoginRewardTimeTemplate.txt: -------------------------------------------------------------------------------- 1 | int rewardNum;[notNull=true;minValue=1] // 抽奖次数 2 | -------------------------------------------------------------------------------- /tools/bin/excel/model/LoginSpecialRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int itemId;[notNull=false;minValue=0] // 礼包Id 2 | -------------------------------------------------------------------------------- /tools/bin/excel/model/NameSecondFemaleTemplate.txt: -------------------------------------------------------------------------------- 1 | int langId; //多语言id 2 | String secondName; //女性玩家名字 -------------------------------------------------------------------------------- /tools/bin/excel/model/NameSecondMaleTemplate.txt: -------------------------------------------------------------------------------- 1 | int langId; //多语言id 2 | String secondName; //男性玩家名字 -------------------------------------------------------------------------------- /tools/bin/excel/model/SceneTemplate.txt: -------------------------------------------------------------------------------- 1 | int regionId; // 区域类型 ID 2 | String regionName; // 区域名称 3 | -------------------------------------------------------------------------------- /tools/bin/xls2txt/run.bat: -------------------------------------------------------------------------------- 1 | java -cp "./*;./lib/*;." com.imop.tr.tools.xls2txt.ExcelConverter 2 | cmd -------------------------------------------------------------------------------- /tools/bin/xls2txt/test.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/bin/xls2txt/test.xls -------------------------------------------------------------------------------- /tools/config/excel/model/BuyEnergyCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int energyNum; //获得的体力值 2 | int crystalCost; //魔晶花费 -------------------------------------------------------------------------------- /tools/config/excel/model/FuncCategoryTemplate.txt: -------------------------------------------------------------------------------- 1 | int nameLangId; //分类名称多语言id 2 | String name; //分类名称 -------------------------------------------------------------------------------- /tools/config/excel/model/LoginRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | List rewards;[collection(9,1)] // 奖励物品 2 | -------------------------------------------------------------------------------- /tools/config/excel/model/NameSecondMaleTemplate.txt: -------------------------------------------------------------------------------- 1 | int langId; //多语言id 2 | String secondName; //男性玩家名字 -------------------------------------------------------------------------------- /tools/config/excel/model/SceneTemplate.txt: -------------------------------------------------------------------------------- 1 | int regionId; // 区域类型 ID 2 | String regionName; // 区域名称 3 | -------------------------------------------------------------------------------- /tools/config/xls2txt/run.bat: -------------------------------------------------------------------------------- 1 | java -cp "./*;./lib/*;." com.imop.tr.tools.xls2txt.ExcelConverter 2 | cmd -------------------------------------------------------------------------------- /tools/doc/自动化模版生成工具的使用.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/doc/自动化模版生成工具的使用.xlsx -------------------------------------------------------------------------------- /tools/lib/log4j-1.2.15.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/lib/log4j-1.2.15.jar -------------------------------------------------------------------------------- /tools/lib/servletapi-2.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/lib/servletapi-2.3.jar -------------------------------------------------------------------------------- /tools/lib/velocity-1.6.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/lib/velocity-1.6.4.jar -------------------------------------------------------------------------------- /core/lib/commons-codec-1.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/commons-codec-1.3.jar -------------------------------------------------------------------------------- /core/lib/commons-lang-2.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/commons-lang-2.4.jar -------------------------------------------------------------------------------- /core/lib/ibatis-2.3.4.726.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/ibatis-2.3.4.726.jar -------------------------------------------------------------------------------- /core/lib/poi-3.6-20091214.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/poi-3.6-20091214.jar -------------------------------------------------------------------------------- /resources/scripts/abattoir.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/abattoir.xls -------------------------------------------------------------------------------- /resources/scripts/faction.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/faction.xls -------------------------------------------------------------------------------- /resources/scripts/godsoul.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/godsoul.xls -------------------------------------------------------------------------------- /resources/scripts/maincity.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/maincity.xls -------------------------------------------------------------------------------- /resources/scripts/monster.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/monster.xls -------------------------------------------------------------------------------- /resources/scripts/predict.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/predict.xls -------------------------------------------------------------------------------- /resources/scripts/recharge.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/recharge.xls -------------------------------------------------------------------------------- /resources/scripts/training.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/training.xls -------------------------------------------------------------------------------- /resources/scripts/warrior.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/warrior.xls -------------------------------------------------------------------------------- /tools/bin/data/run.bat: -------------------------------------------------------------------------------- 1 | java -cp "./*;./lib/*" com.imop.tr.tools.data.ExportExcel scripts out true 1 6 2 | cmd -------------------------------------------------------------------------------- /tools/bin/excel/model/PrisonUnlockRoomTemplate.txt: -------------------------------------------------------------------------------- 1 | int currencyType; //消费货币类型 2 | int costNum; //消耗数量 3 | -------------------------------------------------------------------------------- /tools/bin/excel/model/YellowVipDailyRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | List vipCoin; [collection(8,1)] //黄钻vip金币奖励 -------------------------------------------------------------------------------- /tools/config/excel/model/BattlePopTemplate.txt: -------------------------------------------------------------------------------- 1 | List words; [collection(5,1);notNull=false] // pop内容 -------------------------------------------------------------------------------- /tools/config/excel/model/LoginRewardTimeTemplate.txt: -------------------------------------------------------------------------------- 1 | int rewardNum;[notNull=true;minValue=1] // 抽奖次数 2 | -------------------------------------------------------------------------------- /tools/config/excel/model/LoginSpecialRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int itemId;[notNull=false;minValue=0] // 礼包Id 2 | -------------------------------------------------------------------------------- /tools/config/excel/model/NameSecondFemaleTemplate.txt: -------------------------------------------------------------------------------- 1 | int langId; //多语言id 2 | String secondName; //女性玩家名字 -------------------------------------------------------------------------------- /tools/config/xls2txt/test.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/config/xls2txt/test.xls -------------------------------------------------------------------------------- /tools/lib/commons-lang-2.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/lib/commons-lang-2.4.jar -------------------------------------------------------------------------------- /tools/lib/poi-3.6-20091214.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/lib/poi-3.6-20091214.jar -------------------------------------------------------------------------------- /tools/lib/slf4j-api-1.5.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/lib/slf4j-api-1.5.6.jar -------------------------------------------------------------------------------- /core/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /core/lib-src/log4j-1.2.15-src.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib-src/log4j-1.2.15-src.zip -------------------------------------------------------------------------------- /core/lib/commons-pool-1.5.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/commons-pool-1.5.2.jar -------------------------------------------------------------------------------- /core/lib/h2.bat: -------------------------------------------------------------------------------- 1 | @java -Xms500m -Xmx1200m -cp "h2-1.2.140.jar" org.h2.tools.Console %* 2 | @if errorlevel 1 pause -------------------------------------------------------------------------------- /core/lib/imop-platform-local.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/imop-platform-local.jar -------------------------------------------------------------------------------- /core/lib/javassist-3.9.0.GA.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/javassist-3.9.0.GA.jar -------------------------------------------------------------------------------- /core/lib/json-lib-2.3-jdk15.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/json-lib-2.3-jdk15.jar -------------------------------------------------------------------------------- /core/lib/slf4j-log4j12-1.5.8.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/slf4j-log4j12-1.5.8.jar -------------------------------------------------------------------------------- /core/src/com/hifun/soul/core/Core.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.core; 2 | 3 | public class Core { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /game_db/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /proto/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /proto/lib-src/protobuf-2.4.1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/proto/lib-src/protobuf-2.4.1.zip -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_npc.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_npc.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_vip.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_vip.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_war.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_war.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/sys_lang.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/sys_lang.xls -------------------------------------------------------------------------------- /resources/i18n/zh_CN/sys_lang.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/zh_CN/sys_lang.xls -------------------------------------------------------------------------------- /resources/scripts/battlePop.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/battlePop.xls -------------------------------------------------------------------------------- /resources/scripts/betareward.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/betareward.xls -------------------------------------------------------------------------------- /resources/scripts/bloodtemple.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/bloodtemple.xls -------------------------------------------------------------------------------- /resources/scripts/buildings.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/buildings.xls -------------------------------------------------------------------------------- /resources/scripts/costnotify.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/costnotify.xls -------------------------------------------------------------------------------- /resources/scripts/dirtywords.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/dirtywords.xls -------------------------------------------------------------------------------- /resources/scripts/elitestage.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/elitestage.xls -------------------------------------------------------------------------------- /resources/scripts/equipment.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/equipment.xls -------------------------------------------------------------------------------- /resources/scripts/gamefuncs.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/gamefuncs.xls -------------------------------------------------------------------------------- /resources/scripts/harvestgem.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/harvestgem.xls -------------------------------------------------------------------------------- /resources/scripts/honourshop.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/honourshop.xls -------------------------------------------------------------------------------- /resources/scripts/horoscope.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/horoscope.xls -------------------------------------------------------------------------------- /resources/scripts/legionboss.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/legionboss.xls -------------------------------------------------------------------------------- /resources/scripts/legionmine.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/legionmine.xls -------------------------------------------------------------------------------- /resources/scripts/levelConfig.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/levelConfig.xls -------------------------------------------------------------------------------- /resources/scripts/loginreward.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/loginreward.xls -------------------------------------------------------------------------------- /resources/scripts/matchbattle.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/matchbattle.xls -------------------------------------------------------------------------------- /resources/scripts/meditation.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/meditation.xls -------------------------------------------------------------------------------- /resources/scripts/occupation.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/occupation.xls -------------------------------------------------------------------------------- /resources/scripts/questions.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/questions.xls -------------------------------------------------------------------------------- /resources/scripts/stagestar.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/stagestar.xls -------------------------------------------------------------------------------- /resources/scripts/technology.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/technology.xls -------------------------------------------------------------------------------- /resources/scripts/timetasks.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/timetasks.xls -------------------------------------------------------------------------------- /resources/scripts/turntable.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/turntable.xls -------------------------------------------------------------------------------- /resources/scripts/yellowvip.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/yellowvip.xls -------------------------------------------------------------------------------- /test/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /tools/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /tools/bin/excel/model/CrystalExchangeConfigTemplate.txt: -------------------------------------------------------------------------------- 1 | int maxTime;[notNull=true;minValue=1] // 每天兑换次数上限 2 | -------------------------------------------------------------------------------- /tools/bin/excel/model/EquipBitPropertyAmendTemplate.txt: -------------------------------------------------------------------------------- 1 | int equipBitType; //装备位类型 2 | int amendValue; //加成比例 3 | -------------------------------------------------------------------------------- /tools/bin/excel/model/ResetSkillPointsTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal;[notNull=false;minValue=0] // 刷新神秘商店花费的魔晶数 2 | -------------------------------------------------------------------------------- /tools/bin/log/model/QuestLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.QuestLog( 2 | int questId; // 任务id 3 | ) -------------------------------------------------------------------------------- /tools/config/data/run.bat: -------------------------------------------------------------------------------- 1 | java -cp "./*;./lib/*" com.imop.tr.tools.data.ExportExcel scripts out true 1 6 2 | cmd -------------------------------------------------------------------------------- /tools/config/excel/model/CrystalExchangeConfigTemplate.txt: -------------------------------------------------------------------------------- 1 | int maxTime;[notNull=true;minValue=1] // 每天兑换次数上限 2 | -------------------------------------------------------------------------------- /tools/config/excel/model/PrisonUnlockRoomTemplate.txt: -------------------------------------------------------------------------------- 1 | int currencyType; //消费货币类型 2 | int costNum; //消耗数量 3 | -------------------------------------------------------------------------------- /tools/config/excel/model/ResetSkillPointsTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal;[notNull=false;minValue=0] // 刷新神秘商店花费的魔晶数 2 | -------------------------------------------------------------------------------- /tools/config/excel/model/YellowVipDailyRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | List vipCoin; [collection(8,1)] //黄钻vip金币奖励 -------------------------------------------------------------------------------- /tools/lib/avalon-logkit-2.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/lib/avalon-logkit-2.1.jar -------------------------------------------------------------------------------- /tools/lib/commons-logging-1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/lib/commons-logging-1.1.jar -------------------------------------------------------------------------------- /tools/lib/slf4j-log4j12-1.5.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/lib/slf4j-log4j12-1.5.6.jar -------------------------------------------------------------------------------- /tools/lib/werken-xpath-0.9.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/lib/werken-xpath-0.9.4.jar -------------------------------------------------------------------------------- /core/lib/commons-httpclient-3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/commons-httpclient-3.1.jar -------------------------------------------------------------------------------- /core/lib/commons-logging-1.0.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/commons-logging-1.0.4.jar -------------------------------------------------------------------------------- /core/lib/hibernate-annotations.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/hibernate-annotations.jar -------------------------------------------------------------------------------- /core/lib/poi-ooxml-3.6-20091214.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/poi-ooxml-3.6-20091214.jar -------------------------------------------------------------------------------- /game_server/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_army.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_army.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_array.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_array.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_barn.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_barn.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_camp.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_camp.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_farm.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_farm.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_guide.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_guide.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_guild.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_guild.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_items.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_items.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_learn.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_learn.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_levy.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_levy.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_mail.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_mail.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_pets.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_pets.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_prize.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_prize.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_quest.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_quest.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_rank.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_rank.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_shop.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_shop.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_sieze.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_sieze.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_tech.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_tech.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_trade.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_trade.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_world.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_world.xls -------------------------------------------------------------------------------- /resources/scripts/onlinereward.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/onlinereward.xls -------------------------------------------------------------------------------- /resources/scripts/vipprivilege.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/vipprivilege.xls -------------------------------------------------------------------------------- /tools/bin/data/bin/ExportExcel.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/bin/data/bin/ExportExcel.jar -------------------------------------------------------------------------------- /tools/bin/data/bin/lib/jdom-1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/bin/data/bin/lib/jdom-1.0.jar -------------------------------------------------------------------------------- /tools/bin/excel/model/GemItemTemplate.txt: -------------------------------------------------------------------------------- 1 | int gemType; //宝石类型 2 | String gemName; //宝石名称 3 | String itemId; //对应的物品Id -------------------------------------------------------------------------------- /tools/bin/excel/model/PredictPageTemplate.txt: -------------------------------------------------------------------------------- 1 | int visibleLevel;//可见等级 2 | int minLevel;//等级下限 3 | int maxLevel;//等级上限 -------------------------------------------------------------------------------- /tools/config/excel/model/EquipBitPropertyAmendTemplate.txt: -------------------------------------------------------------------------------- 1 | int equipBitType; //装备位类型 2 | int amendValue; //加成比例 3 | -------------------------------------------------------------------------------- /tools/config/log/model/QuestLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.QuestLog( 2 | int questId; // 任务id 3 | ) -------------------------------------------------------------------------------- /tools/lib/maven-ant-tasks-2.1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/lib/maven-ant-tasks-2.1.1.jar -------------------------------------------------------------------------------- /tools/src/com/hifun/soul/tools/Tools.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.tools; 2 | 3 | public class Tools { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /core/lib/commons-beanutils-1.8.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/commons-beanutils-1.8.0.jar -------------------------------------------------------------------------------- /core/lib/commons-collections-3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/commons-collections-3.1.jar -------------------------------------------------------------------------------- /core/lib/geronimo-jpa_3.0_spec-1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/geronimo-jpa_3.0_spec-1.1.jar -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_activity.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_activity.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_alliance.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_alliance.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_behavior.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_behavior.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_building.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_building.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_bursary.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_bursary.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_cdqueue.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_cdqueue.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_enhance.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_enhance.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_festival.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_festival.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_gamefunc.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_gamefunc.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_invest.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_invest.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_market.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_market.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_missions.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_missions.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_openbag.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_openbag.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_season.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_season.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_shopmall.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_shopmall.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_training.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_training.xls -------------------------------------------------------------------------------- /resources/scripts/crystalexchange.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/scripts/crystalexchange.xls -------------------------------------------------------------------------------- /tools/bin/excel/model/BetaUserTemplate.txt: -------------------------------------------------------------------------------- 1 | String passPortId; // 封测账号id 2 | int level;[notNull=false;minValue=0] // 封测账号等级 -------------------------------------------------------------------------------- /tools/bin/excel/model/FuncHelperMapTemplate.txt: -------------------------------------------------------------------------------- 1 | int categoryId; //分类id 2 | int funcHelperId; //功能id 3 | int star; //推荐星星数 -------------------------------------------------------------------------------- /tools/bin/excel/model/RechargeTemplate.txt: -------------------------------------------------------------------------------- 1 | int rechargeNum; //充值的魔晶数 2 | int rewardNum;[notNull=false;minValue=0] //奖励魔晶数 -------------------------------------------------------------------------------- /tools/bin/excel/model/YellowVipLevelUpRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int coin; //金币数 2 | int itemId; //物品id 3 | int itemCount; //物品数量 -------------------------------------------------------------------------------- /tools/config/data/bin/ExportExcel.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/config/data/bin/ExportExcel.jar -------------------------------------------------------------------------------- /tools/config/data/bin/lib/jdom-1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/config/data/bin/lib/jdom-1.0.jar -------------------------------------------------------------------------------- /tools/config/excel/model/FuncHelperMapTemplate.txt: -------------------------------------------------------------------------------- 1 | int categoryId; //分类id 2 | int funcHelperId; //功能id 3 | int star; //推荐星星数 -------------------------------------------------------------------------------- /tools/config/excel/model/GemItemTemplate.txt: -------------------------------------------------------------------------------- 1 | int gemType; //宝石类型 2 | String gemName; //宝石名称 3 | String itemId; //对应的物品Id -------------------------------------------------------------------------------- /tools/config/excel/model/PredictPageTemplate.txt: -------------------------------------------------------------------------------- 1 | int visibleLevel;//可见等级 2 | int minLevel;//等级下限 3 | int maxLevel;//等级上限 -------------------------------------------------------------------------------- /tools/config/excel/model/RechargeTemplate.txt: -------------------------------------------------------------------------------- 1 | int rechargeNum; //充值的魔晶数 2 | int rewardNum;[notNull=false;minValue=0] //奖励魔晶数 -------------------------------------------------------------------------------- /tools/config/excel/model/YellowVipLevelUpRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int coin; //金币数 2 | int itemId; //物品id 3 | int itemCount; //物品数量 -------------------------------------------------------------------------------- /core/lib-src/mina-core-1.1.7-sources.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib-src/mina-core-1.1.7-sources.jar -------------------------------------------------------------------------------- /core/lib-src/slf4j-api-1.5.8-sources.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib-src/slf4j-api-1.5.8-sources.jar -------------------------------------------------------------------------------- /core/lib/poi-scratchpad-3.6-20091214.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/poi-scratchpad-3.6-20091214.jar -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_dirtywords.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_dirtywords.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_firstsend.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_firstsend.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_silverore.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_silverore.xls -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_timeevent.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_timeevent.xls -------------------------------------------------------------------------------- /tools/bin/excel/model/FosterCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int costCurrencyType; //花费货币类型 2 | int costNum; [notNull=false;minValue=0] //花费数量 -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionMineTypeTemplate.txt: -------------------------------------------------------------------------------- 1 | int mineNum;//矿位数量 2 | int peopleBaseNum;//人数上限基数 3 | int singleRevenue;//收益 -------------------------------------------------------------------------------- /tools/bin/excel/model/MineConsumeTemplate.txt: -------------------------------------------------------------------------------- 1 | int buyMineFieldCostType; ///购买矿坑花费货币类型 2 | int buyMineFieldCostNum; //购买矿坑花费货币数量 -------------------------------------------------------------------------------- /tools/config/excel/model/BetaUserTemplate.txt: -------------------------------------------------------------------------------- 1 | String passPortId; // 封测账号id 2 | int level;[notNull=false;minValue=0] // 封测账号等级 -------------------------------------------------------------------------------- /tools/config/excel/model/FosterCostTemplate.txt: -------------------------------------------------------------------------------- 1 | int costCurrencyType; //花费货币类型 2 | int costNum; [notNull=false;minValue=0] //花费数量 -------------------------------------------------------------------------------- /tools/config/excel/model/LegionMineTypeTemplate.txt: -------------------------------------------------------------------------------- 1 | int mineNum;//矿位数量 2 | int peopleBaseNum;//人数上限基数 3 | int singleRevenue;//收益 -------------------------------------------------------------------------------- /tools/lib/commons-collections-3.2.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/lib/commons-collections-3.2.1.jar -------------------------------------------------------------------------------- /core/lib/hibernate-commons-annotations.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/hibernate-commons-annotations.jar -------------------------------------------------------------------------------- /core/lib/mysql-connector-java-5.1.7-bin.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/mysql-connector-java-5.1.7-bin.jar -------------------------------------------------------------------------------- /core/lib/poi-ooxml-schemas-3.6-20091214.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/poi-ooxml-schemas-3.6-20091214.jar -------------------------------------------------------------------------------- /resources/i18n/en_US/lang_slavetorment.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/resources/i18n/en_US/lang_slavetorment.xls -------------------------------------------------------------------------------- /tools/bin/excel/model/HelperTemplate.txt: -------------------------------------------------------------------------------- 1 | int open;[notNull=false;minValue=0] //开关 2 | int nameLangId; //名称多语言id 3 | String name; //名称 -------------------------------------------------------------------------------- /tools/config/excel/model/MineConsumeTemplate.txt: -------------------------------------------------------------------------------- 1 | int buyMineFieldCostType; ///购买矿坑花费货币类型 2 | int buyMineFieldCostNum; //购买矿坑花费货币数量 -------------------------------------------------------------------------------- /core/lib-src/slf4j-log4j12-1.5.8-sources.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib-src/slf4j-log4j12-1.5.8-sources.jar -------------------------------------------------------------------------------- /core/lib/google-collect-snapshot-20071022.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/google-collect-snapshot-20071022.jar -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionLevelTemplate.txt: -------------------------------------------------------------------------------- 1 | int needExperience;[notNull=false;mainValue=0] //升至下级需要经验 2 | int memberLimit; //成员数限制 3 | -------------------------------------------------------------------------------- /tools/bin/excel/model/MarsBetTemplate.txt: -------------------------------------------------------------------------------- 1 | int multiple;//倍数 2 | int costNum;[notNull=false]//消耗魔晶 3 | int vipLevel;[notNull=false]//vip开启等级 -------------------------------------------------------------------------------- /tools/bin/log/model/GmCommandLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.GmCommandLog( 2 | String gmCommandContext; // gm命令的内容 3 | ) -------------------------------------------------------------------------------- /tools/config/excel/model/HelperTemplate.txt: -------------------------------------------------------------------------------- 1 | int open;[notNull=false;minValue=0] //开关 2 | int nameLangId; //名称多语言id 3 | String name; //名称 -------------------------------------------------------------------------------- /test/src/com/hifun/soul/mytest/PackageClassTest.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.mytest; 2 | 3 | public class PackageClassTest { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /tools/bin/excel/model/ComboTemplate.txt: -------------------------------------------------------------------------------- 1 | int damageRate;[notNull=false;minValue=0]// 伤害加成比率 2 | int damage;[notNull=false;minValue=0] // 连击伤害加成值 -------------------------------------------------------------------------------- /tools/bin/excel/model/CostNotifyTemplate.txt: -------------------------------------------------------------------------------- 1 | int langNameId; //多语言 2 | String name; //名称 3 | int langDescId; //多语言 4 | String desc; //名称 5 | -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionBufTemplate.txt: -------------------------------------------------------------------------------- 1 | String bufName;//名称 2 | int mineNum;//军团拥有矿位小于等于个数 3 | int effect;//攻防加成 4 | int bufIcon;//buf图标 -------------------------------------------------------------------------------- /tools/bin/excel/model/MarsFieldTemplate.txt: -------------------------------------------------------------------------------- 1 | int startLevel;//等级下限 2 | int endLevel;//等级上限 3 | int language;//多语言 4 | String fieldName;//战场名称 -------------------------------------------------------------------------------- /tools/config/excel/model/CostNotifyTemplate.txt: -------------------------------------------------------------------------------- 1 | int langNameId; //多语言 2 | String name; //名称 3 | int langDescId; //多语言 4 | String desc; //名称 5 | -------------------------------------------------------------------------------- /tools/config/excel/model/LegionBufTemplate.txt: -------------------------------------------------------------------------------- 1 | String bufName;//名称 2 | int mineNum;//军团拥有矿位小于等于个数 3 | int effect;//攻防加成 4 | int bufIcon;//buf图标 -------------------------------------------------------------------------------- /tools/config/excel/model/LegionLevelTemplate.txt: -------------------------------------------------------------------------------- 1 | int needExperience;[notNull=false;mainValue=0] //升至下级需要经验 2 | int memberLimit; //成员数限制 3 | -------------------------------------------------------------------------------- /tools/config/excel/model/MarsBetTemplate.txt: -------------------------------------------------------------------------------- 1 | int multiple;//倍数 2 | int costNum;[notNull=false]//消耗魔晶 3 | int vipLevel;[notNull=false]//vip开启等级 -------------------------------------------------------------------------------- /tools/config/excel/model/MarsFieldTemplate.txt: -------------------------------------------------------------------------------- 1 | int startLevel;//等级下限 2 | int endLevel;//等级上限 3 | int language;//多语言 4 | String fieldName;//战场名称 -------------------------------------------------------------------------------- /tools/config/log/model/GmCommandLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.GmCommandLog( 2 | String gmCommandContext; // gm命令的内容 3 | ) -------------------------------------------------------------------------------- /core/lib/org.springframework.aop-3.1.1.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/org.springframework.aop-3.1.1.RELEASE.jar -------------------------------------------------------------------------------- /core/lib/org.springframework.asm-3.1.1.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/org.springframework.asm-3.1.1.RELEASE.jar -------------------------------------------------------------------------------- /tools/bin/data/bin/lib/poi-3.5-FINAL-20090928.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/bin/data/bin/lib/poi-3.5-FINAL-20090928.jar -------------------------------------------------------------------------------- /tools/bin/excel/model/ArenaConfigTemplate.txt: -------------------------------------------------------------------------------- 1 | int maxBattleTimes; //每日挑战次数上限 2 | int randRewardPeriod; //排名奖励结算周期 3 | int battleCd; //战斗cd(秒) 4 | -------------------------------------------------------------------------------- /tools/bin/excel/model/EscortRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int rewardCoin;//奖励金币 2 | int rewardHonor;[notNull=false;minValue=0]//奖励声望 3 | int rescortTime;//押运时长 -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionMineSurroundStateTemplate.txt: -------------------------------------------------------------------------------- 1 | String surroundStateDesc;//包围状态描述 2 | double surroundRate;//被包围比例 3 | int effect;//攻防增加 -------------------------------------------------------------------------------- /tools/config/excel/model/ArenaConfigTemplate.txt: -------------------------------------------------------------------------------- 1 | int maxBattleTimes; //每日挑战次数上限 2 | int randRewardPeriod; //排名奖励结算周期 3 | int battleCd; //战斗cd(秒) 4 | -------------------------------------------------------------------------------- /tools/config/excel/model/ComboTemplate.txt: -------------------------------------------------------------------------------- 1 | int damageRate;[notNull=false;minValue=0]// 伤害加成比率 2 | int damage;[notNull=false;minValue=0] // 连击伤害加成值 -------------------------------------------------------------------------------- /tools/config/excel/model/LegionMineSurroundStateTemplate.txt: -------------------------------------------------------------------------------- 1 | String surroundStateDesc;//包围状态描述 2 | double surroundRate;//被包围比例 3 | int effect;//攻防增加 -------------------------------------------------------------------------------- /core/lib/org.springframework.beans-3.1.1.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/org.springframework.beans-3.1.1.RELEASE.jar -------------------------------------------------------------------------------- /core/lib/org.springframework.core-3.1.1.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/org.springframework.core-3.1.1.RELEASE.jar -------------------------------------------------------------------------------- /tools/bin/excel/model/FosterMaxTemplate.txt: -------------------------------------------------------------------------------- 1 | int level1Property; //一级属性 2 | int humanLevel; //角色等级 3 | int maxFosterNum;[notNull=false;minValue=0] //培养上限 -------------------------------------------------------------------------------- /tools/bin/excel/model/MainCityMonsterTemplate.txt: -------------------------------------------------------------------------------- 1 | int monsterId;//怪物ID 2 | int monsterNum;//怪物数量 3 | int rewardExperience;//奖励经验 4 | int rewardCoin;//奖励金币 -------------------------------------------------------------------------------- /tools/bin/excel/model/TurntableTemplate.txt: -------------------------------------------------------------------------------- 1 | List itemRateDatas;[collection(16,2)] // 物品获取的概率 -------------------------------------------------------------------------------- /tools/bin/log/model/EnergyLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.EnergyLog( 2 | int changeNum; // 变化数量 3 | int afterChangeNum; // 变化后的值 4 | ) -------------------------------------------------------------------------------- /tools/bin/log/model/HonourLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.HonourLog( 2 | int changeNum; // 变化数量 3 | int afterChangeNum; // 变化后的值 4 | ) -------------------------------------------------------------------------------- /tools/config/data/bin/lib/poi-3.5-FINAL-20090928.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/tools/config/data/bin/lib/poi-3.5-FINAL-20090928.jar -------------------------------------------------------------------------------- /tools/config/excel/model/EscortRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int rewardCoin;//奖励金币 2 | int rewardHonor;[notNull=false;minValue=0]//奖励声望 3 | int rescortTime;//押运时长 -------------------------------------------------------------------------------- /tools/config/excel/model/TurntableTemplate.txt: -------------------------------------------------------------------------------- 1 | List itemRateDatas;[collection(16,2)] // 物品获取的概率 -------------------------------------------------------------------------------- /tools/config/log/model/EnergyLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.EnergyLog( 2 | int changeNum; // 变化数量 3 | int afterChangeNum; // 变化后的值 4 | ) -------------------------------------------------------------------------------- /tools/config/log/model/HonourLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.HonourLog( 2 | int changeNum; // 变化数量 3 | int afterChangeNum; // 变化后的值 4 | ) -------------------------------------------------------------------------------- /core/lib/org.springframework.aspects-3.1.1.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/org.springframework.aspects-3.1.1.RELEASE.jar -------------------------------------------------------------------------------- /core/lib/org.springframework.context-3.1.1.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/org.springframework.context-3.1.1.RELEASE.jar -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionTaskRankTemplate.txt: -------------------------------------------------------------------------------- 1 | int rewardContribution;[notNull=false;minValue=0]//奖励贡献值 2 | int rewardMedal;[notNull=false;minValue=0]//奖励贡勋章 -------------------------------------------------------------------------------- /tools/bin/excel/model/MarsBattleRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int starSoul;//星魂 2 | int coin;//金币 3 | int acceptWinHonor;//接受战斗胜利奖励荣誉 4 | int acceptLoseHonor;//接受战斗失败奖励荣誉 -------------------------------------------------------------------------------- /tools/bin/excel/model/YearYellowVipRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int itemId1; //物品1id 2 | int itemCount1; //物品1数量 3 | int itemId2; //物品2id 4 | int itemCount2; //物品2数量 -------------------------------------------------------------------------------- /tools/bin/log/model/ExperienceLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.ExperienceLog( 2 | int changeNum; // 变化数量 3 | int afterChangeNum; // 变化后的值 4 | ) -------------------------------------------------------------------------------- /tools/bin/log/model/PropertyLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.PropertyLog( 2 | int propertyKey; // key 3 | String propertyChange; // 属性变化 4 | ) -------------------------------------------------------------------------------- /tools/bin/log/model/SkillPointLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.SkillPointLog( 2 | int changeNum; // 变化数量 3 | int afterChangeNum; // 变化后的值 4 | ) -------------------------------------------------------------------------------- /tools/bin/log/model/TechPointLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.TechPointLog( 2 | int changeNum; // 变化数量 3 | int afterChangeNum; // 变化后的值 4 | ) -------------------------------------------------------------------------------- /tools/config/excel/model/FosterMaxTemplate.txt: -------------------------------------------------------------------------------- 1 | int level1Property; //一级属性 2 | int humanLevel; //角色等级 3 | int maxFosterNum;[notNull=false;minValue=0] //培养上限 -------------------------------------------------------------------------------- /tools/config/excel/model/MainCityMonsterTemplate.txt: -------------------------------------------------------------------------------- 1 | int monsterId;//怪物ID 2 | int monsterNum;//怪物数量 3 | int rewardExperience;//奖励经验 4 | int rewardCoin;//奖励金币 -------------------------------------------------------------------------------- /tools/config/excel/model/YearYellowVipRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int itemId1; //物品1id 2 | int itemCount1; //物品1数量 3 | int itemId2; //物品2id 4 | int itemCount2; //物品2数量 -------------------------------------------------------------------------------- /core/lib/org.springframework.expression-3.1.1.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/org.springframework.expression-3.1.1.RELEASE.jar -------------------------------------------------------------------------------- /tools/bin/excel/model/EquipBitBuffTemplate.txt: -------------------------------------------------------------------------------- 1 | int needEquipBitLevel;//需要装备位同时强化等级 2 | int propertyId;//属性ID 3 | int amendEffect;//加成效果 4 | int amendMethod;//加成方式 -------------------------------------------------------------------------------- /tools/bin/excel/model/MagicPaperBuffTemplate.txt: -------------------------------------------------------------------------------- 1 | int needEquipBitLevel;//需要装备位同时强化等级 2 | int propertyId;//属性ID 3 | int amendEffect;//加成效果 4 | int amendMethod;//加成方式 -------------------------------------------------------------------------------- /tools/bin/excel/model/MeditationRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | List meditationInfo;[collection(4,4)] // 冥想时长模式 -------------------------------------------------------------------------------- /tools/config/excel/model/LegionTaskRankTemplate.txt: -------------------------------------------------------------------------------- 1 | int rewardContribution;[notNull=false;minValue=0]//奖励贡献值 2 | int rewardMedal;[notNull=false;minValue=0]//奖励贡勋章 -------------------------------------------------------------------------------- /tools/config/excel/model/MarsBattleRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int starSoul;//星魂 2 | int coin;//金币 3 | int acceptWinHonor;//接受战斗胜利奖励荣誉 4 | int acceptLoseHonor;//接受战斗失败奖励荣誉 -------------------------------------------------------------------------------- /tools/config/excel/model/MeditationRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | List meditationInfo;[collection(4,4)] // 冥想时长模式 -------------------------------------------------------------------------------- /tools/config/log/model/ExperienceLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.ExperienceLog( 2 | int changeNum; // 变化数量 3 | int afterChangeNum; // 变化后的值 4 | ) -------------------------------------------------------------------------------- /tools/config/log/model/PropertyLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.PropertyLog( 2 | int propertyKey; // key 3 | String propertyChange; // 属性变化 4 | ) -------------------------------------------------------------------------------- /tools/config/log/model/SkillPointLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.SkillPointLog( 2 | int changeNum; // 变化数量 3 | int afterChangeNum; // 变化后的值 4 | ) -------------------------------------------------------------------------------- /tools/config/log/model/TechPointLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.TechPointLog( 2 | int changeNum; // 变化数量 3 | int afterChangeNum; // 变化后的值 4 | ) -------------------------------------------------------------------------------- /tools/bin/excel/model/CrystalExchangeConsumeTemplate.txt: -------------------------------------------------------------------------------- 1 | Short currencyType;[notNull=true;minValue=1] // 消耗货币类型 2 | int currencyNum;[notNull=true;minValue=1] // 消耗货币数量 -------------------------------------------------------------------------------- /tools/bin/excel/model/FactionTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; //阵营名称 2 | int nameLangId; //名称多语言id 3 | String desc; //描述 4 | int descLangId; //描述多语言id 5 | int iconId; //图标id -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionMeditationLevelTemplate.txt: -------------------------------------------------------------------------------- 1 | int littleThinkMeditation;//小思获得冥想力 2 | int deepThinkMeditation;//深思获得冥想力 3 | int weightThinkMeditation;//沉思获得冥想力 -------------------------------------------------------------------------------- /tools/bin/excel/model/LevyAuraTemplate.txt: -------------------------------------------------------------------------------- 1 | int winAura;// 灵气值收益 2 | int oneAura;//集齐1颗奖励 3 | int twoAura;//集齐2颗奖励 4 | int threeAura;//集齐3颗奖励 5 | int fourAura;//集齐4颗奖励 -------------------------------------------------------------------------------- /tools/bin/excel/model/RefreshSpecialShopTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal;[notNull=false;minValue=0] // 重置花费的魔晶数 2 | int time;[notNull=false;minValue=0] // 每次神秘商店可以魔晶刷新的次数 3 | -------------------------------------------------------------------------------- /tools/bin/excel/model/StageRewardConsumeTemplate.txt: -------------------------------------------------------------------------------- 1 | int consumeCoin;[minValue=0;notNull=false] // 消耗金币数量 2 | int consumeCrystal;[minValue=0;notNull=false] // 消耗魔晶数量 -------------------------------------------------------------------------------- /tools/config/excel/model/EquipBitBuffTemplate.txt: -------------------------------------------------------------------------------- 1 | int needEquipBitLevel;//需要装备位同时强化等级 2 | int propertyId;//属性ID 3 | int amendEffect;//加成效果 4 | int amendMethod;//加成方式 -------------------------------------------------------------------------------- /tools/config/excel/model/FactionTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; //阵营名称 2 | int nameLangId; //名称多语言id 3 | String desc; //描述 4 | int descLangId; //描述多语言id 5 | int iconId; //图标id -------------------------------------------------------------------------------- /tools/config/excel/model/LevyAuraTemplate.txt: -------------------------------------------------------------------------------- 1 | int winAura;// 灵气值收益 2 | int oneAura;//集齐1颗奖励 3 | int twoAura;//集齐2颗奖励 4 | int threeAura;//集齐3颗奖励 5 | int fourAura;//集齐4颗奖励 -------------------------------------------------------------------------------- /tools/config/excel/model/MagicPaperBuffTemplate.txt: -------------------------------------------------------------------------------- 1 | int needEquipBitLevel;//需要装备位同时强化等级 2 | int propertyId;//属性ID 3 | int amendEffect;//加成效果 4 | int amendMethod;//加成方式 -------------------------------------------------------------------------------- /tools/config/excel/model/StageRewardConsumeTemplate.txt: -------------------------------------------------------------------------------- 1 | int consumeCoin;[minValue=0;notNull=false] // 消耗金币数量 2 | int consumeCrystal;[minValue=0;notNull=false] // 消耗魔晶数量 -------------------------------------------------------------------------------- /core/lib-src/org.springframework.aop-sources-3.1.1.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib-src/org.springframework.aop-sources-3.1.1.RELEASE.jar -------------------------------------------------------------------------------- /core/lib-src/org.springframework.asm-sources-3.1.1.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib-src/org.springframework.asm-sources-3.1.1.RELEASE.jar -------------------------------------------------------------------------------- /core/lib-src/org.springframework.core-sources-3.1.1.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib-src/org.springframework.core-sources-3.1.1.RELEASE.jar -------------------------------------------------------------------------------- /core/lib-src/org.springframework.jdbc-sources-3.1.1.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib-src/org.springframework.jdbc-sources-3.1.1.RELEASE.jar -------------------------------------------------------------------------------- /core/lib/org.springframework.context.support-3.1.1.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib/org.springframework.context.support-3.1.1.RELEASE.jar -------------------------------------------------------------------------------- /tools/bin/excel/model/CrystalExchangeRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | Short currencyType;[notNull=true;minValue=1] // 单次兑换获得货币类型 2 | int currencyNum;[notNull=true;minValue=1] // 单次兑换金币数量 -------------------------------------------------------------------------------- /tools/bin/excel/model/HoroscopeIntroduceTemplate.txt: -------------------------------------------------------------------------------- 1 | int nameLangId; //多语言id 2 | String name; //名称 3 | int color; //品质 4 | int descLangId; //多语言id 5 | String desc; //描述 6 | -------------------------------------------------------------------------------- /tools/bin/excel/model/RechargeActivityTimeTemplate.txt: -------------------------------------------------------------------------------- 1 | int rechargeActivityType;//充值金额 2 | String startDate;//开始日期 3 | String endDate;//结束日期 4 | String activityDesc;//活动描述 -------------------------------------------------------------------------------- /tools/bin/excel/model/StageRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | List rewardItemList; [collection(10,2);notNull=false] // 奖励物品列表 2 | -------------------------------------------------------------------------------- /tools/bin/excel/model/StageStarRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | List rewardItemList; [collection(4,2);notNull=false] // 奖励物品列表 2 | -------------------------------------------------------------------------------- /tools/bin/xls2txt/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/config/excel/model/CrystalExchangeConsumeTemplate.txt: -------------------------------------------------------------------------------- 1 | Short currencyType;[notNull=true;minValue=1] // 消耗货币类型 2 | int currencyNum;[notNull=true;minValue=1] // 消耗货币数量 -------------------------------------------------------------------------------- /tools/config/excel/model/LegionMeditationLevelTemplate.txt: -------------------------------------------------------------------------------- 1 | int littleThinkMeditation;//小思获得冥想力 2 | int deepThinkMeditation;//深思获得冥想力 3 | int weightThinkMeditation;//沉思获得冥想力 -------------------------------------------------------------------------------- /tools/config/excel/model/RechargeActivityTimeTemplate.txt: -------------------------------------------------------------------------------- 1 | int rechargeActivityType;//充值金额 2 | String startDate;//开始日期 3 | String endDate;//结束日期 4 | String activityDesc;//活动描述 -------------------------------------------------------------------------------- /tools/config/excel/model/RefreshSpecialShopTemplate.txt: -------------------------------------------------------------------------------- 1 | int crystal;[notNull=false;minValue=0] // 重置花费的魔晶数 2 | int time;[notNull=false;minValue=0] // 每次神秘商店可以魔晶刷新的次数 3 | -------------------------------------------------------------------------------- /tools/config/xls2txt/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /core/lib-src/org.springframework.beans-sources-3.1.1.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib-src/org.springframework.beans-sources-3.1.1.RELEASE.jar -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20120609.sql: -------------------------------------------------------------------------------- 1 | -- 版本更新机制第一天;数据库更新文件编写标准;(以后添加的对数据库schema的修改都统一用db_soul_update_yyyyMMdd.sql命名) 2 | 3 | -- 1. 写表的修改信息 4 | 5 | -- 2. 插入数据版本信息 6 | 7 | -------------------------------------------------------------------------------- /tools/bin/excel/model/ActivityShowTypeTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; //类型名称 2 | int nameLangId; //类型名称多语言id 3 | int iconId; //目标 4 | int visibleLevel; //可视等级 5 | int openLevel; //开启等级 -------------------------------------------------------------------------------- /tools/bin/excel/model/EliteStageTypeTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; //副本名称 2 | int nameLangId; //副本名称多语言 3 | String desc; //副本描述 4 | int descLangId; //描述多语言 5 | int openLevel; //开启等级 -------------------------------------------------------------------------------- /tools/bin/excel/model/HoroscopeTypeTemplate.txt: -------------------------------------------------------------------------------- 1 | int level;[notNull=false;minValue=0] // 开启等级 2 | int descLangId;[notNull=true;minValue=1] // 格子说明多语言 3 | String desc; // 格子说明 4 | -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionMineTemplate.txt: -------------------------------------------------------------------------------- 1 | boolean isRedMine;//是否是红矿 2 | int mineType;//矿位类型 3 | String surroundIndexes;//周围的矿位索引 4 | String canMoveOrBattleIndexes;//可移动或战斗的矿位索引 -------------------------------------------------------------------------------- /tools/bin/log/model/BattleLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.BattleLog( 2 | int stageId; // 关卡id 3 | int result; // 战斗结果 4 | String itemIds; // 战斗奖励物品 5 | ) -------------------------------------------------------------------------------- /tools/config/excel/model/CrystalExchangeRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | Short currencyType;[notNull=true;minValue=1] // 单次兑换获得货币类型 2 | int currencyNum;[notNull=true;minValue=1] // 单次兑换金币数量 -------------------------------------------------------------------------------- /tools/config/excel/model/EliteStageTypeTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; //副本名称 2 | int nameLangId; //副本名称多语言 3 | String desc; //副本描述 4 | int descLangId; //描述多语言 5 | int openLevel; //开启等级 -------------------------------------------------------------------------------- /tools/config/excel/model/HoroscopeIntroduceTemplate.txt: -------------------------------------------------------------------------------- 1 | int nameLangId; //多语言id 2 | String name; //名称 3 | int color; //品质 4 | int descLangId; //多语言id 5 | String desc; //描述 6 | -------------------------------------------------------------------------------- /tools/config/excel/model/StageRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | List rewardItemList; [collection(10,2);notNull=false] // 奖励物品列表 2 | -------------------------------------------------------------------------------- /tools/config/excel/model/StageStarRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | List rewardItemList; [collection(4,2);notNull=false] // 奖励物品列表 2 | -------------------------------------------------------------------------------- /tools/config/log/model/BattleLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.BattleLog( 2 | int stageId; // 关卡id 3 | int result; // 战斗结果 4 | String itemIds; // 战斗奖励物品 5 | ) -------------------------------------------------------------------------------- /core/lib-src/org.springframework.aspects-sources-3.1.1.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib-src/org.springframework.aspects-sources-3.1.1.RELEASE.jar -------------------------------------------------------------------------------- /core/lib-src/org.springframework.context-sources-3.1.1.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib-src/org.springframework.context-sources-3.1.1.RELEASE.jar -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/battle/unit/BattleUnitBuilder.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.battle.unit; 2 | 3 | public class BattleUnitBuilder { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /tools/bin/excel/model/MeditationModeTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; //冥想模式名称 2 | int rate; //收益倍率(万分制) 3 | int currencyType; //所需货币类型 4 | int currencyNum;[notNull=true;minValue=0] //所需货币数量 -------------------------------------------------------------------------------- /tools/bin/excel/model/RefineMapTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; // 试炼地图名称 2 | int nameLangId;[notNull=true;minValue=1] // 试炼地图名称多语言 3 | int openLevel;[notNull=false;minValue=0] // 开放等级 4 | -------------------------------------------------------------------------------- /tools/bin/excel/model/TotalRechargeTemplate.txt: -------------------------------------------------------------------------------- 1 | int rechargeNum;//充值金额 2 | com.hifun.soul.gameserver.recharge.template.TotalRechargeReward[] rechargeRewards;[collection(4,2)] //充值奖励物品 -------------------------------------------------------------------------------- /tools/config/excel/model/ActivityShowTypeTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; //类型名称 2 | int nameLangId; //类型名称多语言id 3 | int iconId; //目标 4 | int visibleLevel; //可视等级 5 | int openLevel; //开启等级 -------------------------------------------------------------------------------- /tools/config/excel/model/HoroscopeTypeTemplate.txt: -------------------------------------------------------------------------------- 1 | int level;[notNull=false;minValue=0] // 开启等级 2 | int descLangId;[notNull=true;minValue=1] // 格子说明多语言 3 | String desc; // 格子说明 4 | -------------------------------------------------------------------------------- /tools/config/excel/model/LegionMineTemplate.txt: -------------------------------------------------------------------------------- 1 | boolean isRedMine;//是否是红矿 2 | int mineType;//矿位类型 3 | String surroundIndexes;//周围的矿位索引 4 | String canMoveOrBattleIndexes;//可移动或战斗的矿位索引 -------------------------------------------------------------------------------- /core/lib-src/org.springframework.expression-sources-3.1.1.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib-src/org.springframework.expression-sources-3.1.1.RELEASE.jar -------------------------------------------------------------------------------- /tools/bin/excel/model/RankRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int rankId; //排行榜ID 2 | int rankingPositionBegin; //排名起始 3 | int rankingPositionEnd; //排名结束 4 | int giftId;[notNull=false;minValue=0] //奖品 5 | -------------------------------------------------------------------------------- /tools/bin/excel/model/RankTemplate.txt: -------------------------------------------------------------------------------- 1 | int rankId; //排行榜id 2 | String rankName; //排行榜名称 3 | String rankDesc; //排行榜描述 4 | boolean hasReward; //是否有奖励 5 | int days;[notNull=false] //奖品领取间隔 -------------------------------------------------------------------------------- /tools/bin/excel/model/SingleRechargeTemplate.txt: -------------------------------------------------------------------------------- 1 | int rechargeNum;//充值金额 2 | com.hifun.soul.gameserver.recharge.template.SingleRechargeReward[] rechargeRewards;[collection(4,2)] //充值奖励物品 -------------------------------------------------------------------------------- /tools/bin/log/model/MoneyLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.MoneyLog( 2 | int currencyType; // 变化货币类型 3 | int currencyNum; // 变化货币数量 4 | int afterNum; // 变化之后数量 5 | ) -------------------------------------------------------------------------------- /tools/config/excel/model/MeditationModeTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; //冥想模式名称 2 | int rate; //收益倍率(万分制) 3 | int currencyType; //所需货币类型 4 | int currencyNum;[notNull=true;minValue=0] //所需货币数量 -------------------------------------------------------------------------------- /tools/config/excel/model/RankTemplate.txt: -------------------------------------------------------------------------------- 1 | int rankId; //排行榜id 2 | String rankName; //排行榜名称 3 | String rankDesc; //排行榜描述 4 | boolean hasReward; //是否有奖励 5 | int days;[notNull=false] //奖品领取间隔 -------------------------------------------------------------------------------- /tools/config/excel/model/RefineMapTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; // 试炼地图名称 2 | int nameLangId;[notNull=true;minValue=1] // 试炼地图名称多语言 3 | int openLevel;[notNull=false;minValue=0] // 开放等级 4 | -------------------------------------------------------------------------------- /tools/config/excel/model/SingleRechargeTemplate.txt: -------------------------------------------------------------------------------- 1 | int rechargeNum;//充值金额 2 | com.hifun.soul.gameserver.recharge.template.SingleRechargeReward[] rechargeRewards;[collection(4,2)] //充值奖励物品 -------------------------------------------------------------------------------- /tools/config/excel/model/TotalRechargeTemplate.txt: -------------------------------------------------------------------------------- 1 | int rechargeNum;//充值金额 2 | com.hifun.soul.gameserver.recharge.template.TotalRechargeReward[] rechargeRewards;[collection(4,2)] //充值奖励物品 -------------------------------------------------------------------------------- /tools/config/log/model/MoneyLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.MoneyLog( 2 | int currencyType; // 变化货币类型 3 | int currencyNum; // 变化货币数量 4 | int afterNum; // 变化之后数量 5 | ) -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20130102.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | -- 创建索引 3 | ALTER TABLE t_rank ADD INDEX rank_level_index(level); 4 | -- 插入数据版本信息 5 | INSERT INTO t_version values ('20130102', NOW()); -------------------------------------------------------------------------------- /tools/bin/excel/model/BossRankRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int minRank;[notNull=true;minValue=0] // 排名下限 2 | int maxRank;[notNull=true;minValue=0] // 排名上限 3 | int giftId;[notNull=true;minValue=0] // 礼包id -------------------------------------------------------------------------------- /tools/bin/excel/model/BuildingUpgradeRatioTemplate.txt: -------------------------------------------------------------------------------- 1 | float costRatio; // 金钱系数 2 | float woodRatio; // 木材系数 3 | float mineRatio; // 矿石系数 4 | float gemRatio; // 宝石系数 5 | float cdRatio; // cd系数 -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionShopTemplate.txt: -------------------------------------------------------------------------------- 1 | int itemId;//物品ID 2 | int costMedal;//消耗勋章 3 | int dayNum;//每日限量 4 | int itemType;//物品类型 5 | int needBuildingLevel;[notNull=false;minValue=0]//需要建筑等级 -------------------------------------------------------------------------------- /tools/bin/excel/model/TrainingTypeTemplate.txt: -------------------------------------------------------------------------------- 1 | String trainingTypeName; //训练模式名称 2 | int nameLangId;[notNull=false;minValue=0] //多语言名称 3 | int trainingTime; //训练时长(分钟) 4 | int expRate; //收益比率 -------------------------------------------------------------------------------- /tools/config/excel/model/RankRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int rankId; //排行榜ID 2 | int rankingPositionBegin; //排名起始 3 | int rankingPositionEnd; //排名结束 4 | int giftId;[notNull=false;minValue=0] //奖品 5 | -------------------------------------------------------------------------------- /tools/config/excel/model/TrainingTypeTemplate.txt: -------------------------------------------------------------------------------- 1 | String trainingTypeName; //训练模式名称 2 | int nameLangId;[notNull=false;minValue=0] //多语言名称 3 | int trainingTime; //训练时长(分钟) 4 | int expRate; //收益比率 -------------------------------------------------------------------------------- /core/lib-src/org.springframework.context.support-sources-3.1.1.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkme/server/HEAD/core/lib-src/org.springframework.context.support-sources-3.1.1.RELEASE.jar -------------------------------------------------------------------------------- /core/src/com/hifun/soul/core/msg/property/PropertyResolver.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.core.msg.property; 2 | 3 | public interface PropertyResolver { 4 | public String getText(int key); 5 | } 6 | -------------------------------------------------------------------------------- /tools/bin/excel/model/BuildingFuncTemplate.txt: -------------------------------------------------------------------------------- 1 | int buildingId;[notNull=true;minValue=1] // 建筑id 2 | int priority;[notNull=true;minValue=1] // 显示优先级 3 | int level;[notNull=false;minValue=0] // 显示等级限制 -------------------------------------------------------------------------------- /tools/bin/excel/model/EscortHelpRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int levelDiffLowest;[notNull=false;minValue=0]//等级差下限 2 | int levelDiffHighest;[notNull=false;minValue=0]//等级差上限 3 | float rewardCoinRate;//奖励金币系数 -------------------------------------------------------------------------------- /tools/bin/excel/model/FosterModeTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; //培养模式名称 2 | int randomLowRatio; [notNull=false;minValue=0] //随机范围下限系数 3 | int openVipLevel; [notNull=false;minValue=0] //开启模式的vip等级 4 | -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionMineSelfBufTemplate.txt: -------------------------------------------------------------------------------- 1 | String bufName;//指令名称 2 | String useGuide;//使用方法 3 | String cancelMethod;[notNull=false]//取消方法 4 | String functionDesc;//功能描述 5 | int bufIcon;//图标 -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionTaskBuildingTemplate.txt: -------------------------------------------------------------------------------- 1 | int needLegionLevel;[notNull=false;minValue=0]//升至下级需要军团等级 2 | int needLegionCoin;[notNull=false;minValue=0]//升至下级需要军团资金 3 | int taskNum;//可接任务数 -------------------------------------------------------------------------------- /tools/config/excel/model/BossRankRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int minRank;[notNull=true;minValue=0] // 排名下限 2 | int maxRank;[notNull=true;minValue=0] // 排名上限 3 | int giftId;[notNull=true;minValue=0] // 礼包id -------------------------------------------------------------------------------- /tools/config/excel/model/BuildingUpgradeRatioTemplate.txt: -------------------------------------------------------------------------------- 1 | float costRatio; // 金钱系数 2 | float woodRatio; // 木材系数 3 | float mineRatio; // 矿石系数 4 | float gemRatio; // 宝石系数 5 | float cdRatio; // cd系数 -------------------------------------------------------------------------------- /tools/config/excel/model/FosterModeTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; //培养模式名称 2 | int randomLowRatio; [notNull=false;minValue=0] //随机范围下限系数 3 | int openVipLevel; [notNull=false;minValue=0] //开启模式的vip等级 4 | -------------------------------------------------------------------------------- /tools/config/excel/model/LegionShopTemplate.txt: -------------------------------------------------------------------------------- 1 | int itemId;//物品ID 2 | int costMedal;//消耗勋章 3 | int dayNum;//每日限量 4 | int itemType;//物品类型 5 | int needBuildingLevel;[notNull=false;minValue=0]//需要建筑等级 -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20130417.sql: -------------------------------------------------------------------------------- 1 | use sevensoul; 2 | 3 | ALTER TABLE `t_human` 4 | DROP COLUMN `unharvestGemItems`; 5 | 6 | -- 插入数据版本信息 7 | INSERT INTO t_version values ('20130417', NOW()); -------------------------------------------------------------------------------- /tools/bin/excel/model/EscortRefreshMonsterRateTemplate.txt: -------------------------------------------------------------------------------- 1 | int upRate;[notNull=false;minValue=0]//升一级概率 2 | int holdRate;[notNull=false;minValue=0]//不变概率 3 | int downRate;[notNull=false;minValue=0]//降一级概率 -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionHonorBuildingTemplate.txt: -------------------------------------------------------------------------------- 1 | int needLegionLevel;[notNull=false;minValue=0]//升至下级需要军团等级 2 | int needLegionCoin;[notNull=false;minValue=0]//升至下级需要军团资金 3 | int exchangeNum;//可兑换头衔数 -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionShopBuildingTemplate.txt: -------------------------------------------------------------------------------- 1 | int needLegionLevel;[notNull=false;minValue=0]//升至下级需要军团等级 2 | int needLegionCoin;[notNull=false;minValue=0]//升至下级需要军团资金 3 | int sellItemNum;//售卖物品数 -------------------------------------------------------------------------------- /tools/bin/excel/model/MeditationAssistPositionTemplate.txt: -------------------------------------------------------------------------------- 1 | int openLevel; //可用金币开启的等级限制 2 | int costCoinNum; //金币花费 3 | int costCrystalNum; //花费魔晶数量 4 | int applyNum; //发出的申请数 5 | int assistRate; //协助收益比例 -------------------------------------------------------------------------------- /tools/config/excel/model/BuildingFuncTemplate.txt: -------------------------------------------------------------------------------- 1 | int buildingId;[notNull=true;minValue=1] // 建筑id 2 | int priority;[notNull=true;minValue=1] // 显示优先级 3 | int level;[notNull=false;minValue=0] // 显示等级限制 -------------------------------------------------------------------------------- /tools/config/excel/model/EscortHelpRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int levelDiffLowest;[notNull=false;minValue=0]//等级差下限 2 | int levelDiffHighest;[notNull=false;minValue=0]//等级差上限 3 | float rewardCoinRate;//奖励金币系数 -------------------------------------------------------------------------------- /tools/config/excel/model/LegionMineSelfBufTemplate.txt: -------------------------------------------------------------------------------- 1 | String bufName;//指令名称 2 | String useGuide;//使用方法 3 | String cancelMethod;[notNull=false]//取消方法 4 | String functionDesc;//功能描述 5 | int bufIcon;//图标 -------------------------------------------------------------------------------- /tools/config/excel/model/LegionShopBuildingTemplate.txt: -------------------------------------------------------------------------------- 1 | int needLegionLevel;[notNull=false;minValue=0]//升至下级需要军团等级 2 | int needLegionCoin;[notNull=false;minValue=0]//升至下级需要军团资金 3 | int sellItemNum;//售卖物品数 -------------------------------------------------------------------------------- /tools/config/excel/model/LegionTaskBuildingTemplate.txt: -------------------------------------------------------------------------------- 1 | int needLegionLevel;[notNull=false;minValue=0]//升至下级需要军团等级 2 | int needLegionCoin;[notNull=false;minValue=0]//升至下级需要军团资金 3 | int taskNum;//可接任务数 -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20130515.sql: -------------------------------------------------------------------------------- 1 | use sevensoul; 2 | alter table t_bulletin modify id INT NOT NULL AUTO_INCREMENT COMMENT 'ID' ; 3 | -- 插入数据版本信息 4 | INSERT INTO t_version values ('20130515', NOW()); 5 | -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/human/quest/IQuestAimType.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.human.quest; 2 | 3 | public interface IQuestAimType { 4 | 5 | int getAimType(); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/item/ItemConstants.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.item; 2 | 3 | public class ItemConstants { 4 | 5 | public static final int MAX_EQUIP_HOLE = 4; 6 | } 7 | -------------------------------------------------------------------------------- /tools/bin/excel/model/HumanGemPropTemplate.txt: -------------------------------------------------------------------------------- 1 | int initValue;[notNull=false;minValue=0] // 初始值 2 | int maxValue;[notNull=false;minValue=0] // 上限 3 | int eliminateBonus;[notNull=false;minValue=0] // 每个宝石消除能量 -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionMineRichRateTemplate.txt: -------------------------------------------------------------------------------- 1 | float lowest;[notNull=false;minValue=0]//范围下限 2 | float highest;[notNull=false;minValue=0]//范围上限 3 | String richRateDesc;//富裕度描述 4 | int revenueRate;//收益比例 -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionTechnologyBuildingTemplate.txt: -------------------------------------------------------------------------------- 1 | int needLegionLevel;[notNull=false;minValue=0]//升至下级需要军团等级 2 | int needLegionCoin;[notNull=false;minValue=0]//升至下级需要军团资金 3 | int openTechNum;//开启科技数 -------------------------------------------------------------------------------- /tools/bin/excel/model/SkillSlotTemplate.txt: -------------------------------------------------------------------------------- 1 | int humanLevel;[notNull=false;minValue=1] // 解锁角色等级 2 | int costCoin;[notNull=false;minValue=0] // 解锁花费金币 3 | int costCrystal;[notNull=false;minValue=0] // 直接解锁花费魔晶 -------------------------------------------------------------------------------- /tools/bin/excel/model/SpriteRecruitTemplate.txt: -------------------------------------------------------------------------------- 1 | int soulType;[notNull=false;minValue=0] // 消耗精魂类型 2 | int soulNum;[notNull=false;minValue=0] // 消耗精魂数量 3 | int openLevel;[notNull=false;minValue=0] // 开启角色等级 -------------------------------------------------------------------------------- /tools/config/excel/model/EscortRefreshMonsterRateTemplate.txt: -------------------------------------------------------------------------------- 1 | int upRate;[notNull=false;minValue=0]//升一级概率 2 | int holdRate;[notNull=false;minValue=0]//不变概率 3 | int downRate;[notNull=false;minValue=0]//降一级概率 -------------------------------------------------------------------------------- /tools/config/excel/model/HumanGemPropTemplate.txt: -------------------------------------------------------------------------------- 1 | int initValue;[notNull=false;minValue=0] // 初始值 2 | int maxValue;[notNull=false;minValue=0] // 上限 3 | int eliminateBonus;[notNull=false;minValue=0] // 每个宝石消除能量 -------------------------------------------------------------------------------- /tools/config/excel/model/LegionHonorBuildingTemplate.txt: -------------------------------------------------------------------------------- 1 | int needLegionLevel;[notNull=false;minValue=0]//升至下级需要军团等级 2 | int needLegionCoin;[notNull=false;minValue=0]//升至下级需要军团资金 3 | int exchangeNum;//可兑换头衔数 -------------------------------------------------------------------------------- /tools/config/excel/model/MeditationAssistPositionTemplate.txt: -------------------------------------------------------------------------------- 1 | int openLevel; //可用金币开启的等级限制 2 | int costCoinNum; //金币花费 3 | int costCrystalNum; //花费魔晶数量 4 | int applyNum; //发出的申请数 5 | int assistRate; //协助收益比例 -------------------------------------------------------------------------------- /tools/config/excel/model/SpriteRecruitTemplate.txt: -------------------------------------------------------------------------------- 1 | int soulType;[notNull=false;minValue=0] // 消耗精魂类型 2 | int soulNum;[notNull=false;minValue=0] // 消耗精魂数量 3 | int openLevel;[notNull=false;minValue=0] // 开启角色等级 -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20130413.sql: -------------------------------------------------------------------------------- 1 | use sevensoul; 2 | ALTER TABLE `t_boss_role` CHANGE `id` `id` BIGINT(20) NOT NULL; 3 | 4 | -- 插入数据版本信息 5 | INSERT INTO t_version values ('20130413', NOW()); 6 | 7 | 8 | -------------------------------------------------------------------------------- /tools/bin/log/model/HoroscopeLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.HoroscopeLog( 2 | int bagType; // 星运所在包 3 | int bagIndex; // 星运所在包索引 4 | int horoscopeId; // 星运的id 5 | int experience; // 星运当前经验 6 | ) -------------------------------------------------------------------------------- /tools/config/excel/model/LegionMineRichRateTemplate.txt: -------------------------------------------------------------------------------- 1 | float lowest;[notNull=false;minValue=0]//范围下限 2 | float highest;[notNull=false;minValue=0]//范围上限 3 | String richRateDesc;//富裕度描述 4 | int revenueRate;//收益比例 -------------------------------------------------------------------------------- /tools/config/excel/model/LegionTechnologyBuildingTemplate.txt: -------------------------------------------------------------------------------- 1 | int needLegionLevel;[notNull=false;minValue=0]//升至下级需要军团等级 2 | int needLegionCoin;[notNull=false;minValue=0]//升至下级需要军团资金 3 | int openTechNum;//开启科技数 -------------------------------------------------------------------------------- /tools/config/excel/model/SkillSlotTemplate.txt: -------------------------------------------------------------------------------- 1 | int humanLevel;[notNull=false;minValue=1] // 解锁角色等级 2 | int costCoin;[notNull=false;minValue=0] // 解锁花费金币 3 | int costCrystal;[notNull=false;minValue=0] // 直接解锁花费魔晶 -------------------------------------------------------------------------------- /core/src/com/hifun/soul/common/constants/PMKey.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.common.constants; 2 | 3 | public class PMKey { 4 | 5 | /** 记录日志的原因 */ 6 | public static final String REASON = "reason"; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20130420.sql: -------------------------------------------------------------------------------- 1 | use sevensoul; 2 | 3 | ALTER TABLE `t_boss_role` 4 | ADD COLUMN `isJoin` boolean default false; 5 | 6 | -- 插入数据版本信息 7 | INSERT INTO t_version values ('20130420', NOW()); -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20130525.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | ALTER TABLE `t_human` 3 | ADD COLUMN `gift` BLOB DEFAULT NULL AFTER `stageStarRewards`; 4 | -- 插入数据版本信息 5 | INSERT INTO t_version values ('20130525', NOW()); -------------------------------------------------------------------------------- /test/src/com/hifun/soul/mytest/MathTest.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.mytest; 2 | 3 | public class MathTest { 4 | public static void main(String[] args) { 5 | System.out.println(Math.floor(5d / 2d)); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionTechnologyTypeTemplate.txt: -------------------------------------------------------------------------------- 1 | int nameSysLang;//名称多语言 2 | String techName;//科技名称 3 | int iconId;//图标 4 | int descSysLang;//描述多语言 5 | String techDesc;//科技效果描述 6 | int needBuildingLevel;//需要建筑等级 -------------------------------------------------------------------------------- /tools/config/log/model/HoroscopeLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.HoroscopeLog( 2 | int bagType; // 星运所在包 3 | int bagIndex; // 星运所在包索引 4 | int horoscopeId; // 星运的id 5 | int experience; // 星运当前经验 6 | ) -------------------------------------------------------------------------------- /core/src/com/hifun/soul/common/IModuleMessageHandler.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.common; 2 | 3 | /** 4 | * 模块相关的消息处理器需实现的接口,一般为每个模块一个 5 | * 6 | */ 7 | public interface IModuleMessageHandler { 8 | 9 | } 10 | -------------------------------------------------------------------------------- /core/src/com/hifun/soul/core/msg/property/IPropertyBagable.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.core.msg.property; 2 | 3 | public interface IPropertyBagable { 4 | public PropertyBag toPropertyBag(); //结构化成PropertyBag 5 | } 6 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20121212.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | ALTER TABLE `t_human` 3 | ADD COLUMN `mine` BLOB DEFAULT NULL AFTER `eliteStageInfo`; 4 | -- 插入数据版本信息 5 | INSERT INTO t_version values ('20121212', NOW()); 6 | -------------------------------------------------------------------------------- /tools/bin/excel/model/QuestionScoreExchangeTemplate.txt: -------------------------------------------------------------------------------- 1 | int score; //积分线 2 | int coinNum;[notNull=false;minValue=0] //金币数 3 | int exp;[notNull=false;minValue=0] //经验值 4 | int technologyPoint;[notNull=false;minValue=0] //科技点 -------------------------------------------------------------------------------- /tools/bin/log/model/ChatLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.ChatLog( 2 | long destPassportId; // 目标账号id 3 | String destRoleName; // 目标角色名称 4 | int chatType; // 聊天类型 5 | String content; // 聊天内容 6 | ) -------------------------------------------------------------------------------- /tools/bin/updateSqlTool.properties: -------------------------------------------------------------------------------- 1 | dbUrl = jdbc:mysql://127.0.0.1:3306/sevensoul 2 | dbUpdateFilePrefix = db_soul_update_ 3 | userName = root 4 | password = 5 | updateSqlDir = sqlupdate 6 | versionTableName = t_version; -------------------------------------------------------------------------------- /tools/config/excel/model/LegionTechnologyTypeTemplate.txt: -------------------------------------------------------------------------------- 1 | int nameSysLang;//名称多语言 2 | String techName;//科技名称 3 | int iconId;//图标 4 | int descSysLang;//描述多语言 5 | String techDesc;//科技效果描述 6 | int needBuildingLevel;//需要建筑等级 -------------------------------------------------------------------------------- /tools/config/log/model/ChatLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.ChatLog( 2 | long destPassportId; // 目标账号id 3 | String destRoleName; // 目标角色名称 4 | int chatType; // 聊天类型 5 | String content; // 聊天内容 6 | ) -------------------------------------------------------------------------------- /tools/config/updateSqlTool.properties: -------------------------------------------------------------------------------- 1 | dbUrl = jdbc:mysql://127.0.0.1:3306/sevensoul 2 | dbUpdateFilePrefix = db_soul_update_ 3 | userName = root 4 | password = 5 | updateSqlDir = sqlupdate 6 | versionTableName = t_version; -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20121031.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | ALTER TABLE `t_human` 3 | ADD COLUMN `humanSkillSlots` blob DEFAULT NULL AFTER `costNotifys`; 4 | -- 插入数据版本信息 5 | INSERT INTO t_version values ('20121031', NOW()); 6 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20121101.sql: -------------------------------------------------------------------------------- 1 | 2 | USE sevensoul; 3 | ALTER TABLE `t_human` 4 | ADD COLUMN `meditation` BLOB DEFAULT NULL AFTER `humanSkillSlots`; 5 | -- 插入数据版本信息 6 | INSERT INTO t_version values ('20121101', NOW()); -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20121108.sql: -------------------------------------------------------------------------------- 1 | 2 | USE sevensoul; 3 | ALTER TABLE `t_human` 4 | ADD COLUMN `eliteStageInfo` BLOB DEFAULT NULL AFTER `meditation`; 5 | -- 插入数据版本信息 6 | INSERT INTO t_version values ('20121108', NOW()); -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20130507.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | ALTER TABLE `t_human` 3 | ADD COLUMN `stageStarRewards` BLOB DEFAULT NULL AFTER `stageStars`; 4 | -- 插入数据版本信息 5 | INSERT INTO t_version values ('20130507', NOW()); 6 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20130724.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | ALTER TABLE `t_friend` 3 | ADD COLUMN `isYellowHighVip` bit NULL default 0 COMMENT '是否为豪华黄钻会员'; 4 | -- 插入数据版本信息 5 | INSERT INTO t_version values ('20130724', NOW()); -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20140315.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | 3 | SET FOREIGN_KEY_CHECKS=0; 4 | 5 | 6 | ALTER TABLE t_human CHANGE gift humanGift BLOB; 7 | 8 | -- 插入数据版本信息 9 | INSERT INTO t_version values ('20140315', NOW()); -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/activity/ITimingActivityManager.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.activity; 2 | 3 | public interface ITimingActivityManager { 4 | void onStart(); 5 | void onStop(); 6 | } 7 | -------------------------------------------------------------------------------- /tools/bin/excel/model/HonourShopTemplate.txt: -------------------------------------------------------------------------------- 1 | int itemId; // 道具ID 2 | int needHonour;[notNull=false;minValue=0] // 购买需要荣誉 3 | int itemType;[notNull=false;minValue=0] // 分页签 4 | int visibleLevel;[notNull=false;minValue=0]//可见等级 -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionMineBattleRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int minLevel;//玩家等级下限 2 | int itemId;[notNull=false;mainValue=0]//物品ID 3 | int itemNum;[notNull=false;mainValue=0]//物品数量 4 | int rewardRate;[notNull=false;mainValue=0]//概率 -------------------------------------------------------------------------------- /tools/bin/excel/model/MatchBattleStreakWinTemplate.txt: -------------------------------------------------------------------------------- 1 | int honour; [notNull=false;minValue=0] //连胜荣誉奖励 2 | int finishOhterStreakWinHonour; [notNull=false;minValue=0] //终结他人连胜获得荣誉 3 | int coin; [notNull=false;minValue=0] //连胜金币奖励 -------------------------------------------------------------------------------- /tools/bin/excel/model/MineFieldRateTemplate.txt: -------------------------------------------------------------------------------- 1 | int levelLimit; //玩家等级下限 2 | int monsterId;[notNull=false;minValue=0] //怪物id 3 | int mineFieldTypeId; //矿坑类型id 4 | int mineFieldTypeWeight;[notNull=false;minValue=0] //矿坑类型出现的权重 -------------------------------------------------------------------------------- /tools/bin/excel/model/QuestionAnswerTemplate.txt: -------------------------------------------------------------------------------- 1 | String question; //问题题目 2 | List answers;[collection(3,5)] // 问题答案 3 | int rightAnswerIndex;//正确答案(从1开始) 4 | 5 | 6 | -------------------------------------------------------------------------------- /tools/config/excel/model/HonourShopTemplate.txt: -------------------------------------------------------------------------------- 1 | int itemId; // 道具ID 2 | int needHonour;[notNull=false;minValue=0] // 购买需要荣誉 3 | int itemType;[notNull=false;minValue=0] // 分页签 4 | int visibleLevel;[notNull=false;minValue=0]//可见等级 -------------------------------------------------------------------------------- /tools/config/excel/model/MineFieldRateTemplate.txt: -------------------------------------------------------------------------------- 1 | int levelLimit; //玩家等级下限 2 | int monsterId;[notNull=false;minValue=0] //怪物id 3 | int mineFieldTypeId; //矿坑类型id 4 | int mineFieldTypeWeight;[notNull=false;minValue=0] //矿坑类型出现的权重 -------------------------------------------------------------------------------- /tools/config/excel/model/QuestionScoreExchangeTemplate.txt: -------------------------------------------------------------------------------- 1 | int score; //积分线 2 | int coinNum;[notNull=false;minValue=0] //金币数 3 | int exp;[notNull=false;minValue=0] //经验值 4 | int technologyPoint;[notNull=false;minValue=0] //科技点 -------------------------------------------------------------------------------- /core/src/com/hifun/soul/common/IFacade.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.common; 2 | 3 | /** 4 | * 门面接口; 5 | * 6 | * @author crazyjohn 7 | * 8 | * @param 9 | */ 10 | public interface IFacade { 11 | 12 | } 13 | -------------------------------------------------------------------------------- /core/src/com/hifun/soul/common/INonThreadSafe.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.common; 2 | 3 | /** 4 | * 非线程安全的类实现的接口 5 | * 6 | */ 7 | public interface INonThreadSafe { 8 | 9 | public boolean checkThread(); 10 | } 11 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20121217.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | ALTER TABLE `t_human` 3 | ADD COLUMN `mainCityInfo` BLOB DEFAULT NULL AFTER `specialShopItems`; 4 | -- 插入数据版本信息 5 | INSERT INTO t_version values ('20121217', NOW()); 6 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20130219.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | ALTER TABLE `t_human` 3 | ADD COLUMN `stageStars` BLOB DEFAULT NULL AFTER `mainCityInfo`; 4 | 5 | -- 插入数据版本信息 6 | INSERT INTO t_version values ('20130219', NOW()); 7 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20130605.sql: -------------------------------------------------------------------------------- 1 | use sevensoul; 2 | alter table t_mail_send change column `itemId` `itemIds` varchar(200) NULL COMMENT '附件物品id列表' ; 3 | -- 插入数据版本信息 4 | INSERT INTO t_version values ('20130605', NOW()); 5 | 6 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20140423.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | 3 | SET FOREIGN_KEY_CHECKS=0; 4 | 5 | ALTER TABLE `t_mars_member` DROP COLUMN `faction` ; 6 | 7 | 8 | -- 插入数据版本信息 9 | INSERT INTO t_version values ('20140423', NOW()); -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/sprite/Sprite.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.sprite; 2 | 3 | /** 4 | * 精灵业务对象; 5 | * 6 | * @author crazyjohn 7 | * 8 | */ 9 | public class Sprite { 10 | 11 | } 12 | -------------------------------------------------------------------------------- /proto/proto/Common.proto: -------------------------------------------------------------------------------- 1 | package com.hifun.proto.common; 2 | option java_package = "com.hifun.soul.proto.common"; 3 | option java_outer_classname = "CommonDefinition"; 4 | 5 | message VoidRequest {} 6 | 7 | message VoidResponse {} -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionMeditationBuildingTemplate.txt: -------------------------------------------------------------------------------- 1 | int needLegionLevel;//升至下级需要军团等级 2 | int needLegionCoin;[notNull=false;minValue=0]//升至下级需要军团资金 3 | int amendEffect;[notNull=false;minValue=0]//加成效果 4 | int amendMethod;//加成方式 -------------------------------------------------------------------------------- /tools/bin/excel/model/PrisonExperienceTemplate.txt: -------------------------------------------------------------------------------- 1 | int experienceLimit;[notNull=false;minValue=0] //单日经验上限 2 | int interactExperience;[notNull=false;minValue=0] //互动单次经验 3 | int expPerMinute;[notNull=false;minValue=0] //每分钟产出经验 4 | -------------------------------------------------------------------------------- /tools/bin/excel/model/ShopTemplate.txt: -------------------------------------------------------------------------------- 1 | int itemId; // 道具ID 2 | short currencyType; // 购买货币类型 3 | int num; // 购买货币数量 4 | int levelLimit;[notNull=false;minValue=0] // 等级限制 5 | int occupationLimit;[notNull=false;minValue=0] // 职业限制 6 | -------------------------------------------------------------------------------- /tools/config/excel/model/LegionMineBattleRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int minLevel;//玩家等级下限 2 | int itemId;[notNull=false;mainValue=0]//物品ID 3 | int itemNum;[notNull=false;mainValue=0]//物品数量 4 | int rewardRate;[notNull=false;mainValue=0]//概率 -------------------------------------------------------------------------------- /tools/config/excel/model/MatchBattleStreakWinTemplate.txt: -------------------------------------------------------------------------------- 1 | int honour; [notNull=false;minValue=0] //连胜荣誉奖励 2 | int finishOhterStreakWinHonour; [notNull=false;minValue=0] //终结他人连胜获得荣誉 3 | int coin; [notNull=false;minValue=0] //连胜金币奖励 -------------------------------------------------------------------------------- /tools/config/excel/model/QuestionAnswerTemplate.txt: -------------------------------------------------------------------------------- 1 | String question; //问题题目 2 | List answers;[collection(3,5)] // 问题答案 3 | int rightAnswerIndex;//正确答案(从1开始) 4 | 5 | 6 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20130606.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | ALTER TABLE `t_human` 3 | ADD COLUMN `specialLoginRewards` BLOB DEFAULT NULL AFTER `refineStages`; 4 | -- 插入数据版本信息 5 | INSERT INTO t_version values ('20130606', NOW()); 6 | 7 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20140113.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | 3 | ALTER TABLE `t_human` 4 | ADD COLUMN `humanTarget` BLOB DEFAULT NULL AFTER `humanMarsLoser`; 5 | 6 | -- 插入数据版本信息 7 | INSERT INTO t_version values ('20140113', NOW()); 8 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20140114.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | 3 | ALTER TABLE `t_prisoner` 4 | ADD COLUMN `revoltedNum` INT(11) DEFAULT 0 AFTER `forHelpedNum`; 5 | 6 | -- 插入数据版本信息 7 | INSERT INTO t_version values ('20140114', NOW()); 8 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20140217.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | 3 | ALTER TABLE `t_human` 4 | ADD COLUMN `humanNostrum` BLOB DEFAULT NULL AFTER `humanTarget`; 5 | 6 | -- 插入数据版本信息 7 | INSERT INTO t_version values ('20140217', NOW()); 8 | -------------------------------------------------------------------------------- /tools/bin/excel/model/EscortMonsterTemplate.txt: -------------------------------------------------------------------------------- 1 | String monsterName;//怪物名称 2 | float coinRate;//金钱获得系数 3 | float honorRate;[notNull=false;minValue=0]//声望获得系数 4 | float escortTimeRate;//押运时间系数 5 | int iconId;//图片ID 6 | int modelId;//模型ID -------------------------------------------------------------------------------- /tools/bin/excel/model/FosterAttributeTemplate.txt: -------------------------------------------------------------------------------- 1 | int fosterMode; //培养类型 2 | int level1PropertyId; // 一级属性id 3 | int minNumOfPerFoster;[notNull=false;minValue=0] // 单次培养成功下限 4 | int maxNumOfPerFoster;[notNull=false;minValue=0] // 单次培养成功上限 -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionPositionTemplate.txt: -------------------------------------------------------------------------------- 1 | int nameLangId; //职位名称多语言ID 2 | String positionName; //职位名称 3 | int qualityId; //品质ID 4 | int numLimit; //人数限制 5 | int needContribution;[notNull=false] //升职需要贡献值 6 | int rightId; //权限ID -------------------------------------------------------------------------------- /tools/bin/msg/template/lua/test/CGMessageRegistry.lua: -------------------------------------------------------------------------------- 1 | -- CGMessageRegistry; 2 | -- @author crazyjohn 3 | -- @date 2014-11-14 16:52:52 4 | -- 5 | -- register CGMessage 6 | -- 登陸消息 7 | CGPlayerMessage = requireNewMessage("CGPlayerMessage") -------------------------------------------------------------------------------- /tools/config/excel/model/EscortMonsterTemplate.txt: -------------------------------------------------------------------------------- 1 | String monsterName;//怪物名称 2 | float coinRate;//金钱获得系数 3 | float honorRate;[notNull=false;minValue=0]//声望获得系数 4 | float escortTimeRate;//押运时间系数 5 | int iconId;//图片ID 6 | int modelId;//模型ID -------------------------------------------------------------------------------- /tools/config/excel/model/LegionMeditationBuildingTemplate.txt: -------------------------------------------------------------------------------- 1 | int needLegionLevel;//升至下级需要军团等级 2 | int needLegionCoin;[notNull=false;minValue=0]//升至下级需要军团资金 3 | int amendEffect;[notNull=false;minValue=0]//加成效果 4 | int amendMethod;//加成方式 -------------------------------------------------------------------------------- /tools/config/excel/model/LegionPositionTemplate.txt: -------------------------------------------------------------------------------- 1 | int nameLangId; //职位名称多语言ID 2 | String positionName; //职位名称 3 | int qualityId; //品质ID 4 | int numLimit; //人数限制 5 | int needContribution;[notNull=false] //升职需要贡献值 6 | int rightId; //权限ID -------------------------------------------------------------------------------- /tools/config/excel/model/PrisonExperienceTemplate.txt: -------------------------------------------------------------------------------- 1 | int experienceLimit;[notNull=false;minValue=0] //单日经验上限 2 | int interactExperience;[notNull=false;minValue=0] //互动单次经验 3 | int expPerMinute;[notNull=false;minValue=0] //每分钟产出经验 4 | -------------------------------------------------------------------------------- /tools/config/excel/model/ShopTemplate.txt: -------------------------------------------------------------------------------- 1 | int itemId; // 道具ID 2 | short currencyType; // 购买货币类型 3 | int num; // 购买货币数量 4 | int levelLimit;[notNull=false;minValue=0] // 等级限制 5 | int occupationLimit;[notNull=false;minValue=0] // 职业限制 6 | -------------------------------------------------------------------------------- /core/src/com/hifun/soul/common/constants/FormulaCaculator.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.common.constants; 2 | 3 | /** 4 | * 公式计算接口 5 | * 6 | * @author SevenSoul 7 | * 8 | */ 9 | public interface FormulaCaculator { 10 | } 11 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20121127.sql: -------------------------------------------------------------------------------- 1 | 2 | USE sevensoul; 3 | 4 | ALTER TABLE `t_arena_member` 5 | ADD COLUMN `occupation` INT default 0 AFTER `rankRewardState`; 6 | 7 | -- 插入数据版本信息 8 | INSERT INTO t_version values ('20121127', NOW()); -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20131119.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | 3 | ALTER TABLE `t_human` 4 | ADD COLUMN `humanGodsoul` BLOB DEFAULT NULL AFTER `humanTechnology`; 5 | 6 | -- 插入数据版本信息 7 | INSERT INTO t_version values ('20131119', NOW()); 8 | -------------------------------------------------------------------------------- /tools/bin/excel/model/BuildingUpgradeTemplate.txt: -------------------------------------------------------------------------------- 1 | short currencyType; // 货币类型 2 | int num;[minValue=0] // 货币数量 3 | int wood;[minValue=0] // 木材数量 4 | int mine;[minValue=0] // 矿石数量 5 | int gem;[minValue=0] // 宝石数量 6 | int cd;[minValue=0] // cd时间 -------------------------------------------------------------------------------- /tools/bin/msg/template/lua/test/GCMessageRegistry.lua: -------------------------------------------------------------------------------- 1 | -- GC消息注册器,以后可以用工具生成; 2 | -- Author: crazyjohn 3 | -- Date: 2014-11-03 22:14:58 4 | -- 5 | 6 | -- register GCMessage 7 | -- GC登陆消息; 8 | requireNewMessage("GCPlayerMessage"):register() 9 | -------------------------------------------------------------------------------- /tools/config/excel/model/FosterAttributeTemplate.txt: -------------------------------------------------------------------------------- 1 | int fosterMode; //培养类型 2 | int level1PropertyId; // 一级属性id 3 | int minNumOfPerFoster;[notNull=false;minValue=0] // 单次培养成功下限 4 | int maxNumOfPerFoster;[notNull=false;minValue=0] // 单次培养成功上限 -------------------------------------------------------------------------------- /tools/config/msg/template/lua/test/CGMessageRegistry.lua: -------------------------------------------------------------------------------- 1 | -- CGMessageRegistry; 2 | -- @author crazyjohn 3 | -- @date 2014-11-14 16:52:52 4 | -- 5 | -- register CGMessage 6 | -- 登陸消息 7 | CGPlayerMessage = requireNewMessage("CGPlayerMessage") -------------------------------------------------------------------------------- /core/src/com/hifun/soul/core/msg/ISliceMessage.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.core.msg; 2 | 3 | import java.util.List; 4 | 5 | public interface ISliceMessage { 6 | 7 | public abstract List getSliceMessages(); 8 | 9 | } -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20130627.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | ALTER TABLE `t_human` 3 | ADD COLUMN `warriorInfo` blob NULL COMMENT '勇士之路信息' AFTER `specialLoginRewards`; 4 | -- 插入数据版本信息 5 | INSERT INTO t_version values ('20130627', NOW()); 6 | 7 | -------------------------------------------------------------------------------- /tools/bin/excel/model/ArenaBattleRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int minLevel; //等级区间(上) 2 | int maxLevel; //等级区间(下) 3 | int money;[notNull=false;minValue=0] //金钱 4 | int experience;[notNull=false;minValue=0] //经验 5 | int honour;[notNull=false;minValue=0] //荣誉 -------------------------------------------------------------------------------- /tools/bin/excel/model/FuncHelperTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; //名称 2 | int nameLangId; //名称多语言id 3 | String desc; //描述 4 | int descLangId; //描述多语言id 5 | int icon;[notNull=false;minValue=0] //图标id 6 | int functionId;[notNull=false;minValue=0] //关联的功能id -------------------------------------------------------------------------------- /tools/bin/excel/model/OnLineRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int times;[notNull=false;minValue=0] // 次数 2 | int occupation;[notNull=false;minValue=0] // 职业 3 | int cd;[notNull=false;minValue=0] // CD时间(分) 4 | int itemId;[notNull=true;minValue=1] // 奖励物品id 5 | -------------------------------------------------------------------------------- /tools/bin/excel/model/SpriteStarMapTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; // 星图名称 2 | int nameLangId;[notNull=false;minValue=0] // 多语言名称id 3 | int openLevel;[notNull=false;minValue=0] // 开启星图需要的玩家等级 4 | int nextStarMapId;[notNull=false;minValue=0] // 下一张星图id -------------------------------------------------------------------------------- /tools/config/excel/model/BuildingUpgradeTemplate.txt: -------------------------------------------------------------------------------- 1 | short currencyType; // 货币类型 2 | int num;[minValue=0] // 货币数量 3 | int wood;[minValue=0] // 木材数量 4 | int mine;[minValue=0] // 矿石数量 5 | int gem;[minValue=0] // 宝石数量 6 | int cd;[minValue=0] // cd时间 -------------------------------------------------------------------------------- /tools/config/excel/model/OnLineRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int times;[notNull=false;minValue=0] // 次数 2 | int occupation;[notNull=false;minValue=0] // 职业 3 | int cd;[notNull=false;minValue=0] // CD时间(分) 4 | int itemId;[notNull=true;minValue=1] // 奖励物品id 5 | -------------------------------------------------------------------------------- /tools/config/excel/model/SpriteStarMapTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; // 星图名称 2 | int nameLangId;[notNull=false;minValue=0] // 多语言名称id 3 | int openLevel;[notNull=false;minValue=0] // 开启星图需要的玩家等级 4 | int nextStarMapId;[notNull=false;minValue=0] // 下一张星图id -------------------------------------------------------------------------------- /tools/config/msg/template/lua/test/GCMessageRegistry.lua: -------------------------------------------------------------------------------- 1 | -- GC消息注册器,以后可以用工具生成; 2 | -- Author: crazyjohn 3 | -- Date: 2014-11-03 22:14:58 4 | -- 5 | 6 | -- register GCMessage 7 | -- GC登陆消息; 8 | requireNewMessage("GCPlayerMessage"):register() 9 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20130320.sql: -------------------------------------------------------------------------------- 1 | use sevensoul; 2 | ALTER TABLE `t_human_question` 3 | ADD COLUMN `answeredQuestionIds` varchar(50) DEFAULT NULL AFTER `lastWeeklyResetTime`; 4 | -- 插入数据版本信息 5 | INSERT INTO t_version values ('20130320', NOW()); -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20131225.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | 3 | ALTER TABLE `t_human` 4 | ADD COLUMN `humanSingleRechargeReward` BLOB DEFAULT NULL AFTER `humanSpriteSlot`; 5 | 6 | -- 插入数据版本信息 7 | INSERT INTO t_version values ('20131225', NOW()); 8 | -------------------------------------------------------------------------------- /tools/bin/excel/model/ItemForgeRandomTemplate.txt: -------------------------------------------------------------------------------- 1 | int minValue;[notNull=false;minValue=0] //随机范围低 2 | int maxValue;[notNull=false;minValue=0] //随机范围高 3 | int minRate;[notNull=false;minValue=0] //概率低 4 | int maxRate;[notNull=false;minValue=0] //概率高 5 | -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionMeditationTemplate.txt: -------------------------------------------------------------------------------- 1 | String name;//冥想名称 2 | int vipLevel;[notNull=false;minValue=0]//vip开启等级 3 | int currencyType;//货币类型 4 | int costNum;//消耗数量 5 | int contribution;//获得贡献 6 | int medal;//获得勋章 7 | int legionCoin;//获得军团资金 -------------------------------------------------------------------------------- /tools/bin/excel/model/MarsRoomTemplate.txt: -------------------------------------------------------------------------------- 1 | String roomName;//房间名称 2 | int killValue;//杀戮值 3 | int lowestLevelParam;[notNull=false]//对手等级下限参数 4 | int highestLevelParam;[notNull=false]//对手等级上限参数 5 | int legionContribution;[notNull=false;minValue=0]//军团贡献值 -------------------------------------------------------------------------------- /tools/bin/excel/model/PredictTemplate.txt: -------------------------------------------------------------------------------- 1 | int needLevel;//激活需要等级 2 | int pageIndex;//页码 3 | List attributes;[collection(5,2)] //加成属性 4 | int amendType;//加成方式 5 | int x;//x坐标 6 | int y;//y坐标 -------------------------------------------------------------------------------- /tools/bin/log/model/FriendLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.FriendLog( 2 | long friendPassportId; // 好友账号id 3 | String friendPassportName; // 好友账号名称 4 | long friendRoleId; // 好友角色id 5 | String friendRoleName; // 好友角色名称 6 | ) -------------------------------------------------------------------------------- /tools/bin/log/model/OnlineTimeLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.OnlineTimeLog( 2 | int minute; // 当天累计在线时间(分钟) 3 | int totalMinute; // 累计在线时间(分钟) 4 | long lastLoginTime; // 最后一次登录时间 5 | long lastLogoutTime; // 最后一次登出时间 6 | ) -------------------------------------------------------------------------------- /tools/config/excel/model/ArenaBattleRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int minLevel; //等级区间(上) 2 | int maxLevel; //等级区间(下) 3 | int money;[notNull=false;minValue=0] //金钱 4 | int experience;[notNull=false;minValue=0] //经验 5 | int honour;[notNull=false;minValue=0] //荣誉 -------------------------------------------------------------------------------- /tools/config/excel/model/FuncHelperTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; //名称 2 | int nameLangId; //名称多语言id 3 | String desc; //描述 4 | int descLangId; //描述多语言id 5 | int icon;[notNull=false;minValue=0] //图标id 6 | int functionId;[notNull=false;minValue=0] //关联的功能id -------------------------------------------------------------------------------- /tools/config/excel/model/LegionMeditationTemplate.txt: -------------------------------------------------------------------------------- 1 | String name;//冥想名称 2 | int vipLevel;[notNull=false;minValue=0]//vip开启等级 3 | int currencyType;//货币类型 4 | int costNum;//消耗数量 5 | int contribution;//获得贡献 6 | int medal;//获得勋章 7 | int legionCoin;//获得军团资金 -------------------------------------------------------------------------------- /tools/config/excel/model/PredictTemplate.txt: -------------------------------------------------------------------------------- 1 | int needLevel;//激活需要等级 2 | int pageIndex;//页码 3 | List attributes;[collection(5,2)] //加成属性 4 | int amendType;//加成方式 5 | int x;//x坐标 6 | int y;//y坐标 -------------------------------------------------------------------------------- /tools/config/log/model/FriendLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.FriendLog( 2 | long friendPassportId; // 好友账号id 3 | String friendPassportName; // 好友账号名称 4 | long friendRoleId; // 好友角色id 5 | String friendRoleName; // 好友角色名称 6 | ) -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20130330.sql: -------------------------------------------------------------------------------- 1 | use sevensoul; 2 | ALTER TABLE `t_account` 3 | ADD COLUMN `permissionType` int(11) unsigned zerofill DEFAULT 1 AFTER `state`; 4 | 5 | -- 插入数据版本信息 6 | INSERT INTO t_version values ('20130330', NOW()); 7 | 8 | 9 | -------------------------------------------------------------------------------- /tools/bin/excel/model/BloodTempleRoomTemplate.txt: -------------------------------------------------------------------------------- 1 | int language; //多语言 2 | int pageIndex;//房间分页ID 3 | String roomName;//房间名称 4 | String currentType;//货币类型 5 | int revenue;//单次时间收益(分钟) 6 | int npcLevel;//推荐npc等级 7 | int protectTime;[notNull=false]//保护时间 8 | -------------------------------------------------------------------------------- /tools/bin/excel/model/EscortRobRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int levelDiffLowest;[notNull=false;minValue=0]//等级差下限 2 | int levelDiffHighest;[notNull=false;minValue=0]//等级差上限 3 | float rewardCoinRate;//奖励金币系数 4 | float rewardHonorRate;[notNull=false;minValue=0]//奖励声望系数 -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionRightTemplate.txt: -------------------------------------------------------------------------------- 1 | int transferLegion;[notNull=false;minValue=0] //转让军团 2 | int checkApply;[notNull=false;minValue=0] //审核申请 3 | int removeMember;[notNull=false;minValue=0] //剔除成员 4 | int editNotice;[notNull=false;minValue=0] //编辑公告 -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionTechnologyTemplate.txt: -------------------------------------------------------------------------------- 1 | int technologyType;//军团科技类型 2 | int technologyLevel;//军团科技等级 3 | int needBuildingLevel;//需要建筑等级 4 | int upNeedCoin;[notNull=false;minValue=0]//升至下一级需要金币 5 | int amendEffect;//加成效果值 6 | int amendMethod;//加成方式 -------------------------------------------------------------------------------- /tools/bin/excel/model/WarriorChallengeRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int coinBase; //金币基数 2 | int expBase; //经验基数 3 | int techPointBase; //科技点基数 4 | int otherWinCoin;[notNull=false;minValue=0] //接受挑战胜利金币奖励 5 | int otherLoseCoin;[notNull=false;minValue=0] //接受挑战失败金币奖励 -------------------------------------------------------------------------------- /tools/bin/log/model/ItemLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.ItemLog( 2 | int bagType; // 包裹id 3 | int bagIndex; // 在包裹中的位置索引 4 | int templateId; // 道具模板ID 5 | String itemUUID; // 道具实例ID 6 | int count; // 操作后的最终叠加数 7 | ) -------------------------------------------------------------------------------- /tools/config/excel/model/BloodTempleRoomTemplate.txt: -------------------------------------------------------------------------------- 1 | int language; //多语言 2 | int pageIndex;//房间分页ID 3 | String roomName;//房间名称 4 | String currentType;//货币类型 5 | int revenue;//单次时间收益(分钟) 6 | int npcLevel;//推荐npc等级 7 | int protectTime;[notNull=false]//保护时间 8 | -------------------------------------------------------------------------------- /tools/config/excel/model/ItemForgeRandomTemplate.txt: -------------------------------------------------------------------------------- 1 | int minValue;[notNull=false;minValue=0] //随机范围低 2 | int maxValue;[notNull=false;minValue=0] //随机范围高 3 | int minRate;[notNull=false;minValue=0] //概率低 4 | int maxRate;[notNull=false;minValue=0] //概率高 5 | -------------------------------------------------------------------------------- /tools/config/excel/model/MarsRoomTemplate.txt: -------------------------------------------------------------------------------- 1 | String roomName;//房间名称 2 | int killValue;//杀戮值 3 | int lowestLevelParam;[notNull=false]//对手等级下限参数 4 | int highestLevelParam;[notNull=false]//对手等级上限参数 5 | int legionContribution;[notNull=false;minValue=0]//军团贡献值 -------------------------------------------------------------------------------- /tools/config/excel/model/WarriorChallengeRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int coinBase; //金币基数 2 | int expBase; //经验基数 3 | int techPointBase; //科技点基数 4 | int otherWinCoin;[notNull=false;minValue=0] //接受挑战胜利金币奖励 5 | int otherLoseCoin;[notNull=false;minValue=0] //接受挑战失败金币奖励 -------------------------------------------------------------------------------- /tools/config/log/model/ItemLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.ItemLog( 2 | int bagType; // 包裹id 3 | int bagIndex; // 在包裹中的位置索引 4 | int templateId; // 道具模板ID 5 | String itemUUID; // 道具实例ID 6 | int count; // 操作后的最终叠加数 7 | ) -------------------------------------------------------------------------------- /tools/config/log/model/OnlineTimeLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.OnlineTimeLog( 2 | int minute; // 当天累计在线时间(分钟) 3 | int totalMinute; // 累计在线时间(分钟) 4 | long lastLoginTime; // 最后一次登录时间 5 | long lastLogoutTime; // 最后一次登出时间 6 | ) -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20131226.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | 3 | ALTER TABLE `t_human` 4 | ADD COLUMN `humanTotalRechargeReward` BLOB DEFAULT NULL AFTER `humanSingleRechargeReward`; 5 | 6 | -- 插入数据版本信息 7 | INSERT INTO t_version values ('20131226', NOW()); 8 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20140307.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | 3 | SET FOREIGN_KEY_CHECKS=0; 4 | 5 | ALTER TABLE t_boss_role ADD COLUMN `stageReward` int(11) DEFAULT '0' AFTER `isJoin`; 6 | 7 | -- 插入数据版本信息 8 | INSERT INTO t_version values ('20140307', NOW()); 9 | -------------------------------------------------------------------------------- /tools/bin/log/model/BasicPlayerLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.BasicPlayerLog( 2 | String ip; // IP地址 3 | int crystal; // 魔晶数量 4 | int coin; // 金币 5 | int experience; // 经验 6 | int energy; // 精力值 7 | long online_time; // 在线时长 8 | ) -------------------------------------------------------------------------------- /tools/config/excel/model/EscortRobRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int levelDiffLowest;[notNull=false;minValue=0]//等级差下限 2 | int levelDiffHighest;[notNull=false;minValue=0]//等级差上限 3 | float rewardCoinRate;//奖励金币系数 4 | float rewardHonorRate;[notNull=false;minValue=0]//奖励声望系数 -------------------------------------------------------------------------------- /tools/config/excel/model/LegionRightTemplate.txt: -------------------------------------------------------------------------------- 1 | int transferLegion;[notNull=false;minValue=0] //转让军团 2 | int checkApply;[notNull=false;minValue=0] //审核申请 3 | int removeMember;[notNull=false;minValue=0] //剔除成员 4 | int editNotice;[notNull=false;minValue=0] //编辑公告 -------------------------------------------------------------------------------- /tools/config/excel/model/LegionTechnologyTemplate.txt: -------------------------------------------------------------------------------- 1 | int technologyType;//军团科技类型 2 | int technologyLevel;//军团科技等级 3 | int needBuildingLevel;//需要建筑等级 4 | int upNeedCoin;[notNull=false;minValue=0]//升至下一级需要金币 5 | int amendEffect;//加成效果值 6 | int amendMethod;//加成方式 -------------------------------------------------------------------------------- /core/src/com/hifun/soul/common/IDestroyRequired.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.common; 2 | 3 | /** 4 | * 用完之后需要销毁的对象接口 5 | * 6 | */ 7 | public interface IDestroyRequired { 8 | /** 9 | * 销毁对象内容 10 | */ 11 | public void destroy(); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /core/src/com/hifun/soul/common/IInitializeRequired.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.common; 2 | 3 | /** 4 | * 需要进行初始化的类需要实现的接口 5 | * 6 | */ 7 | public interface IInitializeRequired { 8 | 9 | /** 10 | * 初始化动作 11 | */ 12 | public void init(); 13 | } 14 | -------------------------------------------------------------------------------- /core/src/com/hifun/soul/core/object/TempIdObject.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.core.object; 2 | 3 | /** 4 | * 具有临时id的对象接口 5 | * 6 | * 7 | */ 8 | public interface TempIdObject { 9 | void setTempId(int tempId); 10 | 11 | int getTempId(); 12 | } 13 | -------------------------------------------------------------------------------- /core/src/com/hifun/soul/core/orm/IdGenerator.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.core.orm; 2 | 3 | import java.io.Serializable; 4 | 5 | 6 | /** 7 | * 8 | * 9 | */ 10 | public interface IdGenerator { 11 | public Serializable generateId(IEntity entity); 12 | } -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20130708.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | ALTER TABLE `t_recharge` 3 | ADD COLUMN `rechargeType` int NULL COMMENT '充值类型', 4 | ADD COLUMN `memo` varchar(200) NULL COMMENT '充值备注'; 5 | -- 插入数据版本信息 6 | INSERT INTO t_version values ('20130708', NOW()); -------------------------------------------------------------------------------- /tools/bin/excel/model/EquipBitLevelTemplate.txt: -------------------------------------------------------------------------------- 1 | int needHumanLevel;[notNull=false;mainValue=0] //需要角色等级 2 | com.hifun.soul.gameserver.godsoul.template.EquipBitLevel[] equipBitLevels;[collection(8,1)] //装备位等级 3 | int successRate;[notNull=false;mainValue=0] //成功率 4 | -------------------------------------------------------------------------------- /tools/bin/msg/template/lua/LuaMessageType.vm: -------------------------------------------------------------------------------- 1 | -- MessageType; 2 | -- @author crazyjohn; 3 | 4 | MessageType = {} 5 | 6 | #foreach($key in $fieldInfos.keySet()) 7 | -- $key 8 | MessageType.$key = $fieldInfos.get($key) 9 | #end 10 | 11 | return MessageType -------------------------------------------------------------------------------- /tools/bin/msg/template/properties_txt.vm: -------------------------------------------------------------------------------- 1 | #macro(showList $val) 2 | #foreach( $attr in $val ) 3 | ${attr.prefix}_${attr.key} = $attr.value; // $attr.comment 4 | #end 5 | #end 6 | // $Acomment 7 | #showList($AAttrs) 8 | 9 | // $Bcomment 10 | #showList($BAttrs) -------------------------------------------------------------------------------- /tools/config/excel/model/EquipBitLevelTemplate.txt: -------------------------------------------------------------------------------- 1 | int needHumanLevel;[notNull=false;mainValue=0] //需要角色等级 2 | com.hifun.soul.gameserver.godsoul.template.EquipBitLevel[] equipBitLevels;[collection(8,1)] //装备位等级 3 | int successRate;[notNull=false;mainValue=0] //成功率 4 | -------------------------------------------------------------------------------- /tools/config/log/model/BasicPlayerLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.BasicPlayerLog( 2 | String ip; // IP地址 3 | int crystal; // 魔晶数量 4 | int coin; // 金币 5 | int experience; // 经验 6 | int energy; // 精力值 7 | long online_time; // 在线时长 8 | ) -------------------------------------------------------------------------------- /tools/bin/excel/model/VipTrainingTypeTemplate.txt: -------------------------------------------------------------------------------- 1 | String VipTrainingTypeName; //训练模式名称 2 | int nameLangId;[notNull=false;minValue=0] //多语言名称 3 | int costCurrencyType; //消耗货币类型 4 | int costCurrencyNum; //消耗货币数量 5 | int vipLevel;[notNull=false;minValue=0] //开启训练模式所需的VIP等级 -------------------------------------------------------------------------------- /tools/bin/excel/model/WarriorQuestTemplate.txt: -------------------------------------------------------------------------------- 1 | float coinRatio;[notNull=false;minValue=0] //金币系数 2 | float expRatio;[notNull=false;minValue=0] //经验系数 3 | float techPointRatio;[notNull=false;minValue=0] //科技点系数 4 | int counter; //任务达成所需次数 5 | int damageHpPercent; //伤害血量百分比 -------------------------------------------------------------------------------- /tools/config/excel/model/VipTrainingTypeTemplate.txt: -------------------------------------------------------------------------------- 1 | String VipTrainingTypeName; //训练模式名称 2 | int nameLangId;[notNull=false;minValue=0] //多语言名称 3 | int costCurrencyType; //消耗货币类型 4 | int costCurrencyNum; //消耗货币数量 5 | int vipLevel;[notNull=false;minValue=0] //开启训练模式所需的VIP等级 -------------------------------------------------------------------------------- /tools/config/msg/template/lua/LuaMessageType.vm: -------------------------------------------------------------------------------- 1 | -- MessageType; 2 | -- @author crazyjohn; 3 | 4 | MessageType = {} 5 | 6 | #foreach($key in $fieldInfos.keySet()) 7 | -- $key 8 | MessageType.$key = $fieldInfos.get($key) 9 | #end 10 | 11 | return MessageType -------------------------------------------------------------------------------- /tools/config/msg/template/properties_txt.vm: -------------------------------------------------------------------------------- 1 | #macro(showList $val) 2 | #foreach( $attr in $val ) 3 | ${attr.prefix}_${attr.key} = $attr.value; // $attr.comment 4 | #end 5 | #end 6 | // $Acomment 7 | #showList($AAttrs) 8 | 9 | // $Bcomment 10 | #showList($BAttrs) -------------------------------------------------------------------------------- /core/src/com/hifun/soul/core/msg/property/IStringPropertyBagable.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.core.msg.property; 2 | 3 | public interface IStringPropertyBagable extends IPropertyBagable{ 4 | public void readFromString (String str); //由一个String构建一个IPropertyBagable对象 5 | } 6 | -------------------------------------------------------------------------------- /resources/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | resources 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /tools/bin/avgload/readme.txt: -------------------------------------------------------------------------------- 1 | 使用load.sh监控服务器性能和gc的平均时间,使用com.imop.webzt.tools.avgload.ServerLoadAnalyzer 分析出xls 2 | 3 | 4 | linux机器上增加crontab 5 | 6 | vi /etc/crontab 7 | 8 | */1 * * * * root /data/load.sh >> /root/crontest 9 | 10 | */1 表示循环,间隔1分钟执行load.sh 11 | -------------------------------------------------------------------------------- /tools/bin/excel/model/LegionMineRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int rankLowest;//排名下限 2 | int rankHighest;//排名上限 3 | int rewarCoin;[notNull=false;minValue=0]//奖励金币 4 | int rewardPrestige;[notNull=false;minValue=0]//奖励威望 5 | int itemId;//物品ID 6 | int itemNum;[notNull=false;minValue=0]//物品数量 -------------------------------------------------------------------------------- /tools/config/avgload/readme.txt: -------------------------------------------------------------------------------- 1 | 使用load.sh监控服务器性能和gc的平均时间,使用com.imop.webzt.tools.avgload.ServerLoadAnalyzer 分析出xls 2 | 3 | 4 | linux机器上增加crontab 5 | 6 | vi /etc/crontab 7 | 8 | */1 * * * * root /data/load.sh >> /root/crontest 9 | 10 | */1 表示循环,间隔1分钟执行load.sh 11 | -------------------------------------------------------------------------------- /tools/config/excel/model/WarriorQuestTemplate.txt: -------------------------------------------------------------------------------- 1 | float coinRatio;[notNull=false;minValue=0] //金币系数 2 | float expRatio;[notNull=false;minValue=0] //经验系数 3 | float techPointRatio;[notNull=false;minValue=0] //科技点系数 4 | int counter; //任务达成所需次数 5 | int damageHpPercent; //伤害血量百分比 -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/item/feature/ItemFeature.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.item.feature; 2 | 3 | 4 | 5 | /** 6 | * 7 | * 不同道具的特色属性 8 | * 9 | * @author magicstone 10 | * 11 | */ 12 | public interface ItemFeature { 13 | 14 | } 15 | -------------------------------------------------------------------------------- /tools/bin/excel/model/BuildingTemplate.txt: -------------------------------------------------------------------------------- 1 | int nameLangId;[notNull=false;minValue=0] // 建筑名称多语言 2 | String name; // 建筑名称 3 | int descLangId;[notNull=false;minValue=0] // 建筑描述多语言 4 | String desc; // 建筑描述 5 | int icon;[notNull=false;minValue=0] // 建筑图标 6 | boolean upgrade; // 是否可以升级 -------------------------------------------------------------------------------- /tools/bin/log/model/RechargeLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.RechargeLog( 2 | int rechargeNum; // 充值数 3 | int crystalNum; //充值获得的魔晶数 4 | int crystalRewardNum; //获得奖励魔晶数 5 | int beforeNum; //充值前的魔晶数 6 | int afterNum; //充值后的魔晶数 7 | int exchangeRate; //兑换比率 8 | ) -------------------------------------------------------------------------------- /tools/config/excel/model/BuildingTemplate.txt: -------------------------------------------------------------------------------- 1 | int nameLangId;[notNull=false;minValue=0] // 建筑名称多语言 2 | String name; // 建筑名称 3 | int descLangId;[notNull=false;minValue=0] // 建筑描述多语言 4 | String desc; // 建筑描述 5 | int icon;[notNull=false;minValue=0] // 建筑图标 6 | boolean upgrade; // 是否可以升级 -------------------------------------------------------------------------------- /tools/config/excel/model/LegionMineRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int rankLowest;//排名下限 2 | int rankHighest;//排名上限 3 | int rewarCoin;[notNull=false;minValue=0]//奖励金币 4 | int rewardPrestige;[notNull=false;minValue=0]//奖励威望 5 | int itemId;//物品ID 6 | int itemNum;[notNull=false;minValue=0]//物品数量 -------------------------------------------------------------------------------- /tools/config/log/model/RechargeLog.txt: -------------------------------------------------------------------------------- 1 | message com.hifun.soul.logserver.model.RechargeLog( 2 | int rechargeNum; // 充值数 3 | int crystalNum; //充值获得的魔晶数 4 | int crystalRewardNum; //获得奖励魔晶数 5 | int beforeNum; //充值前的魔晶数 6 | int afterNum; //充值后的魔晶数 7 | int exchangeRate; //兑换比率 8 | ) -------------------------------------------------------------------------------- /core/src/com/hifun/soul/common/IHeartBeatListener.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.common; 2 | 3 | /** 4 | * 需要监听角色或者其它有心跳对象心跳行为的类实现此接口 5 | * 6 | */ 7 | public interface IHeartBeatListener { 8 | /** 9 | * 在被监听者心跳时调用此方法 10 | */ 11 | public void onHeartBeat(); 12 | } 13 | -------------------------------------------------------------------------------- /core/src/com/hifun/soul/common/constants/LocalConstants.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.common.constants; 2 | 3 | public class LocalConstants { 4 | public static short TGW_LENGTH = 0; 5 | 6 | public static final String TGW_TEMPLATE = "tgw_l7_forward\r\nHost: {0}:{1}\r\n\r\n"; 7 | } 8 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20140228.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | 3 | SET FOREIGN_KEY_CHECKS=0; 4 | 5 | ALTER TABLE `t_human` 6 | ADD COLUMN `humanLegionTask` BLOB DEFAULT NULL AFTER `humanNostrum`; 7 | 8 | -- 插入数据版本信息 9 | INSERT INTO t_version values ('20140228', NOW()); 10 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20140304.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | 3 | SET FOREIGN_KEY_CHECKS=0; 4 | 5 | ALTER TABLE `t_human` 6 | ADD COLUMN `humanMagicPaper` BLOB DEFAULT NULL AFTER `humanLegionTask`; 7 | 8 | -- 插入数据版本信息 9 | INSERT INTO t_version values ('20140304', NOW()); 10 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20140416.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | 3 | SET FOREIGN_KEY_CHECKS=0; 4 | 5 | ALTER TABLE `t_legion_mine_member` 6 | ADD COLUMN `isLegionWin` INT(11) DEFAULT 0 AFTER `rank`; 7 | 8 | 9 | -- 插入数据版本信息 10 | INSERT INTO t_version values ('20140416', NOW()); -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/antiindulge/service/ILocalService.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.antiindulge.service; 2 | 3 | import com.hifun.soul.gameserver.human.Human; 4 | 5 | public interface ILocalService { 6 | void updateRevenueRate(Human human); 7 | } 8 | -------------------------------------------------------------------------------- /tools/bin/excel/model/ItemForgeTemplate.txt: -------------------------------------------------------------------------------- 1 | int itemQuality;[notNull=false;minValue=0] // 装备品质 2 | int lockNum;[notNull=false;minValue=0] // 锁定数量 3 | int crystal;[notNull=false;minValue=0] // 消耗魔晶 4 | int costItemId; // 消耗物品id 5 | int costItemNum;[notNull=false;minValue=0] // 消耗物品数量 6 | -------------------------------------------------------------------------------- /core/src/com/hifun/soul/core/command/IDebugCommand.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.core.command; 2 | 3 | import com.hifun.soul.core.session.ISession; 4 | 5 | 6 | /** 7 | * 管理命令接口 8 | * 9 | */ 10 | public interface IDebugCommand extends ICommand { 11 | } 12 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20140318.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | 3 | SET FOREIGN_KEY_CHECKS=0; 4 | 5 | ALTER TABLE `t_legion_boss_role` 6 | ADD COLUMN `stageReward` INT(11) DEFAULT 0 AFTER `isJoin`; 7 | 8 | 9 | 10 | -- 插入数据版本信息 11 | INSERT INTO t_version values ('20140318', NOW()); -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/meditation/MeditationState.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.meditation; 2 | 3 | public interface MeditationState { 4 | public static final int STOP=0; 5 | public static final int INPROGRESS=1; 6 | public static final int FINISH=2; 7 | } 8 | -------------------------------------------------------------------------------- /tools/bin/excel/model/DailyQuestRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int scoreLimit;[notNull=false;minValue=0] // 积分限制 2 | int rewardMoney;[notNull=false;minValue=0] // 日常奖励金币 3 | List dailyRewardItems; [collection(3,2);notNull=false] // 日常任务物品奖励列表 -------------------------------------------------------------------------------- /tools/config/excel/model/DailyQuestRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int scoreLimit;[notNull=false;minValue=0] // 积分限制 2 | int rewardMoney;[notNull=false;minValue=0] // 日常奖励金币 3 | List dailyRewardItems; [collection(3,2);notNull=false] // 日常任务物品奖励列表 -------------------------------------------------------------------------------- /tools/config/excel/model/ItemForgeTemplate.txt: -------------------------------------------------------------------------------- 1 | int itemQuality;[notNull=false;minValue=0] // 装备品质 2 | int lockNum;[notNull=false;minValue=0] // 锁定数量 3 | int crystal;[notNull=false;minValue=0] // 消耗魔晶 4 | int costItemId; // 消耗物品id 5 | int costItemNum;[notNull=false;minValue=0] // 消耗物品数量 6 | -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/common/obj/DynamicObject.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.common.obj; 2 | 3 | 4 | /** 5 | * 6 | * 场景动态对象 7 | * 8 | * @author magicstone 9 | * 10 | */ 11 | public abstract class DynamicObject extends SceneObject { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/common/obj/StaticObject.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.common.obj; 2 | 3 | 4 | /** 5 | * 6 | * 场景静态对象 7 | * 8 | * @author magicstone 9 | * 10 | */ 11 | public abstract class StaticObject extends SceneObject { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /tools/bin/excel/model/StageStarTemplate.txt: -------------------------------------------------------------------------------- 1 | int autoBattleMinStageStar; // 扫荡评级条件 2 | int fiveStarRate; // 五星经验金币百分比 3 | int fourStarRate; // 四星经验金币百分比 4 | int threeStarRate; // 三星经验金币百分比 5 | int twoStarRate; // 二星经验金币百分比 6 | int oneStarRate; // 一星经验金币百分比 7 | int failRate; // 失败经验金币百分比 8 | 9 | -------------------------------------------------------------------------------- /tools/config/excel/model/StageStarTemplate.txt: -------------------------------------------------------------------------------- 1 | int autoBattleMinStageStar; // 扫荡评级条件 2 | int fiveStarRate; // 五星经验金币百分比 3 | int fourStarRate; // 四星经验金币百分比 4 | int threeStarRate; // 三星经验金币百分比 5 | int twoStarRate; // 二星经验金币百分比 6 | int oneStarRate; // 一星经验金币百分比 7 | int failRate; // 失败经验金币百分比 8 | 9 | -------------------------------------------------------------------------------- /core/src/com/hifun/soul/common/ITickable.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.common; 2 | 3 | /** 4 | * 可以滴答的接口; 5 | * 6 | * @author crazyjohn 7 | * 8 | */ 9 | public interface ITickable { 10 | 11 | /** 12 | * 滴答;
13 | * tick接口用来按帧数处理消息; 14 | */ 15 | public void tick(); 16 | } 17 | -------------------------------------------------------------------------------- /core/src/com/hifun/soul/core/command/IAdminCommand.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.core.command; 2 | 3 | import com.hifun.soul.core.session.ISession; 4 | 5 | 6 | /** 7 | * 管理命令接口 8 | * 9 | * 10 | */ 11 | public interface IAdminCommand extends ICommand { 12 | } 13 | -------------------------------------------------------------------------------- /core/src/com/hifun/soul/core/orm/CacheEntity.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.core.orm; 2 | 3 | import java.io.Serializable; 4 | 5 | /** 6 | * 缓存机制的实体接口 7 | * 8 | * @param 9 | */ 10 | public interface CacheEntity extends IEntity { 11 | 12 | 13 | 14 | } 15 | -------------------------------------------------------------------------------- /core/src/com/hifun/soul/core/session/GmClientSession.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.core.session; 2 | 3 | import org.apache.mina.common.IoSession; 4 | 5 | public class GmClientSession extends MinaSession { 6 | 7 | public GmClientSession(IoSession s) { 8 | super(s); 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/event/IQuestEvent.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.event; 2 | 3 | /** 4 | * 任务相关事件接口; 5 | * 6 | * @author crazyjohn 7 | * 8 | */ 9 | public interface IQuestEvent extends IEvent{ 10 | 11 | public EventType getType(); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/monster/IMonsterFactory.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.monster; 2 | 3 | /** 4 | * 怪物工厂接口; 5 | * 6 | * @author crazyjohn 7 | * 8 | */ 9 | public interface IMonsterFactory { 10 | public Monster createMonster(int monsterId); 11 | } 12 | -------------------------------------------------------------------------------- /tools/bin/excel/model/HumanLevelUpTemplate.txt: -------------------------------------------------------------------------------- 1 | int experience;[notNull=true;minValue=0] // 升级所需经验 2 | int level1propCount;[notNull=false;minValue=0] //升级下发的一级属性自由点 3 | int hp;[notNull=false;minValue=0] // 处于该等级的初始hp 4 | int harvestGemNum; //宝石产量 5 | int levyRevenue; //税收产量 6 | int skillPoint; //技能属性点 -------------------------------------------------------------------------------- /tools/bin/excel/model/SkillDevelopTypeTemplate.txt: -------------------------------------------------------------------------------- 1 | int skillDevelopType; //技能发展类型 2 | int occupation; //职业 3 | int icon; //技能发展类型图标 4 | int recommendPointType;[notNull=false;minValue=0] //推荐加点类型 5 | int mainCostMagic;[notNull=false;minValue=0] // 主要消耗魔法 6 | String assistCostMagic; // 辅助消耗魔法(分号隔开) 7 | -------------------------------------------------------------------------------- /tools/config/excel/model/HumanLevelUpTemplate.txt: -------------------------------------------------------------------------------- 1 | int experience;[notNull=true;minValue=0] // 升级所需经验 2 | int level1propCount;[notNull=false;minValue=0] //升级下发的一级属性自由点 3 | int hp;[notNull=false;minValue=0] // 处于该等级的初始hp 4 | int harvestGemNum; //宝石产量 5 | int levyRevenue; //税收产量 6 | int skillPoint; //技能属性点 -------------------------------------------------------------------------------- /core/src/com/hifun/soul/core/check/ICheck.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.core.check; 2 | 3 | /** 4 | * 检查接口,用于进行某一项验证的工作 5 | * 6 | * 7 | */ 8 | public interface ICheck { 9 | /** 10 | * 进行检查工作 11 | * 12 | * @return true,校验通过;false,校验未通过 13 | */ 14 | public boolean check(); 15 | } 16 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20130530.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | ALTER TABLE `t_human` 3 | ADD COLUMN `refineMaps` BLOB DEFAULT NULL AFTER `gift`; 4 | ALTER TABLE `t_human` 5 | ADD COLUMN `refineStages` BLOB DEFAULT NULL AFTER `refineMaps`; 6 | -- 插入数据版本信息 7 | INSERT INTO t_version values ('20130530', NOW()); -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/prison/PrisonBattleType.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.prison; 2 | 3 | public enum PrisonBattleType { 4 | /** 抓捕(抓自由人叫抓捕) */ 5 | ARREST, 6 | /** 抢夺(抓主人或奴隶叫抢夺) */ 7 | LOOT, 8 | /** 解救 */ 9 | RESCUE, 10 | /** 反抗 */ 11 | REVOLT; 12 | } 13 | -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/skill/effect/IControlableEffector.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.skill.effect; 2 | 3 | /** 4 | * 控制类技能效果接口; 5 | * 6 | * @author crazyjohn 7 | * 8 | */ 9 | public interface IControlableEffector extends INoneAttackEffector { 10 | 11 | } 12 | -------------------------------------------------------------------------------- /tools/bin/excel/model/MatchBattleRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int outOfTurnCoin; //轮空金币奖励 2 | int coinOfWin; [notNull=false;minValue=0] //胜利获得的金币 3 | int honorOfWin; [notNull=false;minValue=0] //胜利获得的荣誉 4 | int coinOfLose; [notNull=false;minValue=0] //失败获得的金币 5 | int honorOfLose; [notNull=false;minValue=0] //失败获得的荣誉 -------------------------------------------------------------------------------- /tools/config/excel/model/SkillDevelopTypeTemplate.txt: -------------------------------------------------------------------------------- 1 | int skillDevelopType; //技能发展类型 2 | int occupation; //职业 3 | int icon; //技能发展类型图标 4 | int recommendPointType;[notNull=false;minValue=0] //推荐加点类型 5 | int mainCostMagic;[notNull=false;minValue=0] // 主要消耗魔法 6 | String assistCostMagic; // 辅助消耗魔法(分号隔开) 7 | -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/rank/Sortable.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.rank; 2 | 3 | /** 4 | * 排序接口(需要实时排序的排行榜实现这个接口) 5 | * 6 | * @author yandajun 7 | * 8 | */ 9 | public interface Sortable { 10 | /** 11 | * 排序 12 | */ 13 | public abstract void sort(); 14 | } 15 | -------------------------------------------------------------------------------- /proto/proto/Gift.proto: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.proto.common; 2 | 3 | option java_package = "com.hifun.soul.proto.common"; 4 | option java_outer_classname = "Gifts"; 5 | 6 | // 角色天赋数据 7 | message Gift { 8 | // 天赋ID 9 | required int32 giftId = 1; 10 | // 天赋等级 11 | required int32 level = 2; 12 | } -------------------------------------------------------------------------------- /test/src/com/hifun/soul/mytest/IntTest.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.mytest; 2 | 3 | public class IntTest { 4 | public static void main(String[] args) { 5 | long a = 32; 6 | long b = 33; 7 | System.out.println(a / 10 == b / 10); 8 | int c = 2*5/5; 9 | System.out.println(c); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/src/com/hifun/soul/mytest/RandomTest.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.mytest; 2 | 3 | import org.apache.commons.lang.math.RandomUtils; 4 | 5 | public class RandomTest { 6 | public static void main(String[] args) { 7 | int a = RandomUtils.nextInt(2); 8 | System.out.println(a); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /tools/bin/excel/model/GemUpgradeTemplate.txt: -------------------------------------------------------------------------------- 1 | int needNum; //所需数量 2 | int successRate;[notNull=false;minValue=0] //成功率 3 | int successGemItemId; //成功升级后的新宝石id 4 | int faildRate;[notNull=false;minValue=0] //合成失败降级概率 5 | int faildGemItemId; //升级失败后的新宝石id 6 | int currencyType; //升级花费的货币类型 7 | int costNum; //花费的货币数量 -------------------------------------------------------------------------------- /tools/bin/excel/model/TechnologyTemplate.txt: -------------------------------------------------------------------------------- 1 | int nameLangId;[notNull=false;minValue=0] // 科技名称多语言 2 | String name; // 科技名称 3 | int descLangId;[notNull=false;minValue=0] // 属性多语言 4 | String desc; // 属性名称 5 | int icon;[notNull=false;minValue=0] // 图标id 6 | int openLevel;[notNull=false;minValue=0] // 科技开放等级 7 | -------------------------------------------------------------------------------- /tools/config/excel/model/MatchBattleRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int outOfTurnCoin; //轮空金币奖励 2 | int coinOfWin; [notNull=false;minValue=0] //胜利获得的金币 3 | int honorOfWin; [notNull=false;minValue=0] //胜利获得的荣誉 4 | int coinOfLose; [notNull=false;minValue=0] //失败获得的金币 5 | int honorOfLose; [notNull=false;minValue=0] //失败获得的荣誉 -------------------------------------------------------------------------------- /tools/config/excel/model/TechnologyTemplate.txt: -------------------------------------------------------------------------------- 1 | int nameLangId;[notNull=false;minValue=0] // 科技名称多语言 2 | String name; // 科技名称 3 | int descLangId;[notNull=false;minValue=0] // 属性多语言 4 | String desc; // 属性名称 5 | int icon;[notNull=false;minValue=0] // 图标id 6 | int openLevel;[notNull=false;minValue=0] // 科技开放等级 7 | -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/mail/SpecialMailReceiver.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.mail; 2 | 3 | public class SpecialMailReceiver { 4 | /** 所有玩家 */ 5 | public static final long ALL_CHARACTER=1; 6 | /** 所有在线玩家 */ 7 | public static final long ALL_ONLINE_CHARACTER=2; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /tools/bin/excel/model/AbattoirRoomTemplate.txt: -------------------------------------------------------------------------------- 1 | int levelLowest; //玩家等级下限 2 | int levelHighest;//玩家等级上限 3 | String currentType;//货币类型 4 | com.hifun.soul.gameserver.abattoir.template.AbattoirRoomTemp[] abattoirRooms;[collection(3,4)] //角斗场房间 5 | int timeLimit;//单次收益时间上限(分钟) 6 | int protectTime;[notNull=false]//保护时间 7 | -------------------------------------------------------------------------------- /tools/bin/excel/model/SkillScrollTemplate.txt: -------------------------------------------------------------------------------- 1 | int skillDevelopType;[notNull=false;minValue=0] // 技能类型 2 | int preSkillId;[notNull=false;minValue=0] // 前置技能id 3 | int needSkillPoint;[notNull=false;minValue=0] // 需要的技能点 4 | int needSkillScrollId;[notNull=false;minValue=0] // 需要的卷轴id 5 | boolean defaultOpen; // 技能是否默认开启 -------------------------------------------------------------------------------- /tools/config/excel/model/GemUpgradeTemplate.txt: -------------------------------------------------------------------------------- 1 | int needNum; //所需数量 2 | int successRate;[notNull=false;minValue=0] //成功率 3 | int successGemItemId; //成功升级后的新宝石id 4 | int faildRate;[notNull=false;minValue=0] //合成失败降级概率 5 | int faildGemItemId; //升级失败后的新宝石id 6 | int currencyType; //升级花费的货币类型 7 | int costNum; //花费的货币数量 -------------------------------------------------------------------------------- /core/src/com/hifun/soul/common/IHeartBeatable.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.common; 2 | 3 | /** 4 | * 可以心跳的接口; 5 | * 6 | * @author crazyjohn 7 | * 8 | */ 9 | public interface IHeartBeatable { 10 | /** 11 | * 心跳動作;
12 | * heartBeat用来处理心跳的先关逻辑; 13 | */ 14 | public void heartBeat(); 15 | } 16 | -------------------------------------------------------------------------------- /tools/bin/excel/model/GiftChipTemplate.txt: -------------------------------------------------------------------------------- 1 | int needNum; //所需数量 2 | int successRate;[notNull=false;minValue=0] //成功率 3 | int successGiftChipItemId; //成功升级后的新天赋碎片id 4 | int faildRate;[notNull=false;minValue=0] //合成失败降级概率 5 | int faildGiftChipItemId; //升级失败后的新天赋碎片id 6 | int currencyType; //升级花费的货币类型 7 | int costNum; //花费的货币数量 -------------------------------------------------------------------------------- /tools/bin/excel/model/StagePassRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int item1Id; // 奖励物品1id 2 | int item1Num; // 奖励物品1数量 3 | int item2Id; // 奖励物品2id 4 | int item2Num; // 奖励物品2数量 5 | int coin; // 金币数量 6 | List perfectRewardItemList; [collection(3,2);notNull=false] // 完美通关奖励物品列表 7 | -------------------------------------------------------------------------------- /tools/config/excel/model/AbattoirRoomTemplate.txt: -------------------------------------------------------------------------------- 1 | int levelLowest; //玩家等级下限 2 | int levelHighest;//玩家等级上限 3 | String currentType;//货币类型 4 | com.hifun.soul.gameserver.abattoir.template.AbattoirRoomTemp[] abattoirRooms;[collection(3,4)] //角斗场房间 5 | int timeLimit;//单次收益时间上限(分钟) 6 | int protectTime;[notNull=false]//保护时间 7 | -------------------------------------------------------------------------------- /tools/config/excel/model/SkillScrollTemplate.txt: -------------------------------------------------------------------------------- 1 | int skillDevelopType;[notNull=false;minValue=0] // 技能类型 2 | int preSkillId;[notNull=false;minValue=0] // 前置技能id 3 | int needSkillPoint;[notNull=false;minValue=0] // 需要的技能点 4 | int needSkillScrollId;[notNull=false;minValue=0] // 需要的卷轴id 5 | boolean defaultOpen; // 技能是否默认开启 -------------------------------------------------------------------------------- /tools/config/excel/model/StagePassRewardTemplate.txt: -------------------------------------------------------------------------------- 1 | int item1Id; // 奖励物品1id 2 | int item1Num; // 奖励物品1数量 3 | int item2Id; // 奖励物品2id 4 | int item2Num; // 奖励物品2数量 5 | int coin; // 金币数量 6 | List perfectRewardItemList; [collection(3,2);notNull=false] // 完美通关奖励物品列表 7 | -------------------------------------------------------------------------------- /core/src/com/hifun/soul/common/constants/NoticeTypes.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.common.constants; 2 | 3 | /** 4 | * 公告类型 5 | * 6 | */ 7 | public interface NoticeTypes { 8 | /** 系统公告 */ 9 | short system = 1; 10 | /** 重要公告 */ 11 | short important = 4; 12 | /** 普通提示*/ 13 | short common = 5; 14 | 15 | } 16 | -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/event/IEvent.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.event; 2 | 3 | /** 4 | * 事件接口; 5 | * 6 | * @author crazyjohn 7 | * 8 | */ 9 | public interface IEvent { 10 | /** 11 | * 获取事件类型 12 | * 13 | * @return 类型常量 14 | */ 15 | public EventType getType(); 16 | } 17 | -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/legionmine/enums/OperateType.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.legionmine.enums; 2 | 3 | public enum OperateType { 4 | /** 正常 */ 5 | COMMON, 6 | /** 指令驰 */ 7 | RUN, 8 | /** 指令袭 */ 9 | RAID, 10 | /** 指令扰 */ 11 | DISTURB, 12 | /** 侦查 */ 13 | WATCH 14 | } 15 | -------------------------------------------------------------------------------- /proto/proto/MagicPaper.proto: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.proto.common; 2 | option java_package = "com.hifun.soul.proto.common"; 3 | option java_outer_classname = "MagicPapers"; 4 | 5 | 6 | // 灵图实体 7 | message MagicPaper { 8 | // 灵图ID 9 | required int32 paperId = 1; 10 | // 灵图等级 11 | required int32 level = 2; 12 | } -------------------------------------------------------------------------------- /proto/proto/Stargazer.proto: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.proto.common; 2 | option java_package = "com.hifun.soul.proto.common"; 3 | option java_outer_classname = "Stargazers"; 4 | 5 | 6 | // 占星师状态 7 | message Stargazer { 8 | // key 9 | required int32 stargazerId = 1; 10 | // 开启章台 11 | required bool open = 2; 12 | } -------------------------------------------------------------------------------- /proto/proto/Target.proto: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.proto.common; 2 | option java_package = "com.hifun.soul.proto.common"; 3 | option java_outer_classname = "Targets"; 4 | 5 | 6 | // 个人目标实体 7 | message Target { 8 | // 目标ID 9 | required int32 targetId = 1; 10 | // 目标领奖状态 11 | required int32 rewardState = 2; 12 | } -------------------------------------------------------------------------------- /tools/bin/excel/model/SpecialShopTemplate.txt: -------------------------------------------------------------------------------- 1 | int refreshType; // 1为定时刷新,2为魔晶刷新 2 | int itemId; // 物品id 3 | int itemNum; // 物品数量 4 | short currencyType; // 购买货币类型 5 | int currencyNum; // 购买货币数量 6 | int rate; // 获得权重 7 | int levelLimit;[notNull=false;minValue=0] // 等级限制 8 | int occupationLimit;[notNull=false;minValue=0] // 职业限制 -------------------------------------------------------------------------------- /tools/config/excel/model/GiftChipTemplate.txt: -------------------------------------------------------------------------------- 1 | int needNum; //所需数量 2 | int successRate;[notNull=false;minValue=0] //成功率 3 | int successGiftChipItemId; //成功升级后的新天赋碎片id 4 | int faildRate;[notNull=false;minValue=0] //合成失败降级概率 5 | int faildGiftChipItemId; //升级失败后的新天赋碎片id 6 | int currencyType; //升级花费的货币类型 7 | int costNum; //花费的货币数量 -------------------------------------------------------------------------------- /core/src/com/hifun/soul/common/IMouldable.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.common; 2 | 3 | /** 4 | * 可作为模板的接口 5 | * 6 | */ 7 | public interface IMouldable { 8 | 9 | /** 10 | * 模板级别的复制,不会复制原对象中的实例数值,只是根据 11 | * 原对象的构造参数再次构造一个类似的对象。区别于clone。 12 | * 13 | * @return 14 | */ 15 | public T module(); 16 | } 17 | -------------------------------------------------------------------------------- /proto/proto/Technology.proto: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.proto.common; 2 | option java_package = "com.hifun.soul.proto.common"; 3 | option java_outer_classname = "Technologys"; 4 | 5 | 6 | // 科技实体 7 | message Technology { 8 | // 科技id 9 | required int32 technologyId = 1; 10 | // 科技等级 11 | required int32 level = 2; 12 | } -------------------------------------------------------------------------------- /tools/bin/excel/model/MagicPaperUpgradeTemplate.txt: -------------------------------------------------------------------------------- 1 | int needNum; //所需数量 2 | int successRate;[notNull=false;minValue=0] //成功率 3 | int successMagicPaperItemId; //成功升级后的新灵图id 4 | int faildRate;[notNull=false;minValue=0] //合成失败降级概率 5 | int faildMagicPaperItemId; //升级失败后的新灵图id 6 | int currencyType; //升级花费的货币类型 7 | int costNum; //花费的货币数量 -------------------------------------------------------------------------------- /tools/config/excel/model/SpecialShopTemplate.txt: -------------------------------------------------------------------------------- 1 | int refreshType; // 1为定时刷新,2为魔晶刷新 2 | int itemId; // 物品id 3 | int itemNum; // 物品数量 4 | short currencyType; // 购买货币类型 5 | int currencyNum; // 购买货币数量 6 | int rate; // 获得权重 7 | int levelLimit;[notNull=false;minValue=0] // 等级限制 8 | int occupationLimit;[notNull=false;minValue=0] // 职业限制 -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/common/obj/IGameObject.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.common.obj; 2 | 3 | 4 | /** 5 | * 6 | * 游戏对象抽象接口 7 | * 8 | * @author magicstone 9 | * 10 | */ 11 | public interface IGameObject { 12 | 13 | public long getId(); 14 | 15 | public void setId(long id); 16 | } 17 | -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/event/ClickFriendMiniBattleEvent.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.event; 2 | 3 | public class ClickFriendMiniBattleEvent implements IQuestEvent { 4 | 5 | @Override 6 | public EventType getType() { 7 | return EventType.CLICK_FRIEND_MINI_BATTLE_EVENT; 8 | } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /proto/proto/EquipBit.proto: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.proto.common; 2 | option java_package = "com.hifun.soul.proto.common"; 3 | option java_outer_classname = "EquipBits"; 4 | 5 | 6 | // 神魄装备位实体 7 | message EquipBit { 8 | // 装备位类型 9 | required int32 equipBitType = 1; 10 | // 装备位等级 11 | required int32 currentLevel = 2; 12 | } -------------------------------------------------------------------------------- /proto/proto/SpecialShopItem.proto: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.proto.common; 2 | option java_package = "com.hifun.soul.proto.common"; 3 | option java_outer_classname = "SpecialShopItems"; 4 | 5 | // 消费提醒信息 6 | message SpecialShopItem { 7 | // 神秘商品id 8 | required int32 id = 1; 9 | // 购买状态 10 | required bool isBuy = 2; 11 | } 12 | -------------------------------------------------------------------------------- /test/src/com/hifun/soul/mytest/AmendMethodTest.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.mytest; 2 | 3 | import com.hifun.soul.gameserver.role.properties.amend.AmendMethod; 4 | 5 | public class AmendMethodTest { 6 | public static void main(String[] args) { 7 | System.out.println(AmendMethod.ADD_PER.formatDesc(99.5f)); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /tools/bin/excel/model/SpriteBuffTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; // buff名称 2 | int nameLangId;[notNull=false;minValue=0] // 多语言名称id 3 | int propId;[notNull=false;minValue=0] // 属性id 4 | int propValue;[notNull=false;minValue=0] // 属性值 5 | int amendType;[notNull=false;minValue=0] // 加成方式 6 | int quality;[notNull=false;minValue=0] // 激活星图的套装品质限制 -------------------------------------------------------------------------------- /tools/config/excel/model/MagicPaperUpgradeTemplate.txt: -------------------------------------------------------------------------------- 1 | int needNum; //所需数量 2 | int successRate;[notNull=false;minValue=0] //成功率 3 | int successMagicPaperItemId; //成功升级后的新灵图id 4 | int faildRate;[notNull=false;minValue=0] //合成失败降级概率 5 | int faildMagicPaperItemId; //升级失败后的新灵图id 6 | int currencyType; //升级花费的货币类型 7 | int costNum; //花费的货币数量 -------------------------------------------------------------------------------- /proto/proto/CostNotify.proto: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.proto.common; 2 | option java_package = "com.hifun.soul.proto.common"; 3 | option java_outer_classname = "CostNotifyDatas"; 4 | 5 | // 消费提醒信息 6 | message CostNotifyData { 7 | // 消费提醒类型 8 | required int32 costNotifyType = 1; 9 | // 开启状态 10 | required bool open = 2; 11 | } 12 | -------------------------------------------------------------------------------- /test/src/com/hifun/soul/gamedb/GameUtil.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gamedb; 2 | 3 | import com.hifun.soul.gameserver.battle.callback.IBattleCallback; 4 | 5 | public class GameUtil { 6 | 7 | public static IBattleCallback buildBattleCallback() { 8 | // TODO Auto-generated method stub 9 | return null; 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /tools/bin/entity/codetemplate/EntityMessageType.template: -------------------------------------------------------------------------------- 1 | package ${packageName}; 2 | /** 3 | * This is an auto generated source,please don't modify it. 4 | * 5 | * @author SevenSoul 6 | */ 7 | public interface EntityMessageType{ 8 | #foreach($type in $types) 9 | public final short $type.name = $type.value; 10 | #end 11 | } -------------------------------------------------------------------------------- /tools/config/excel/model/SpriteBuffTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; // buff名称 2 | int nameLangId;[notNull=false;minValue=0] // 多语言名称id 3 | int propId;[notNull=false;minValue=0] // 属性id 4 | int propValue;[notNull=false;minValue=0] // 属性值 5 | int amendType;[notNull=false;minValue=0] // 加成方式 6 | int quality;[notNull=false;minValue=0] // 激活星图的套装品质限制 -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20130411.sql: -------------------------------------------------------------------------------- 1 | use sevensoul; 2 | ALTER TABLE `t_human` 3 | DROP COLUMN `humanBuildings`; 4 | ALTER TABLE `t_human` 5 | DROP COLUMN `humanFriends`; 6 | ALTER TABLE `t_human` 7 | DROP COLUMN `humanFriendReward`; 8 | 9 | -- 插入数据版本信息 10 | INSERT INTO t_version values ('20130411', NOW()); 11 | 12 | 13 | -------------------------------------------------------------------------------- /game_db/src/com/hifun/soul/gamedb/callback/IMainThreadDBCallback.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gamedb.callback; 2 | 3 | /** 4 | * 由主线程执行回调的回调接口; 5 | * 6 | * @author crazyjohn 7 | * 8 | * @param 9 | */ 10 | public interface IMainThreadDBCallback extends 11 | IDBCallback { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/human/ILoginManager.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.human; 2 | 3 | /** 4 | * 5 | * 登陆时如果有什么需要特殊处理实现该接口 6 | * 7 | * 在onLoad方法,也就是加载完数据库数据进入场景是调用 8 | * 9 | * @author magicstone 10 | * 11 | */ 12 | public interface ILoginManager { 13 | 14 | public void onLogin(); 15 | } 16 | -------------------------------------------------------------------------------- /tools/bin/msg/template/lua/LuaGCMessageRegistry.vm: -------------------------------------------------------------------------------- 1 | #macro( upperFirstChar $type)$type.substring(0,1).toUpperCase()$type.substring(1)#end 2 | -- MessageType; 3 | -- @author crazyjohn; 4 | -- register GCMessage 5 | 6 | #foreach($key in $modules) 7 | -- GC${key}Message 8 | requireNewMessage("GC#upperFirstChar(${key})Message"):register() 9 | #end -------------------------------------------------------------------------------- /tools/config/entity/codetemplate/EntityMessageType.template: -------------------------------------------------------------------------------- 1 | package ${packageName}; 2 | /** 3 | * This is an auto generated source,please don't modify it. 4 | * 5 | * @author SevenSoul 6 | */ 7 | public interface EntityMessageType{ 8 | #foreach($type in $types) 9 | public final short $type.name = $type.value; 10 | #end 11 | } -------------------------------------------------------------------------------- /tools/config/msg/template/lua/LuaGCMessageRegistry.vm: -------------------------------------------------------------------------------- 1 | #macro( upperFirstChar $type)$type.substring(0,1).toUpperCase()$type.substring(1)#end 2 | -- MessageType; 3 | -- @author crazyjohn; 4 | -- register GCMessage 5 | 6 | #foreach($key in $modules) 7 | -- GC${key}Message 8 | requireNewMessage("GC#upperFirstChar(${key})Message"):register() 9 | #end -------------------------------------------------------------------------------- /core/src/com/hifun/soul/core/util/IndexedObject.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.core.util; 2 | 3 | /** 4 | * 具有索引值的对象接口 5 | * 6 | * @author crazyjohn 7 | * 8 | */ 9 | public interface IndexedObject { 10 | 11 | /** 12 | * 13 | * @return 14 | */ 15 | public int getIndex(); 16 | 17 | public void setIndex(int index); 18 | } 19 | -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20140401.sql: -------------------------------------------------------------------------------- 1 | USE sevensoul; 2 | 3 | SET FOREIGN_KEY_CHECKS=0; 4 | 5 | ALTER TABLE `t_legion_mine_member` DROP COLUMN `hasRankReward`; 6 | ALTER TABLE `t_legion_mine_member` 7 | ADD COLUMN `rank` INT(11) DEFAULT 0 AFTER `isJoin`; 8 | 9 | 10 | -- 插入数据版本信息 11 | INSERT INTO t_version values ('20140401', NOW()); -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/battle/property/IRecalculateable.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.battle.property; 2 | 3 | /** 4 | * 可重新计算的接口; 5 | * 6 | * @author crazyjohn 7 | * 8 | */ 9 | public interface IRecalculateable { 10 | 11 | /** 12 | * 重新计算; 13 | */ 14 | public void recalculate(); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/skill/effect/INoneAttackEffector.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.skill.effect; 2 | 3 | /** 4 | * 非攻击类技能效果;标记接口;
5 | * 此类效果是非攻击类效果;包括buff效果, 控制效果等;
6 | * 7 | * @author crazyjohn 8 | * 9 | */ 10 | public interface INoneAttackEffector extends ISkillEffector { 11 | 12 | } 13 | -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/event/MineEvent.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.event; 2 | 3 | /** 4 | * 采矿事件; 5 | * 6 | * @author crazyjohn 7 | * 8 | */ 9 | public class MineEvent implements IQuestEvent { 10 | 11 | @Override 12 | public EventType getType() { 13 | return EventType.MINE_EVENT; 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /proto/proto/Cd.proto: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.proto.common; 2 | option java_package = "com.hifun.soul.proto.common"; 3 | option java_outer_classname = "Cds"; 4 | 5 | // cd信息 6 | message CdData { 7 | // cd类型 8 | required int32 cdType = 1; 9 | // 操作次数 10 | required int32 times = 2; 11 | // cd结束时间 12 | required int64 endTime = 3; 13 | } 14 | -------------------------------------------------------------------------------- /tools/bin/excel/model/GiftTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; //天赋名称 2 | int nameLangId; //天赋名称多语言id 3 | int nextGiftId;[notNull=false;minValue=0] //后置天赋id 4 | int type; //天赋类型 5 | int icon; //图标id 6 | String desc; //天赋描述 7 | int openLevel;//开启等级 8 | int previousGiftId;[notNull=false;minValue=0]//前置天赋ID 9 | int previousGiftLevel;[notNull=false;minValue=0]//需要前置天赋等级 -------------------------------------------------------------------------------- /tools/bin/excel/model/StageStrongholdTemplate.txt: -------------------------------------------------------------------------------- 1 | int mapId;[notNull=true;minValue=1] // 地图id 2 | int bgId;[notNull=true;minValue=0] // 剧情背景id(client去读) 3 | int ressourceId;[notNull=true;minValue=0] // 据点形象资源id(client去读) 4 | int x;[notNull=false]// 据点x坐标(client去读) 5 | int y;[notNull=false]// 据点y坐标(client去读) 6 | String name; // 名称 7 | String desc; // 剧情描述 -------------------------------------------------------------------------------- /tools/config/excel/model/StageStrongholdTemplate.txt: -------------------------------------------------------------------------------- 1 | int mapId;[notNull=true;minValue=1] // 地图id 2 | int bgId;[notNull=true;minValue=0] // 剧情背景id(client去读) 3 | int ressourceId;[notNull=true;minValue=0] // 据点形象资源id(client去读) 4 | int x;[notNull=false]// 据点x坐标(client去读) 5 | int y;[notNull=false]// 据点y坐标(client去读) 6 | String name; // 名称 7 | String desc; // 剧情描述 -------------------------------------------------------------------------------- /game_db/sql/db_soul_update_20130107.sql: -------------------------------------------------------------------------------- 1 | -- 大小写敏感 2 | ALTER TABLE `t_account` MODIFY COLUMN `password` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT ''; 3 | ALTER TABLE `t_account` MODIFY COLUMN `userName` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT ''; 4 | -- 插入数据版本信息 5 | INSERT INTO t_version values ('20130107', NOW()); -------------------------------------------------------------------------------- /game_db/src/com/hifun/soul/gamedb/IHumanSubEntity.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gamedb; 2 | 3 | 4 | /** 5 | * 角色子实体接口;
6 | * 实现此接口的实体都可以取出对应的角色ID; 7 | * 8 | * @author crazyjohn 9 | * 10 | */ 11 | public interface IHumanSubEntity{ 12 | /** 13 | * 获取角色的guid; 14 | * 15 | * @return 16 | */ 17 | public long getHumanGuid(); 18 | } 19 | -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/battle/processor/IBattleProcessor.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.battle.processor; 2 | 3 | import com.hifun.soul.core.server.IMessageProcessor; 4 | 5 | /** 6 | * 战斗处理器接口; 7 | * 8 | * @author crazyjohn 9 | * 10 | */ 11 | public interface IBattleProcessor extends IMessageProcessor { 12 | } 13 | -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/compass/IResponse.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.compass; 2 | 3 | public interface IResponse { 4 | /** 5 | * 获取结果码; 6 | * 7 | * @return 8 | */ 9 | public int getResultCode(); 10 | 11 | /** 12 | * 获取结果消息; 13 | * 14 | * @return 15 | */ 16 | public String getMessage(); 17 | } 18 | -------------------------------------------------------------------------------- /tools/bin/excel/model/RechargeTXTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; // 充值档位名称 2 | int nameLangId;[notNull=false;minValue=0] // 充值档位名称多语言 3 | String desc; // 充值档位描述 4 | int descLangId;[notNull=false;minValue=0] // 充值档位描述多语言 5 | int icon;[notNull=false;minValue=0] // 建筑图标 6 | int crystal;[notNull=false;minValue=0] // 魔晶数量 7 | int price;[notNull=true;minValue=2] // 价格(Q点) -------------------------------------------------------------------------------- /tools/config/excel/model/GiftTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; //天赋名称 2 | int nameLangId; //天赋名称多语言id 3 | int nextGiftId;[notNull=false;minValue=0] //后置天赋id 4 | int type; //天赋类型 5 | int icon; //图标id 6 | String desc; //天赋描述 7 | int openLevel;//开启等级 8 | int previousGiftId;[notNull=false;minValue=0]//前置天赋ID 9 | int previousGiftLevel;[notNull=false;minValue=0]//需要前置天赋等级 -------------------------------------------------------------------------------- /tools/config/excel/model/RechargeTXTemplate.txt: -------------------------------------------------------------------------------- 1 | String name; // 充值档位名称 2 | int nameLangId;[notNull=false;minValue=0] // 充值档位名称多语言 3 | String desc; // 充值档位描述 4 | int descLangId;[notNull=false;minValue=0] // 充值档位描述多语言 5 | int icon;[notNull=false;minValue=0] // 建筑图标 6 | int crystal;[notNull=false;minValue=0] // 魔晶数量 7 | int price;[notNull=true;minValue=2] // 价格(Q点) -------------------------------------------------------------------------------- /game_server/src/com/hifun/soul/gameserver/chat/IChatStrategy.java: -------------------------------------------------------------------------------- 1 | package com.hifun.soul.gameserver.chat; 2 | 3 | import com.hifun.soul.gameserver.chat.msg.CGChatMsg; 4 | 5 | 6 | /** 7 | * 8 | * 聊天处理接口 9 | * 10 | * @author magicstone 11 | * 12 | */ 13 | public interface IChatStrategy { 14 | 15 | public void execute(CGChatMsg msg); 16 | } 17 | --------------------------------------------------------------------------------