Graham
5a8a571b28
Update Gradle
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
47782ecdd7
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
9b9eb363c8
Refactor AttachLocRequest and some animation-related code
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
2cc4b34ab3
Replace MutableList with List in ByteBufBodyHandler
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
e3fde7f2a0
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
a4e74a6752
Fix ConstantPool string limit
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
1101f6e885
Add ByteBufBodyHandler
...
Allows a response from HttpClient to be efficiently read into a ByteBuf.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
21ed41c307
Use applet viewer config to find the hostname of a JS5 server
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
11a43242b9
Add applet viewer config parser
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
637e311a67
Fix SELECT DISTINCT query
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
fc6e739879
Add e prefix to the name generator
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
794463febd
Append the version trailer to the correct buffer
...
Oops!
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
d925b68db3
Remove duplicate keys from valid.json
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
2e5fbe7ed7
Update Gradle
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
689b1493de
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
1585090c68
Rename TextureMeta to Material
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
c2428494b6
Rename Material to MaterialRenderer
...
The main reason I'm doing this is that I want to rename TextureMeta to
Material, which fits in with the naming of its JS5 archive.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
85f497f619
Treat a world list checksum of 0 as 1
...
This fixes a 1 in 2^32 chance that we'll fail to fetch the world list on
startup.
Of course, updating the player counts will still be borked if we get a
collision, but at least the client won't break entirely.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
3edc5f1907
Add InitGameConnection codec
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
8ff91b5ee2
Implement world list packet
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
1b83f4b4b3
Add CacheProvider
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
6a0266e88f
Add methods for looking up entries in an enum
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
6194435313
Disable io_uring for now
...
It isn't compatible with FileRegion, which breaks the HTTP/JAGGRAB
server.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
f6c28e2b40
Update Kotlinter
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
6c6e23b1e2
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
9c545ada73
Reduce table width
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
c870ae53dc
Fix country ID in the documentation
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
e52c20ee32
Fix name of world offest variable
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
609b3236d7
Add space between each config item
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ea6d377628
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
3829f228ef
Add world list packet structure
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ac5743a86a
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
3eafe45f78
Use 2 space indents in JSON files
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
3889c8a034
Terminate all threads if the server fails to bind to a port
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
9b0260a3df
Add GameService
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
60ecda74ec
Add InvType
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
62abcbad8c
Add DI support to the *TypeList classes
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
2c43930db2
Move Js5Archive and Js5ConfigGroup to cache-550
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
849b083400
Add {Enum,Param,Struct,Varbit,Varp}Type implementations for 550
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
21cf2526c5
Format Http.kt
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
e5fc516ef1
Add base classes for encoding/decoding configs
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
e0ec3781ae
Refactor the Texture class
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
bdbd8617b9
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
50c1dd9ce8
Add cache/XTEA key layout to the README
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
fe3bfb4b12
Remove border/level parameters from the CheckedInt32 group
...
Fixes #126 .
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
95cb97bae8
Add capacity properties/methods to Archive and Cache
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
65194fae43
Rename poll to removeFirstOrNull
...
This is more consistent with the Kotlin standard library.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
7d04774d60
Fix removal of unused methods
...
The previous implementation didn't attempt to walk the call graph, so it
wouldn't remove all unused methods.
Closes #127 .
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
2b9f423e9a
Remove unused Iterable extensions
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
774744579d
Replace LinkedHashSet queues with UniqueQueue
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago