5465 Commits

Author SHA1 Message Date
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
UnknownShadow200
fdf53795b4 if GUI version differs from DLL version, show a warning message box (Thanks capitjeff21) 2021-06-10 22:41:47 +10:00
UnknownShadow200
b04e8bbc9e Fix /baninfo erroring with MySQL (Thanks aleksb385) 2021-06-09 08:53:21 +10:00
UnknownShadow200
3b3c65e6ce Move CmdSearch.FilterList to Matcher class and make it public 2021-06-08 22:49:31 +10:00
UnknownShadow200
77a48b5f47 Plugins should always load after main level has been loaded 2021-06-07 19:27:28 +10:00
UnknownShadow200
522ae80bf8 .NET 2.0 compatibility fixes 2021-06-05 12:14:03 +10:00
UnknownShadow200
f3723d2821 Convert IPv4 mapped addresses to IPv4 addresses 2021-06-04 22:52:38 +10:00
UnknownShadow200
d07a6f59ec Fix can't /banip ipv6, enable dual stack ipv4/ipv6 listener on Windows when available 2021-06-04 22:21:39 +10:00
UnknownShadow200
75253f419f Change IP changes to not break plugins 2021-06-04 08:22:51 +10:00
UnknownShadow200
10882002d5 Fix /map deletable also not letting you place blocks (Thanks Venk) 2021-06-04 08:17:24 +10:00
UnknownShadow200
160d184a93 Unflood should pause instead of stopping physics, addresses #615 (Thanks rdebath) 2021-06-02 23:34:15 +10:00
UnknownShadow200
ae4ee92790 Discord: Don't reply to .who if the given channel is not specified as a channel or opchannel 2021-06-01 08:37:01 +10:00
UnknownShadow200
b28cf43bb5
Merge pull request #612 from forkiesassds/patch-1
Prevent players using /reload inside of games.
2021-05-30 23:19:12 +10:00
UnknownShadow200
5a2376c002 FileIO -> AtomicIO 2021-05-29 23:09:11 +10:00
UnknownShadow200
e9921f8cda Include exception message when logging errors to console/GUI 2021-05-29 22:45:43 +10:00