Myles
ef08117f34
oops ;) better read the tin better
2016-03-22 19:28:37 +00:00
Myles
4b582a7279
Make PacketWrapper exceptions more informative :)
2016-03-22 19:27:27 +00:00
Hugo Kerstens
6e46d018a4
Removed import?
2016-03-22 20:18:07 +01:00
Hugo Kerstens
e15c8d7257
Optimise sound searching
2016-03-22 20:16:39 +01:00
Hugo Kerstens
3518804cbf
Remove some debug code
2016-03-22 20:11:24 +01:00
Myles
101f86c8cd
Merge pull request #263 from HugoDaBosss/apiv2
...
Fixed spawn experience orb packet
2016-03-22 18:32:42 +00:00
Hugo Kerstens
22c2435656
Fixed spawn experience orb packet
2016-03-22 19:30:24 +01:00
Myles
af53275ab9
JavaDoc for quite a lot of the API classes... yay
2016-03-22 18:02:46 +00:00
Myles
eccbb567e8
Clean up some code in Base and MetaIndex
2016-03-22 16:56:36 +00:00
Myles
bae3599388
Update DEBUG to work in APIv2, also fix a few usages to the config API (may need more)
2016-03-22 16:53:07 +00:00
Myles
88ab4e53a7
Merge pull request #261 from HugoDaBosss/apiv2
...
Add config option to suppress 'Unable to get entity for ID' errors (apiv2)
2016-03-22 16:48:13 +00:00
Hugo Kerstens
25fa2eabbb
Small update for descriptions
2016-03-22 17:22:49 +01:00
Hugo Kerstens
e12d8ec466
Add descriptions for the new Config API
2016-03-22 17:17:13 +01:00
Hugo Kerstens
a7022bddf8
Small typo
2016-03-22 17:00:13 +01:00
Hugo Kerstens
523c27237d
Small changes for the new Config API
2016-03-22 16:55:58 +01:00
Hugo Kerstens
147891f76b
Implement config to the API
2016-03-22 16:53:53 +01:00
Myles
a5ba52ce05
Rename ChunkHandler
...
Introduce Packet Filtering
2016-03-22 15:36:11 +00:00
Hugo Kerstens
ccb2a4756f
Add config option to suppress 'Unable to get entity for ID' errors
2016-03-22 16:27:39 +01:00
Myles
f5a96b791d
Move listeners to respectful classes to be registered.
2016-03-22 15:03:02 +00:00
Myles
c628a8a23f
Merge pull request #257 from HugoDaBosss/apiv2
...
Fix armorstands moving incorrectly when using relative movement packets (apiv2)
2016-03-22 14:38:33 +00:00
Hugo Kerstens
b225afe6ef
Fix armorstands moving incorrectly when using relative movement packets
2016-03-22 15:28:00 +01:00
Hugo Kerstens
5c4867365e
Fix armorstands moving incorrectly when using relative movement packets
2016-03-22 15:22:21 +01:00
Myles
3549a823cb
Don't move when relative
2016-03-22 12:07:43 +00:00
Myles
57931e7231
Patch inventory shield bug
2016-03-21 22:28:11 +00:00
Myles
9e19e0c8af
Patch inventory sword bug
2016-03-21 22:24:03 +00:00
Myles
74461609c1
Change to use maps, much better for optimisation.
2016-03-21 19:42:52 +00:00
Myles
7d3e6bc7cb
This is why people should read over code :))
2016-03-21 19:13:55 +00:00
Myles
b226e94981
Patch the other mem leak fix across
2016-03-19 23:49:26 +00:00
Myles
7d0687aa4a
Fix chance of another leak happening...
2016-03-19 23:47:03 +00:00
Myles
d152b8b9e1
Merge branch 'master' into apiv2
2016-03-19 22:05:57 +00:00
Myles
1fbd561aec
Oops, fix 1.8 clients
2016-03-19 22:04:17 +00:00
Myles
a8295c9de0
Merge pull request #254 from Matsv/ifremoveifremoveif
...
Remove unnecessary if statement, this is always true.
2016-03-19 21:37:04 +00:00
Mats
e894a3c733
Remove unnecessary if statement, this is always true.
2016-03-19 21:53:26 +01:00
Myles
a2f8f28010
Fix memory leak, add command. Merge from master
2016-03-19 20:51:23 +00:00
Myles
704c876772
One line of code can make holes in the world, one line can fix them. (Fixes packet mem leak, also adds useful secret displayleaks command :) )
2016-03-19 20:45:07 +00:00
BuildTools
5ae8a35740
Change protocol constants to final fields
2016-03-19 01:11:16 +01:00
HugoDaBosss
9b6a9fca3d
Small optimization for armor searching
2016-03-18 22:57:16 +01:00
Myles
625a1d2191
Eventually we should have some sort of handler for this, but this is fine for now
2016-03-18 21:22:09 +00:00
Myles
8a35c0235e
Move everything into the right package.
...
Clean up a lot of code.
Remove PacketUtil (evil laugh)
Add Pipeline Util
Organise listeners, and add protocol pipe checks
2016-03-18 21:18:48 +00:00
Myles
69e8ddcbf6
Update to match master and all current fixes
2016-03-18 20:22:38 +00:00
Myles
ce8a504750
Merge from other branch to ensure we don't have to redo some of these patches
2016-03-18 18:25:58 +00:00
Myles
11f3844d63
Use GSON instead, should fix memory leak issue with JSON. Also make sure that we use a copy of players for the bossbar.
2016-03-18 18:14:58 +00:00
Myles
56d5f8eec6
Add protocol registry.
...
Fix some issues with PacketWrapper
Add 1.9.1 port
Add ProtocolVersion detection on boot
Add more type converters
Implement Pipeline properly
2016-03-17 21:24:25 +00:00
Myles
7a98cdd28f
Remove more debug code
...
Correct casting detector in packet wrapper.
Re-order some packets
Implement Plugin Message Transformers
Implement Sound Transformer
Implement Block Entity Transformer
2016-03-17 13:58:49 +00:00
Myles
ccda9f11c8
Remove some debug info, make it so StoredObject protects user.
...
Implement rewriting of Slot in rewriter.
Implement Enchanting Patch
Implement Brewing Patch
Implement Auto-Team Patch
Implement Inventory Tracker
Remove some TODOs
Implement Item Throwing on elytra
(Should just be plugin channels and a few packets + sounds left)
2016-03-16 23:34:03 +00:00
Myles
7e133a0be8
Include UserConnection in StoredObject
...
Handle Blocking
Handle BossBars, Holograms
2016-03-16 21:52:00 +00:00
Mats
d0e573613b
Add api method to get player's protocol id,
2016-03-16 21:01:04 +01:00
Myles
2197b938f8
Implement ItemRewritter
...
Upgrade ViaIdleThread to new system
Add new method to ProtocolPipeline
Implement Use Item
2016-03-16 19:46:16 +00:00
Myles
0d3ba67233
Remove compress / decompress, rethrow errors if they occur from another handler, Fixes #233
2016-03-16 13:42:17 +00:00
Myles
d98d4ff466
Merge pull request #236 from Matsv/meta11
...
Discountinue player metadata 11.
2016-03-15 21:06:37 +00:00
Myles
71e27b4799
Merge pull request #232 from Matsv/dropcreative
...
Throw items when you try to put things in your second hand in creative.
2016-03-15 21:06:04 +00:00
Mats
4d82112286
Discountinue metadata 11.
2016-03-15 21:42:40 +01:00
Mats
ba5a44d2d2
Remove debug message
2016-03-15 20:40:26 +01:00
Mats
597ddc7f82
Throw items when you try to put things in your second hand in creative.
2016-03-15 20:37:45 +01:00
Mats
6a7bd209a3
Make it possible to use the new effect indicators in 1.9
2016-03-15 20:20:39 +01:00
Mats
daed15d61f
Make compatible with ServerListPlus custom outdated message. Fix #227
2016-03-15 14:14:10 +01:00
Myles
c300c47a14
Implement Optional UUIDs
...
Implement Meta Rewriting
Implement Type Converters
Implement System so it can be tested.
Most of it works excluding the missing packets, also fixes some stupid mistakes :)
2016-03-15 00:34:20 +00:00
Myles
89427cb2da
PacketWrapper now has an ID attached and can be reset so that it can be read from stored values.
...
Removed some parameters from protocol, the ID will now be attached to the PacketWrapper (made more sense)
BaseProtocol doesn't handle ProtocolInfo anymore
Implement ProtocolPipeline (WIP)
2016-03-14 18:05:29 +00:00
Myles
fce7f1740e
Add packet cancelling, implement quite a few of the todo's
2016-03-14 16:51:56 +00:00
Myles
0357d8e6aa
Implement Partial Types (Types which require constructing with info), Implement Items, Implement NBT, add exceptions so they go down the tree!
2016-03-14 16:09:50 +00:00
Myles
55335944e3
Update apiv2 to match master
2016-03-14 12:59:15 +00:00
Myles
c0b2985343
Just a reminder :)
2016-03-14 12:55:17 +00:00
Myles
91ae5990b1
Almost forgot response handler woops, also allow PacketWrapper to be modifier :)
2016-03-14 12:48:05 +00:00
Myles
33f1a8975c
Another quite big update:
...
Implement Unsigned Short
Implement Most of the Incoming Packets (Still need to implement a few, when I add some sort of packet sending / id changing and packet cancelling)
Implement a base protocol
Still need to do plugin messaging (I will probably forget)
2016-03-14 12:40:23 +00:00
Myles
9b28129187
Using PacketType as a checklist, implement most of the base outgoing packets.
...
Add new REMAINING_BYTES type.
Add an outline of what ItemType will be like
Add a passthrough option to PacketWrapper to make it easy to passthrough and grab the type.
By default passthrough all the bytes :)
2016-03-13 17:01:36 +00:00
Mats
78ab7c840a
Fix #209 woops my fault
2016-03-13 16:48:07 +01:00
Mats
dd32b46055
Remove unused imports
2016-03-13 16:13:45 +01:00
Mats
7daa43146e
Drop spacehq MC protocol since it's no longer used
2016-03-13 16:12:31 +01:00
Mats
53fb753284
Fix armor not showing on Respawn (With keepinventory true) & world change
2016-03-13 15:22:23 +01:00
Myles
81d89d3839
Rename methods in UserConnection, add new PacketHandler.
...
Change the protection of some methods to be appropriate.
Actually register packets
Save entity types
2016-03-13 13:40:53 +00:00
Mats
7d7f5a0bda
Fix unable to open commandblock after respawn/world change
2016-03-13 14:02:10 +01:00
Mats
62d210de68
Fix commandblocks not able to change command on every-tick commandblock update
2016-03-13 11:06:18 +01:00
Myles
e19a2920b9
API: Work towards rewriting metadata, (This is nowhere near finished and I need to work on Item and NBT), Also change the names of a few classes to be more appropriate and implement transformation of the doubles.
...
(I probably messed up somewhere, nothing is tested as this is essentially API design)
2016-03-12 22:33:43 +00:00
Myles
44a044848f
Fix ServerConnection #198
2016-03-12 20:48:04 +00:00
Myles
4f133366e1
Add limitation to NBT data, we'll stick with this for now. I don't see this easily being beaten.
2016-03-12 20:41:04 +00:00
Lennart ten Wolde
e436988303
transform chunk bulk packets
2016-03-12 15:47:35 +01:00
Lennart ten Wolde
8b65efc4bd
Implement new chunk transformer
2016-03-12 13:58:10 +01:00
Myles
7cff20f218
Intitial APIv2, this does not work. Type conversion is not implemented, as well as quite a few things, most things will probably change.
2016-03-11 23:07:13 +00:00
Myles
ae2592f3d1
Update to 1.9.1 PRE 2 :)
2016-03-11 16:20:15 +00:00
Myles
c009827622
Merge pull request #192 from HugoDaBosss/optimize2
...
Optimize packet searching
2016-03-11 12:55:15 +00:00
HugoDaBosss
afe18379e0
Optimize packet searching
2016-03-11 11:48:42 +01:00
HugoDaBosss
3511f9a7b2
Optimized packet searching
2016-03-10 23:13:23 +01:00
Mats
a769599448
Fix Bungeecord "Team viaversion already exists in this scoreboard" and might fix #86
2016-03-10 20:33:32 +01:00
Lennart ten Wolde
6d95af3963
Add config wrapper to update config
...
Configuration reads old config and moves it's values over to a new
config copied from the resources directory.
normally, when you save it would delete the comments, but they are
written back in to the new config by this wrapper
now people their config files will actually update
2016-03-10 17:40:40 +01:00
Lennart ten Wolde
4a804bae7c
fix metadata type mismatch & add anti-flicker
2016-03-10 16:52:31 +01:00
Lennart ten Wolde
1af86d1354
fixed default boss title
2016-03-10 15:14:27 +01:00
Myles
1b77e1c89f
Fix BarAPI, (adds new metaindex, and change colour to be right and remove debug)
2016-03-10 14:07:27 +00:00
Myles
c42b9351b8
Remove sync-chunks
2016-03-10 13:25:49 +00:00
Myles
ab8c8cd7c8
Merge pull request #187 from lenis0012/chunks
...
Add chunk handler to netty pipeline. Fixes #48
2016-03-10 13:22:48 +00:00
Myles
83518b92fe
Make bossbar patch a configurable option
2016-03-10 13:22:32 +00:00
Lennart ten Wolde
b1f076936d
Add chunk handler to netty pipeline. FIxes #48
2016-03-10 12:47:09 +01:00
Lennart ten Wolde
319e793cd6
Add support for 1.8 boss bars
...
Automatically converts legacy boss bars to 1.9 ones using ViaVersions's
boss API.
I suggest you add a config option
Note: also fixed crash on wither/dragon spawn
2016-03-10 03:14:30 +01:00
Myles
c11ad7930f
Tiny cleanup allow it to be disabled via config and add lenis0012 to contributors <3
2016-03-09 21:30:43 +00:00
Lennart ten Wolde
d5e9170109
Manually perform idle updates. Fixed #160 #99
...
Manually performs idle updates by keeping track of the player's
movement.
It compensates for the missing idle packets attempting to get a ratio of
20 movement related packets per second.
2016-03-09 22:17:17 +01:00
Myles
47b447f195
Add the option to use a hologram patch to fix invisible holograms being in wrong place, by default disabled.
2016-03-09 21:08:50 +00:00
Myles
fed36c9487
synchronize all the things!
2016-03-09 14:12:50 +00:00
Myles
b0050d4a8d
Add config option for blocking and fix crash due to synchronization
2016-03-09 12:08:21 +00:00
Myles
f65666b7a6
Better support for ServerConnection detection, and also adding injectors. (Basic late-bind support is now available, but does not work with ProtocolLib due to it injecting first.)
2016-03-09 00:51:50 +00:00
Myles
3a217503fc
Merge pull request #179 from HugoDaBosss/master
...
Stop error fetching hand item spamming console.
2016-03-08 21:24:47 +00:00
Myles
c71b75e13b
Oops
2016-03-08 21:23:57 +00:00
HugoDaBosss
0c890c3a30
Print errors while in debug mode
2016-03-08 22:23:36 +01:00
HugoDaBosss
f38bb0ca22
Stop error fetching hand item spamming console.
2016-03-08 22:20:52 +01:00
Myles
2144fa1837
Handle any exception so it doesn't implode. (Still prints to the console.)
2016-03-08 21:16:34 +00:00
Myles
fc4a617da7
Don't send chunk packets with no chunks :)
2016-03-08 21:13:15 +00:00
Myles
126ee6e03f
Formatting
2016-03-08 20:54:03 +00:00
Myles
498867032f
Merge pull request #178 from HugoDaBosss/master
...
Fix animation for bows
2016-03-08 20:51:02 +00:00
HugoDaBosss
aef8eca790
Fix animation for bows
2016-03-08 21:48:21 +01:00
Myles
d8bbb51721
Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion
2016-03-08 19:27:24 +00:00
Myles
6e4fd5a63b
Only show blocking if it knows that we're blocking #176
2016-03-08 19:27:04 +00:00
Mats
bf5072e1cf
Add removed bossbar methods
2016-03-08 13:48:03 +01:00
Mats
c600ab6dd1
Add /viaversion debug to the commandlist
2016-03-08 13:30:53 +01:00
Myles
9144980474
Read full dig packet
2016-03-07 23:52:12 +00:00
Myles
6a449f8db1
Allow the suppressing of metadata errors.
2016-03-07 22:55:57 +00:00
Myles
3780210f76
Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion
2016-03-07 22:21:47 +00:00
Myles
67bad0dec8
Add it so when you're on 1.9 you can block using shields. Also change ConnectionInfo to use lombok.
2016-03-07 22:21:32 +00:00
Mats
ee9d8d6365
Add comment for other people
2016-03-07 23:08:34 +01:00
Mats
cc354db464
Formatting
2016-03-07 23:07:17 +01:00
Mats
2b29d27b0d
Fix jukebox
2016-03-07 23:04:24 +01:00
Myles
75db62ee6f
Merge pull request #167 from rj0495/patch-1
...
Added fallback options on CommandHandler
2016-03-07 20:53:11 +00:00
Myles
7cd7b5ba24
Be nice and set a user agent for updater
2016-03-07 20:13:01 +00:00
Ryan James
a3bfcefdca
Added fallback options on CommandHandler
2016-03-07 19:39:10 +00:00
Myles
abb9665813
Merge pull request #166 from StamBoom/master
...
Change DataInputStream / DataOutputStream to readNBT / writeNBT
2016-03-07 19:30:41 +00:00
Myles
012eec47b5
Temp arrays are evil, (memory optimisation)
2016-03-07 19:19:14 +00:00
Mats
2d40afa3a1
Change DataInputstream / Outputstream to readNBT / writeNBT
2016-03-07 19:58:07 +01:00
Myles
a92a7d6e02
Merge pull request #165 from StamBoom/savedthehorses
...
Fixed horses inventory/elytra exception
2016-03-07 18:52:11 +00:00
Myles
fc7cdb4244
Clear bytes instead of reading them, close streams when done. (May fix a few memory leaks)
2016-03-07 18:51:18 +00:00
Mats
d5b375b264
Fixed horses inventory/elytra exception
2016-03-07 19:45:00 +01:00
Myles
38d33dba16
Remove more methods (Sorry last one didn't build!)
2016-03-07 16:44:55 +00:00
Myles
b3de4de0cd
Remove us.myles.ViaVersion.chunks, I must have looked past this but it's not used.
2016-03-07 16:34:22 +00:00
Phenomax
1aea00036f
[~] smaller bugfixes]
...
[~] switched back to jdk 7
2016-03-07 16:22:11 +01:00
Phenomax
1262847a0e
[+] added lombok in order to smaller code by removing unnecessary getter, setter and constructors
...
[~] switched to bytecode version 1.8 (lambda expressions)
[~] general code cleanup (lambda expressions, for each, collapsed catch blocks, diamond maps)
2016-03-07 15:43:31 +01:00
Myles
21cfb1297f
Fix powered minecart data
2016-03-07 11:51:51 +00:00
Myles
0b1cb61986
Send team at difficulty to avoid any issues with bungee #161
2016-03-07 11:31:04 +00:00
Myles
44907b3e8d
Add /viaversion autoteam to toggle auto teaming for 1.8 colliding.
2016-03-07 11:09:43 +00:00
Myles
528b234d5a
Add collision options, fixes #95 . (By default auto teams players until they're added to a team so you can't push!)
2016-03-06 23:22:45 +00:00
BuildTools
bb17eb01b8
Update
2016-03-06 23:17:51 +01:00
Myles
ca6638c740
return null if the item is null :)
2016-03-06 21:40:15 +00:00
Mats
8460c157a5
Commit API
2016-03-06 19:27:26 +01:00
Mats
0b807569ad
Implement 1.9 BossBarAPI for developers
2016-03-06 19:20:39 +01:00
Myles
ffb4fb5c5a
Merge pull request #155 from sgdc3/master
...
Improve POM and fix dead code
2016-03-06 16:48:41 +00:00
Myles
c404f2206c
Blame a class when the childHandler doesn't inject
2016-03-06 16:16:26 +00:00
Gabriele C
b63051a796
Improve POM and fix dead code
2016-03-06 16:36:54 +01:00
Myles
2d2018b8d0
Disable latest feature due to it breaking signs (no more sync chunks for now)
2016-03-06 15:10:54 +00:00
HugoDaBosss
736a853a85
Merge pull request #153 from HugoDaBosss/patch
...
Make Metadata Rewriter exception output more clear
2016-03-06 16:00:50 +01:00
HugoDaBosss
dfd4c5f93e
Formatting
2016-03-06 15:55:53 +01:00
HugoDaBosss
2ac87acc8a
Make Metadata Rewriter exception output more clear
2016-03-06 15:52:06 +01:00
Myles
3c5a6a3b7b
Fix README, also change a bit of the fixJson so that it can handle quotes on signs.
2016-03-06 14:40:23 +00:00
HugoDaBosss
91de7e5a22
Fix checkforupdates changing from false to true
...
FIXED:
When starting the server when checkforupdates is false, it won't register the listener.
So when you enable checkforupdates using /viaversion dontbugme it won't send you messages until a restart.
2016-03-06 15:11:36 +01:00
Myles
c5ac3c9b3d
Don't freeze current thread when sending chunks
2016-03-06 13:49:33 +00:00
Myles
0ea32b3318
Merge pull request #150 from HugoDaBosss/patch
...
Fix mob spawners when no EntityId is given
2016-03-06 13:45:56 +00:00
Myles
8afc850ed3
Add new config option "sync-chunks", chunks will now be sent in sync with the MC thread when true, this fixes timings (paper spigot mostly issue)
2016-03-06 13:45:26 +00:00
HugoDaBosss
3c6dcfe5bf
Update OutgoingTransformer.java
2016-03-06 14:42:50 +01:00
HugoDaBosss
59d637e0f5
More formatting (stupid eclipse)
2016-03-06 14:42:22 +01:00
HugoDaBosss
923f3088c0
Formatting
2016-03-06 14:40:52 +01:00
HugoDaBosss
4f8aff9c01
Forgot to remove debug message
2016-03-06 14:37:51 +01:00
HugoDaBosss
99ceb9ae79
Fix mob spawners when no EntityId is given
2016-03-06 14:32:57 +01:00
Myles
6e0554f4a4
Fix enchanting tooltips
2016-03-06 13:22:56 +00:00
Myles
36879f8d02
Fix small issue with updater
2016-03-06 13:02:54 +00:00
Myles
fe77df1434
Fix brewing #141
2016-03-06 12:25:54 +00:00
Mats
a314b86f57
Fix commandblock minecarts
2016-03-06 12:18:18 +01:00
Myles
840c90f871
Don't use GSON >.>
2016-03-06 11:03:41 +00:00
Myles
2a247595c8
Handle invalid version numbers
2016-03-06 10:49:21 +00:00
Myles
4124c3454e
Change it so when there is no connection we don't bug them. Also change it to use http instead of https, as https requires certain certificate info by linux.
2016-03-06 10:46:38 +00:00
fillefilip8
d6403d495d
Opps :) Github likes me :D Removed the new api methods from this branch :D
2016-03-06 10:42:26 +01:00
fillefilip8
d7f54048ff
Made the config use the default bukkit config methods insteed.
2016-03-06 10:39:58 +01:00
Myles
e487eeb395
Update to 0.5.3, add inventory title tracking so we're working towards some of the inventory bugs with new ones.
2016-03-06 00:25:24 +00:00
Myles
0d0e1c16ea
Fix issue with formatting :) (fixes quotes)
2016-03-05 23:24:23 +00:00
Myles
f462ff9e8a
Fix weird closedchannel bug
2016-03-05 22:16:43 +00:00
Myles
5582556d8a
Fix issue with biomes on chunks, #125
2016-03-05 22:05:17 +00:00
Myles
ef6214a442
Fix getHandItem across reloads, though half the things will still break on reload :(
2016-03-05 21:23:14 +00:00
Myles
369710333c
Change updating so it doesn't tell you on current version up to date but warns if you're on a newer version than expected / older one in console.
2016-03-05 21:15:51 +00:00
Myles
30c4fea044
Add new /viaversion dontbugme, change method if the version looks like it's custom / debug (not compiled by maven)
2016-03-05 20:54:35 +00:00
HugoDaBosss
65770d7c5b
Added proper update message
2016-03-05 21:37:12 +01:00
Mats
6db7755633
Fix commandblocks
2016-03-05 20:36:06 +01:00
Myles
653c3d3984
Merge pull request #131 from StamBoom/patch
...
Fix book formatting and invalid book tag at empty book
2016-03-05 19:18:39 +00:00
fillefilip8
457d7e4777
Fixed some maven warnings.
2016-03-05 14:37:01 +01:00
Mats
b3dc465498
Remove debug message
2016-03-05 11:35:32 +01:00
Mats
c56109a64c
Fix book formatting and invalid book tag at empty book
2016-03-05 11:30:17 +01:00
Myles
d5e720fe09
Merge pull request #130 from HugoDaBosss/patch-8
...
Fix spawners showing the correct mob
2016-03-05 00:28:24 +00:00
HugoDaBosss
a42526bb88
Small formatting
2016-03-05 01:24:15 +01:00
HugoDaBosss
bd5f44b477
Fixed spawners showing the correct mob
2016-03-05 01:21:37 +01:00
Myles
d5d8881677
Add debug to show metadata ID on error
2016-03-04 23:30:37 +00:00
Myles
ac2178a247
Add debug mode so we can analyse packets
2016-03-04 23:10:07 +00:00
Myles
24fa8aec35
Removed channel closed exception
2016-03-04 23:07:22 +00:00
HugoDaBosss
ace178834e
Removed Herobrine.
2016-03-05 00:00:50 +01:00
HugoDaBosss
c071c895e7
Fixed double flint and steel sound and added support to ignore sounds in
...
1.9
2016-03-04 22:58:40 +01:00
Myles
6fe3c15f7d
Remove 1.9 chunk unloading, should fix #38
2016-03-04 21:16:12 +00:00
Myles
fb5dace6a6
Add armour, based on HugoDaBoss code but modified to work correctly with shift click. Also fix small issue from last commit.
2016-03-04 20:03:46 +00:00
Myles
f71e51c85e
Add packet sending to API
2016-03-04 19:24:44 +00:00
Myles
12df86a142
As per wiki.vg only unload if bitmask = 0 and full chunk (not sure if this fixes chunk issue)
2016-03-04 10:09:06 +00:00
Myles
963f021226
Fix books, also makes ItemSlotRewriter.ItemStack fields public
2016-03-04 10:04:50 +00:00
Myles
0aa190353e
Add potions, including splash.
2016-03-04 01:01:04 +00:00
Myles
a42b113618
Use new JSONParsers or they all implode.
2016-03-03 23:40:09 +00:00
Myles
2704611977
Cancel sounds properly, fixes block placing issue on bungee. Updated version to 0.4.8
2016-03-03 22:48:17 +00:00
Myles
d7b7c4916a
Read any remaining bytes, not sure if this fixes any errors but we ideally should to prevent issues.
2016-03-03 22:01:49 +00:00
gigosaurus
ee58fbedbe
Fix some MalformedJsonExceptions
...
This should fix the last possible cause of issue #70
2016-03-03 21:28:40 +00:00
Myles
c2edf45846
Change package for slot rewriter.
2016-03-03 21:06:36 +00:00
Paulomart
fd704f6a29
Merge remote-tracking branch 'origin/spawnegg-and-potions'
...
Conflicts:
src/main/java/us/myles/ViaVersion/transformers/OutgoingTransformer.java
src/main/java/us/myles/ViaVersion/util/PacketUtil.java
2016-03-03 21:38:16 +01:00
Paulomart
c97b443cf2
I dont even Java.
2016-03-03 21:32:01 +01:00
Paulomart
00df80e6fd
Replace nms code with fancy library and own code.
2016-03-03 21:31:56 +01:00
Paulomart
64c2ba243f
Basic support for rewriting SpawnEggs and Potions, still needs more work
2016-03-03 21:31:50 +01:00
Myles
0ad2e6478d
Merge pull request #103 from StamBoom/master
...
Fix skin overlay
2016-03-03 19:56:55 +00:00
Myles
ab9f786999
Don't send a signed byte for digging.
2016-03-03 19:56:00 +00:00
Mats
e826b339f6
Fixed missing Player metadata
2016-03-03 20:49:29 +01:00
Mats
f06851f57a
Fix skin overlay
2016-03-03 20:37:46 +01:00
Myles
1a90f0eb28
Use new method for finding cause, might need updating with disconnect. Can't replicate disconnect spam on any version on my machine. Also move to JSON for all because older versions don't have GSON :( in main package
2016-03-03 19:24:37 +00:00
Myles
fee986d215
Make the injectors work in any 1.8 version. Now looks through fields for suitable in case of different field names also construct slot using known arguments.
2016-03-03 18:12:10 +00:00
fillefilip8
9108e78491
Added more yml info and remove author name from the message in the command.
2016-03-03 18:30:13 +01:00
Myles
1b75526892
Implement changes to entity effect
2016-03-03 18:30:00 +01:00
fillefilip8
5930a83765
Added a command and a new API function "getVersion()"
2016-03-03 18:29:59 +01:00
fillefilip8
ef118a3a64
* One JavaDoc to the api XD
...
* Added faster way to change version number.
2016-03-03 17:33:47 +01:00
fillefilip8
bb42cda4a8
.
2016-03-03 17:33:28 +01:00
fillefilip8
121bc9de6c
* Modifyed that fancy message when 1.9 clients try to enter a Minecart or a Boat :)
...
* Renamed the listener to something better.
2016-03-03 17:33:27 +01:00
fillefilip8
1e873c123c
Added that fancy message when 1.9 clients try to enter a Minecart :)
2016-03-03 17:33:27 +01:00
Myles
c704b3709a
Implement changes to entity effect
2016-03-03 15:17:31 +00:00
Myles
fd0bd53826
Bump version to 0.4.6
2016-03-03 13:07:57 +00:00
Myles
e11c8320f0
Merge pull request #83 from StamBoom/master
...
Fix unmount
2016-03-03 12:56:54 +00:00
HugoDaBosss
cc813545d8
Formatting
2016-03-03 12:22:54 +01:00
HugoDaBosss
e1ba6e07c2
Fix animals appearing as babies instead of parent
2016-03-03 12:20:19 +01:00
Mats
1bf49b1f0b
Fix unmount
2016-03-03 12:18:23 +01:00
Myles
b10aa30d9b
Change error correction to use super, should restore default functionality to errors.
2016-03-03 10:24:01 +00:00
Myles
615b9f847c
Merge pull request #77 from HugoDaBosss/patch-2
...
Don't send malformed JSON anymore, preventing kicks.
2016-03-03 10:04:54 +00:00
HugoDaBosss
854e24f8fc
More formatting
2016-03-03 10:47:22 +01:00
HugoDaBosss
ff0544f29a
Eclipse is changing my bracket markup x.x
2016-03-03 10:46:38 +01:00
HugoDaBosss
72ae12bc77
Don't send malformed JSON anymore, preventing kicks.
2016-03-03 10:44:57 +01:00
HugoDaBosss
29d2334ef0
Fixed bracket markup ;)
2016-03-03 10:09:38 +01:00
HugoDaBosss
afb96c4878
Fixed double break sound
2016-03-03 10:06:24 +01:00
HugoDaBosss
e4346611c9
Small optimization
2016-03-03 01:40:24 +01:00
Myles
86d543d700
Add new contributor, update version to 0.4.5 :)
2016-03-03 00:13:53 +00:00
gigosaurus
573dcc10b1
Fix player entity meta data
...
I'm not 100% confident that what I'm doing here is correct, but looking at http://wiki.vg/Pre-release_protocol#Spawn_Player I think I'm doing it right.
fixes #58
2016-03-03 00:06:13 +00:00
Myles
3e30d989a0
Print out stack traces instead of throwing them move.
2016-03-02 23:20:57 +00:00
gigosaurus
2e9987373d
Fix PLAY_USE_BED's old ID
2016-03-02 22:16:58 +00:00
Myles
27c2f4c076
Bump version
2016-03-02 22:01:16 +00:00
Myles
e9b61a8e91
Merge pull request #50 from Mystalion/awesome-metadata
...
Rewrite Metadata system to read the data from the bytebuf instead of
2016-03-02 20:57:33 +00:00
Paulomart
222dee6fda
Rewrite Metadata system to read the data from the bytebuf instead of
...
using the last sent packet.
2016-03-02 21:39:37 +01:00
Myles
e8cc25baad
Should fix any ClosedConnection output
2016-03-02 20:19:47 +00:00
Myles
785f0664da
Fix wither & add more debug info to missing metaindex
2016-03-02 19:42:14 +00:00
Myles
ea6c648e4f
Fix spam, update to version 0.4.3
2016-03-02 19:12:38 +00:00
Myles
4cdfd72700
Ensure no bytes are left on the bytebufs and ensure it is cancelled properly. Update Version to 0.4.2
2016-03-02 18:41:47 +00:00
Myles
ccd6987f11
Bump to 0.4.1, Fixes bungee issues :) (Some chunk stuff, me being an idiot)
2016-03-02 17:03:32 +00:00
Myles
6c96271925
Bump the version, we now support ProtocolLib (hopefully it works properly)
2016-03-02 15:26:32 +00:00
Myles
318db73f3c
This is a huge commit, adds ProtocolLib support. (To the best extent I can):
...
Channels now work as proxies for the minecraft encoder and decoder, this allows better compatibility when transforming packets.
ConnectionInfo now holds an activate state to deactivate.
Now only 2 handlers
We now use info.getChannel().pipeline().writeAndFlush to ensure we catch it ourselves.
Fix EntityMetadata from last commit so it sends empty metadata instead of cancelling whole packet.
Warn if they reload and don't reinject.
2016-03-02 15:21:07 +00:00
Paulomart
79e5555d42
Drop MetadataPacket where metadata could not be rewritten
2016-03-02 13:31:15 +01:00
Myles
114a7b6bd6
Format some lines properly
2016-03-02 10:19:36 +00:00
Myles
153a68bf06
Credits to @SanderGielisse, change how netty information is stored so it's not constant and is now attached to ConnectionInfo
2016-03-02 10:12:43 +00:00
Myles
6199e1d8ce
Correct last commit to make it work.
2016-03-02 10:09:04 +00:00
Myles
0db43e612e
Merge pull request #25 from HugoDaBosss/master
...
Fix USE_ITEM using correct item. Fix SPAWN_OBJECT velocity.
2016-03-02 10:07:09 +00:00
Mats
dac9bd58e5
Fix TabList header/footer gives (By non-json Strings) MalformedJsonException
2016-03-02 10:27:17 +01:00
Myles
8e0833ca6b
Fix nether & end #30 bump to 0.3.7
2016-03-02 00:23:33 +00:00
Myles
88086e00d0
Bump to 0.3.6
2016-03-02 00:09:12 +00:00
Myles
9368347b56
Fix chat which is not got proper JSON
2016-03-01 23:35:16 +00:00
Myles
6828425d72
Update version to 0.3.5
2016-03-01 23:16:49 +00:00
Myles
f9da275358
Fix lightning, track entities sent to the client and use them for mapping MetaIndex instead of previous method. (Allows custom entities and client side packets properly. Echo Pet works!!! + fixes some latency with methods)
2016-03-01 23:16:10 +00:00
Myles
1445bd37c3
Remove unused method from MetaIndex
2016-03-01 23:15:08 +00:00
Myles
2de176e55c
Fixed guardian info.
2016-03-01 23:09:55 +00:00
Myles
b785fe0515
Add EntityUtil & move utils to util package.
2016-03-01 23:09:29 +00:00
Myles
984176d53b
Merge pull request #27 from Mystalion/api
...
Reflector Main Class and add API framework.
2016-03-01 21:43:44 +00:00
Paulomart
bd46c3f5a0
Reflector Main Class and add API framework.
2016-03-01 22:28:18 +01:00
Paulomart
3425ed94e0
Fix support for paintings, also add a read and write position method.
2016-03-01 21:38:35 +01:00
Myles
8ceee31299
Fix JSON for title packet, #24 . Also implement method for generic JSON fixing woo!
2016-03-01 19:20:54 +00:00
HugoDaBosss
db9cd296ee
Fix USE_ITEM using correct item. Fix SPAWN_OBJECT velocity.
2016-03-01 19:56:48 +01:00
Myles
6b3fb6424c
Update version to 0.3.4, as it should fix JSON data bug.
2016-03-01 18:06:39 +00:00
Myles
5c0ba593da
Bump version to 0.3.3
2016-03-01 16:58:56 +01:00
Mats
1f51cf8416
Fix MalformedJsonException on opening renamed containers
2016-03-01 16:51:13 +01:00
Myles
2a67301642
Bump version to 0.3.3
2016-03-01 14:40:53 +00:00
Myles
46ec24a686
Merge pull request #17 from StamBoom/master
...
Fixed riding on entities. (To some extent)
2016-03-01 14:35:59 +00:00
Mats
6f25090c01
Fixed riding on entities.
2016-03-01 15:28:17 +01:00
Myles
dd36686f1c
Merge pull request #14 from HugoDaBosss/master
...
Fixed: ItemFrame crash, remaining missing sounds and Horse Metadata
2016-03-01 14:24:51 +00:00
HugoDaBosss
43aaa728b5
Fix Horse Metadata Error
2016-03-01 15:09:21 +01:00
HugoDaBosss
45dfe7261b
Added remaining missing sounds
2016-03-01 14:48:00 +01:00
Mats
7831dc0082
Fix MalformedJsonException on Kick / Disconnect
2016-03-01 14:25:26 +01:00
HugoDaBosss
ba4e6e5d2f
Fixed ItemFrame crash
2016-03-01 14:24:58 +01:00
Myles
68bfaf6d23
Tiny bit of bracket reformatting just for format consistency
2016-03-01 11:00:06 +00:00
Myles
954dfb74e5
Refactor sounds into its own package, update README and version to 0.3.2 (Now with working sounds, thanks HugoDaBosss!)
2016-03-01 10:58:39 +00:00
Myles
f95e7f98b7
Merge pull request #9 from HugoDaBosss/master
...
Added support for named sound effect packet.
2016-03-01 10:54:25 +00:00
Myles
aabd79e6c7
Force entity meta data remapper to check all non living entity metadata first. (Fixes ArmorStands)
2016-03-01 10:50:21 +00:00
HugoDaBosss
db7daaa6ca
Update OutgoingTransformer.java
2016-03-01 11:48:52 +01:00
HugoDaBosss
b66ea090c2
Added support for named sound effect packet.
2016-03-01 11:43:34 +01:00
Myles
ad3317f8d8
Update version number
2016-02-29 22:51:46 +00:00
Myles
3b480a61bd
Correct boots so they display correctly
2016-02-29 22:48:29 +00:00
Myles
c0296f04a1
Allow sharing of protocol packet handler and be more verbose to do with metaindex data
2016-02-29 22:43:53 +00:00
Myles
6f605e8d6c
Fix signs correcting any json issues.
2016-02-29 21:27:17 +00:00
Myles
e885a1cec2
Update version to 0.3, also fix issue with teams haha
2016-02-29 20:35:50 +00:00
Mats
5738a992e5
Fix map crash
2016-02-29 21:26:02 +01:00
Myles
122a7e05f6
Fix signs also bump version to 0.2
2016-02-29 19:40:07 +00:00
Mats
e6a9cc4776
Fix move packets
2016-02-29 19:56:09 +01:00
Myles
c641f02d7e
Implement remaining packets, comment out debug info.
2016-02-29 18:49:31 +00:00
Myles
bf11edfaa9
Add sending of hand item back :)
2016-02-29 18:00:56 +00:00
Myles
3cc6bf4c51
Remove NMS, now uses reflection. (whew)
2016-02-29 17:35:55 +00:00
Myles
156f42318c
We don't need gson here.
2016-02-29 13:49:38 +00:00
Myles
1a1ffe4265
Code Cleanup, remove some of the output debug (Packet debug is still there)
2016-02-29 13:26:06 +00:00
Myles
59b270beda
Prevent use of 2nd arm slot, items will get thrown on the ground when used.
2016-02-29 13:15:38 +00:00
Myles
135942c033
Warn users that it doesn't work with late-bind (possibly allow it in future), also stop bytebuf input mem leak.
2016-02-29 12:49:14 +00:00
Myles
0930420844
Oops :)
2016-02-28 23:23:27 +00:00
Myles
16e546803c
Remove TODO, format README
2016-02-28 23:18:33 +00:00
Myles
67b31c5060
Initial Commit, need to upload license. You may not claim credit for anything given here if used. All rights reversed excluding extracts from MCProtocolLib.
2016-02-28 22:44:33 +00:00