Commit graph

528 commits

Author SHA1 Message Date
Spigot
cd9ad541e7 Fix invalid username patch to disconnect correctly
By: md_5 <md_5@live.com.au>
2013-07-25 17:06:35 +10:00
Spigot
caa031dbae Should probably do an upstream update.
By: md_5 <md_5@live.com.au>
2013-07-24 19:29:30 +10:00
Spigot
75ed907450 Bump netty versions ._.
By: md_5 <md_5@live.com.au>
2013-07-24 17:43:12 +10:00
Spigot
11b1da6640 Update to Netty 4.0.3 final!
By: md_5 <md_5@live.com.au>
2013-07-19 19:45:54 +10:00
Spigot
087a8e7927 Update to latest CB
By: md_5 <md_5@live.com.au>
2013-07-19 19:35:01 +10:00
Spigot
76d133d561 Simplify contains in LongHashSet along with some other minor tweaks
By: Ammar Askar <ammar@ammaraskar.com>
2013-07-19 13:16:32 +05:00
Spigot
8f35a73bd8 Added simple entity ticking caching
By: Ammar Askar <ammar@ammaraskar.com>
2013-07-16 16:21:55 +05:00
Spigot
e0e0951d6a [Anti XRay] Don't trigger updates on the clicked block - fixes block lag caused when mining ores quickly.
By: md_5 <md_5@live.com.au>
2013-07-15 14:14:45 +10:00
Spigot
d80eaa142d Reset default antixray blocks to remove 1 and 5, to fix block lag people have being seeing. Thanks @andrewkm for the report.
By: md_5 <md_5@live.com.au>
2013-07-13 11:37:21 +10:00
Spigot
304db122f2 Add additional case for EntityDismountEvent
By: md_5 <md_5@live.com.au>
2013-07-11 16:59:26 +10:00
Spigot
86504a0fb1 Remove CraftHorse patch since it is now covered by upstream
By: md_5 <md_5@live.com.au>
2013-07-11 11:33:09 +10:00
Spigot
51c9200b04 Update to latest CraftBukkit and refresh all patch hashes - somehow InventoryClickEvent patch got applied twice.
By: md_5 <md_5@live.com.au>
2013-07-11 11:31:30 +10:00
Spigot
9b3ea87959 Fix potion effects not being reset on death. Fixes
BUKKIT-4515

By: MonsieurApple <tony@oc.tc>
2013-07-11 10:28:04 +10:00
Spigot
6398a13b28 Fix client crash with cannot send chat message
By: md_5 <md_5@live.com.au>
2013-07-10 23:46:31 +10:00
Spigot
f93611e5b9 Fixed StructureGrowEvent.getPlayer(); always returning null regardless of whether bone meal was used or not.
By: ItsHarry <info@itsjerryandharry.com>
2013-07-10 13:48:26 +02:00
Spigot
ead2c37bc4 Remove patch that prevents piston extend event firing twice - causes pistons to eat blocks on some occasions. Thanks Salaman and his team for debugging.
By: md_5 <md_5@live.com.au>
2013-07-09 13:16:16 +10:00
Spigot
985aaa8f44 PendingConnection.c() -> d()
By: md_5 <md_5@live.com.au>
2013-07-09 10:48:33 +10:00
Spigot
6fe8638955 Update Spigot to Minecraft 1.6.2
By: md_5 <md_5@live.com.au>
2013-07-09 10:31:10 +10:00
Spigot
0485474219 Update Packet44 to take a snapshot of attributes to prevent concurrent modification leading to bad packets or CMEs. This is a REQURIED update to get support.
By: md_5 <md_5@live.com.au>
2013-07-09 08:29:39 +10:00
Spigot
9ada3efdc8 Change jar name to include 1.6.2
By: md_5 <md_5@live.com.au>
2013-07-08 21:34:43 +10:00
Spigot
85c311cb99 Minor code cleanup to snapshot protocol - nothing functional
By: md_5 <md_5@live.com.au>
2013-07-08 21:27:56 +10:00
Spigot
3c66f908cb Add missing packet
By: md_5 <md_5@live.com.au>
2013-07-08 21:19:55 +10:00
Spigot
2508f3429e 1.6.2 Protocol Support Enabled by Default
By: md_5 <md_5@live.com.au>
2013-07-08 21:17:32 +10:00
Spigot
502135fc95 Add 1.6 Potion Effects. Thanks @bloodsplat for pointing this out.
By: md_5 <md_5@live.com.au>
2013-07-08 12:37:44 +10:00
Spigot
e782a92b06 Always call dismount events regardless of Vehicle or not
By: md_5 <md_5@live.com.au>
2013-07-08 09:21:54 +10:00
Spigot
9cf9dc4d30 Keep CraftServer init early, but make plugins load at approx the same time they do in CraftBukkit - thanks @aadnk for wanting this
By: md_5 <md_5@live.com.au>
2013-07-07 09:33:34 +10:00
Spigot
1734cc8ec7 Replace MessageList with list, see if we can catch issues.
By: md_5 <md_5@live.com.au>
2013-07-07 09:05:04 +10:00
Spigot
77a3e89d68 Ensure packet hooks are called sync - thanks @aadnk for pointing this out
By: md_5 <md_5@live.com.au>
2013-07-07 09:02:13 +10:00
Spigot
6441fc89e8 Did someone say console command completion? These commits were authored by @quickwango and come from Bukkit/Bukkit#868 and Bukkit/CraftBukkit#1151
By: md_5 <md_5@live.com.au>
2013-07-06 09:40:00 +10:00
Spigot
6c4bd965ba Add my "fix" for EntityPersistance, I do believe that removing this check is incorrect and the result of a slight hiccup by Bukkit.
By: md_5 <md_5@live.com.au>
2013-07-05 21:56:07 +10:00
Spigot
b9aad00c71 Add Type Safety checks for............. sanity....?
By: md_5 <md_5@live.com.au>
2013-07-05 13:19:45 +10:00
Spigot
411b35d74f Pull a series of CraftBukkit patches - see below for summary and credits:
Bukkit/CraftBukkit#1145 : @Zarius : Don't fire piston extend event twice
Bukkit/CraftBukkit#1174 : @millerkil : Prevent plugins causing ghost players
Bukkit/CraftBukkit#1177 : @jb-aero : Properly set ambient flag for potion effects

