These are chat archives for MylesIsCool/ViaVersion

19th
Jun 2016
Faizaan
@SirFaizdat
Jun 19 2016 03:15
Is Myles still cool in the summer!
*?
Because if it gets any hotter my phone will show "MylesIsWarm" instead of "MylesIsCool"
Myles
@MylesIsCool
Jun 19 2016 10:22
stab stab stab
Yive
@Yive
Jun 19 2016 11:31
ViaVersion works on Lilypad right?
Mats
@Matsv
Jun 19 2016 11:32
Correct
Yive
@Yive
Jun 19 2016 11:32
sweet
Yive
@Yive
Jun 19 2016 17:11
hold on a second, myles did your tweet just confirm backwards compatibility of a 1.8.8 server & a 1.7.10 client? O.o
Myles
@MylesIsCool
Jun 19 2016 17:12
you can use latest dev
with protocol support
Yive
@Yive
Jun 19 2016 17:12
neat
Myles
@MylesIsCool
Jun 19 2016 17:12
took ages to work out though :'(
Yive
@Yive
Jun 19 2016 17:12
how far back did you make it work? xD
Myles
@MylesIsCool
Jun 19 2016 17:13
I need to modify more stuff to allow less than 1.7
as the netcode changed in 1.7
Yive
@Yive
Jun 19 2016 17:13
don't think you should imo since iirc, below 1.7 is 100% dead
Myles
@MylesIsCool
Jun 19 2016 17:13
but it means you can now use a 1.9 server and 1.8 server with 1.10, 1.9, 1.8, 1.7
Yive
@Yive
Jun 19 2016 17:14
so what'd happen if say a 1.8 client joins a 1.9 server & the client sees a 1.9 block?
Myles
@MylesIsCool
Jun 19 2016 17:14
does what protocolsupport does
Yive
@Yive
Jun 19 2016 17:15
what's that plugin do?
Myles
@MylesIsCool
Jun 19 2016 17:15
It's all hard coded iirc
they do have an api to change things though
Yive
@Yive
Jun 19 2016 17:15
I mean like what does that plugin really do xD never used it
sinnlosername @sinnlosername get rekt by ProtocolLib :( #HateIt
Mats
@Matsv
Jun 19 2016 19:23
Rip
Florian
@sinnlosername
Jun 19 2016 19:23
yep
1.9 ProtocolLib doesn't find datawatchers in packets. <3
But only in some packets. RIP
Mats
@Matsv
Jun 19 2016 19:30
Report it to the ProtocolLib developer? ;)
Florian
@sinnlosername
Jun 19 2016 19:31
Already. ^^
Florian
@sinnlosername
Jun 19 2016 19:57
I don't understand why protocollib find it in NamedEntitySpawn, but not in EntityMetadata. ._.
Myles
@MylesIsCool
Jun 19 2016 19:57
Show me the code that does not work?
Florian
@sinnlosername
Jun 19 2016 19:58
Doesnt work:
    private void sendMetaUpdate() throws InvocationTargetException {
        if (!spawned) return;
        PacketContainer update = new PacketContainer(PacketType.Play.Server.ENTITY_METADATA);
        update.getIntegers().write(0, entityId);
        if (!is19())
            update.getWatchableCollectionModifier().write(0, dataWatcher.getWatchableObjects());
        else
            update.getDataWatcherModifier().write(0, dataWatcher);

        NPCLib.getProtocolManager().sendServerPacket(player, update);
    }
fail
Myles
@MylesIsCool
Jun 19 2016 20:00
did it change between 1.8 and 1.9?
Florian
@sinnlosername
Jun 19 2016 20:00
?
Did what change?
Myles
@MylesIsCool
Jun 19 2016 20:00
the packet
Florian
@sinnlosername
Jun 19 2016 20:01
a little bit
Myles
@MylesIsCool
Jun 19 2016 20:01
have you tried just using same method?
Florian
@sinnlosername
Jun 19 2016 20:02
nop. But in another packet it work ._.
Myles
@MylesIsCool
Jun 19 2016 20:03
Maybe you could system out all the contents?
Florian
@sinnlosername
Jun 19 2016 20:05
idk how
packetcontainer has many methods but nothing to get all. ._.
Wait I test it with the old method
Myles
@MylesIsCool
Jun 19 2016 20:07
I'll take a quick look
You should be able to just System.out.println(update);
Florian
@sinnlosername
Jun 19 2016 20:13
dam
Myles
@MylesIsCool
Jun 19 2016 20:13
what does it print?
Florian
@sinnlosername
Jun 19 2016 20:13
You're a wizard
useing same as 1.8, it works.
ty