Commit graph

90 commits

Author SHA1 Message Date
3e4b946349
switch to mysql2 and use prepared statements 2022-05-10 12:36:48 +01:00
d5fb2261a8
add special redis log type 2022-05-10 12:35:36 +01:00
49753398ca
make config more readable 2022-04-24 02:14:23 +01:00
b314d492a7
refactor AsyncHttpRequest to use fetch (because request is deprecated) 2022-04-24 02:04:52 +01:00
e2f74281af
log score submit stats update requests 2022-04-24 02:04:14 +01:00
3b81210c46
(finally) implement redis for info updates, will have other uses in the future. 2022-04-20 07:29:21 +01:00
6a57e5cfe8
More headers that don't need to be sent 2022-04-20 07:26:39 +01:00
798b37104b
Throw if there is an attempt to log the bot out (yes this has happened) 2022-04-20 07:25:40 +01:00
3db2c62bb9
Rename "getNewUserInformationFromDatabase" to "updateUserInfo" 2022-04-20 07:25:15 +01:00
99a4cd9b67
time out users due to inactivity 2022-02-23 05:35:32 +00:00
f9fe6e2a27
use funkyArray for user session storage 2022-02-23 05:35:10 +00:00
7544e9a7dd
Use isNaN here instead 2022-02-23 05:33:03 +00:00
1219bbca38
Add throw if the there is an attempt to remove the bot 2022-02-23 03:23:11 +00:00
5f5b8457de
Clean up the User class 2022-02-23 03:22:35 +00:00
79bbe5a38d
Remove all remaining new keywords from Buffer.alloc(s) 2022-02-23 02:49:25 +00:00
8080cd353b
probably fix html injection on the janky chat page 2022-02-22 11:00:11 +00:00
3e976c7d79
whoops 2022-02-22 10:51:23 +00:00
079b37a7df
make OBR less painful to look at 2022-02-22 10:50:31 +00:00
52716c6d90
remove stupid logger (should be using prometheus!) 2022-02-22 10:32:42 +00:00
c5e2f94b66
remove todos that no long apply 2022-02-22 10:31:19 +00:00
a3b0cc5b9f
Delete BitwiseeModConverter.js 2022-02-22 10:05:46 +00:00
c6f01eeced
add a space to the migration message 2022-02-22 09:51:19 +00:00
5a45d1d146
remove more headers that are not needed 2022-02-22 09:51:01 +00:00
e5495628f3
lmao figured it out 2022-02-22 09:42:57 +00:00
be3698e76d
stream users don't need to be checked on interval, just do it on removal. 2022-02-22 09:11:17 +00:00
604e698f8e
no need to be shy! shout all you want about errors. 2022-02-22 09:04:57 +00:00
197dc1145e
Re-order some stuff in Streams.js 2022-02-22 09:03:18 +00:00
acf767c71e
Minimise the number of headers the server is sending 2022-02-22 09:01:19 +00:00
919e0b6701
why the fuck does the osu! client do this to me? 2022-02-22 09:00:46 +00:00
55eee64792
codefactor please shut the fuck up 2022-01-07 13:50:32 +00:00
15d4e20d94
support saving away messages 2022-01-04 04:43:32 +00:00
31af1d80bb
expose incorrectLoginResponse from loginHelper.js 2022-01-04 04:43:10 +00:00
9e7ea3187b
use forEach for itterating though received packets 2022-01-04 04:42:26 +00:00
e65fc13419
Make everything tabs instead of spaces & don't rely on a global consoleHelper 2022-01-04 03:39:53 +00:00
26806438b7 aes 2021-09-25 16:35:01 +01:00
05aefff23f Generalize packet functions 2021-09-24 01:39:46 +01:00
99329d1c70 add response message when not providing an argument to ranking switching 2021-09-24 00:23:24 +01:00
b837bfcbc3 don't Buffer.alloc for every single request 2021-09-22 19:17:11 +01:00
44017cfb6e Make packetIDs a js file instead of a json file 2021-09-22 19:13:56 +01:00
bc3fc13955 Fix multiplayer lockup 2021-09-22 19:13:32 +01:00
17f9605e8f add ranking mode switching 2021-09-03 23:47:46 +01:00
1dc1742fa0 we already know that everyone doesn't have the...
same score so we can stop iterating.
2021-09-03 21:26:49 +01:00
b955d19811 read cf requestee IP from the headers first 2021-09-03 21:13:17 +01:00
ac84a10088 log messages sent by users in public channels 2021-09-03 21:12:42 +01:00
eea27b25f8 reorder SendPrivateMessage and add a null check 2021-09-03 21:12:25 +01:00
fc374c8932 make uuids shorter 2021-09-03 21:12:02 +01:00
07dcc8f825 allow AsyncHttpRequest to parse j...
son on it's own
2021-09-03 21:11:40 +01:00
8dc931eede refactor consoleHelper 2021-09-03 21:09:55 +01:00
2485638760 Don't need ActionBuffer
you know why? We have a little thing called the USER'S QUEUE which we can just dump shit into
2021-06-23 07:41:24 +01:00
Ethan Stubbs
c6e5ea0662 back to github because lazy 2021-06-23 07:22:04 +01:00