By: md_5 <md_5@live.com.au>
2013-07-05 12:17:22 +10:00
Spigot
9daea9f63d Properly Consume Bonemeal in Dispensers
Don't consume bonemeal if there is no crop in front. Fixes BUKKIT-3790
Pulls Bukkit/CraftBukkit#1172

By: Alex Ciuba <alexciuba@gmail.com>
2013-07-05 12:07:22 +10:00
Spigot
1f0a93e368 Create CraftHorse Instance for EntityHorse
Handle creating instance of CraftHorse for EntityHorse instances and spawn()
Pulls Bukkit/CraftBukkit#1185

By: Mike Primm <mike@primmhome.com>
2013-07-05 12:04:50 +10:00
Spigot
35fa397ba3 Prevent crash on dismount, thanks Salaman for the report!
By: md_5 <md_5@live.com.au>
2013-07-05 10:44:38 +10:00
Spigot
59bb5a39c3 Include only the bits of netty we need
By: md_5 <md_5@live.com.au>
2013-07-04 20:14:10 +10:00
Spigot
8bdeaf2c08 Update Depends
- All of these changes have been reviewed to be binary compatible and in general contract compatible with previous versions of the libraries.

By: md_5 <md_5@live.com.au>
2013-07-04 20:05:41 +10:00
Spigot
51df8e624c Netty CR9
By: md_5 <md_5@live.com.au>
2013-07-04 19:58:09 +10:00
Spigot
be5b8f1b77 Switch index length check around to prevent crashes
By: md_5 <md_5@live.com.au>
2013-07-04 12:09:15 +10:00
Spigot
94a6f8f598 Wouldn't it be nice if the console was coloured - actually colour console messages instead of just leaving colour codes.
By: md_5 <md_5@live.com.au>
2013-07-04 10:12:26 +10:00
Spigot
70bd8275d1 Update again - git isn't as smart as he looks
By: md_5 <md_5@live.com.au>
2013-07-03 14:16:28 +10:00
Spigot
336612e0a4 Update to latest upstream
By: md_5 <md_5@live.com.au>
2013-07-03 14:05:15 +10:00
Spigot
fcf3ea228d Close Horse Inventory on Disconnect
By: md_5 <md_5@live.com.au>
2013-07-03 08:33:49 +10:00
Spigot
c28530c793 Close horse inventory on logoff to prevent dupe
By: Benjamin James Harrison-Sims <tehrainbowguy@gmail.com>
2013-07-02 19:00:39 +01:00
Spigot
7406cbf2d1 Update to latest CraftBukkit - is this more patches without credit I see?
By: md_5 <md_5@live.com.au>
2013-07-03 08:27:18 +10:00
Spigot
115c9744bf Add Entity Mount and Dismount Events - very useful for horses! Thanks @lazertester for the idea!
By: md_5 <md_5@live.com.au>
2013-07-02 20:33:10 +10:00
Spigot
64c5ae2318 [CraftBukkit] Use correct variable when migrating world so as not to screw up rcon and getServerIP
By: md_5 <md_5@live.com.au>
2013-07-02 20:11:09 +10:00
Spigot
88f233b051 Prevent buffer from being freed prematurely or twice.
By: md_5 <md_5@live.com.au>
2013-07-02 17:31:00 +10:00
Spigot
6c0ee1b137 Netty errors? What errors? I see no errors.....
By: md_5 <md_5@live.com.au>
2013-07-02 15:33:58 +10:00
Spigot
1c7edc028b Update to netty CR8
By: md_5 <md_5@live.com.au>
2013-07-02 15:31:49 +10:00
Spigot
ed4ce21f3a Fix 1.5 pinging the server - its a bit hacky, but it works!
By: md_5 <md_5@live.com.au>
2013-07-02 15:27:31 +10:00
Spigot
d24f41e9d3 Fix /reload not functioning - thanks AlexM850 for the report.
By: md_5 <md_5@live.com.au>
2013-07-02 15:14:02 +10:00
Spigot
f428695f33 Clean nibble arrays patch Packet51 to fix crash bug mentioned by Drumming102 on IRC.
By: md_5 <md_5@live.com.au>
2013-07-02 15:12:49 +10:00
Spigot
5a1dfe6323 Return of the Netty... dun dun dun
By: md_5 <md_5@live.com.au>
2013-07-02 15:06:15 +10:00
Spigot
451dce0305 Disable netty always - it will be fixed ASAP
By: md_5 <md_5@live.com.au>
2013-07-02 14:30:13 +10:00
Spigot
4a71519c50 Fix CraftBukkit bug - Actually Use Results of PingEvent
By: md_5 <md_5@live.com.au>
2013-07-02 14:29:18 +10:00
Spigot
0f18ae6103 Update Spigot to 1.6.1 and disable Netty. Be sure to keep backups, we will not be held responsible for your loss!
By: md_5 <md_5@live.com.au>
2013-07-02 13:57:42 +10:00
Spigot
8f904d38a6 Spigot 1.6.1 - Those who are aware of the risks will figure out how to compile, testing is underway.
By: md_5 <md_5@live.com.au>
2013-07-02 13:45:51 +10:00
Spigot
cfe2acc941 Remove skeleton bow shoot patch - needs to be updated
By: md_5 <md_5@live.com.au>
2013-07-02 13:41:40 +10:00
Spigot
d1a28ffe8e Update netty and watchdog
By: md_5 <md_5@live.com.au>
2013-07-02 13:36:58 +10:00
Spigot
4612026ede Finish entity actviation range
By: md_5 <md_5@live.com.au>
2013-07-02 13:32:34 +10:00
Spigot
761acb5848 Fix mob spawn patch
By: md_5 <md_5@live.com.au>
2013-07-02 13:24:59 +10:00
Spigot
64226e68f5 Fix nibble array patch - we will need to stage Packet51 in the near future
By: md_5 <md_5@live.com.au>
2013-07-02 13:23:38 +10:00
Spigot
8620af959d Remove patch #15 - optimized chunk unload
By: md_5 <md_5@live.com.au>
2013-07-02 13:21:57 +10:00
Spigot
ff147ff9e8 Update particle api mc-dev staged things
By: md_5 <md_5@live.com.au>
2013-07-02 13:17:13 +10:00
Spigot
3d185b5792 Remove LocalLanguage patch for now
By: md_5 <md_5@live.com.au>
2013-07-02 13:14:40 +10:00
Spigot
acb5c443c4 Update to Minecraft 1.6.1 - Phase 1
By: md_5 <md_5@live.com.au>
2013-07-02 13:03:56 +10:00
Spigot
4bbab21ef6 Split chunk compression to its own patch.
By: md_5 <md_5@live.com.au>
2013-07-02 09:08:07 +10:00
Spigot
966e2bbaa7 Remove multiplexing server connection as we do not need it with 1.6
By: md_5 <md_5@live.com.au>
2013-07-02 09:05:40 +10:00
Spigot
74271eb5c6 Use startsWith for spam exclusions
By: md_5 <md_5@live.com.au>
2013-07-01 14:35:48 +10:00
Spigot
f97526e8e4 No stack traces please
By: md_5 <md_5@live.com.au>
2013-06-30 08:38:54 +10:00
Spigot
9fec210eee Remove slow and complex pipelining and make our own packet writing system. Speed glorious speed.
By: md_5 <md_5@live.com.au>
2013-06-29 17:39:07 +10:00
Spigot
8aa5fe30e8 Even nicer throttling + encoding.
By: md_5 <md_5@live.com.au>
2013-06-29 16:27:52 +10:00
Spigot
072effdf1f Hey ma, look at my packet encoder!
By: md_5 <md_5@live.com.au>
2013-06-29 16:07:41 +10:00
Spigot
84b4b13218 Update to Netty CR7 - boasts numerous bug fixes and improvements, is sex
By: md_5 <md_5@live.com.au>
2013-06-29 15:36:18 +10:00
Spigot
ef89b3e09e Simplify close inventory patch
By: md_5 <md_5@live.com.au>
2013-06-29 13:46:41 +10:00
Spigot
8bcdc3d516 Disallow Interaction With Self
By: md_5 <md_5@live.com.au>
2013-06-28 19:53:05 +10:00
Spigot
040b01fb66 Move close inventories patch up
By: md_5 <md_5@live.com.au>
2013-06-28 14:16:30 +10:00
Spigot
3f42ec4e05 Properly Close Inventories
Properly close inventories when unloading and switching worlds.

