UnknownShadow200
7ac352770d
Try to cleanup DB api - DatabaseBackend now mainly just returns SQL query strings, with Database static class responsible for actually executing them
2020-09-27 00:16:07 +10:00
UnknownShadow200
4d1893c3d6
SQL query errors should get a line logged in main logfile instead of mysql_error.log
...
Also add a few more comments to Database.cs
2020-09-26 22:40:27 +10:00
UnknownShadow200
0b3dd5721a
Merge pull request #558 from UnknownShadow200/UnhackifyLineWrapper
...
Line wrapper and colour simplification cleanup
2020-09-26 15:16:00 +10:00
UnknownShadow200
a2407cd9e4
Add support for outputting ampersands not followed by valid colour codes to IRC
2020-09-24 22:12:59 +10:00
UnknownShadow200
912aed3f0e
Fix changing list of ZS maps in GUI not saving
2020-09-24 17:24:46 +10:00
UnknownShadow200
5077653df3
Fix error appearing in logs when trying to vote for next map in rounds based games, when there are less than 3 maps configured
...
Although an error was being thrown before, it did not actually cause problems because the game would just continue on the same map.
2020-09-24 17:02:01 +10:00
UnknownShadow200
66b89c9eea
Fix rare case where doing /undo [timespan] would throw a NullReferenceException
2020-09-24 10:35:35 +10:00
UnknownShadow200
e4b769304b
Add support for relative coords in /explode
2020-09-23 00:31:28 +10:00
UnknownShadow200
e3c5426997
Try to also word wrap on /,\ and - instead of only space
2020-09-21 21:52:01 +10:00
UnknownShadow200
40e9f6b7f9
Fix rare case where if line did end in an emote, but now doesn't (because the 'last emote' was pushed onto next line for line wrapping), the trailing ' was still wrongly inserted
2020-09-21 21:38:19 +10:00
UnknownShadow200
d2087b5670
Always add padding ' when client doesn't support EmoteFix, avoid unnecessary white colour code on multilined text
2020-09-21 21:18:53 +10:00
UnknownShadow200
867f0345f2
Fix /help emotes having the emote get trimmed out in original minecraft classic client
2020-09-21 20:19:33 +10:00
UnknownShadow200
a514c7856d
SendCpeMessage should use new colour simplification too, add a bool for whether client supports EmoteFix
2020-09-21 20:12:51 +10:00
UnknownShadow200
d1dba1ac5b
Hardcode list of devs/mods instead of downloading from github
2020-09-21 17:47:10 +10:00
UnknownShadow200
1ba162ec22
If a http error (e.g. 404) occurs when downloading data for /imgprint etc, also output the http error number to user
2020-09-18 11:04:34 +10:00
UnknownShadow200
b71696fdd0
/send should not prioritise online players, addresses #556
2020-09-16 19:39:53 +10:00
UnknownShadow200
110f92d237
Make LineWrapper.CleanupColors also do the fallback conversion and ampersand stripping for classic mode.
...
This fixes rare cases where you could crash original vanilla client with ampersands, and means you can consistently use ampersands not followed by colour codes in entity nicks/tab list/chat messages. Previously couldn't use them at all in entity nicks/tab list, and only in chat messages by abusing custom chat tokens to do it.
2020-09-13 18:23:48 +10:00
UnknownShadow200
083e4c90c7
If first line starts with white colour code followed by spaces, the spaces should not be trimmed
...
Spaces should only be trimmed on subsequent lines
2020-09-12 23:27:46 +10:00
UnknownShadow200
212b8ebcd6
Merge pull request #555 from UnknownShadow200/BlockChangeRewrite
...
Block change rewrite
2020-09-12 11:43:42 +10:00
UnknownShadow200
8e3408aa33
If you're holding a block you're not allowed to place in your hand, you should still be able to delete blocks
2020-09-12 11:22:41 +10:00
UnknownShadow200
40ec10a168
Merge pull request #553 from Fam0r/master
...
Check for lag pillaring in Zombie Survival
2020-09-12 01:27:41 +10:00
Fam0r
673977e0d8
Changes
2020-09-11 18:25:48 +03:00
UnknownShadow200
bb31166889
Simplify block change handling. This also means that placing air_switch/checkpoint will revert to air, instead of leaving behind the block you were holding as a ghost until you do /reload
2020-09-12 00:35:32 +10:00
UnknownShadow200
2543089f7f
Make Command.CheckRank more consistent
2020-09-11 23:47:08 +10:00
UnknownShadow200
bce25e6e32
For custom commands/plugins, also load .pdb file if it exists (makes debugging easier)
2020-09-11 12:43:13 +10:00
Fam0r
8c39cd3bd0
Make the pillaring detection stricter for maps without building
2020-09-11 01:13:45 +03:00
Fam0r
ec387a778b
Check for lag pillaring
2020-09-11 00:31:44 +03:00
UnknownShadow200
d028d44ca5
If downloading image for imgprint fails, also include its url in the 'error downloading' warning message
2020-09-10 19:13:23 +10:00
UnknownShadow200
4e5bfe5f22
Fix being able to /possess yourself and cleanup possess code a bit
2020-09-10 18:37:48 +10:00
UnknownShadow200
b0dbebec4e
Fix doing /b on map that had portal/MB block ids but the tables not existing in DB causing error to get logged (Thanks XenonMan)
...
Also improve portal/message block API at the same time
2020-09-09 17:53:55 +10:00
UnknownShadow200
fd4a6cb603
Fix awards player has but don't exist anymore still counting towards player's awards count in /i (Thanks Scav)
2020-09-07 21:38:31 +10:00
UnknownShadow200
aaca55ea3b
Use improved algorithm to remove unnecessary colour codes
2020-09-07 19:22:55 +10:00
UnknownShadow200
ecb051878a
Try to make the line wrapper not suck
2020-09-07 18:23:34 +10:00
UnknownShadow200
6c7050d0ed
Release 1.9.2.5
1.9.2.5
2020-09-07 12:49:00 +10:00
UnknownShadow200
0655e80ed4
Add a version of BlockDefinition.Save that takes a path string, so it can be used by plugins (Thanks 123DMWM)
2020-09-07 12:36:42 +10:00
UnknownShadow200
0ec32e0660
Don't reload files from disc when doing blockset/cmdset
2020-09-06 17:41:26 +10:00
UnknownShadow200
1984c223c4
Fix /search blocks not including classic/CPE blocks in search list
2020-09-05 00:04:24 +10:00
UnknownShadow200
04589ff6b1
Improve /blocks to also include custom blocks
2020-09-04 23:57:14 +10:00
UnknownShadow200
9a81d0e75a
Fix /inv [player] showing message twice
2020-09-04 21:35:20 +10:00
UnknownShadow200
1f0f163228
Fixed /follow not showing player name with 'stopped following' message, fixed /gen not showing completion message when used from map with level-only chat
2020-09-04 21:20:05 +10:00
UnknownShadow200
f3e586875a
fix a few places where I missed nick formatting
2020-09-04 19:01:24 +10:00
UnknownShadow200
35422d6410
Make many more commands such as /who,/clients,/ping take into account whether player is ignoring nicks when displaying names
2020-09-04 18:38:04 +10:00
UnknownShadow200
40cc05d49d
add p.FormatNick method which takes into account whether player ignores custom nicknames
2020-09-04 17:57:23 +10:00
UnknownShadow200
ae9a20e2fb
minor code cleanup
2020-09-04 17:06:08 +10:00
UnknownShadow200
de9f8a4814
Add a confirmation warning popup if the user tries to disable name verification
2020-09-03 20:04:26 +10:00
UnknownShadow200
78203df5db
Fix main level generated when main level doesn't exist (i.e. first time you start the server) not saving changes to /b (Thanks cybertoon)
2020-08-24 10:30:04 +10:00
UnknownShadow200
bcfb03aa71
Merge pull request #546 from SpiralP/more-cm-anims
...
add new CustomModel animation types
2020-08-20 11:37:18 +10:00
SpiralP
0e7538f85e
add new CustomModel animation types
...
SinSize, SinSizeVelocity, FlipRotate, FlipRotateVelocity, FlipTranslate, FlipTranslateVelocity, FlipSize, FlipSizeVelocity
2020-08-19 18:03:42 -07:00
UnknownShadow200
a0e201e000
Don't pointlessly allocate a byte array equal to size of map when importing cw/mclevel maps
...
Didn't really matter all that much though since the memory would get freed pretty quickly by the garbage collector anyways
2020-08-18 01:07:16 +10:00
UnknownShadow200
785621b292
forgot to make 1 line printer method public, oops
2020-08-16 23:20:37 +10:00