These are chat archives for MylesIsCool/ViaVersion

20th
May 2016
ridalarry
@ridalarry
May 20 2016 14:58
does viaversion fix the potions for the servers or no?
I have custom enchants plugin which add a speed effect to the players
and I think its broken for 1.9 players
Mats
@Matsv
May 20 2016 14:59
Ah, possibly. Due the changes in 1.9 we had to translate the potion id's to the new one
ridalarry
@ridalarry
May 20 2016 15:00
is there a way to patch it?
Mats
@Matsv
May 20 2016 15:00
At the moment I'd say no, could you maybe send me the command where you spawn the potion with?
ridalarry
@ridalarry
May 20 2016 15:01
its custom enchantment
Mats
@Matsv
May 20 2016 15:01
Oh
ridalarry
@ridalarry
May 20 2016 15:01
the plugin name is called EnchantsPlus
its premium
Mats
@Matsv
May 20 2016 15:02
Not on bukkit.org
:P
ridalarry
@ridalarry
May 20 2016 15:02
but I think it could be working like the free version plugins
Mats
@Matsv
May 20 2016 15:02
Could you also get it working with the /give command? ;)
ridalarry
@ridalarry
May 20 2016 15:02
i think a plugin named customenchantments
Mats
@Matsv
May 20 2016 15:02
From Minecraft
ridalarry
@ridalarry
May 20 2016 15:02
no
the potions are with /effect
ridalarry
@ridalarry
May 20 2016 15:02
or u mean the custom enchanted item
Mats
@Matsv
May 20 2016 15:03
Hm? So that potion gives the enchant effect?
Or does it add potion effects
ridalarry
@ridalarry
May 20 2016 15:03
if you wear an armor named AutoSpeed
it will give you speed potion effect
Mats
@Matsv
May 20 2016 15:04
Oh hm
And that doesn't work anymore?
ridalarry
@ridalarry
May 20 2016 15:04
it works
but the anti hacks keep kicking the players off
the 1.9 players only
even tho the plugin is compitable with it
im using aac and enchantsplus
Mats
@Matsv
May 20 2016 15:05
Hm because they walk too fast?
ridalarry
@ridalarry
May 20 2016 15:05
ya
Mats
@Matsv
May 20 2016 15:06
And they get the potion effect SPEED
Or are they getting some setSpeed
from the api?
ridalarry
@ridalarry
May 20 2016 15:06
potion effect speed
Mats
@Matsv
May 20 2016 15:06
Hm
Could you use the latest version and post the debug output of when someone gets it and get kicked?
latest version from viaversion
./viaversion debug
ridalarry
@ridalarry
May 20 2016 15:07
ok I will do it
Mats
@Matsv
May 20 2016 15:07
Thanks :)
ridalarry
@ridalarry
May 20 2016 15:07
no need for debug in the server.properties?
Mats
@Matsv
May 20 2016 15:07
No using /viaversion debug
That'll give packet output
ridalarry
@ridalarry
May 20 2016 15:08
one min i will need to switch a none opped alt xD
do u need it unti the player gets kicked?
Mats
@Matsv
May 20 2016 15:11
Nah
ridalarry
@ridalarry
May 20 2016 15:11
ok
Mats
@Matsv
May 20 2016 15:11
Just want to know what the plugin gives to the player
ridalarry
@ridalarry
May 20 2016 15:11
as I wasnt getting kicked xD
im not sure if paste bin will allow me to post this long
ya it didnt allow me
Mats
@Matsv
May 20 2016 15:16
Hm
ridalarry
@ridalarry
May 20 2016 15:16
does hastebin has a limit?
Mats
@Matsv
May 20 2016 15:17
Do you know when the effect got applied?
And only specify that part
ridalarry
@ridalarry
May 20 2016 15:17
I will try to lower it if hastebin also refused
Mats
@Matsv
May 20 2016 15:17
or are there multiple users on your server atm? ;p
ridalarry
@ridalarry
May 20 2016 15:18
no only me
ok I will redo it again
how long do i need it to be on to know the packet is sent
nvm there is 1 staff too
Mats
@Matsv
May 20 2016 15:18
10 before 10 after if you can :)
ridalarry
@ridalarry
May 20 2016 15:19
10 before using the armor and 10 after?
Mats
@Matsv
May 20 2016 15:20
Hm well, do it about 3 seconds before and 3 seconds after all those packets
2 seconds is also ok
i made it for 10 before and after
Mats
@Matsv
May 20 2016 15:23
So PLAY_ENTITY_EFFECT
ridalarry
@ridalarry
May 20 2016 15:23
the enchants can be applied to tools and armor
Mats
@Matsv
May 20 2016 15:23
And PLAY_ENTITY_PROPERTIES
ridalarry
@ridalarry
May 20 2016 15:23
I hope its fixable
plz say it is xD
Mats
@Matsv
May 20 2016 15:24
It's giving speed 70? :open_mouth:
ridalarry
@ridalarry
May 20 2016 15:24
speed 2 i think
not 70
Mats
@Matsv
May 20 2016 15:24
Pair{Type|VarInt, 70},
ridalarry
@ridalarry
May 20 2016 15:25
idk in coding sorry
Mats
@Matsv
May 20 2016 15:25
Hm let me check what that amplifier thing is
maybe its the particles
because the potion duration is 3 seconds and the speed potion id is 1
Mats
@Matsv
May 20 2016 15:29
Oh there are 106 ENTITY_EFFECT inside the pastebin
which one is it? :P
ridalarry
@ridalarry
May 20 2016 15:30
should i use it for less time?
the debug
Mats
@Matsv
May 20 2016 15:30
Hm, do you get the effect on 1.9 the same as 1.8?
ridalarry
@ridalarry
May 20 2016 15:30
not sure
do u want me to test it?
Mats
@Matsv
May 20 2016 15:31
If you want
ridalarry
@ridalarry
May 20 2016 15:31
sure
this is with 1.8
Mats
@Matsv
May 20 2016 15:35
Yeah we can't see the 1.8 debug, I meant more like do you get the effect on both 1.8 and 1.9
The speed effect
ridalarry
@ridalarry
May 20 2016 15:36
wierd
ya
on both versions I get speed 2
Mats
@Matsv
May 20 2016 15:36
Hm strange, I got to go now sorry
ridalarry
@ridalarry
May 20 2016 15:37
its fine
thanks for helping
Mats
@Matsv
May 20 2016 15:37
will take a better look at it this evening
ridalarry
@ridalarry
May 20 2016 15:37
thank you
Mats
@Matsv
May 20 2016 15:38
But I can't promise that we can solve it since both that one plugin and AAC are closed source and premium
ridalarry
@ridalarry
May 20 2016 15:38
ya true
but
Im not saying its the right thing to do but, I think you may find a leaked version
Mats
@Matsv
May 20 2016 15:41
The problem with that is, it's most of the time still obfuscated so it'll take us too long to find out what's it's doing, and it's against the spigotmc rules and could get you end up banned
ridalarry
@ridalarry
May 20 2016 15:42
oh
for me I do try to get a leaked version of the plugin on a test server of mine if it doesnt have a test server
just to test it
if it seems good I buy it
otherwise I remove it
I got an idea for a better debug I will use all the needed plugins only on a pc hosted server with debug on
fillefilip8
@fillefilip8
May 20 2016 18:02
.
Mats
@Matsv
May 20 2016 18:03
,
Florian
@sinnlosername
May 20 2016 20:27
Anyone here? :p
Mats
@Matsv
May 20 2016 20:28
Hello
Faizaan
@SirFaizdat
May 20 2016 20:37
I'm looking for any excuse at all not to go through my to-do list today:
  • [ ] Refactoring my own code
Myles
@MylesIsCool
May 20 2016 20:37
learn spring ;D
Faizaan
@SirFaizdat
May 20 2016 20:37
Ooooh I've been meaning to do that, thanks :)
Myles
@MylesIsCool
May 20 2016 20:38
currently watching this talk
it's really good imo
Faizaan
@SirFaizdat
May 20 2016 20:39
That looks good, I'll watch it after I watch State of Sponge X :)
Mats
@Matsv
May 20 2016 20:40
Sorry @ridalarry, will not be home until tomorrow, I'll take a look at it tomorrow if someone else didn't do it yet
Faizaan
@SirFaizdat
May 20 2016 20:50
What makes the project I'm attempting to refactor hard to refactor is its layout, since it supports multiple platforms, both current implementations must be changed too
ridalarry
@ridalarry
May 20 2016 22:09
ok no problem