Graham
54f2a44eab
Move assignment outside if
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
12eba96055
Update copyright year
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
ba5c285a47
Remove defunct OpenOSRS key downloader and link
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
ea9ec62e6e
Add support for fetching master index from the API
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
9d3282ca3a
Simplify reference counting in Js5Service
...
Spotted by Polar.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
62df015ad5
Always sort empty rows to the bottom of the table
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
55072a5102
Sort build column numerically
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
97ca5cbc2f
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
4ef349d0ac
Add CoroutineExceptionHandler to LoginChannelHandler
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
0814443bc5
Add total size of all caches to the caches page
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
2d7b235f15
Add support for the new OSRS short code map format
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
2c70a7c1ec
Add methods to allow reading files by group name and file ID
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
c1704fc111
Exclude Logback from minimization
...
This prevents the LogbackServiceProvider class from being deleted.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
8f4d28393e
Download XTEA keys from HDOS
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
db1ecf3c00
Read after sending ExchangeSessionKey to the client
...
We're expecting GAMELOGIN to be sent after exchanging the session key.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
655b9c9cf7
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
ba0bd2ca3a
Use 4 space indents in .sql files
...
This reflects the current style.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
eebb54dd60
Disable formatting in all migrations
...
If the checksum changes in the future then the flyway_schema_history
table needs to be adjusted, which is awkward.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
4ca7fab636
Add blank line between is blocks
...
Seems to be a recent change in the IDEA formatter.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
c0056f9cb1
Update kotlinter
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
d63af29679
Fix linter error
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
fd2545bc9d
Format OpenNxtStore
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
dc8fcd09f6
Flesh out LoginChannelHandler
...
This commit adds initial support for negotiating the ISAAC session key,
creating accounts, and checking world suitability.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
cf7c05441c
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
091c8ee1ca
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
d0a46dc5e5
Removing loading requirements from the NXT downloader
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
4cc83e6316
Mark all methods in a final class as non-final
...
Marking the individual methods as final is redundant and IDEA warns
about it.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
aff58e5e73
Split FinalTransformer into Final{Class,Method}Transformer
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
39d2f18cca
Add tool for unpacking OpenNXT caches
...
This is relatively easy as OpenNXT doesn't use the actual SQLite cache
format - it still uses JS5-compressed containers, rather than ZLIB.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
dbb30e0bd8
Disable fsync in FlatFileStore
...
This improves performance significantly.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
4aa181b91a
Add support for disabling fsync in atomicWrite
...
Sometimes we want to ensure the write is atomic but don't care about
durability.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
4252bf0dbc
Update Gradle
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
c3c240b4e6
Cache the /caches.json endpoint for 15 minutes
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
ef2919761d
Add method for peeking at the version trailer
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
5ac5ae76f3
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
5e4305b0f3
Refactor more code
...
Mostly focused on refactoring more fields in types.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
d80de942e0
Fix womanWear1/2 naming
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
0d87057ae6
Rename more classes
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
3841d39fe8
Refactor more TextureOps
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
e2ceef0a32
Fix case
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
2abd1d7ea0
Fix CreateAccountCodec padding
...
The padding must be between 1 and 8 bytes inclusive, not 0 and 7.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
76e7e93f3c
Allocate buffer exactly in NameSuggestionsCodec
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
fa41b48f1a
Add all create responses
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
f31b2519f9
Add all login responses except OK
...
OK needs a bit more work as I need to decide where the StaffModLevel
enum will live.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
827e6262a9
Rename 'Display video advertisement' to 'Show video advertisement'
...
This fits better with the 'showingVideoAd' string in the client.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
e84a58a36b
Reformat tables in the glossary
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
4e6f5c360d
Add StaffModLevel to the glossary
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
0a5e2343c1
Disambiguate create invalid password responses
...
While the 550 client doesn't distinguish between these two responses,
the 667 client does.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
851ef8e4e9
Separate LoginResponse and Js5LoginResponse
...
I'm currently working on a CreateResponse class, which is even more
distinct from LoginResponse - so I've decided to separate it. For
consistency, separating the JS5 login responses seems sensible too.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
e4b5f8b850
Check there are no trailing bytes in Rs2Decoder
...
Closes #137
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago