UnknownShadow200
ffa147c29f
CLI: Don't just check if MCGalaxy_.dll exists, instead properly try to load MCGalaxy_.dll and log an error message if that fails
2021-04-24 09:09:17 +10:00
Robert de Bath
bd19e728d4
Fix conditions on pyramid and code routines.
...
Change conditions for hollow shapes.
They must only match for exact equality on one side.
Add condition so that flattened pyramids and cones also have a full shape.
Also remove use of doubles as the maximum map size is 16k blocks not 64k.
2021-04-23 19:14:44 +01:00
UnknownShadow200
3068e7e0a2
Discord: Fix heartbeat still repeatedly erroring with failed write after bot is disconnected
2021-04-23 07:41:16 +10:00
Robert de Bath
848a0f8d2c
Fix wonky pyramids
...
Previously the slope of the pyramid was cast into a double. This adds an
error into the value that is provided as an exact rational number. This
change keeps the value as a rational and only uses the double type where
intermediate values may exceed the integer range.
2021-04-22 20:38:44 +01:00
UnknownShadow200
ab97043dd8
Discord bot: WIP on reconnecting better
2021-04-22 22:53:05 +10:00
UnknownShadow200
5becf9c904
Discord: Make a thread dedicated to sending out messages
2021-04-22 20:03:41 +10:00
UnknownShadow200
9c12d807ec
Make /DiscordBot connect/reset actually work
2021-04-21 23:10:25 +10:00
UnknownShadow200
c50c7973a6
GUI: IRC port should be a numericupdown, not a textbox
2021-04-21 23:01:21 +10:00
UnknownShadow200
f507a2720a
GUI: Add settings for Discord bot
2021-04-21 22:41:54 +10:00
UnknownShadow200
f1a6ec4887
Demote MySQL settings to Misc tab
2021-04-21 20:58:29 +10:00
UnknownShadow200
38d0b14544
Cleanup custom commands GUI by using two buttons for creating C#/VB commands instead of 1 button + 2 radio buttons
2021-04-20 22:58:32 +10:00
UnknownShadow200
26bb8d03fa
/ref should not reveal hidden players, fixes #594 (Thanks MegaPVP)
2021-04-20 20:44:17 +10:00
UnknownShadow200
2223bac9a9
/Hide shouldn't update /last (Thanks jviteo2005)
2021-04-20 20:36:12 +10:00
UnknownShadow200
2f9a453f9e
Remove Viewmode.cfg support (Doesn't even work on Windows, obsolete since over 3.25 years ago)
2021-04-20 20:17:19 +10:00
UnknownShadow200
89c9c98b97
Slightly reorder Extra panel in Misc tab in GUI, prefer Colors.StripUsed to Colors.Strip in more places
...
Now you can sometimes have % and & in server names
2021-04-20 20:05:46 +10:00
UnknownShadow200
bdd477132d
Simplify IRC bot code
2021-04-19 19:00:18 +10:00
UnknownShadow200
b84baef9e2
Add OnBlockHandlersUpdated event
2021-04-19 07:50:16 +10:00
UnknownShadow200
c42c60a13b
Fix not being able to use restriced commands in /bot text even when you should be able to (Thanks Scav/Goodly)
2021-04-18 22:04:28 +10:00
UnknownShadow200
1555ee799c
The last remnants of the old IRCHandlers have been swept away
2021-04-18 21:30:13 +10:00
UnknownShadow200
1b7883fdea
Add DiscordBot command, move more stuff to RelayBot
2021-04-18 21:17:33 +10:00
UnknownShadow200
0ca9e504ca
Fix /ascend not teleporting you to next gap up
2021-04-18 17:05:34 +10:00
UnknownShadow200
3abd68541f
Fix hold model hitbox being too large (Thanks Venk)
2021-04-17 10:24:26 +10:00
UnknownShadow200
2fd79dd679
Make hacks detection API not suck so much (Thanks Venk)
2021-04-17 08:18:00 +10:00
UnknownShadow200
1ee8bcce13
Discord bot: Add support for opchannels (channels which only staff chat is read/sent)
2021-04-16 21:23:31 +10:00
UnknownShadow200
c07c2bc861
Fix doing /unmute without a name erroring
2021-04-16 20:29:22 +10:00
UnknownShadow200
7da4e13bae
Handle /me better for relay bots, fix discord bot saying (IRC) instead of (Discord) in-game
2021-04-16 20:26:30 +10:00
UnknownShadow200
ddd6b04b6d
Fix reason for IRC kick not being logged
2021-04-16 20:07:36 +10:00
UnknownShadow200
1f0eeb372f
Split up IRCHandlers into IRCNickList and also back into IRCBot
2021-04-16 19:21:49 +10:00
UnknownShadow200
9d68034cfc
Discord bot: No pinging everyone
2021-04-16 18:53:17 +10:00
UnknownShadow200
a25f00b239
Make JsonObject init code nicer
2021-04-16 18:50:26 +10:00
UnknownShadow200
4f90c43d74
Rewrite JSON writer again
2021-04-16 18:43:15 +10:00
UnknownShadow200
c2ea08d168
Make relay bot API public (Thanks Fam0r)
2021-04-16 07:10:49 +10:00
UnknownShadow200
7afd311f25
Make level handlers public, will make proper API later (Thanks artania)
2021-04-15 23:38:17 +10:00
UnknownShadow200
199c47ecb8
Basic .who and .x support
2021-04-15 22:57:05 +10:00
UnknownShadow200
77aedae668
Move stuff out of IRCHandlers and into generic RelayBot
2021-04-15 22:36:03 +10:00
UnknownShadow200
95abc29149
Start work on splitting up IRCHandlers into abstract RelayBot that both discord and IRC relay bots can use
2021-04-15 20:04:51 +10:00
UnknownShadow200
6d07d39a91
Reorganise discord/irc bot files, rename Logger.IRCActivity to Logger.RelayActivity
2021-04-15 19:25:59 +10:00
UnknownShadow200
42d2be1d28
Merge pull request #592 from UnknownShadow200/DiscordBot
...
WIP basic Discord relay bot
2021-04-15 18:57:49 +10:00
UnknownShadow200
8f935e346c
Strip colours from messages send to Discord, update status when player hides/unhides
2021-04-14 23:16:26 +10:00
UnknownShadow200
05bde2c3c5
Sending messages works now (technically)
2021-04-14 22:56:17 +10:00
UnknownShadow200
91487912e4
Status updates with player connect/disconnect
2021-04-14 20:55:48 +10:00
UnknownShadow200
d8e0791412
Move stuff out of DiscordBot and into DiscordWebsocket, start tidying up DiscordPlugin too
2021-04-14 19:57:55 +10:00
UnknownShadow200
46d8f3f54b
Split up DiscordPlugin.cs into multiple files before it gets out of hand
2021-04-14 19:24:39 +10:00
UnknownShadow200
1e915e51d1
Add basic presence support
2021-04-13 22:25:54 +10:00
UnknownShadow200
96a354d93d
Reading messages from Discord works now
2021-04-13 21:33:51 +10:00
UnknownShadow200
59868f5f72
try to send identify, although bot's still instantly disconnected
2021-04-13 07:30:36 +10:00
UnknownShadow200
e09f71b288
use named constants for scope
2021-04-12 23:24:28 +10:00
UnknownShadow200
2e6c0b730b
Move internal stuff from BlockOptions to public in BlockProps
2021-04-12 23:00:00 +10:00
UnknownShadow200
2103670c55
Fix lb/gb help saying 'Type a number for the texture' instead of 'Type a number for the top texture' (Thanks artania)
...
This happened because SendStepHelp accidentally modified the global helpSections - it was supposed to only modify the message sent to the player when creating a sprite block
2021-04-12 18:42:38 +10:00
UnknownShadow200
2ebe2ca74e
add terrible generic JSON serialiser
2021-04-12 07:31:56 +10:00