IRC.Esper.net - Minecraft IRC Logging service - Channel #spongedev

If you want your channel logged here, contact KHobbits on #lain @ Esper.
Other channels Current Log Tail Older Stats

[00:00:37]
[00:00:37] #spongedev - Mon May 01 00:00:37 2017
[00:00:37] ---
[00:00:42] * Topic is ':Sponge Docs: https://docs.spongepowered.org | GitHub: https://github.com/SpongePowered | Channel Rules: https://docs.spongepowered.org/en/about/rules.html | Official code style: https://git.io/spongecodestyle | Gradle help in #ForgeGradle | API Docs: https://jd.spongepowered.org'
[00:00:42] * Set by minecrell!~minecrell@irc.minecrell.net on Thu Mar 02 20:38:46
[00:08:11] * c233 (~c233@164.40.197.184) has joined #spongedev
[00:09:59] * c233_ (~c233@164.40.196.148) Quit (Ping timeout: 204 seconds)
[00:22:23] * The_BrainStone (~BrainSton@p5DC0B384.dip0.t-ipconnect.de) has joined #spongedev
[00:24:56] * BrainStone (~BrainSton@p4FD0EEAC.dip0.t-ipconnect.de) Quit (Ping timeout: 180 seconds)
[00:25:09] * Aaron1011 (~Aaron1011@irc.spongepowered.org) Quit (Ping timeout: 383 seconds)
[00:27:51] * DDoS (~DDoS@e3-1270v3.bl-ash0.1.1.2.10.k8.securedservers.com) Quit (Remote host closed the connection)
[00:27:57] * DDoS (~DDoS@e3-1270v3.bl-ash0.1.1.2.10.k8.securedservers.com) has joined #spongedev
[00:27:58] * Borg sets mode: +o DDoS
[00:28:37] * Aaron1011 (~Aaron1011@e3-1270v3.bl-ash0.1.1.2.10.k8.securedservers.com) has joined #spongedev
[00:28:38] * Borg sets mode: +o Aaron1011
[00:38:16] * Gary (~Gary@ns501387.ip-198-27-81.net) Quit (Quit: Ping timeout (120 seconds))
[00:40:00] * Dykam (~Dykam@37.139.10.7) Quit (Quit: No Ping reply in 180 seconds.)
[00:41:09] * Dykam (~Dykam@37.139.10.7) has joined #spongedev
[00:41:53] <barteks2x> Is it possible to redirect getting array length?
[00:41:57] <barteks2x> (with mixin)
[00:48:32] <@simon816> barteks2x, according to @Redirect javadoc you can redirect field accesses, so yes
[00:48:42] <barteks2x> it's not a real field afaik
[00:48:56] <@simon816> hmm idk then
[00:50:16] <barteks2x> I remember asking this question once
[00:50:25] <barteks2x> but I remember nothing about the answer
[00:52:19] <@Deamon> could try it and see if mixin treats it like a field access for the purpose of targetting
[00:52:27] <@Deamon> (that would be my bet)
[00:53:25] <barteks2x> it's special ARRAYLENGTH opcode
[00:54:02] <barteks2x> And I remember trying redirecting it as a field and it didn't work back then
[00:57:59] <barteks2x> and looking at RedirectInjector.inject, it won't work that way
[01:00:02] <@Deamon> worth opening an isssue in mixin then
[01:01:37] <barteks2x> I will first check my old logs on other computer
[01:01:42] * The_BrainStone is now known as BrainStone
[01:04:37] * xcube (~xcube16@216.38.32.2) Quit (Quit: Leaving)
[01:38:55] * kinggoesgaming (uid23106@id-23106.tooting.irccloud.com) Quit (Quit: Connection closed for inactivity)
[01:51:53] * Frani (webchat@189-81-130-24.user.veloxzone.com.br) has joined #spongedev
[01:56:59] * Frani (webchat@189-81-130-24.user.veloxzone.com.br) Quit (Ping timeout: 180 seconds)
[02:23:36] * c233_ (~c233@164.40.196.5) has joined #spongedev
[02:25:42] * c233 (~c233@164.40.197.184) Quit (Ping timeout: 186 seconds)
[02:29:39] * Meegoo (~Meegoo@88.206.116.192) has joined #spongedev
[02:30:01] <+DemonWav> Deamon simon816 barteks2x that's an opcode, can't be changed with mixin
[02:30:04] <+DemonWav> don't open an issue on it
[02:30:29] <@Deamon> sure it could be changed
[02:30:38] <+DemonWav> mixin doesn't change calling code
[02:30:45] <+DemonWav> s/doesn't/can't/
[02:30:53] <@Deamon> it could easily be replaced with a method call taking the array and returning an int
[02:31:12] <@Deamon> that is no different than any other redirect we have
[02:31:29] <+DemonWav> well you could change the method, sure. but you can't change the opcode itself
[02:31:50] <@Deamon> ansd why couldn't you do that
[02:31:58] <@Deamon> we insert opcodes all the time
[02:32:13] <@Deamon> we change INVOKEVIRTUALS and INVOKESPECIALS
[02:32:25] <+DemonWav> yeah you could redirect
[02:32:28] <+DemonWav> i was thinking something else
[03:00:11] * Mohron (~mohron@50-26-242-163.abilcmtk01.res.dyn.suddenlink.net) has joined #spongedev
[03:12:38] * Doty1154 (~Doty1154@2601:648:8000:134f:c8de:3ad4:78f0:15fb) Quit (Ping timeout: 186 seconds)
[03:29:03] * killjoy (~killjoy@cpe-174-109-175-105.nc.res.rr.com) has joined #spongedev
[03:51:07] * BrainStone (~BrainSton@p5DC0B384.dip0.t-ipconnect.de) Quit (Quit: Leaving)
[04:01:45] * Eliter (~Eliter@ip70-190-105-122.ph.ph.cox.net) Quit (Read error: -0x1: UNKNOWN ERROR CODE (0001))
[04:10:27] * Mohron (~mohron@50-26-242-163.abilcmtk01.res.dyn.suddenlink.net) Quit (Quit: Leaving)
[04:40:15] * Brokkoli (~Brokkoli@p5B23CC84.dip0.t-ipconnect.de) has joined #spongedev
[05:11:58] * Cervator (~Thunderbi@2601:4c1:4000:1050:28d2:1e8c:aedf:70e3) Quit (Remote host closed the connection)
[05:22:47] * Corosus (~Corosus@135-23-126-120.cpe.pppoe.ca) Quit (Ping timeout: 200 seconds)
[05:29:09] * bilde2910 (bilde2910@178.51-174-170.customer.lyse.net) Quit (Ping timeout: 383 seconds)
[05:29:45] * bilde2910 (bilde2910@178.51-174-170.customer.lyse.net) has joined #spongedev
[05:31:35] * Hunterz (~hunterz@62.182.234.189) has joined #spongedev
[05:46:10] * Brokkoli (~Brokkoli@p5B23CC84.dip0.t-ipconnect.de) Quit (Quit: Die Sprache der Politik ist dafür gemacht, dass Lügen wahr klingen und das Töten angemessen wirkt. (George Orwell))
[05:48:00] * AbrarSyed is now known as Abrar|gone
[05:52:05] * bilde2910 (bilde2910@178.51-174-170.customer.lyse.net) Quit (Ping timeout: 190 seconds)
[05:53:48] * bilde2910 (bilde2910@178.51-174-170.customer.lyse.net) has joined #spongedev
[06:09:27] * Corosus (~Corosus@135-23-126-120.cpe.pppoe.ca) has joined #spongedev