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
Graham
49e5781288
Add addAll and clear methods to UniqueQueue
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
82c78d514d
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
198acbdf7a
Rename username variable in Base37 class
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
493886a8bd
Improve error messages in CrossDomainChannelHandler
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
e0aefe506d
Improve name of flag in js5NetworkLoop
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
55d72dacbe
Pass StreamCipher to PacketCodecs
...
A small number of packets have encrypted payloads.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
a50e0ea998
Restrict supported HTTP methods
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
a8d048de00
Remove pipelining support from the crossdomain handler
...
It isn't necessary.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
acebd05c04
Add comment explaining why we sort the constant pool entries
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ebbc81740d
Check the ConstantPool isn't too large
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
d825729a2c
Add string index constants
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
f9007688a1
Fix SASTORE comment
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
8cd7645536
Add sanity check to ConstantPool builder
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
86a84c6986
Serve .jar files with the correct MIME type
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
89f7a192f9
Optimise inbound message matcher creation
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
29693a39cf
Add timeout support for all services on the RS2 port
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
a43e98e8f4
Add HTTP keep-alive support
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
03fc499566
Improve robustness of reference counting in JaggrabChannelHandler
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
620808cb97
Improve the HTTP implementation
...
This commit adds support for:
* Version negotiation.
* HEAD requests.
* Friendly error messages.
* More robust reference counting.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
92a01b6262
Add cross-domain policy support
...
Required by the most recent versions of the Java plugin (before it was
killed).
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
2a6b97480c
Add implementation of Jagex's custom .class file format
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ad0cdb6056
Add initial high-level cache API
...
It supports reading and writing a cache backed by a Store, as well as
standalone .js5 files.
I'm not quite as happy with this as I am with the lower-level API yet,
and there are still a few remaining TODOs.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
6f13a0a737
Add readVarInt and writeVarInt extension methods
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
29fecec34e
Add support for overriding the charset in readString/writeString
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
f26e6ef0b9
Update Kotlin
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago