5429 Commits

Author SHA1 Message Date
UnknownShadow200
855c5f736d Make /plugins output paginated 2021-07-22 22:37:42 +10:00
UnknownShadow200
1204c8c8fa Discord: Actually log error response text 2021-07-22 22:26:07 +10:00
UnknownShadow200
cced18bbab Fix VecF32.Normalise on a zero vector turning into NaN (Thanks Venk) 2021-07-21 20:41:41 +10:00
UnknownShadow200
f7a53b081f Split up /spin into /spin and /mirror 2021-07-20 17:27:23 +10:00
UnknownShadow200
341df3498a Also do something similiar for QueueLevel economy item 2021-07-18 19:26:01 +10:00
UnknownShadow200
3b11059f0e Also do the same for title/color/tcolor/nick 2021-07-18 17:38:04 +10:00
UnknownShadow200
0aaa9392d4 Add PlayerOperations class, initially with just login/logout messages
Fixes
1) can't remove login/logout message while muted
2) if you buy a login/logout message while muted, you are still charged even though the message does not change
2021-07-18 13:38:44 +10:00
UnknownShadow200
4670fa679a Remove MCG from thread names 2021-07-18 09:11:03 +10:00
UnknownShadow200
dbea200929 partially revert previous commit because assembly.CodeBase doesn't give the right answer when .exe is started from a different directory 2021-07-17 16:39:54 +10:00
UnknownShadow200
094a8135de Fix mkbundle wrapped CLI always crashing at startup 2021-07-17 16:26:18 +10:00
UnknownShadow200
9e4d27f4b4 Split off SQLite backend from SQLite.cs 2021-07-17 07:58:31 +10:00
UnknownShadow200
a90f557f5e Remove obsolete JsonSerialisers 2021-07-14 21:02:49 +10:00
UnknownShadow200
33afae9c0d Support reference statements for Visual Basic 2021-07-09 21:40:54 +10:00
UnknownShadow200
75768bfd0b Fix compiler error log to work with multiple source files, also fix compiling plugins generating .dll in wrong folder (Thanks Venk)
Also always use \r\n for line endings in auto generated commands/plugins so they can always be opened with Notepad
2021-07-09 19:08:28 +10:00
UnknownShadow200
8b2c6f233a Generate .pdb so errors have stacktraces when thrown from commands/plugins 2021-07-08 20:43:48 +10:00
UnknownShadow200
8782511f57 Support compiling multiple files into one DLL 2021-07-08 20:00:38 +10:00
UnknownShadow200
d6e8ec16e9 Fix settings GUI icon showing default form icon on mono/wine 2021-07-04 20:45:37 +10:00
UnknownShadow200
877501abc0 Catch InvalidOperationException thrown from BeginInvoke in Window log method
This exception gets thrown when trying to invoke a method after the window has already been destroyed. This can rarely happen when trying to log messages at end of server shutdown after the window has been destroyed
2021-07-04 18:55:13 +10:00
UnknownShadow200
5d13fba29a Log error details if fail to download required file 2021-07-04 17:23:35 +10:00
UnknownShadow200
411f7f3aa3 Fix on some versions of WINE, if you close the server while players are still connected, you get EADDRINUSE for next few minutes if you try to start server again
This seems to happen because a socket is left in TIME_WAIT state, so workaround by this enabling SO_REUSEADDR. Except on Windows SO_REUSEADDR has different behaviour, so only apply the workaround when running on mono
2021-07-04 17:12:36 +10:00
UnknownShadow200
1d14560b01 Fix /infoswapping two players of same rank causing destination player to lose their rank (Thanks Goodly) 2021-07-04 11:39:12 +10:00
UnknownShadow200
cb45fc8d93 Don't try to parse UPnP response as XML
Also don't bother logging Target in error logs, because it's useless 99% of the time as it's just the same method as first line of stacktrace
2021-07-03 19:27:52 +10:00
UnknownShadow200
42150fd1fa Release 1.9.3.3 1.9.3.3 2021-07-03 10:01:21 +10:00
UnknownShadow200
3b1a91c78a Undo address reuse part of last commit because it causes wrong behaviour on windows and still requires further testing 2021-07-03 08:35:32 +10:00
UnknownShadow200
26e2c09c9f Remove remnants of old /pass code 2021-07-03 08:32:34 +10:00
UnknownShadow200
bccab6badc Also log error codes for socket errors 2021-07-02 21:07:34 +10:00
UnknownShadow200
25530182a2 Discord: Add support for disabling presence (Thanks soshimee) 2021-07-02 20:25:24 +10:00
UnknownShadow200
0eeecaf5f8 Make profanity filtering consistently apply to all methods of player chat (Thanks 123DMWM) 2021-07-01 21:22:28 +10:00
UnknownShadow200
f4c49f904e Fix /me not incrementing messages written in /info 2021-07-01 20:33:35 +10:00
UnknownShadow200
329bee6449 Rethink MessageFrom/GetPlayerDataMessageInfo in EntityPropertyCmd 2021-06-29 21:51:03 +10:00
UnknownShadow200
3550a68bbb Intentionally break some plugins by making LevelInfo.GetConfig(map, out level) non-public
Unfortunately this API has been accidentally been misused and repeatedly caused issues, so I've decided to remove it
2021-06-29 21:00:53 +10:00
UnknownShadow200
296f86cf5a /seen should default to showing your first/last login (thanks fizzwhiz) 2021-06-28 20:46:25 +10:00
UnknownShadow200
4a23c2e668 Make PlayerActions.ReloadMap public (Thanks Goodly) 2021-06-28 18:23:07 +10:00
UnknownShadow200
5d4a25fbea Fix when map has deletable off, and you right click while holding air, a 'deleting blocks has been disabled in this level' message would show 2021-06-27 22:10:50 +10:00
UnknownShadow200
ac480c4c57 IRC: Try to add _ to end of nick when nick collision occurs, before falling back to completely random name 2021-06-27 20:39:27 +10:00
UnknownShadow200
c723af6157 IRC: Combine Sender and Connection 2021-06-27 17:23:54 +10:00
UnknownShadow200
7544e33049 Simplify IRC sending code 2021-06-27 16:00:50 +10:00
UnknownShadow200
cad3d91ea5 Remove more unnecessary IRC code 2021-06-27 15:38:25 +10:00
UnknownShadow200
48a01b593b Make game voting code consistent 2021-06-27 15:22:24 +10:00
UnknownShadow200
94f78ee267 And modularise password management too 2021-06-27 10:50:26 +10:00
UnknownShadow200
7d21d09263 WIP on modularising authentication 2021-06-27 09:53:51 +10:00
UnknownShadow200
2787621769 Discord: Keep track of session ID 2021-06-26 14:11:27 +10:00
UnknownShadow200
325006d41e Dicord: Fix still logging full error to error log on mono 2021-06-26 11:09:14 +10:00
UnknownShadow200
577fbd2c89 Discord/IRC: Show name of unknown command 2021-06-23 21:32:51 +10:00
Goodlyay
da5777fc6f Improve the chat messages of /Color, /Nick, and /Title
Now displays who changed the data, as well as properly transcending local chat when the parties cannot hear each other
TODO: Same treatmeant for /loginmessage and /logoutmessage?
2021-06-17 12:07:34 -07:00
UnknownShadow200
8960dcd66f Discord: Don't log IOExceptions to error logs, and also better log errors with IRC 2021-06-15 21:33:47 +10:00
UnknownShadow200
5cc8c82936 Websocket: Split up 'Disconnect' from handling 'on disconnected' 2021-06-15 21:12:08 +10:00
UnknownShadow200
dc472f273c Discord: Allow changing activity type to playing/listening/watching/competing 2021-06-15 20:59:45 +10:00
UnknownShadow200
2bf9593bbf Tidy up /location code 2021-06-12 08:09:16 +10:00
UnknownShadow200
7cf4748fb3 Discord: Allow changing presence status 2021-06-11 12:06:13 +10:00