Commit Graph
259 Commits
Author SHA1 Message Date
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
Ziggy c751ed57bb Added image design related packets 2022-08-19 16:07:31 +02:00
Josh-Larson 64860d8c66 Improved .gitignore in pswgcommon 2022-07-30 15:49:51 -05:00
Josh-Larson 0bff580dac Fixed unnecessary warnings in bitmap loading 2022-07-25 12:08:55 -05:00
Obique PSWG f990ad51b5 Added serverdata to .gitignore 2022-07-25 11:38:05 -05:00
Obique PSWG 8cc675f8c2 Fixed iff form writing and fixed serialization of terrain files 2022-07-25 11:33:32 -05:00
Obique PSWG 2757628832 Added NotNull annotation to MongoPersistable decode/encode 2022-07-24 13:36:59 -05:00
Obique PSWG 4e025ac287 Added CharacterSheetResponseMessage and fixed decode CRC in EnterStructurePlacementModeMessage 2022-07-24 13:36:19 -05:00
Obique PSWG 4b8ff13b87 Added clientdata to gitignore in case it's specified 2022-07-23 19:35:50 -05:00
Obique PSWG 6456cadbff Added EnterStructurePlacementModeMessage 2022-07-23 17:04:54 -05:00
Obique PSWG 2079a89c7c Added @NotNull tag to SWGPacket's decode 2022-07-23 17:04:39 -05:00
Obique PSWG 8574112196 Added package export for hcap utility classes 2022-07-22 13:34:05 -05:00
Obique PSWG 64c263c6e5 Removed log spam with terrain files 2022-07-22 13:33:50 -05:00
Josh-Larson 3db977ab9a Merge branch 'cu' of https://github.com/ProjectSWGCore/pswgcommon into cu 2022-07-19 19:32:25 -05:00
Josh-Larson 803ccbb40d Fixed test dependencies leaking into pswgcommon and fixed bouncycastle version for jdk 1.8+ 2022-07-19 19:31:55 -05:00
Josh Larson 99b145b12c Removed additional terrain test failures when clientdata does not exist 2022-07-18 19:58:49 -05:00
Josh Larson 0e2a215cbe Added terrain test cases - note: will not fail when clientdata does not exist 2022-07-18 19:57:02 -05:00
Josh Larson 0dd46fded3 Second pass clean up of terrain code 2022-07-18 19:51:26 -05:00
Josh Larson 7c18646182 First pass cleanup of new terrain code 2022-07-18 19:51:11 -05:00
Josh Larson bae0d4d09a Added terrain normal to TerrainTemplate's getHeight 2022-07-18 19:19:28 -05:00
Josh Larson f95f6d452e Optimized memory allocations slightly by allocating the Point2f at the beginning 2022-07-18 19:05:23 -05:00
Josh Larson 33f9d4fb6a Approximate 25% optimization to terrain lookup speed 2022-07-18 18:35:22 -05:00
Josh Larson 88bcd9ae20 Optimized and cleaned up TargaBitmap 2022-07-18 16:47:04 -05:00
Josh Larson 9d5334e5d8 Sped up targa bitmap loading significantly 2022-07-18 15:45:07 -05:00
Josh Larson 1bbd38e3cd Initial working version of new terrain loading code 2022-07-18 14:28:46 -05:00
Ziggy e295f71cf6 Moving CombatStatus to holocore because it's only used in holocore 2022-07-17 18:58:39 +02:00
Ziggy c5b008d623 Better nullability support in Encodable 2022-07-15 19:30:22 +02:00
Ziggy ffe1d70228 Renamed "commandString" to "label" in client effect packets, as the "label" in StopClientEffectObjectByLabelMessage actually refers to this 2022-07-14 18:18:53 +02:00
Ziggy 958b0e9ed7 Fixed being unable to select the radial items with higher IDs, because they were being read as a signed byte instead of an unsigned byte 2022-07-14 15:52:47 +02:00
Ziggy 3e2f77ddec Fixed MongoData#entrySet not supporting null values 2022-07-14 15:52:09 +02:00
Ziggy c9a924089a Fixed being unable to send mails due to a nullpointer 2022-07-14 15:51:45 +02:00
Ziggy 5720b896f6 Added the ExecuteConsoleCommand packet, which allows the server to tell the client to execute specific commands in the chat window 2022-07-14 01:49:57 +02:00
Ziggy 8a516676d7 JUnit 4 -> JUnit 5 2022-07-12 14:48:25 +02:00
Ziggy b31910d730 Fixed expected length being too long in DataTransform 2022-07-09 22:56:15 +02:00
Ziggy cfb9067b84 Fixed being unable to persist floats
They were treated like doubles when persisting which caused a class cast exception when reading data later
2022-07-06 15:59:58 +02:00
Obique PSWG 0b12cc3713 Changed protocol version for new websocket connections 2022-07-05 20:34:30 -05:00
Ziggy 0aba844980 Removed debug print that adds a bit of noise during startup
Example:
05-07-22 13:25:09.022 D: Type: DTII
05-07-22 13:25:09.025 D: Type: DTII
2022-07-05 13:42:44 +02:00
Ziggy d23749c5a0 Removed unused implementations of Persistable 2022-07-05 02:33:28 +02:00
Ziggy 48d4aba0dc Refactored AttributeListMessage a bit, so the map is an encodable with additional useful methods for value formatting 2022-07-03 12:28:20 +02:00
Ziggy 6b964fc939 Removed seemingly unnecessary int in biography update packet 2022-07-02 15:03:39 +02:00
Ziggy 1d59b33f20 Set spam type in CombatSpam, so the text color changes correctly 2022-06-30 16:00:36 +02:00
Ziggy bb4ee6d425 Added support for warmup timers 2022-06-30 03:41:27 +02:00
Ziggy f8f8d9c0a1 Edited CommandTimer packet, so it works with the CU client, more tweaks to support other use-cases are likely needed in the future
E.g. flags 8 (FAILURE) and 1 (WARMUP) seem to require fewer variables, but that's a problem for the future.
2022-06-28 01:02:53 +02:00
Ziggy cf2cf54664 We should be able to save badges in mongodb 2022-06-26 15:59:08 +02:00
Obique PSWG 3fb3cf6473 Removed deprecrated line setting java's outputDir - no longer necessary 2022-06-05 13:57:50 -05:00
Obique PSWG 8f54946cf5 Fixed merged main/test class directory for Kotlin compilations 2022-06-05 13:34:46 -05:00
Ziggy 04cb2c8491 Added missing radial item 2022-06-05 19:26:42 +02:00
Ziggy f3f93b62c7 Removed eclipse project files 2022-06-05 19:24:29 +02:00
Ziggy eb9453bdc6 pswgcommon has no gradle wrapper, so running the tests isn't really possible. Oops. 2022-06-05 19:14:00 +02:00
Ziggy 3faa263f86 Run tests on primary branch and on pull requests, so we always know the state of the code 2022-06-05 19:12:26 +02:00