These are chat archives for MylesIsCool/ViaVersion

25th
Jun 2016
Faizaan
@SirFaizdat
Jun 25 2016 19:00
LWJGL is simply a wrapper that connects to native code, it's a tiny extra layer
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 19:47
I think I already said this before, but ViaVersion's source code is clean and awesome (compared to ProtocolSupport's source code)
Mats
@Matsv
Jun 25 2016 19:48
:)
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 19:51
At least ViaVersion "works" (the String Metadata remapper doesn't work :( ) in 1.7.10 without too much code editing (as long you know how to edit code (duh), know a bit of NMS and knows how to create a custom PaperSpigot fork with the newer Guava included in 1.8)... I tried porting ProtocolSupport before but the code is TOO DAMN confusing.
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 19:57
And, of course, I will continue to donate to ViaVersion (even if I don't use the official version) when newer versions are released :) (Yeah, 5$ is a bit small, sadly the Real -> Dollar price is too high)
troyfrew
@troyfrew
Jun 25 2016 20:22
@MrPowerGamerBR I patch protocolsupport 1.8, and patch paper/tacospigot with the latest official viaversion to have 1.7-latest support on my 1.8 servers
forking viaversion is what I like avoiding
Myles
@MylesIsCool
Jun 25 2016 20:23
Making patches is the proper way to fork & maintain things really :P
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:26
@troyfrew but your server is 1.8.8, right? Mine is running 1.7.10, that's why I forked ViaVersion
troyfrew
@troyfrew
Jun 25 2016 21:27
yes, I upgraded to 1.8.8 on everything
however i have one server that is currently stuck on 1.7-1.8 until i can get time to update a custom plugin (that i need to decompile)
if you would happen to want to share your fork :3
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:28
My fork it is private because it is hacky as fuck and it is buggy
troyfrew
@troyfrew
Jun 25 2016 21:28
that's fine with me, my 1.8 server and protocolsupport are hacky as fuck and buggy too
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:28
And it is still on 0.9.2, I tried to update it to 0.9.5 but I broke the player spawning
troyfrew
@troyfrew
Jun 25 2016 21:28
ah
ok
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:28
And a lot of problems due injecting new blocks:
troyfrew
@troyfrew
Jun 25 2016 21:28
yeah thats why i'd rather "just work" with the public viaversion
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:28
(Kids: Don't try to inject newer blocks on older clients, it won't work... at all)
Mats
@Matsv
Jun 25 2016 21:29
Be aware that a few blocks will not render probably since you don't have the latest versions
blocks like chests, end portals etc will be invisible
on 1.10.1/2
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:30
Yeah, I already experienced that
Mats
@Matsv
Jun 25 2016 21:30
well 1 just crashes you
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:30
1.10.1 crashes
1.10.2 chests are shown until you teleport to somewhere else
troyfrew
@troyfrew
Jun 25 2016 21:31
oh i was wondering why some people where complaining about "phantom chests"
i'll update to the latest build
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:31
Yeah, updating the fork should be easy... but I didn't clone the repo with git, so...
Mats
@Matsv
Jun 25 2016 21:32
You can pull your commits from another branch? ;)
troyfrew
@troyfrew
Jun 25 2016 21:32
copy a fresh version of the commit you made
diff the two
apply the diff on the git version
then pull head and fix errors
meant to say, git clone the repo, checkout the commit you based off of
then diff from your version to that and then you have it git'ized
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:33
Yeah, but I decided to fork the current version and make it work in 1.7.10...
It works... but I don't know what I changed that causes the player to not show
And that's why you shouldn't inject newer blocks into older versions: https://a.pomf.cat/juizsu.png
troyfrew
@troyfrew
Jun 25 2016 21:34
why don't you move to 1.8 server and protocolsupport
Mats
@Matsv
Jun 25 2016 21:34
Lol that looks fun
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:34
@troyfrew I already updated to 1.8 before, my server became laggy as fuck
Then, after 1.9 was released, I decided to update to 1.9
Again, too much lag
troyfrew
@troyfrew
Jun 25 2016 21:35
what exactly was lagging
what kind of server is it
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:35
If I knew why it was lagging
Survival
troyfrew
@troyfrew
Jun 25 2016 21:35
how many players
how many ghz is the cpu
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:36
atm it has 82 players, 4.00GHz, 8GBs (5GBs allocated)
Myles
@MylesIsCool
Jun 25 2016 21:36
wow powergamer raking in the $$
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:37
@MylesIsCool not really, if I was raking in $$ I would donate more than 5$ :P
troyfrew
@troyfrew
Jun 25 2016 21:37
assume this is off topic, powergamer if you want to skype or pm me. it shouldn't lag with that hardware, its a server or plugin code issue on 1.8
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:38
Well, I wouldn't update to 1.8.8 now... so... yeah
Myles
@MylesIsCool
Jun 25 2016 21:38
$5 is still a lot more than a lot of people @MrPowerGamerBR so it's appreciated dw <3
paypal eats so many fees though it's insane
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:38
IIRC I couldn't find any issues with timings
troyfrew
@troyfrew
Jun 25 2016 21:39
Myles what is your actual paypal and currency
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:39
So I was like "well, let's downgrade to 1.7.10, maybe the TPS issue will go away"
troyfrew
@troyfrew
Jun 25 2016 21:39
it doesn't have fees if sent friends and family
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:39
It fixed the issue
Mats
@Matsv
Jun 25 2016 21:40
There are so many exploits found in 1.7 though
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:41
@Matsv but muh high TPS compared to 1.8
troyfrew
@troyfrew
Jun 25 2016 21:41
muh 20 tps on 1.8.8 with 50 players and 10,000 entities
i've offered to investigate your issue for you if you want. its server or plugin related
Myles
@MylesIsCool
Jun 25 2016 21:42
£
I use dollars because it's easy
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:42
@troyfrew the issue is updating the server... again
Myles
@MylesIsCool
Jun 25 2016 21:42
But donating button causes fees aha
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:42
It's not easy updating 115 plugins
troyfrew
@troyfrew
Jun 25 2016 21:42
what is your paypal address
Mats
@Matsv
Jun 25 2016 21:43
115 plugins?
well yeah I guess that kind of explains some lag
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:43
(and I was dumb and I compiled 90% of my plugins using the old getOnlinePlayers() array method)
@Matsv well, number of plugins != amount of lag
Mats
@Matsv
Jun 25 2016 21:43
True
Myles
@MylesIsCool
Jun 25 2016 21:43
paypal[@]myles.us
Mats
@Matsv
Jun 25 2016 21:43
but many public plugins are most of the time not optimized
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:43
And it has a lot of plugins because I always make every function separately
Myles
@MylesIsCool
Jun 25 2016 21:43
in brackets cause idk if bots are that clever
cause I regret putting certain emails on the internet
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:44
Example, I made a plugin with a command called /debugswitch just to enable netty debugging
because editing the server.properties and restarting the server takes too much time
Myles
@MylesIsCool
Jun 25 2016 21:44
what is netty debugging o.o
is that just minecraft debug?
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:44
@MylesIsCool yeah, MC debug
Because "DecoderException" doesn't help me to find issues
So enabling debug mode shows the entire stacktrace
Myles
@MylesIsCool
Jun 25 2016 21:45
i just leave debug=true in server.props on lots
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:45
Yeah, I would keep debug=true
If the console didn't flood with "ClosedChannelException"
troyfrew
@troyfrew
Jun 25 2016 21:45
@MylesIsCool you have a "donation"
that's half my servers donations for june
Myles
@MylesIsCool
Jun 25 2016 21:46
HOLY
:|
that's actually the biggest donation i've ever had
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:47
If I had more time I would update my server to 1.8.8
And then I would to fix every NMS magic I done on my plugins
@troyfrew is ProtocolSupport not buggy for you?
Myles
@MylesIsCool
Jun 25 2016 21:48
@troyfrew spigot name :)? + server
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:48
Because the last time I used it was too much buggy, causing random disconnects for 1.7.X clients
Myles
@MylesIsCool
Jun 25 2016 21:50
You have to patch it tbh
there's like 3 of you with diff patches
Troy Frew
@fuzzybot
Jun 25 2016 21:50
fuzzy_bot
Myles
@MylesIsCool
Jun 25 2016 21:50
fuzzybot, MrPowerGamerBR and troyfrew :0
Troy Frew
@fuzzybot
Jun 25 2016 21:50
Protocolsupport is buggy as shit, i have a custom fork and a fork of tacospigot for the concurrency issue
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:50
I only have a ViaVersion hacky too much hacky so hacky mob names doesn't work ViaVersion fork to work on 1.7.10
Troy Frew
@fuzzybot
Jun 25 2016 21:51
The only thing i have not fixed is holograms for 1.7
If you might be able to help myles
Myles
@MylesIsCool
Jun 25 2016 21:51
i didn't realise you were fuzzybot :o
Troy Frew
@fuzzybot
Jun 25 2016 21:51
Everything else is working "great"
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:51
And I also have a too hacky hacky hacky PaperSpigot 1.7.10 fork with Paper/TacoSpigot/Spigot 1.8/1.9/1.10 fixes and performance optimizations.
Troy Frew
@fuzzybot
Jun 25 2016 21:52
Ive said it before, a public 1.7 support thing is impossible, everyone has issues and it requires a dedicated dev to handle it for those servers
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:53
It is possible to add 1.7.5/1.7.10 protocol support for ViaVersion, right? Of course, it will take a while to create the transformers... but it is possible... (Well, I think it is possible)
Myles
@MylesIsCool
Jun 25 2016 21:53
I have built it in the past
but it's licensing which stops me distributing etc
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:53
1.7.5 - 1.7.10 protocol didn't change too much compared to 1.8
Myles
@MylesIsCool
Jun 25 2016 21:53
it takes about 30-40 dedicated hours
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:53
@MylesIsCool I'm talking about supporting 1.7 support for 1.8
Myles
@MylesIsCool
Jun 25 2016 21:53
yeah that's what I am
;)
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:53
...but what licensing issues then?
Myles
@MylesIsCool
Jun 25 2016 21:54
Someone hired me to do it
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:54
Oh
Troy Frew
@fuzzybot
Jun 25 2016 21:54
im guessing a server like desteria
Myles
@MylesIsCool
Jun 25 2016 21:54
and the license we agreed on meant that
nah not desteria ;)
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:54
But what if someone sent a pull request with 1.7 support?
Myles
@MylesIsCool
Jun 25 2016 21:55
The license essentially said I couldn't make it, you can PR
I wouldn't for the fact you'd get like no credit
that's the sad part
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:55
oh
Myles
@MylesIsCool
Jun 25 2016 21:55
people accept things and don't realise how much time it takes
But some of 1.7 is insanely hard
the movement mechanics are quite different with is ground
Troy Frew
@fuzzybot
Jun 25 2016 21:55
Like holograms
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:55
Like changing the ViaVersion's plugin name to "Protocol Hack"
Myles
@MylesIsCool
Jun 25 2016 21:55
LOL
At the end of the day people always do that, it's a shame I guess
I sent you a PM on gitter btw @fuzzybot
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 21:57
Then people complain ViaVersion isn't working... because they forgot to change ViaVersion's name in the source (because of the Bukkit.getPluginManager().getPlugin("ViaVersion"))
troyfrew
@troyfrew
Jun 25 2016 21:57
didn't see a pm
i sent you a pm as well @MylesIsCool dunno if you can see it?
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 22:17
I just remembered that I will need to create a block/entity remapper if I do 1.7 support on 1.8.8 for my Server
@troyfrew do you use Spigot, PaperSpigot or TacoSpigot on your 1.8.8 server?
Yive
@Yive
Jun 25 2016 22:24
think most people use paperspigot or tacospigot, apparently tacospigot is becoming more & more used for it's 1.8.8 version still being updated
troyfrew
@troyfrew
Jun 25 2016 22:24
I use tacospigot + some of my own patches
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 22:25
oh, 1.8.8 version for TacoSpigot is on a different branch
idk why I never thought to look at the branch list
Yeah, TacoSpigot is still updated
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 22:33
2hard4me
Myles
@MylesIsCool
Jun 25 2016 22:34
evil bad packets
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 22:36
Now the fun part is trying to know what is that packet
Yive
@Yive
Jun 25 2016 23:34
myles since you deal with packets a lot, do client mods send special packets to a server?
Gabriele C.
@sgdc3
Jun 25 2016 23:36
mods yes
hacks it depends
forge sends many packets on connection
Yive
@Yive
Jun 25 2016 23:37
hmm, so technically a plugin could scan the clients login packet for a mod list & kick them if say <insert bad mod here> is installed, right?
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 23:37
@MylesIsCool before I start doing this: Is there's anyway to cancel a packet without getting a "io.netty.handler.codec.EncoderException: ViaPacketHandler must produce at least one message."?
@Yive not every mod sends a packet
Yive
@Yive
Jun 25 2016 23:37
I know
Gabriele C.
@sgdc3
Jun 25 2016 23:37
forge does
Yive
@Yive
Jun 25 2016 23:38
a certain version of WorldDownloader isn't detectable so I think it doesn't send packets
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 23:38
Macro/Keybind Mod does send packets, allowing you to disable functions of the macro in your server
I'm here, trying to think what I should do with the PacketLoginOutSetCompression
Mats
@Matsv
Jun 25 2016 23:40
@tempest worlddownloader gives you the option to disable it as server, they use plugin channels
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 23:41
wow
Only now I found I could use wrapper.cancel();
Yive
@Yive
Jun 25 2016 23:42
@Matsv so pretty much installing that plugin will do nothing to block world downloaders?
Mats
@Matsv
Jun 25 2016 23:43
It's created by the developer from worlddownloader, you can setup the config to make it never possible (With the official WorldDownloader mod)
Myles
@MylesIsCool
Jun 25 2016 23:44
@MrPowerGamerBR you can also send a cancel exception in most cases :) if you're using via API
And most mods don't send packets if they're malicious or everyone would detect them and disable them
Yive
@Yive
Jun 25 2016 23:44
what about this plugin? @Matsv is it pointless compared to that one you linked? https://www.spigotmc.org/resources/anti-worldownloader-1-8-x-1-9-x.10616/
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 23:44
That will take a lot of trial and error to get something working
Mats
@Matsv
Jun 25 2016 23:46
@Yive that kicks players instead of preventing them to use it. It's better to have them on the server without the functionally possible instead of kicking directly.
(In my opinion)
Yive
@Yive
Jun 25 2016 23:47
fair enough, will switch out to the one you linked then
Myles
@MylesIsCool
Jun 25 2016 23:48
Or detect the mod and send fake blocks to them right hiding secret hate messages? ;)
Yive
@Yive
Jun 25 2016 23:49
wasn't there a special error block a while back if you loaded it in a chunk, the client would crash?
iirc, the locked chest used to do that
I personally just use the anti xray and have the hidden blocks set as tnt & redstone blocks
Myles
@MylesIsCool
Jun 25 2016 23:50
Send a block that crashes if it ticks to the client so when they load it up on single player it crashes :)
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 23:50
@Yive if you send a invalid ID to the client, the client gets wacky, but it doesn't crash
(well, I didn't test in single player)
But this is what happens when a 1.7.2 client views a unknown block:
Yive
@Yive
Jun 25 2016 23:52
lol what the
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 23:53
(IIRC it didn't happen when a block is player, it happens when a player HOLDS a invalid block)
Anyway, it is a... very... "unique" effect
But I think some invalid block IDs crashes the client (in that photo I used the 169 ID)
Yive
@Yive
Jun 25 2016 23:54
remember when the top of tall flowers would crash clients
troyfrew
@troyfrew
Jun 25 2016 23:55
remember when water/lava would crash clients
Yive
@Yive
Jun 25 2016 23:55
think that still happens lol
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 23:55
remember the NBT exploit, I thought the NBT exploit would make every 1.5.2 dissapear
sadly, it didn't
troyfrew
@troyfrew
Jun 25 2016 23:56
remember cheap 100Gbps booters?
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 23:56
Why does people still use 1.7.X? If they didn't use it I wouldn't need to add 1.7 support in ViaVersion (status: I have no idea what I'm doing, wtf is packet 0 if the server didn't send any packet with ID 0)
I will create a poll if players would like if the server updated to 1.8.8, I think that's easier than adding 1.7 support to ViaVersion
troyfrew
@troyfrew
Jun 25 2016 23:56
people use 1.7 because hcf and pvp servers use 1.7
like badlion
1.9 RUINED PVP
1.8 RUINED PVP
Yive
@Yive
Jun 25 2016 23:56
what's hcf?
troyfrew
@troyfrew
Jun 25 2016 23:57
hard core factions
Yive
@Yive
Jun 25 2016 23:57
ah
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 23:57
My server is a Survival Cooperative server
So I don't really care about PvP
troyfrew
@troyfrew
Jun 25 2016 23:57
it's essentially a game mode where you are an asshole to everyone
:)
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 23:57
The problem is that in Brazil everyone still uses PaperSpigot 1.7.10 Protocol Hack
Yive
@Yive
Jun 25 2016 23:58
http://mcstats.org/global/ wish that would show how many players per version
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 23:58
It seems people are slowly migrating to 1.8.8 (finally)
Mats
@Matsv
Jun 25 2016 23:58
Yeah now 1.10
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 23:59
Well, 1.7.10 is the second most used version
Yive
@Yive
Jun 25 2016 23:59
would it be a bad idea to run a factions server on 1.8.8 while using viaversion? this type of tech didn't exist when I owned a server before so I don't really know what's a bad idea or not
MrPowerGamerBR
@MrPowerGamerBR
Jun 25 2016 23:59
It isn't a bad idea