These are chat archives for MylesIsCool/ViaVersion

24th
May 2016
Mats
@Matsv
May 24 2016 09:17
Github is offline again? :(
Faizaan
@faizaand
May 24 2016 11:08
It appears to be back
Faizaan
@faizaand
May 24 2016 19:08
I feel like airplanes are designed with only one consideration in mind, fitting more butts in the cabin without causing them to die
With total disregard for comfort
Mats
@Matsv
May 24 2016 19:10
Haha, depending on your flight company yes :)
Florian
@sinnlosername
May 24 2016 20:51
Viaversion is about protocol, so anyone can help me with reading raw packet bytebufs?
Mats
@Matsv
May 24 2016 20:52
Checkout ViaVersion 'Type' class, there are many types with things you can read the bytebuf with :)
Myles
@MylesIsCool
May 24 2016 20:52
You can check out the irc channel #mcdevs on freenode if you need help, they are able to aid you with that sort of thing as well
Florian
@sinnlosername
May 24 2016 20:54
Ik how to read bytebufs but it wont read the packet id correctly :c
ServerPing gave me 2 packets both with id 0x00 but one of them should be 0x01 (ping request)
Mats
@Matsv
May 24 2016 20:56
Oh are you reading a VAR_INT, not an int?
Myles
@MylesIsCool
May 24 2016 20:56
Are you making a ping server sinnlosername?
Florian
@sinnlosername
May 24 2016 20:57
I fix a forked load balancer ^^
Myles
@MylesIsCool
May 24 2016 20:57
Take a look at
It's a bit meh on the comment side but you should be able to understand
and idk what I did with the brackets
rolls eyes
Florian
@sinnlosername
May 24 2016 20:59
Could you send me packetutil link? Im on phone lel
It's taken from the google protobuf library if I recall
Florian
@sinnlosername
May 24 2016 21:00
So I can copy the class? xD
I think something with reading packetid doesnt work
Myles
@MylesIsCool
May 24 2016 21:01
you can do whatever, it has no sentimental value
Florian
@sinnlosername
May 24 2016 21:01
Id is 0 everytime
Myles
@MylesIsCool
May 24 2016 21:02
you'll find similar code in Bungee, spigot, anything really
Florian
@sinnlosername
May 24 2016 21:03
Ok ty
c: