These are chat archives for MylesIsCool/ViaVersion

28th
Jun 2016
You're alright with me adding your plugin to my auto config generator, right? @MylesIsCool
umm what happened to tracking-interval in the config? it's mentioned, but doesn't exist
Faizaan
@faizaand
Jun 28 2016 08:29 UTC
I gource everything xD
Myles
@MylesIsCool
Jun 28 2016 08:35 UTC
@Yive should be near the top and that's fine :)
Faizaan
@faizaand
Jun 28 2016 08:53 UTC
Was supposed to be code grinding but now I'm just reading Steve Jobs quotes
And now I'm here
@MylesIsCool it's nowhere, even with ctrl+f
Myles
@MylesIsCool
Jun 28 2016 10:16 UTC
@Yive ohhh I renamed it to tracking period as it sounded better and forgot that oops
fair enough
MrPowerGamerBR
@MrPowerGamerBR
Jun 28 2016 18:24 UTC
@MylesIsCool thanks for not deleting the 0.6.7 branch from GitHub
Mats
@Matsv
Jun 28 2016 18:25 UTC
@MrPowerGamerBR They are all tagged now ;) https://github.com/MylesIsCool/ViaVersion/releases
MrPowerGamerBR
@MrPowerGamerBR
Jun 28 2016 18:25 UTC
I was trying to replace blocks in the Map Chunk/Map Bulk packets, however PacketWrapper wasn't helping due to the changes in the 1.8 protocol (for 1.7 it was working, but for 1.8 it wasn't working)
I couldn't get anything to work, I tried reading the wiki.vg SMP protocol, but I got nothing working...
So I decided to see how ViaVersion transformed the 1.8 -> 1.9 map chunk (in this case, I wanted to get all blocks in the chunk to replace with another)
After a lot of trial and error... I got it working
(Well, almost, Map Bulk Chunk isn't replacing the blocks)
@Matsv cool! (However... isn't the releases are in reverse order?)
Well, not in reverse
Mats
@Matsv
Jun 28 2016 18:28 UTC
It's a random mess but hey :P
MrPowerGamerBR
@MrPowerGamerBR
Jun 28 2016 18:29 UTC
@Matsv it is better than nothing ;)
"almost" working
Mats
@Matsv
Jun 28 2016 18:30 UTC
What are you trying to do?
From 1.8 to 1.7?
Or on a 1.7 server
MrPowerGamerBR
@MrPowerGamerBR
Jun 28 2016 18:30 UTC
I'm trying to replace leaves and logs to another blocks (for testing)
Mats
@Matsv
Jun 28 2016 18:30 UTC
Ah
MrPowerGamerBR
@MrPowerGamerBR
Jun 28 2016 18:30 UTC
The 1.7 replace blocks in chunk packet I stole borrowed from Carbon
Now I just need to fix the code for 1.8
If it wasn't for the ViaVersion old code, I probably wouldn't got anything working
Mats
@Matsv
Jun 28 2016 18:33 UTC
@MrPowerGamerBR This library has a lot of info about Protocol and how to read/write stuff :) https://github.com/Steveice10/MCProtocolLib
MrPowerGamerBR
@MrPowerGamerBR
Jun 28 2016 18:33 UTC
@Matsv yeah, the first thing I done was reading how MCProtocolLib done
I even used MCProtocolLib to create a MCPE -> PC server proxy (never finished it tho)
The problem was converting the byte[] field from the Chunk packet to something that I could manipulate
ViaVersion does something like this to read the values
I'm 99% sure there is skylight data, biome data, whatever data before that, but it works(tm)
(If you are curious on why I'm trying to replace blocks on the packet instead of just changing the block in the world, it is because (just for fun and learning a bit more about reflection and NMS) I'm trying to inject 1.8 blocks into 1.7.10)