Commit Graph
4026 Commits
Author SHA1 Message Date
Ziggy 9ce452c0dc Renamed WeatherService to EnvironmentService to streamline with thread names, but also better reflect the responsibilities of the class
It also sends out time updates. For that, "weather" wasn't a very accurate name.
2023-07-15 23:08:48 +02:00
Ziggy 993985521b Converted WeatherService to Kotlin 2023-07-15 23:08:48 +02:00
Ziggy 6df07a4bf6 Rename .java to .kt 2023-07-15 23:08:48 +02:00
Ziggy 0a37070e9a Moved logic from WeatherChanger into a method directly in WeatherService, as a non-static inner class was a bit confusing to read 2023-07-15 23:08:48 +02:00
Ziggy 9fcc96465e Removed some superfluous comments in WeatherService#constructWeatherPacket 2023-07-15 23:08:48 +02:00
Ziggy 87c5bfc3d9 WeatherService#setWeather is now called updateWeather, so it's similar to WeatherService#updateTime 2023-07-15 23:08:48 +02:00
Ziggy 3f544196cf WeatherService#terminate now propagates the thread pool termination result like other services do 2023-07-15 23:08:46 +02:00
Ziggy d6ae7deccc WeatherService#executor is now instantiated in the constructor, making executor null checks unnecessary 2023-07-15 22:18:25 +02:00
Ziggy cb649c5cdb WeatherService#cycleDuration is now an actual Duration object, making a code comment explaining what's going on unnecessary 2023-07-15 22:16:22 +02:00
Ziggy 79467ed426 Fixed client crash when existing stacks of resources were adjusted 2023-06-05 11:20:18 +02:00
Ziggy a1be30a87d Converted EntertainmentService from Java to Kotlin 2023-06-04 11:08:06 +02:00
Ziggy afce7f83cb Rename .java to .kt 2023-06-04 10:46:11 +02:00
Josh 9646b2c116 Merge pull request #1259 from Josh-Larson/convert-objects-to-kotlin
Convert SWG Objects to kotlin (part 2)
2023-05-28 18:22:36 -05:00
Ziggy fd80d8a1d7 Removed ServerFactory and the DataFactory abstraction, as there's only one subclass now 2023-05-28 22:59:39 +02:00
Ziggy 127d5d14c6 Replaced last usage of deprecated ServerFactory in MapService with SdbLoader 2023-05-28 22:53:38 +02:00
Ziggy 9a1094b645 Converted default_rooms.sdf to default_rooms.sdb 2023-05-28 19:18:40 +02:00
Ziggy 2018a4073c Converted planets.sdf to planets.sdb 2023-05-28 19:18:40 +02:00
Ziggy a51261d064 Extracted loading of planet chat rooms into a dedicated DataLoader 2023-05-28 19:18:40 +02:00
Ziggy f501ef610b Extracted loading of default chat rooms into a dedicated DataLoader 2023-05-28 19:18:29 +02:00
Ziggy bea4c7eba6 Converted CloningFacilityLoader to Kotlin 2023-05-28 19:07:41 +02:00
Ziggy a1e7d90988 Rename .java to .kt 2023-05-28 19:05:45 +02:00
Ziggy 4c0eb746fc CloningFacilityLoader uses SdbLoader instead of the deprecated RelationalServerFactory to load its data 2023-05-28 11:59:33 +02:00
Ziggy 8974445068 Added a simple test for CloningFacilityLoader, so we have some confidence that it can survive a rewrite 2023-05-28 11:48:03 +02:00
Ziggy be91907e20 Extracted loading of cloning facilities into a DataLoader object, to reduce the complexity of CloningService 2023-05-28 11:42:56 +02:00
Ziggy c0d8d45e57 Added tests for naming convention rules of Intents and fixed violations from the grouping code 2023-05-27 18:07:08 +02:00
Ziggy efffe6b265 Added ArchUnit and configured rules for some of our current conventions, so these subtle issues can be detected without necessarily requiring a human
The rules run as a part of the suite of automated tests.
2023-05-20 12:20:25 +02:00
Josh 5a4eb62ca6 Merge pull request #1313 from madsboddum/combat_experience_service_data_loader
[Misc] CombatExperienceService uses the NpcStat DataLoader instead of…
2023-04-30 11:10:02 -05:00
Ziggy 2e5ae5155d [Misc] CombatExperienceService uses the NpcStat DataLoader instead of parsing the sdb itself with the deprecated RelationalServerFactory 2023-04-30 13:26:01 +02:00
Ziggy cd559d83ca [Misc] Converted GuildService to Kotlin 2023-04-30 10:22:26 +02:00
Ziggy 9f46f13ab6 [Misc] Parsing of explorationBadges.sdb is now in a DataLoader, using ServerData instead of the deprecated RelationalServerFactory
Also made a slight performance optimization by only broadcasting GrantBadgeIntent if it's necessary.

