Commit Graph

308 Commits

Author SHA1 Message Date
Mads Boddum
66b93d2624 Added some getters to some response packets, so we can look into the contents with the headless SWG client 2023-11-13 21:57:29 +01:00
Mads Boddum
c0e464c40f Added getters to ErrorMessage fields, so they can be read client-side 2023-11-10 23:36:02 +01:00
Ziggy
1564e4a839 Fixed wrong variable order in QuestTaskCounterMessage and filled in missing variable taskId #1387 2023-11-05 12:35:35 +01:00
Ziggy
3765ac5ec8 Fixed client crash from CommPlayerMessage which was caused by a NGE feature being present in it #1386 2023-11-04 23:14:17 +01:00
Ziggy
272e1e6078 Merge remote-tracking branch 'pswg/cu' 2023-07-30 02:11:34 +02:00
Ziggy
e5d00f0d7e Fixed client crash issue with DraftSlotsQueryResponse when including multiple ingredients 2023-07-30 01:52:35 +02:00
Ziggy
945bc5d1b0 Stop populating test data in DraftSchematic, as we want it to be dynamic 2023-07-29 01:43:39 +02:00
Ziggy
d494cf8d49 Added missing count variables to ResourceWeight 2023-07-28 23:51:04 +02:00
Ziggy
084b1c8c24 Fixed packet struct issues in draft schematic packets, causing client crashes 2023-07-28 21:37:03 +02:00
Josh-Larson
3d45d7f482 Fixed test encode in TestCustomizationString 2023-07-15 14:05:43 -05:00
Josh-Larson
4edeb8714f Fixed customization string crash 2023-07-15 13:25:32 -05:00
Ziggy
b76b0f4ebe Removed ServerFactory and the DataFactory abstraction, as there's only one subclass now 2023-05-28 22:59:39 +02:00
Ziggy
f80a5b410d Removed deprecated RelationalDatabase and related code, as there are now 0 usages of it 2023-05-28 12:00:31 +02:00
Ziggy
54b322133b Idiomatic way of declaring dependencies in Gradle, so various regex-based parsers work, e.g. the Dependencies view in IntelliJ IDEA 2023-05-20 12:00:16 +02:00
Ziggy
d05dc97ba4 [Chat] Joining a chat room works again
Relates to GitHub issue #1279
2023-04-27 14:59:32 +02:00
Ziggy
8433fded87 Deprecated RelationalServerData and RelationalServerFactory 2023-04-15 17:53:30 +02:00
Ziggy
5f94c36af2 Removed classes relating to ObjectDatabase, as the last usage has been replaced with MongoDB 2023-04-15 14:16:28 +02:00
Ziggy
f6a5c1b211 Converted GetAuctionDetails from Java to Kotlin 2023-04-11 19:10:12 +02:00
Ziggy
adc90e078a Converted IsVendorOwnerMessage from Java to Kotlin 2023-04-11 19:07:27 +02:00
Ziggy
48be1e000e Finished CancelLiveAuctionMessage and CancelLiveAuctionResponseMessage packets 2023-04-11 16:19:07 +02:00
Ziggy
f6350f3069 Fixed issue where using Int/Long in Kotlin with MongoData would cause ClassCastExceptions
This happens because Int/Long maps to the java primitive types and not the boxed types Integer and Long.
Mongo works with the boxed types, causing the exception.
2023-04-11 15:45:58 +02:00
Ziggy
0bafb65550 Added RetrieveAuctionItemMessage and RetrieveAuctionItemResponseMessage 2023-04-10 01:13:30 +02:00
Ziggy
34376b5357 Added BidAuctionResponseMessage 2023-04-09 23:30:17 +02:00
Ziggy
c0944e16ca Added BidAuctionMessage 2023-04-09 23:30:08 +02:00
Josh-Larson
410070f192 Fixed compilation issue where the duplicateStrategy wasn't set (why is this a thing?!) 2023-04-09 13:22:30 -05:00
Ziggy
c2e7b2f98b [Misc] Move TestWeatherType from holocore to pswgcommon
Relates to GitHub issue #1243
2023-04-09 10:23:20 +02:00
Ziggy
19d36c5f2f Added AttributeList#asMap, so we can use these attributes for the bazaar terminals 2023-04-05 19:41:35 +02:00
Ziggy
7eae4f1b29 Added CreateAuctionResponseMessage packet 2023-04-05 19:29:17 +02:00
Ziggy
0faa6bb583 GetAuctionDetails request and response packets 2023-04-05 19:27:45 +02:00
Ziggy
96ee33f083 Auction query packets 2023-04-05 19:27:35 +02:00
Ziggy
c545f23960 Fixed a bug in CustomizationString#getLength calculation 2023-04-05 19:22:33 +02:00
Ziggy
1ecfa78357 Added operand count and CRC to CreateImmediateAuctionMessage 2023-04-04 17:17:15 +02:00
Ziggy
adc91fd44e Added CreateImmediateAuctionMessage packet for bazaar terminals 2023-04-04 17:11:17 +02:00
Ziggy
b1c43055b4 Corrected order of variables in IsVendorOwnerResponseMessage packet 2023-04-04 16:44:47 +02:00
Ziggy
2737980447 NetBuffer standard charsets 2023-04-04 16:40:50 +02:00
Ziggy
fa39f78e6d Added character sheet packet FactionResponseMessage 2023-04-03 23:11:52 +02:00
Ziggy
7ec4568a33 Use of StandardCharsets, switch expressions and removal of unnecessary unboxing in Encoder 2023-04-03 12:54:32 +02:00
Ziggy
827a82d16c Converted all tests to Kotlin 2023-04-03 12:45:55 +02:00
Ziggy
9bbac99bc6 Removed unused constructor in RGB 2023-04-02 19:17:35 +02:00
Ziggy
eb7a4c0484 Added MissionAbort packet 2023-03-26 13:00:19 +02:00
Ziggy
590248e96a Added constructor to MissionAcceptRequest, so it can be "sent" in testcases and getter+setter for terminalType 2023-03-19 15:59:06 +01:00
Ziggy
877f4d11cd Added constructor to MissionListRequest, so it can be "sent" in testcases 2023-03-19 15:58:39 +01:00
Ziggy
3d501f936f Added MissionAcceptResponse packet 2023-03-19 15:57:50 +01:00
Josh-Larson
3536a51781 Merge branch 'cu' of https://github.com/ProjectSWGCore/pswgcommon into cu 2023-02-08 20:25:52 -06:00
Josh-Larson
d86736319d Added ShipUpdateTransformMessage 2023-02-08 20:25:06 -06:00
Ziggy
0525ef00d2 Removed unused gender information from Race enum 2023-01-14 17:48:04 +01:00
Ziggy
f918a1849a Changed TargetType, so you lookup by a num instead of name as this is what holocores command SDBs require 2022-12-03 19:46:08 +01:00
Ziggy
ef242fd0b2 Renamed value field in MorphParameter to multiplier so it's more clear that it's not an absolute value, but a multiplier you should apply to another value 2022-09-04 09:58:51 +02:00
Ziggy
ed59898496 Added convenience toString methods to IndexParameter and MorphParameter
so it's easier to see what's going on
2022-09-03 14:38:56 +02:00
Ziggy
d760c06ff4 Fixed a couple of image design packets having too few bytes allocated, causing a buffer overflow 2022-09-03 08:08:15 +02:00