These are chat archives for MylesIsCool/ViaVersion

10th
Jun 2016
lenis0012
@lenis0012
Jun 10 2016 01:03
#433 sounds weird
isn;t metadata entry 5 in 1.9 a value that was just rewritten to 6
?
Mats
@Matsv
Jun 10 2016 06:46
@lenis0012 nope, the exception only throws on the 1.8 rewrite, there is no metadata 5 for Player in 1.8
But that shouldn't crash/kick the player though
lenis0012
@lenis0012
Jun 10 2016 12:46
my bad
its on the 1.8 rewrite?
Mats
@Matsv
Jun 10 2016 12:46
Yeah 1.8 to 1.9
Faizaan
@SirFaizdat
Jun 10 2016 19:13
:O it's Friday
lenis0012
@lenis0012
Jun 10 2016 21:15
Did you guys know minecraft has a built in function for getting an entity by id?
and its much faster than using a loop
theres a field called "IntHashMap<Entity> entitiesById" in World
ridalarry
@ridalarry
Jun 10 2016 21:20
I am having lag spikes on my server I dont know if its caused by ViaVersion there is nothing in console, but it could be, so I am wondering is there a way to track it? like enable debug until lag spike occur then disable it and post the debug?
lenis0012
@lenis0012
Jun 10 2016 21:20
i dont think so
ViaVersion does things on packet level, so its not trackable
but it also doesn't have an impact on the main thread
you can try to run a timings to see if one of the listeners causes an issue
bug major lag spikes is not a known issue with ViaVersion
ridalarry
@ridalarry
Jun 10 2016 21:22
oh
lenis0012
@lenis0012
Jun 10 2016 21:22
Maybe we can register a custom timings handler at some point
also what are the recommended config options if im using it in 1.9.4
like what options should I disable and what should I enable
lenis0012
@lenis0012
Jun 10 2016 21:25
default should work
but i haven't really touched ViaVersion since 1.9 release tho
Maybe @Matsv has a better idea
ridalarry
@ridalarry
Jun 10 2016 21:26
also does via debug able to track if the bug is caused by another plugin?
if yes this is what i got when tps dropped from 19 to 17
lenis0012
@lenis0012
Jun 10 2016 21:30
thats a lot of team packets
you're probably using a scoreboard plugin
which isn't a problem
tbh i dont think your lag is caused by via
ridalarry
@ridalarry
Jun 10 2016 21:43
im using a scoreboard plugin and a plugin for auto team to prevent collision
which one could be the one causing the lag?