1973 Commits

Author SHA1 Message Date
UnknownShadow200
f169240c3a Killing someone with gun/missile should only show that message to the current level, not the whole server. 2016-08-31 09:31:37 +10:00
UnknownShadow200
6e10b22bbb Make /splace use held block (Thanks FabTheZen), also add some more aliases for /imageprint. 2016-08-31 09:13:09 +10:00
UnknownShadow200
f70916f5d9 Slightly optimise ImagePrintDrawOpCode. 2016-08-31 09:02:11 +10:00
UnknownShadow200
26c3c8d9be Fix /printimage, and also implement the fast path for 24bpp too. 2016-08-31 08:36:50 +10:00
UnknownShadow200
4d06b62f8e [Broken] Optimise /imgprint to use native bitmap pixel getters. 2016-08-31 07:51:20 +10:00
UnknownShadow200
e29a3d31c6 Rewrite /imageprint to be a drawop. This means the output can now be affected by /transform. 2016-08-31 00:11:02 +10:00
UnknownShadow200
4e271d1ede Rewrite DrawOps to use Action delegate instead of yield return. 2016-08-30 23:54:31 +10:00
UnknownShadow200
f06e5224a8 Optimise /imgprint to use BufferedBlockSender too. 2016-08-30 23:31:17 +10:00
UnknownShadow200
b667b38f1a Rewrite /imageprint as a draw operation. 2016-08-30 19:33:04 +10:00
UnknownShadow200
4d73d60e1c Cleanup and modularise /imageprint somewhat. 2016-08-30 18:58:35 +10:00
UnknownShadow200
08470798b2 Start work on optimising /imgprint, start by creating faster pixel getter class. 2016-08-30 18:47:41 +10:00
UnknownShadow200
ba7b373193 Cleanup LevelItem 2016-08-30 15:17:24 +10:00
UnknownShadow200
69cca9df42 Modularise HandleChat a bit. 2016-08-30 14:55:47 +10:00
UnknownShadow200
f849db9cae If you have /ignore d someone, you shouldn't be able to see their opchat or adminchat messages. 2016-08-30 14:21:01 +10:00
UnknownShadow200
2090a51db1 Use indexer instead of .Add in ExtrasCollection, so you can update a value without having to remove it first. 2016-08-30 13:49:23 +10:00
UnknownShadow200
0bf14b4ce5 Use integer Clamp method. 2016-08-30 13:44:01 +10:00
UnknownShadow200
47b2452235 Cleanup /help portal 2016-08-30 11:51:10 +10:00
UnknownShadow200
33694517b5 Reduce code duplication in IRC bot. 2016-08-30 11:05:28 +10:00
UnknownShadow200
e8a6e83a0c Fix /ircbot reset showing in its help twice, oops. 2016-08-30 08:47:59 +10:00
UnknownShadow200
283045522d Don't forget to update exit map for portals when using /renamelvl. (Thanks yorkiebarz) 2016-08-30 08:25:37 +10:00
UnknownShadow200
cba1de928b Cleanup Window code a bit. 2016-08-29 19:44:55 +10:00
UnknownShadow200
461fb25729 Reduce code duplication between /undo and /undoarea, cleanup /help for /undo and /undoarea. 2016-08-29 18:42:45 +10:00
UnknownShadow200
7bb22c4c69 Support timespans in /undo and /highlight. 2016-08-29 17:44:00 +10:00
UnknownShadow200
4738e7d83f Use generic PlayerInfo.FindMatchesPreferOnline (searches through online players for a match, then searches through the PlayerDB), also add PlayerInfo.GetColoredName(). 2016-08-29 15:34:01 +10:00
UnknownShadow200
eee95f7a10 Use X.Parse instead of Convert.Y in more places 2016-08-29 14:32:28 +10:00
UnknownShadow200
87effa41d8 Tempranks can now be done to minute precision, /temprank info now uses relative timespans. 2016-08-29 14:25:48 +10:00
UnknownShadow200
7bed4d7963 Add a generic GetYawPitch method. 2016-08-29 13:05:25 +10:00
UnknownShadow200
96ed7139ff Release 1.8.8.0 1.8.8.0 2016-08-29 11:28:06 +10:00
UnknownShadow200
7ddd477a14 Reach distance (/reach) now saves between sessions. (Thanks FabTheZen) 2016-08-29 10:09:42 +10:00
UnknownShadow200
445e263816 Reduce code duplication in PlayerInfo class. 2016-08-29 09:31:45 +10:00
UnknownShadow200
0e6ee0c8de Revert previous commit. (This is why you shouldn't make commits 1 minute after you wake up. 2016-08-29 08:05:37 +10:00
UnknownShadow200
1ddd4464b7 Fix same bug in last commit for .cbin/.bin files. 2016-08-29 07:59:48 +10:00
UnknownShadow200
6057a0c818 Fix infinite loop in UndoFormatOnline 2016-08-29 01:02:33 +10:00
UnknownShadow200
6a52d20311 Fix zombie survival not setting main level (if set to true in server settings) for first round, fix custom command permissions being lost on server start. 2016-08-29 00:24:37 +10:00
UnknownShadow200
e705ef6d50 Add a zombie invisibility item, also make it so custom command aliases override core command aliases. 2016-08-28 23:15:01 +10:00
UnknownShadow200
57abf03099 Cleanup Player.Handlers a bit 2016-08-28 21:08:44 +10:00
UnknownShadow200
c2ce0083b2 Make 'win chance' line in /mi fit on one line, make time for zs in /time use relative timespan. 2016-08-28 20:58:59 +10:00
UnknownShadow200
9e9d369c71 Fix /ls go not working after restart (Thanks CookieNetwork), cleanup lava survival property loading. 2016-08-28 14:44:38 +10:00
UnknownShadow200
fef2aa5457 Cleanup /help for /ls. 2016-08-28 14:32:04 +10:00
UnknownShadow200
67a3483924 Sort of cleanup /ls to be nicer. 2016-08-28 14:26:21 +10:00
UnknownShadow200
9fe85f5c2d Fix non-simple paste when origin is outside map bounds. 2016-08-28 13:21:30 +10:00
UnknownShadow200
c3de3d060b Rewrite /fixgrass to use bulk packet sending. 2016-08-28 12:42:37 +10:00
UnknownShadow200
bd34d5bb8c Make autoload maps on /goto default, also fix /fixgrass not checking perbuild permissions. (Thanks goodlyay) 2016-08-28 10:21:23 +10:00
UnknownShadow200
e13aa525bd Fix /os map deletable not working (Thanks Empy), fix level name in tab list when joining a museum showing 'museum' to you, but to others showing the full museum map name. 2016-08-28 10:02:46 +10:00
UnknownShadow200
5cd7051b48 Fix /ccols add throwing an IndexOutOfRangeException if you only forgot one of the arguments. (Thanks TheChunkyDonkeh) 2016-08-27 22:32:13 +10:00
UnknownShadow200
c197436b55 Cleanup /eco help. 2016-08-27 21:58:51 +10:00
UnknownShadow200
f2f1889c60 Avoid hardcoding OnMoneyChanged() everywhere, just use p.SetMoney(). 2016-08-27 21:28:52 +10:00
UnknownShadow200
c3ac1ea8b9 Reduce code duplication for items, allow changing purchase rank for an item via /eco. 2016-08-27 21:17:09 +10:00
UnknownShadow200
42bd448dc2 Reduce code duplication in /hug /eat /roll /high5, make them automatically work properly when a level has roleplay/level-only chat enabled. 2016-08-27 17:27:22 +10:00
UnknownShadow200
5371872c0a Add static GetDirVector method, remove copy-pasted dir code in weapon commands. 2016-08-27 16:22:35 +10:00