By: md_5 <md_5@live.com.au>
2013-06-27 17:26:20 +10:00
Spigot
1099c20b93 Fix potential errors when plugins log with a null message
By: md_5 <md_5@live.com.au>
2013-06-26 16:59:37 +10:00
Spigot
b6be6ce1ea Java 1.6 compile support
By: md_5 <md_5@live.com.au>
2013-06-25 18:12:27 +10:00
Spigot
ba4c25dd83 Always fire PreLoginEvent
By: md_5 <md_5@live.com.au>
2013-06-25 18:09:55 +10:00
Spigot
602e2ecff8 Throw exceptions when we can't bind
By: md_5 <md_5@live.com.au>
2013-06-24 12:24:38 +10:00
Spigot
719b1ae355 Use our throttle method, diff needs a little bit of work. May be buggy, use with care.
By: md_5 <md_5@live.com.au>
2013-06-24 07:42:20 +10:00
Spigot
734dfef5e3 Flip netty/non netty so correct setting is used, still looking into throttle
By: md_5 <md_5@live.com.au>
2013-06-24 07:35:42 +10:00
Spigot
3c26677714 Comment out unused per-listener throttle
By: md_5 <md_5@live.com.au>
2013-06-23 16:45:43 +10:00
Spigot
21f1eebb07 Don't print bind notice twice; throw exception when unable to bind
By: md_5 <md_5@live.com.au>
2013-06-23 16:33:18 +10:00
Spigot
824156515e Pull Bukkit/CraftBukkit#1130 - Include result slot in CraftInventoryAnvil.getItem .Fixes BUKKIT-2788
By: md_5 <md_5@live.com.au>
2013-06-23 13:58:40 +10:00
Spigot
bc348c2610 Customize server is full message
By: md_5 <md_5@live.com.au>
2013-06-23 11:06:30 +10:00
Spigot
ea9944d35f Add log filtering!
By: md_5 <md_5@live.com.au>
2013-06-22 16:40:34 +10:00
Spigot
8d1d1539e7 I found you, Mr Disable Random Light Updates!
By: md_5 <md_5@live.com.au>
2013-06-22 16:12:17 +10:00
Spigot
f7e26d5d5c Fix Bungee support
By: md_5 <md_5@live.com.au>
2013-06-22 15:48:42 +10:00
Spigot
4a788da52a Add netty-threads option
By: md_5 <md_5@live.com.au>
2013-06-22 14:35:20 +10:00
Spigot
9f926239de Cactus Cactus Cactus Cactus Cactus
By: md_5 <md_5@live.com.au>
2013-06-22 14:16:11 +10:00
Spigot
85a9d69882 Properly re-register commands on reload
By: md_5 <md_5@live.com.au>
2013-06-22 14:07:01 +10:00
Spigot
1a3bda4647 Integer cannot be cast to Short :(
By: md_5 <md_5@live.com.au>
2013-06-22 13:59:56 +10:00
Spigot
09df784b46 Add a patch to allow configuring and editing some server messages.
By: md_5 <md_5@live.com.au>
2013-06-21 19:22:15 +10:00
Spigot
897cea1bba The server loads all settings correctly as far as I can tell. This marks the end of stage 2. Stage 3 (testing of all features and commands) will start tomorrow.
By: md_5 <md_5@live.com.au>
2013-06-21 19:17:26 +10:00
Spigot
e1afaad64e Load from correct class
By: md_5 <md_5@live.com.au>
2013-06-21 19:10:58 +10:00
Spigot
1521d8448f Progress on actually getting stuff to load.
By: md_5 <md_5@live.com.au>
2013-06-21 19:08:32 +10:00