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:09]
[00:00:09] #spongedev - Thu Mar 23 00:00:09 2017
[00:00:09] ---
[00:00:12] * 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:12] * Set by minecrell!~minecrell@irc.minecrell.net on Thu Mar 02 20:38:46
[00:14:38] * frogocomics_laptop_ (~FrogCoder@S010600fc8ddb2813.vc.shawcable.net) has joined #spongedev
[00:17:31] * Darkevilmac is now known as DarkevilAway
[00:21:26] * Spottedleaf (~Spottedle@node-1w7jr9qqos9g0kwfkpv54cv9b.ipv6.telus.net) Quit (Ping timeout: 180 seconds)
[00:38:52] * Cervator (~Thunderbi@2601:4c1:4000:1050:5db7:a37:cfa8:ee99) has joined #spongedev
[00:42:11] * zml (~zml@minions.aoeu.xyz) has joined #spongedev
[00:42:11] * Borg sets mode: +o zml
[00:45:53] * frogocomics_laptop_ (~FrogCoder@S010600fc8ddb2813.vc.shawcable.net) Quit (Read error: Connection reset by peer)
[00:59:32] <CrushedPixel> Aaron1011 still hasn't answered :(
[00:59:53] <@Aaron1011> CrushedPixel: scoreboards don't have diplsay slots
[00:59:56] <@Aaron1011> objectives do
[01:00:11] <CrushedPixel> I said scoreboard objective, didn't I?
[01:00:28] <CrushedPixel> could you walk me through the steps I'd have to take so every player sees the same?
[01:00:36] <@Aaron1011> ok
[01:00:38] <CrushedPixel> which is a certain value over a player's head
[01:00:45] <@Aaron1011> you should be able to just set the same scoreboard on every player
[01:01:11] <CrushedPixel> okay, that makes sense. (we'll localize the scoreboard so I'll have to have multiple instances but I get that)
[01:01:18] <@Aaron1011> to display something above a player's head, set their score for the objective in the BELOW_NAME display slot
[01:01:30] <CrushedPixel> how do I set a player's score
[01:01:35] <CrushedPixel> this is what I'm struggling with
[01:01:50] <@Aaron1011> Objective#getOrCreateScore
[01:02:56] <CrushedPixel> and as the Text parameter I do Text.of(player.getName())?
[01:03:44] <@Aaron1011> yes
[01:03:57] <CrushedPixel> okay
[01:04:04] <CrushedPixel> that is perhaps a bit counter-intuitive
[01:04:15] <CrushedPixel> perhaps passing a Player object would be a good idea
[01:06:19] <CrushedPixel> are scoreboards immutable?
[01:06:25] <@Aaron1011> no
[01:06:36] <CrushedPixel> that makes localization difficult
[01:06:52] <CrushedPixel> can I clone objectives?
[01:07:17] <@Aaron1011> unfortunately, no
[01:07:33] <CrushedPixel> so I'll have to create an objective on-demand with the localized display name
[01:08:20] <CrushedPixel> johni0702 is currently writing a localization plugin that translates outgoing SPacketChat packets using my PacketGate API
[01:08:36] <CrushedPixel> in short: sponge and localization do not seem to work together easily
[01:12:48] <CrushedPixel> the only way this could possibly be improved would be to allow Text instances to be localizable, and reflect this in every single instance of the game
[01:13:36] <CrushedPixel> for example, sponge would have to handle outgoing scoreboard-related packets and translate the Text object representing the display name to the client's language
[01:13:41] <CrushedPixel> no easy task.
[01:24:11] <killjoy> send the client resource packs with language files
[01:24:50] <@kashike> killjoy: that's terrible to do
[01:24:54] <@kashike> 90% of people deny resource packs
[01:25:10] <killjoy> maybe it can be done automatically in the future with a sponge client
[01:25:17] <killjoy> otherwise... english default?
[01:27:26] * Spottedleaf (~Spottedle@node-1w7jr9qqos9g29u76ye7gmxsj.ipv6.telus.net) has joined #spongedev
[01:32:01] <@Deamon> I mean isn't it as simple as walking the json and replacing the translation nodes with plain text nodes that are translated (at a packet level, in sponge we'd do it at the Text object level)
[01:32:41] * sneezing_panda (~panda@2605:a000:c705:3800:e461:30f1:9a72:3e20) has joined #spongedev
[01:32:53] <@Deamon> it'd take the form of a Text serializer that does that check and else delegates to the normal serializer
[01:34:37] <killjoy> If the person has the language, send as is
[01:34:39] <killjoy> yeah
[01:38:16] <@kashike> according to minecrell, the issue comes when serialising it and storing it - plugin owning a translation disappearing
[01:38:18] <@kashike> etc
[01:50:06] * AlphaBlend (AlphaBlend@cpe-172-250-134-111.socal.res.rr.com) has joined #spongedev
[01:50:47] * DarkevilAway is now known as Darkevilmac
[01:51:26] * Darkevilmac is now known as DarkevilAway
[02:04:52] <CrushedPixel> exactly
[02:05:00] <CrushedPixel> it isn't as simple as that. what deamon said is what I meant
[02:07:13] * pie_flavor (pie_flavor@71-89-110-94.dhcp.stpt.wi.charter.com) Quit (Ping timeout: 200 seconds)
[02:08:56] * pie_flavor (pie_flavor@71-89-110-94.dhcp.stpt.wi.charter.com) has joined #spongedev
[02:09:43] <CrushedPixel> leaving for tonight
[02:09:48] <CrushedPixel> good day everyone :)
[02:10:21] <killjoy> I don't like the docs on debugging.
[02:10:25] <CrushedPixel> exit
[02:10:27] <CrushedPixel> fuck
[02:10:34] <killjoy> sudo !!
[02:10:34] * CrushedPixel (~mariusmet@p5DED8CD6.dip0.t-ipconnect.de) Quit (Quit: leaving)
[02:11:10] <+mbaxter> lol
[02:12:12] <killjoy> I would much rather use this. No need to import the sponge project. https://gist.github.com/killjoy1221/ed136948386f84ceb97286051fa32464
[02:13:24] <killjoy> It's a fully working sponge install
[02:13:59] <killjoy> just set up the main class and launch directory
[02:15:12] <killjoy> I guess you could put the directory anywhere
[02:19:22] * Doty1154 (~Doty1154@2601:648:8000:134f:c101:4e81:2484:946d) has joined #spongedev
[02:20:32] <@simon816> this hack converts TranslatableText into LiteralText https://github.com/simon816/ChatUI/blob/master/src/main/java/com/simon816/chatui/util/TextSplitter.java#L153-L184
[02:22:11] <@kashike> simon816: // This is bad, don't look
[02:22:14] <@kashike> and then you link right to it
[02:22:29] <@simon816> yup :p
[02:22:42] <@simon816> I mean, it's a hack after all
[02:23:41] * DarkevilAway is now known as Darkevilmac
[03:25:35] * PieGuy128 (~PieGuy128@mtrlpq5031w-lp140-07-76-69-215-14.dsl.bell.ca) Quit (Remote host closed the connection)
[03:28:04] * supawiz6991 (supawiz699@supawiz6991.toal.ca) Quit (Ping timeout: 204 seconds)
[03:28:04] * Crystal|AFK (crystal@eris.the.sexiest.cat) Quit (Ping timeout: 204 seconds)
[03:28:56] * xaero (xaero@the.flying.dutchman.panicbnc.net) Quit (Ping timeout: 201 seconds)
[03:29:33] * Doty1154 (~Doty1154@2601:648:8000:134f:c101:4e81:2484:946d) Quit (Ping timeout: 201 seconds)
[03:29:42] * Doty1154 (~Doty1154@2601:648:8000:134f:c101:4e81:2484:946d) has joined #spongedev
[03:29:43] * supawiz6991 (supawiz699@supawiz6991.toal.ca) has joined #spongedev
[03:31:14] * Tux (~tux@li1235-209.members.linode.com) Quit (Ping timeout: 204 seconds)
[03:31:24] * Faithcaio (~Faithcaio@cubyte.net) Quit (Ping timeout: 201 seconds)
[03:31:34] * Faithcaio (~Faithcaio@cubyte.net) has joined #spongedev
[03:31:34] * Borg sets mode: +o Faithcaio
[03:31:35] * Crystal|AFK (crystal@eris.the.sexiest.cat) has joined #spongedev
[03:32:56] * xaero (xaero@the.flying.dutchman.panicbnc.net) has joined #spongedev
[03:33:24] * Tux (~tux@li1235-209.members.linode.com) has joined #spongedev
[04:28:42] * sneezing_panda (~panda@2605:a000:c705:3800:e461:30f1:9a72:3e20) Quit (Read error: Connection reset by peer)
[04:29:22] * Doty1154 (~Doty1154@2601:648:8000:134f:c101:4e81:2484:946d) Quit (Ping timeout: 201 seconds)
[04:30:21] * Doty1154 (~Doty1154@2601:648:8000:134f:c101:4e81:2484:946d) has joined #spongedev
[04:30:48] * sneezing_panda (~panda@cpe-174-101-219-204.cinci.res.rr.com) has joined #spongedev
[04:32:25] * LckyBy517 (~kvirc64@c-98-226-127-29.hsd1.in.comcast.net) Quit (Ping timeout: 200 seconds)
[04:35:07] * Meronat (uid190493@id-190493.ealing.irccloud.com) has joined #spongedev
[04:37:56] * pie_flavor (pie_flavor@71-89-110-94.dhcp.stpt.wi.charter.com) Quit (Ping timeout: 180 seconds)
[04:39:34] * turtledude01 (turtledude@71-89-110-94.dhcp.stpt.wi.charter.com) Quit (Read error: Connection reset by peer)
[05:01:38] * Eliter (~Eliter@ip70-190-105-122.ph.ph.cox.net) Quit (Read error: Connection reset by peer)
[05:53:05] * Cogitabundus (~HAL@115.248.50.20) has joined #spongedev
[06:00:13] * Cervator (~Thunderbi@2601:4c1:4000:1050:5db7:a37:cfa8:ee99) Quit (Remote host closed the connection)
[06:05:57] * Pymous (~Pymous@clapity.eu) Quit (Ping timeout: 180 seconds)
[06:10:19] * Pymous (~Pymous@clapity.eu) has joined #spongedev
[06:19:01] <+Spongie> [SpongeCommon] g​abizou pushed 1 commit to bleeding <https://git.io/vSvnz>
[06:19:02] <+Spongie> SpongeCommon/bleeding e191e7a9: Cleanup compiler warnings about deprecation. All uses of deprecated classes from... (by G​abriel Harris-Rouquette)
[06:25:42] <+Spongie> [SpongeCommon] g​abizou pushed 7 commits to fix/catalog-type-registries <https://git.io/vSvnH>
[06:25:43] <+Spongie> SpongeCommon/fix/catalog-type-registries a6738711: Add all catalog type registry modules to a parameterized unit test. This is non-... (by G​abriel Harris-Rouquette)
[06:25:44] <+Spongie> [SpongeCommon] g​abizou synchronize PR #1257: Fix All CatalogType Registry Modules <https://git.io/vyHO7>
[06:25:45] <+Spongie> SpongeCommon/fix/catalog-type-registries ccb6c3b9: More fixes throughout the registry modules to retrieve their catalogs by id. Sti... (by G​abriel Harris-Rouquette)
[06:25:46] <+Spongie> SpongeCommon/fix/catalog-type-registries 6382bbfb: Fix more registries failing to register. All tests "pass" but the registries are... (by G​abriel Harris-Rouquette)
[06:25:47] <+Spongie> SpongeCommon/fix/catalog-type-registries 9baf5f27: Fix more registry modules. (by G​abriel Harris-Rouquette)
[06:25:48] <+Spongie> SpongeCommon/fix/catalog-type-registries 5ba3d229: More fixes. Getting closer. (by G​abriel Harris-Rouquette)
[06:25:49] <+Spongie> ...for more, visit: https://git.io/vSvnH
[06:26:28] * Brokkoli (~Brokkoli@p5b23c1b2.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))
[06:36:10] * killjoy (~killjoy@cpe-2606-A000-1118-814C-81A9-CF4F-2B24-9D3C.dyn6.twc.com) Quit (Ping timeout: 204 seconds)
[06:36:24] * waicool20 (~waicool20@059149185217.ctinets.com) Quit (Ping timeout: 201 seconds)
[06:36:32] * waicool20 (~waicool20@059149185217.ctinets.com) has joined #spongedev
[06:38:27] * Hunterz (~hunterz@2001:af0:8000:1c01:6af7:28ff:fe37:5d6a) has joined #spongedev
[06:39:03] <+Spongie> [SpongeCommon] g​abizou pushed 1 commit to fix/catalog-type-registries <https://git.io/vSvc9>
[06:39:04] <+Spongie> [SpongeCommon] g​abizou synchronize PR #1257: Fix All CatalogType Registry Modules <https://git.io/vyHO7>
[06:39:05] <+Spongie> SpongeCommon/fix/catalog-type-registries a606b611: Unit test all catalog type registry modules for verification of the following: (by G​abriel Harris-Rouquette)
[06:44:25] * AbrarSyed is now known as Abrar|gone
[06:47:18] <+Spongie> [SpongeCommon] g​abizou pushed 1 commit to fix/catalog-type-registries <https://git.io/vSvCx>
[06:47:19] <+Spongie> [SpongeCommon] g​abizou synchronize PR #1257: Fix All CatalogType Registry Modules <https://git.io/vyHO7>
[06:47:20] <+Spongie> SpongeCommon/fix/catalog-type-registries 9d594880: Unit test all catalog type registry modules for verification of the following: (by G​abriel Harris-Rouquette)
[06:47:34] <+Spongie> [SpongeCommon] g​abizou closed PR #1257: Fix All CatalogType Registry Modules <https://git.io/vyHO7>
[06:47:39] <+Spongie> [SpongeCommon] g​abizou deleted branch fix/catalog-type-registries
[06:50:38] <+Spongie> [SpongeForge] g​abizou pushed 1 commit to bleeding <https://git.io/vSvWO>
[06:50:39] <+Spongie> SpongeForge/bleeding c509d381: Bump common for registry fixes and compiler warning fixes. Note that virtaully a... (by G​abriel Harris-Rouquette)
[06:55:44] <+Spongie> [SpongeVanilla] g​abizou pushed 1 commit to bleeding <https://git.io/vSvWR>
[06:55:45] <+Spongie> SpongeVanilla/bleeding 964c903f: Bump common for registry fixes and compiler warning cleanup. Note that virtually... (by G​abriel Harris-Rouquette)
[07:06:38] * ST-DDT (~Thunderbi@2001-4dd6-c090-0-2d56-539c-8037-dfb6.ipv6dyn.netcologne.de) has joined #spongedev
[07:06:38] * Borg sets mode: +v ST-DDT
[07:09:56] * ST-DDT (~Thunderbi@2001-4dd6-c090-0-2d56-539c-8037-dfb6.ipv6dyn.netcologne.de) Quit (Client Quit)
[07:15:19] * Cogitabundus (~HAL@115.248.50.20) Quit (Quit: Leaving)
[07:46:05] * Larry1123 (Larry1123@irc.larry1123.net) Quit (Ping timeout: 201 seconds)
[07:47:19] * sneezing_panda (~panda@cpe-174-101-219-204.cinci.res.rr.com) Quit (Ping timeout: 201 seconds)
[07:48:17] * Emris (~Miranda@195.234.58.25) has joined #spongedev
[07:58:15] * Larry1123 (Larry1123@irc.larry1123.net) has joined #spongedev
[08:00:58] * Meronat (uid190493@id-190493.ealing.irccloud.com) Quit (Quit: Connection closed for inactivity)
[08:03:05] * Larry1123 (Larry1123@irc.larry1123.net) Quit (Ping timeout: 190 seconds)
[08:05:40] * Larry1123 (Larry1123@irc.larry1123.net) has joined #spongedev
[08:14:57] * Noppes (~Noppes@ip56530f2e.direct-adsl.nl) has joined #spongedev
[08:16:18] * dil0de (~d1l0de@185.86.151.126) Quit (Ping timeout: 201 seconds)
[08:18:08] * Larry1123 (Larry1123@irc.larry1123.net) Quit (Ping timeout: 204 seconds)
[08:20:04] * Larry1123 (Larry1123@irc.larry1123.net) has joined #spongedev
[08:22:43] * dil0de (~d1l0de@176.223.111.92) has joined #spongedev
[08:32:20] * Doty1154 (~Doty1154@2601:648:8000:134f:c101:4e81:2484:946d) Quit (Ping timeout: 201 seconds)
[08:33:19] * Doty1154 (~Doty1154@2601:648:8000:134f:c101:4e81:2484:946d) has joined #spongedev
[08:42:12] * Larry1123 (Larry1123@irc.larry1123.net) Quit (Ping timeout: 204 seconds)
[08:53:24] * Larry1123 (Larry1123@irc.larry1123.net) has joined #spongedev
[09:18:45] * Meegoo (~Meegoo@88.206.70.209) has joined #spongedev
[10:36:51] * CrushedPixel (~mariusmet@p5DED8996.dip0.t-ipconnect.de) has joined #spongedev
[11:23:57] * srs_bsns (blk@198-48-175-31.cpe.pppoe.ca) Quit (Read error: Connection reset by peer)
[11:24:08] * srs_bsns (blk@198-48-175-31.cpe.pppoe.ca) has joined #spongedev
[12:30:24] * Eliter (~Eliter@ip70-190-105-122.ph.ph.cox.net) has joined #spongedev
[12:51:26] * AforAnonymous (bitch2k@dyn-051-015.vix2.mmc.at) has joined #spongedev
[14:14:29] * LckyBy517 (~kvirc64@c-98-226-127-29.hsd1.in.comcast.net) has joined #spongedev