Commit graph

144 commits

Author SHA1 Message Date
eb53f2d164
semicolon 2022-07-02 11:36:49 +01:00
a58965cb6d
Add inMatch User property 2022-07-02 11:36:38 +01:00
2e2fb4c609
remove the #userlog channel 2022-06-28 00:27:18 +01:00
b42a70d00a
rename scoreSubmitUpdateClient to subscriptionClient so it better fits it's generic nature 2022-06-28 00:27:07 +01:00
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
Ethan Stubbs
f264e40eb7 Mirror Gitea instance 2021-05-15 00:24:39 +01:00
tgpethan
803a57a62b Remove synchronous http requests 2021-02-13 13:01:40 +00:00
tgpethan
83d9e3aa75 Switch to new DatabaseHelper 2021-02-13 02:42:59 +00:00
tgpethan
bc7624e001 Get ready for dbhelper switch 2021-02-13 02:15:25 +00:00
tgpethan
cde3a90922 Codefactor refactor 2021-02-12 23:36:35 +00:00
tgpethan
69de312cf0 Multiplayer Optimisations 2021-02-12 23:16:12 +00:00
tgpethan
0d2d825148 Use userID for spectator stream instead of username 2021-02-07 01:25:36 +00:00
tgpethan
54afd81817 Fix an oops 2021-02-07 01:25:17 +00:00
tgpethan
8de96ca8b7 Fix bug in getCountryLetters 2021-02-07 00:55:27 +00:00
Ethan Stubbs
185ef7fd2b Change the stream that tourney match chat joining uses 2021-02-06 01:27:43 +00:00
Ethan Stubbs
02ae0846e2 Use different stream for match chat messages 2021-02-06 01:22:27 +00:00
Ethan Stubbs
85cd164db6 Use the generic getMatch instead of getMatchInfoForTourneyClient 2021-02-06 01:22:03 +00:00
Ethan Stubbs
4416e7e04b Change some language 2021-02-06 01:20:32 +00:00
Ethan Stubbs
fcc6925a03 Use an exception for match join fails 2021-02-06 01:19:22 +00:00
Ethan Stubbs
63758f61cb Implement SpecialLeaveMatchChannel 2021-02-05 03:18:24 +00:00
Ethan Stubbs
44838a9629 TourneyMatchSpecialInfo code quality 2021-02-05 03:15:39 +00:00
Ethan Stubbs
8c2e4823cd Make default location null island 2021-02-05 03:15:05 +00:00
Ethan Stubbs
1697c55d0d Make protocol version a global variable 2021-02-05 03:14:53 +00:00
Ethan Stubbs
02cf151134 Move friends list logic 2021-02-05 03:14:31 +00:00
Ethan Stubbs
0848c0b1e4 Switch BinatoStream to use tokens rather than user ids 2021-02-01 03:01:37 +00:00
tgpethan
1f531a1acc Multiplayer optimisations 2021-01-26 14:55:25 +00:00
tgpethan
56eb5d883a Remove test commands 2021-01-26 12:39:07 +00:00
tgpethan
4d062101f0 General code cleanup 2021-01-26 12:26:46 +00:00
tgpethan
9489dfe2ea Multiplayer Updates 2021-01-26 12:24:13 +00:00
tgpethan
aadae11513 Send available channel information 2020-11-03 02:09:39 +00:00
tgpethan
210201de15 Introduce basic bot commands and multiplayer skip 2020-11-03 02:08:57 +00:00
tgpethan
dd2d167c72 New DatabaseHelper 2020-09-07 19:23:06 +01:00
tgpethan
36715a7682 Remove userManager and all usages of it 2020-09-07 17:35:37 +01:00
tgpethan
3e15b9ada3 Implement friends list functionality 2020-09-02 12:19:19 +01:00
tgpethan
888330ea0f Change the bot's name 2020-09-02 12:17:22 +01:00
tgpethan
9d5790b2c7 Disallow BinatoStream from creating duplicate streams 2020-09-02 11:34:10 +01:00
tgpethan
e9fd3993a8 Implement multiplayer invites 2020-09-02 11:31:06 +01:00
tgpethan
76050657d1 Make Private messages more sane 2020-09-02 11:28:50 +01:00
tgpethan
de5b4841de Implement private messages 2020-09-02 10:57:12 +01:00
tgpethan
cec774fc28 Add method of obtaining a user's class by their username 2020-09-02 10:54:37 +01:00
tgpethan
781a6cc3de Multiplayer bugfixes 2020-09-02 10:15:41 +01:00
tgpethan
1386fc2207 Allow bot's username & location to be sent 2020-09-02 10:15:25 +01:00
tgpethan
63098d2858 Add a comment about an issue with score submit 2020-09-02 10:14:47 +01:00
tgpethan
8e2e92d05f Allow server to log stats to a file at a set interval 2020-09-02 10:14:10 +01:00
tgpethan
65f47d0672 Initial commit 2020-08-27 13:09:35 +01:00