ExplorationBadgeService is also converted to Kotlin.
2023-04-29 12:20:20 +02:00
Ziggy fd17c08612 [Misc] Converted all Manager classes from Java to Kotlin 2023-04-27 20:08:07 +02:00
Josh Larson 4c4d465be1 Added wrapper to SWGBitSet 2023-04-22 20:18:11 -05:00
Josh Larson 0d7594639d Merge branch 'master' of https://github.com/ProjectSWGCore/Holocore into convert-objects-to-kotlin 2023-04-22 18:42:26 -05:00
Josh 1b414bb82f Merge pull request #1299 from madsboddum/Holocore-1240
[Mission] Imperial/Rebel Mission Terminals
2023-04-22 16:31:04 -05:00
Josh a98f931e36 Merge pull request #1300 from madsboddum/Holocore-1298
[Admin] Admins can more easily test factions with the /setFaction com…
2023-04-22 16:26:07 -05:00
Ziggy 5ec2df3415 [Admin] Admins can more easily test factions with the /setFaction command
Relates to GitHub issue #1298
2023-04-22 16:15:45 +02:00
Ziggy cdd5b0c8fc [Mission] Imperial/Rebel Mission Terminals
Relates to GitHub issue #1240
2023-04-22 16:12:42 +02:00
Ziggy b7aafe7512 Removed NGE TANO06 parser, as TANO06 doesn't override anything from the base SWG object pre-NGE 2023-04-22 15:12:01 +02:00
Undercova bf885ef783 Added all possible Force Sensitive skills trees to the CBT 2023-04-16 12:59:34 +02:00
Ziggy 3484d6a345 [Combat] You can no longer attack while riding a vehicle mount
Relates to GitHub issue #1286
2023-04-15 22:49:31 +02:00
Josh adf424c96a Merge pull request #1273 from madsboddum/Holocore-1265
[Misc] Store persistent chat rooms in MongoDB instead of legacy ODB
2023-04-15 13:07:04 -05:00
Josh beb3a4daad Merge pull request #1283 from madsboddum/Holocore-1275
[Mission] Terminal missions spawn lairs
2023-04-15 12:44:09 -05:00
Josh 6d4269cce7 Merge pull request #1269 from madsboddum/Holocore-1267
[Faction] Switching factions resets your faction rank
2023-04-15 12:41:27 -05:00
Josh 4f2f5d7b75 Merge pull request #1281 from madsboddum/Holocore-1280
[Misc] Optimize memory usage of CombatExperienceService
2023-04-15 12:41:08 -05:00
Ziggy 334ee206ce [Mission] Terminal missions spawn lairs
Relates to GitHub issue #1275
2023-04-15 19:11:35 +02:00
Ziggy 24c7bb51e9 [Misc] Fix being unable to set title back to No Title
Relates to GitHub issue #1284
2023-04-15 18:31:34 +02:00
Ziggy bb948b7ddd [Misc] Optimize memory usage of CombatExperienceService
Relates to GitHub issue #1280
2023-04-15 15:48:45 +02:00
Ziggy f7cdb84831 [Misc] Store persistent chat rooms in MongoDB instead of legacy ODB
Relates to GitHub issue #1265
2023-04-15 14:36:45 +02:00
Ziggy 31f5d3c8e1 [Faction] Switching factions resets your faction rank
Relates to GitHub issue #1267
2023-04-15 09:19:56 +02:00
Ziggy 4eb1d1137c [Bazaar] Withdrawing a listed item
Relates to GitHub issue #1230
2023-04-13 18:05:10 +02:00