5429 Commits

Author SHA1 Message Date
UnknownShadow200
15406b5456 Finally make changing model scale show a proper message 2020-12-11 20:37:50 +11:00
UnknownShadow200
ead6f6eaff Split up /Model into /Model and /ModelScale 2020-12-11 20:26:11 +11:00
UnknownShadow200
dceaea4aea You can delete door blocks now when physics level is 0 2020-12-11 20:03:15 +11:00
UnknownShadow200
f121feadcc When matching player names, prefer exactly matching a player's name first
So e.g. if you have UnknownShadow and UnknownShadow200 online, doing /tp UnknownShadow now TPs to UnknownShadow, instead of saying 'unknownshadow+, unknownshadow200+ match 'unknownshadow'
2020-12-06 20:11:45 +11:00
UnknownShadow200
0850a1d402 Make Transform drawing API suck less 2020-12-06 14:15:45 +11:00
UnknownShadow200
1d5504eb25 Don't require websocket protocol to be 'ClassiCube'
Now the protocol is completely ignored, which should make it easier for people using websocket proxies to connect
2020-12-03 21:32:56 +11:00
UnknownShadow200
fccf9f42c7 Split up WebSocket into BaseWebSocket and WebSocket 2020-12-03 19:58:01 +11:00
UnknownShadow200
6fb5483328 /Last doesn't show /Opchat or /AdminChat use now 2020-12-02 20:16:14 +11:00
UnknownShadow200
ac2d8836bf Fix if you do /lb edit 65-67 whatever, it ends up editing a lot of unrelated blocks too 2020-11-30 21:01:33 +11:00
UnknownShadow200
5869a4437d Use Colors.StripUsed instead of Colors.Strip in more places such as /who,/clients, name filter, etc 2020-11-28 22:46:50 +11:00
UnknownShadow200
3bbfe03789 Help in GUI should also use Chat.Format and should still show ampersands that are not followed by a valid colour code 2020-11-28 22:27:20 +11:00
UnknownShadow200
84da13d10a Make JSON parsing API not suck so much 2020-11-28 00:36:31 +11:00
UnknownShadow200
9a78c18526 Prefer TextWriter instead of StreamWriter in places 2020-11-26 21:50:49 +11:00
UnknownShadow200
f0bd016e1d Countdown: Make it much more difficult to avoid falling down the glass chute (Thanks Scav) 2020-11-25 22:30:12 +11:00
UnknownShadow200
b1a5596bfd Countdown: Fix glass borders surrounding the board being left behind with some oddly sized maps (Thanks Scav) 2020-11-25 22:11:07 +11:00
UnknownShadow200
1ac5fb9fd6 Countdown: Use horspeed=0 in freeze mode to prevent players form moving horizontally at all
MCGalaxy does this already by constantly teleporting player back if they try to move horizontally, this just also stops the player moving horizontally client side
2020-11-25 21:38:25 +11:00
UnknownShadow200
54941741cf Don't bother clearing physics on level unload 2020-11-25 11:51:17 +11:00
UnknownShadow200
2bebf651d1 And make /color work on offline players too
Last of the simple cases though
2020-11-16 22:28:34 +11:00
UnknownShadow200
da8305fa50 Also make /title and /tcolor work on offline players 2020-11-16 21:49:01 +11:00
UnknownShadow200
118ff3985b Allow changing login/logout messages of offline players (Thanks 123DMWM) 2020-11-16 20:51:24 +11:00
UnknownShadow200
323f92e607 Add offline player support to EntityPropertyCmd (not used yet) 2020-11-16 20:46:58 +11:00
UnknownShadow200
077bdca72f Mark PlayerInfo.GetColoredName as deprecated 2020-11-16 19:43:03 +11:00
UnknownShadow200
061f2f9195 Improve OnLevelLoadEvent to also have path and 'cancel' argument
Before there was no way to tell which path the map was being loaded from, and had to rely on a global 'Level.cancelload' variable
2020-11-16 19:09:23 +11:00
UnknownShadow200
cd5c6bf05b Fix still trying to load # comment lines in text/cmdautoload.txt as commands
Also make one function for 'is this line a comment line' rather than having the logic duplicated in multiple places
2020-11-15 23:03:39 +11:00
UnknownShadow200
ba3be87bc0 Fix doing /i on an invalid name showing the 'invalid player name' message twice. (Thanks lordmakerreturns) 2020-11-15 12:37:32 +11:00
UnknownShadow200
a59666f0be RawHeldBlock -> ClientHeldBlock to be consistent, because 'raw' blocks mean a different thing in MCGalaxy (Thanks Goodly) 2020-11-11 18:16:29 +11:00
UnknownShadow200
11b6fd0237 Move Setup method out of DrawOpPerformer and into DrawOp 2020-11-05 22:22:55 +11:00
UnknownShadow200
9906bd2d03 Fix linewrapper to produce nicer lines when a line ends on the form of 'word /command' (Thanks Goodly)
Before, because '/' is a line wrapper character, it would wrap there and produce 'word /' and 'command' - the line wrapper now handles this case specially and produces 'word' '/command' instead. Lines of the form 'word1/word2' are not changed by this commit.
2020-11-05 00:13:04 +11:00
UnknownShadow200
08989da771 Fix in level.UpdateBlock, 'manual' placements would count towards 'total drawn' instead of 'total placed', and vice versa. (Thanks Goodly)
e.g. This meant /place increased total blocks drawn instead of placed
2020-11-04 23:04:13 +11:00
UnknownShadow200
c7b298a126 Make /missile destroy actually destroy blocks 2020-10-28 23:01:07 +11:00
UnknownShadow200
17674ac273 Unify gun and missile code a bit more 2020-10-28 20:33:41 +11:00
UnknownShadow200
71a4498f9a Fix gun aimbox not appearing in classic mode, fix explode mode of gun not exploding when it hits a glass block 2020-10-28 19:48:22 +11:00
UnknownShadow200
b45037431c Cleanup /Missile and move to share more code with gun/weapon 2020-10-28 19:43:41 +11:00
UnknownShadow200
283938333d Fix spelling mistake in /send (Thanks Goodly) 2020-10-25 12:37:10 +11:00
UnknownShadow200
f83363f831 Change it so when you die while hidden, the message says 'you were killed..' to avoid confusion about whether other players are seeing your death messages 2020-10-25 11:33:28 +11:00
UnknownShadow200
629fa066b7 Hidden players die to bots/deadly blocks now, however the death message only shows to players who can see them 2020-10-25 11:19:22 +11:00
UnknownShadow200
5795d2c7ea Fix killer bots would kill all players at same position, regardless if on a different level or not (Thanks KawaiiCube) 2020-10-25 10:54:41 +11:00
UnknownShadow200
ebc192b051 Release 1.9.2.7 (patch release with fix for fCraft maps) 1.9.2.7 2020-10-24 23:37:57 +11:00
UnknownShadow200
ee3366746e Fix if you changed model of a bot while ZS was running, an error would get logged (no actual problem would occur though) 2020-10-24 00:35:26 +11:00
UnknownShadow200
9e4ec42d80 Fix trying to generate maps with fCraft themes always erroring
One day I will finally learn that every change, no matter how insignificant and trivial and apparently obvious, must be tested
2020-10-20 09:39:07 +11:00
UnknownShadow200
32797c0560 Fix /fliphead flipping everyone else instead of actual player (same issue with ZS infected player in classic mode), thanks Fam0r 2020-10-20 09:30:10 +11:00
UnknownShadow200
61a5f65a8e Prevent /env level being used from console/IRC as that errors 2020-10-19 00:13:22 +11:00
UnknownShadow200
89ee77190e Release 1.9.2.6 1.9.2.6 2020-10-17 12:08:53 +11:00
UnknownShadow200
32f765645a remove even more unused IRC stuff 2020-10-15 18:08:27 +11:00
UnknownShadow200
2c5ab88c67 Fix doing /mode +q on IRC causing 'IRC error' message to appear in console logs (Thanks SpicyCombo) 2020-10-15 17:50:17 +11:00
UnknownShadow200
2f07581133 When failing to start due to missing MCGalaxy_.dll, also include the folder path MCGalaxy thinks it is running from 2020-10-11 22:22:35 +11:00
UnknownShadow200
cf9d48d284 Make SqlQuery.FillParams public 2020-10-11 19:25:24 +11:00
UnknownShadow200
2de0b53385
Merge pull request #562 from UnknownShadow200/DBCleanup
Try to cleanup DB api
2020-10-11 17:49:21 +11:00
UnknownShadow200
978a65e43d Split up OnBlockChange event into OnBlockChanging and OnBlockChanged 2020-10-10 23:00:43 +11:00
UnknownShadow200
abb64cfdeb Improve SQL transaction error message logging, and stop using mysql_error.log 2020-10-09 19:34:24 +11:00