Commit Graph
243 Commits
Author SHA1 Message Date
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
Mads Boddum 393feb927f Merge pull request #19 from madsboddum/cu
Limit junit to test scope
2022-06-05 19:11:35 +02:00
Ziggy 7aa2908243 Limit junit to test scope 2022-06-05 18:33:12 +02:00
Obique PSWG f33b78f3f8 Merge commit '2af3ea4' into cu 2022-05-29 13:22:03 -05:00
Obique PSWG 2af3ea4283 Added minor improvements to build.gradle.kts and improved efficiency of Location 2022-05-29 13:21:26 -05:00
Ziggy fbb8ea45eb Merge branch 'cu' of github.com:ProjectSWGCore/pswgcommon into cu 2022-01-01 21:25:40 +01:00
Ziggy 502861cc18 Removed NGE packet 2022-01-01 19:12:07 +01:00
Ziggy 108b646457 Fixed decode part of CombatSpam 2021-12-31 03:39:43 +01:00
Ziggy e84a823d95 Removed NGE variables from CombatSpam, very close to being fully reversed 2021-12-31 03:25:10 +01:00
Ziggy 1ae2e8d613 More conversions 2021-12-29 02:44:43 +01:00
Ziggy 0f6fcbcf21 Fixed radials not working properly 2021-12-29 02:44:13 +01:00
Mads Boddum 71506c9169 Removed ITV option from ticket purchase packet 2021-12-28 20:22:53 +01:00
Mads Boddum 9051ae3891 Removed NGE radial items 2021-12-28 20:22:44 +01:00
Mads Boddum e38e7f3040 Fixed combat crashes 2021-12-28 20:13:42 +01:00
Mads Boddum b0a4515992 Fixed command dequeue underflow 2021-12-28 20:11:30 +01:00
Mads Boddum 15253f1958 Fixed flytext crash 2021-12-28 20:11:22 +01:00
Mads Boddum c6d86a6cfc Fixed radial underflows 2021-12-28 20:11:14 +01:00