<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:17:25] ⇦ Quits: MCDis (MCDis!~MCDis@tterrag.com) ()
L2[00:17:32] ⇨ Joins: MCDis (MCDis!~MCDis@tterrag.com)
L3[00:17:56] ⇨ Joins: ben_mkiv (ben_mkiv!~ben_mkiv@p4FED5EA8.dip0.t-ipconnect.de)
L4[00:44:20] *** Davnit_ is now known as Davnit
L5[01:11:06] ⇦ Quits: Brokkoli (Brokkoli!~Brokkoli@p2E5B1E0E.dip0.t-ipconnect.de) (Remote host closed the connection)
L6[01:29:09] ⇦ Quits: quadraxis (quadraxis!~quadraxis@cpc77293-basf12-2-0-cust699.12-3.cable.virginm.net) (Ping timeout: 207 seconds)
L7[01:32:09] ⇦ Quits: ben_mkiv (ben_mkiv!~ben_mkiv@p4FED5EA8.dip0.t-ipconnect.de) (Ping timeout: 383 seconds)
L8[01:35:50] ⇨ Joins: Lynndis (Lynndis!~Lynn@c-75-71-231-133.hsd1.co.comcast.net)
L9[01:40:52] ⇦ Quits: Larry1123 (Larry1123!Larry1123@irc.larry1123.net) (Ping timeout: 207 seconds)
L10[01:54:53] ⇦ Quits: minecrell (minecrell!~minecrell@irc.minecrell.net) (Remote host closed the connection)
L11[02:00:03] <MCPBot_Reborn> [TEST CSV] Pushing snapshot_20180109 mappings to Forge Maven.
L12[02:00:07] <MCPBot_Reborn> [TEST CSV] Maven upload successful for mcp_snapshot-20180109-1.12.zip (mappings = "snapshot_20180109" in build.gradle).
L13[02:00:17] <MCPBot_Reborn> Semi-live (every 10 min), Snapshot (daily ~3:00 EST), and Stable (committed) MCPBot mapping exports can be found here: http://export.mcpbot.bspk.rs/
L14[02:04:20] ⇨ Joins: abab9579 (abab9579!~Abastro@110.70.54.211)
L15[02:04:34] ⇨ Joins: Larry1123 (Larry1123!Larry1123@irc.larry1123.net)
L16[02:07:55] ⇦ Quits: Abastro (Abastro!~Abastro@106.243.247.152) (Ping timeout: 383 seconds)
L17[02:09:17] ⇨ Joins: Abastro (Abastro!~Abastro@175.223.19.8)
L18[02:10:49] ⇦ Quits: abab9579 (abab9579!~Abastro@110.70.54.211) (Ping timeout: 383 seconds)
L19[02:12:14] ⇨ Joins: minecrell (minecrell!~minecrell@irc.minecrell.net)
L20[02:31:13] ⇨ Joins: gigaherz|work (gigaherz|work!~gigaherz@84.89.63.25)
L21[02:31:28] *** Abastro is now known as A1b3
L22[02:32:39] <A1b3> Let me ask again: I want to know a good way to detect on the client side if a mod is installed on the server.
L23[02:33:19] <A1b3> So that the client can decide what to do without the server control.
L24[02:39:07] ⇦ Quits: Larry1123 (Larry1123!Larry1123@irc.larry1123.net) (Ping timeout: 194 seconds)
L25[02:42:14] <TechnicianLP> iirc there was a reference to a versionchecking method in the dependencies string of @Mod - you can check the version of any serverside mod in there - and if tis missing it isnt installed
L26[02:42:25] ⇨ Joins: Larry1123 (Larry1123!Larry1123@irc.larry1123.net)
L27[03:02:10] <gigaherz|work> A1b3: a "network check handler" might be useful
L28[03:02:21] <gigaherz|work> but I don't know if it runs on the client with the list of mods in the server, or not
L29[03:02:26] <A1b3> What is it?
L30[03:02:38] <gigaherz|work> a special event handler you can use in your main mod class
L31[03:04:01] <A1b3> Oh so is it an annotation?
L32[03:04:38] <gigaherz|work> google.
L33[03:04:45] <gigaherz|work> look for documentation
L34[03:04:50] <gigaherz|work> don't expect to be spoon-fed
L35[03:05:44] <A1b3> I see. I just wanted to know what class to start to look at
L36[03:05:55] ⇦ Quits: Neal (Neal!~Neal@47.146.41.184) (Ping timeout: 383 seconds)
L37[03:09:01] ⇨ Joins: Abastro (Abastro!~Abastro@175.117.182.109)
L38[03:10:16] ⇨ Joins: Darkhax (Darkhax!~darkhax@d205-206-157-117.abhsia.telus.net)
L39[03:15:06] ⇦ Quits: A1b3 (A1b3!~Abastro@175.223.19.8) (Ping timeout: 383 seconds)
L40[03:38:49] *** Abastro is now known as A1b3
L41[03:50:19] ⇦ Quits: Darkhax (Darkhax!~darkhax@d205-206-157-117.abhsia.telus.net) (Read error: No route to host)
L42[04:14:13] ⇨ Joins: Davnit_ (Davnit_!~Davnit@72.189.115.20)
L43[04:14:27] ⇦ Quits: Davnit (Davnit!~Davnit@72.189.115.20) (Ping timeout: 194 seconds)
L44[04:58:08] ⇦ Quits: A1b3 (A1b3!~Abastro@175.117.182.109) (Quit: Bye)
L45[04:58:11] ⇨ Joins: Abastro (Abastro!~Abastro@175.117.182.109)
L46[05:00:27] ⇦ Quits: Shawn|i7-Q720M (Shawn|i7-Q720M!~shawn156@c-76-25-73-212.hsd1.co.comcast.net) (Read error: Connection reset by peer)
L47[05:06:53] ⇦ Quits: PitchBright (PitchBright!~PitchBrig@CPE00fc8d8a3ce3-CM00fc8d8a3ce0.cpe.net.cable.rogers.com) (Ping timeout: 194 seconds)
L48[05:28:28] ⇨ Joins: Umbraco (Umbraco!~Umbraco@121-87-222-159f1.nar1.eonet.ne.jp)
L49[05:43:08] ⇦ Quits: covers1624 (covers1624!~covers162@ppp122-232-6.static.internode.on.net) (Read error: Connection reset by peer)
L50[05:43:35] ⇨ Joins: covers1624 (covers1624!~covers162@ppp122-232-6.static.internode.on.net)
L51[05:48:12] ⇨ Joins: Nedelosk (Nedelosk!~Nedelosk@ip-37-201-253-118.hsi13.unitymediagroup.de)
L52[06:11:50] ⇨ Joins: iamtakingiteasy (iamtakingiteasy!~user@eientei.org)
L53[06:19:18] ⇨ Joins: iamtakingiteasy (iamtakingiteasy!~user@eientei.org)
L54[06:24:58] ⇦ Quits: gigaherz|work (gigaherz|work!~gigaherz@84.89.63.25) (Remote host closed the connection)
L55[06:33:49] <Abastro> Why is the console messed up with tons of NPEs when there's just a single exception in the network?
L56[06:33:55] <Abastro> This is so irritating
L57[06:51:37] ⇦ Quits: masa (masa!~masa@86.60.225.191) (Quit: server change shenanigans...)
L58[06:52:31] <Abastro> And @NetworkCheckHandler is either bugged or late, can't use it on client world load
L59[06:54:02] <gigaherz> I did say that I didn't know if it even fires in the client
L60[06:54:59] <gigaherz> @NetworkCheckHandler happens during connection negotiation
L61[06:55:08] <gigaherz> so it can't possibly be "too late"
L62[07:11:03] <Abastro> Oh so it may not work on integrated server right?
L63[07:12:35] <Abastro> Just checked, it works on integrated server. Or maybe it was a problem on my side.
L64[07:16:43] <Abastro> *or -> and
L65[07:18:27] <Abastro> Besides, what about the irritating exception creep?
L66[07:39:26] <gigaherz> you didn't even show logs
L67[07:39:31] <gigaherz> how can I know waht the exceptions are?
L68[07:46:21] ⇨ Joins: ssblur (ssblur!~Thunderbi@cpe-65-184-138-23.ec.res.rr.com)
L69[08:00:59] ⇦ Quits: Upthorn (Upthorn!~ogmar@108-85-88-44.lightspeed.frokca.sbcglobal.net) (Quit: this quit message is 100% guaranteed not to contain obscenity.)
L70[08:04:30] ⇨ Joins: h404bi (h404bi!~h404bi@119.129.117.143)
L71[08:09:05] ⇨ Joins: Upthorn (Upthorn!~ogmar@108-85-88-44.lightspeed.frokca.sbcglobal.net)
L72[08:12:28] ⇦ Quits: Upthorn (Upthorn!~ogmar@108-85-88-44.lightspeed.frokca.sbcglobal.net) (Client Quit)
L73[08:15:23] ⇨ Joins: Upthorn (Upthorn!~ogmar@108-85-88-44.lightspeed.frokca.sbcglobal.net)
L74[08:24:05] ⇦ Quits: Upthorn (Upthorn!~ogmar@108-85-88-44.lightspeed.frokca.sbcglobal.net) (Quit: this quit message is 100% guaranteed not to contain obscenity.)
L75[08:27:10] ⇨ Joins: Upthorn (Upthorn!~ogmar@108-85-88-44.lightspeed.frokca.sbcglobal.net)
L76[08:44:38] ⇨ Joins: Commoble (Commoble!~Commoble@71.7.93.3)
L77[08:55:37] <Abastro> Oh lgos
L78[08:55:45] <Abastro> *logs
L79[08:55:55] <Abastro> I forgot about them.
L80[08:58:09] ⇨ Joins: abab9579 (abab9579!~Abastro@175.117.182.109)
L81[08:59:02] <abab9579> https://pastebin.com/0jd4pgwU
L82[08:59:28] <abab9579> This is the log, it's just all NPEs on the network packets.
L83[09:03:33] ⇦ Quits: abab9579 (abab9579!~Abastro@175.117.182.109) (Ping timeout: 198 seconds)
L84[09:06:50] ⇦ Quits: covers1624 (covers1624!~covers162@ppp122-232-6.static.internode.on.net) (Read error: -0x1: UNKNOWN ERROR CODE (0001))
L85[09:08:56] ⇨ Joins: covers1624 (covers1624!~covers162@ppp122-232-6.static.internode.on.net)
L86[09:11:29] <gigaherz> AbrarSyed: well
L87[09:11:31] <gigaherz> oops
L88[09:11:34] <gigaherz> Abastro*
L89[09:11:37] <gigaherz> Caused by: java.lang.NullPointerException
L90[09:11:37] <gigaherz> at stellarium.stellars.StellarManager.getManager(StellarManager.java:68) ~[StellarManager.class:?]
L91[09:11:40] <gigaherz> that's the first NPE
L92[09:11:46] <gigaherz> so that's what you should be trying to fix.
L93[09:12:06] <gigaherz> the rest could be caused by this one.
L94[09:44:28] ⇨ Joins: Javaschreiber (Javaschreiber!~Thunderbi@88-209-32-73.nga.highspeed-baumann.de)
L95[10:12:06] ⇦ Quits: covers1624 (covers1624!~covers162@ppp122-232-6.static.internode.on.net) (Read error: Connection reset by peer)
L96[10:12:42] ⇨ Joins: covers1624 (covers1624!~covers162@ppp122-232-6.static.internode.on.net)
L97[10:22:00] ⇨ Joins: malte0811 (malte0811!~malte@185.134.128.197)
L98[10:23:13] ⇦ Quits: Umbraco (Umbraco!~Umbraco@121-87-222-159f1.nar1.eonet.ne.jp) (Ping timeout: 194 seconds)
L99[10:26:59] ⇨ Joins: Brokkoli (Brokkoli!~Brokkoli@p2E5B1E0E.dip0.t-ipconnect.de)
L100[10:32:50] ⇨ Joins: Hunterz (Hunterz!~hunterz@62.182.234.189)
L101[10:42:54] ⇨ Joins: Raycoms (Raycoms!~Raycoms@2804:14d:baa0:96af:7926:c992:f9b3:df17)
L102[10:44:20] ⇦ Quits: AbrarSyed (AbrarSyed!~AbrarSyed@ipv6.abrarsyed.com) (Quit: All things are trivial once you've mastered them.)
L103[10:44:20] ⇦ Quits: Dries007 (Dries007!~DriesZNC@2001:19f0:6400:8965:5400:ff:fe07:8777) (Quit: ZNC - http://znc.in)
L104[10:44:20] ⇦ Quits: x3n0ph0b3 (x3n0ph0b3!~x3n0ph0b3@abrarsyed.com) (Quit: ZNC - http://znc.in)
L105[10:44:20] ⇦ Quits: diesieben07 (diesieben07!~diesieben@abrarsyed.com) (Quit: ZNC - http://znc.in)
L106[10:44:20] ⇦ Quits: Wuppy (Wuppy!~wuppyZNC@2001:19f0:6400:8965:5400:ff:fe07:8777) (Quit: ZNC - http://znc.in)
L107[10:46:06] ⇨ Joins: Abrar|gone (Abrar|gone!~AbrarSyed@ipv6.abrarsyed.com)
L108[10:46:06] MineBot sets mode: +o on Abrar|gone
L109[10:46:34] *** Abrar|gone is now known as AbrarSyed
L110[10:47:23] ⇨ Joins: diesieben|away (diesieben|away!~diesieben@abrarsyed.com)
L111[10:47:50] *** diesieben|away is now known as diesieben07
L112[10:47:52] ⇨ Joins: Wuppy (Wuppy!~wuppyZNC@abrarsyed.com)
L113[10:48:34] ⇨ Joins: x3n0ph0b3 (x3n0ph0b3!~x3n0ph0b3@2001:19f0:6400:8965:5400:ff:fe07:8777)
L114[11:19:41] ⇨ Joins: McJty (McJty!~jorrit@ptr-9197ufn3jmu7zvdpmhh.18120a2.ip6.access.telenet.be)
L115[11:21:13] ⇨ Joins: Noppes (Noppes!~Noppes@ip56530f2e.direct-adsl.nl)
L116[11:24:31] ⇨ Joins: PitchBright (PitchBright!~PitchBrig@CPE00fc8d8a3ce3-CM00fc8d8a3ce0.cpe.net.cable.rogers.com)
L117[11:29:01] ⇦ Quits: c233 (c233!~c233@164.40.202.252) (Killed (NickServ (GHOST command used by c233_!~c233@164.40.197.183)))
L118[11:29:04] ⇨ Joins: c233 (c233!~c233@164.40.197.183)
L119[11:33:26] ⇦ Quits: RichardG (RichardG!~richardg8@201.37.246.64) (Read error: Connection reset by peer)
L120[11:33:38] ⇨ Joins: RichardG (RichardG!~richardg8@201.37.246.64)
L121[11:33:38] MineBot sets mode: +v on RichardG
L122[11:33:54] ⇦ Quits: h404bi (h404bi!~h404bi@119.129.117.143) (Ping timeout: 383 seconds)
L123[11:39:47] ⇨ Joins: ben_mkiv (ben_mkiv!~ben_mkiv@p4FED42BD.dip0.t-ipconnect.de)
L124[11:46:19] ⇨ Joins: sinkillerj (sinkillerj!~sinkiller@nc-67-238-187-237.dhcp.embarqhsd.net)
L125[11:47:56] ⇦ Quits: RichardG (RichardG!~richardg8@201.37.246.64) (Read error: Connection reset by peer)
L126[11:52:53] ⇨ Joins: RichardG (RichardG!~richardg8@201.37.246.64)
L127[11:52:53] MineBot sets mode: +v on RichardG
L128[11:54:09] ⇦ Quits: RichardG (RichardG!~richardg8@201.37.246.64) (Read error: Connection reset by peer)
L129[11:55:12] ⇦ Quits: jackmcbarn (jackmcbarn!jackmcbarn@gateway02.insomnia247.nl) (Ping timeout: 195 seconds)
L130[11:57:33] ⇨ Joins: jackmcbarn (jackmcbarn!jackmcbarn@gateway02.insomnia247.nl)
L131[11:57:36] ⇨ Joins: RichardG (RichardG!~richardg8@201.37.246.64)
L132[11:57:36] MineBot sets mode: +v on RichardG
L133[11:58:56] ⇨ Joins: Neal (Neal!~Neal@47.146.41.184)
L134[12:02:27] ⇨ Joins: quadraxis (quadraxis!~quadraxis@cpc77293-basf12-2-0-cust699.12-3.cable.virginm.net)
L135[12:18:24] ⇦ Quits: RichardG (RichardG!~richardg8@201.37.246.64) (Read error: Connection reset by peer)
L136[12:18:57] ⇨ Joins: RichardG (RichardG!~richardg8@201.37.246.64)
L137[12:18:57] MineBot sets mode: +v on RichardG
L138[12:36:31] ⇦ Quits: McJty (McJty!~jorrit@ptr-9197ufn3jmu7zvdpmhh.18120a2.ip6.access.telenet.be) (Quit: Leaving)
L139[12:45:46] ⇦ Quits: Javaschreiber (Javaschreiber!~Thunderbi@88-209-32-73.nga.highspeed-baumann.de) (Quit: Javaschreiber)
L140[12:48:17] ⇨ Joins: Ipsis (Ipsis!~Ipsis@82-69-71-184.dsl.in-addr.zen.co.uk)
L141[12:50:09] ⇦ Quits: RichardG (RichardG!~richardg8@201.37.246.64) (Read error: Connection reset by peer)
L142[12:51:32] ⇨ Joins: RichardG (RichardG!~richardg8@201.37.246.64)
L143[12:51:32] MineBot sets mode: +v on RichardG
L144[13:08:40] ⇦ Quits: MCDis (MCDis!~MCDis@tterrag.com) ()
L145[13:08:48] ⇨ Joins: MCDis (MCDis!~MCDis@tterrag.com)
L146[13:15:37] ⇨ Joins: Javaschreiber (Javaschreiber!~Thunderbi@88-209-32-73.nga.highspeed-baumann.de)
L147[13:26:34] <Raycoms> Hmm
L148[13:26:41] <Raycoms> final IColonyTagCapability cap = chunk.getCapability(CLOSE_COLONY_CAP, null);
L149[13:26:42] <Raycoms> this code here seems to take forever to be called
L150[13:30:08] <Raycoms> That and that: final Chunk chunk = world.getChunkFromChunkCoords(i, j);
L151[13:31:02] <gigaherz> hm?
L152[13:31:10] <gigaherz> you mean it takes forever for the call to finish?
L153[13:31:15] <Raycoms> yes
L154[13:31:19] <Raycoms> I run in in a loop
L155[13:31:32] <Raycoms> for a certain number of chunks
L156[13:31:33] <gigaherz> uhm, how big of a loop?
L157[13:31:44] <Raycoms> all chunks in 112 blocks range basically
L158[13:31:54] <Raycoms> (a square)
L159[13:32:07] <gigaherz> !!calc ceil(112/16)
L160[13:32:07] <gigaherz> gigaherz: Result(s): 7
L161[13:32:16] <gigaherz> so 49 chunks
L162[13:32:21] <gigaherz> approximately
L163[13:32:26] <Raycoms> But after a while it needs minutes to pass the world.getChunkFromChunkCoords
L164[13:32:27] <Raycoms> yes
L165[13:32:39] <gigaherz> well
L166[13:32:44] <gigaherz> something is going wrong, then ;P
L167[13:33:17] <Raycoms> Lemme get you a link
L168[13:33:32] <gigaherz> getCapability was written to be as fast as possible, but it is still O(n) based on the number of capabilities installed into the chunk
L169[13:34:23] <Raycoms> https://github.com/Minecolonies/minecolonies/blob/feature/colony-location/src/main/java/com/minecolonies/coremod/colony/Colony.java#L262
L170[13:34:56] <Raycoms> Oh, I just checked, it's a bit more, =P it's double the distance
L171[13:34:56] <gigaherz> however getChunkFromChunkCoords
L172[13:35:07] <gigaherz> that can be fast, if the chunk is in memory
L173[13:35:11] <Raycoms> !!calc ceil(240/16)
L174[13:35:11] <gigaherz> Raycoms: Result(s): 15
L175[13:35:13] <gigaherz> or very slow, if the chunks are not being loaded
L176[13:35:30] <gigaherz> so if you keep running that code without checking if the chunk is loaded
L177[13:35:39] <gigaherz> it will effectively keep re-loading the same chunks over and over
L178[13:36:02] <Raycoms> the problem is that I have to change the capability of all the chunks
L179[13:36:22] <gigaherz> what data is stored in that capability?
L180[13:36:38] <Raycoms> a list of integers
L181[13:36:46] <gigaherz> for?
L182[13:36:54] <Raycoms> to store the colony the chunk belongs to
L183[13:37:00] <Raycoms> and to store which colony is in range
L184[13:37:07] <gigaherz> hmmmm
L185[13:37:08] <Raycoms> so at most 1-3 integers per capability
L186[13:37:53] <gigaherz> hmm here is an idea:
L187[13:38:01] <Raycoms> this code runs rarely, it runs once per colony placement / deletion and on startup of the server, if a colony was placed before the update
L188[13:38:38] <gigaherz> hmm no that idea wouldn't work
L189[13:39:08] <gigaherz> I think it would be best to store the list of chunks in the colony rather than the colony on each chunk
L190[13:39:48] <Raycoms> That's what we did
L191[13:39:58] <Raycoms> but if we have 1000 colonies and a player wants to interact with a block
L192[13:40:07] <Raycoms> we have to make a distance calc on all 1000 colonies
L193[13:40:11] <Raycoms> until we find the one he is in
L194[13:40:17] <Raycoms> we want to avoid doing that
L195[13:40:22] ⇨ Joins: Zidane (Zidane!~Zidane@e3-1270v3.bl-ash0.1.1.2.10.k8.securedservers.com)
L196[13:41:42] <Raycoms> would it be too expensive to load those chunks once somehow?
L197[13:41:57] <Raycoms> I mean this code, like I said, runs 2twice in the lifetime of a colony, on creation and on deletion
L198[13:50:20] <gigaherz> hmmm
L199[13:50:25] <gigaherz> you shouldn't have to calculate every time
L200[13:50:59] <gigaherz> well it's not necessarily TOO bad
L201[13:51:04] <gigaherz> but you would be loading
L202[13:51:07] <gigaherz> !!calc 15*15
L203[13:51:07] <gigaherz> gigaherz: Result(s): 225
L204[13:51:16] <gigaherz> up to 225 chunks
L205[13:51:26] <gigaherz> so there might be a large hiccup
L206[13:52:13] <Raycoms> I mean, now I do it every tick, but I can just fill in a map
L207[13:52:17] <gigaherz> you could store the information separately, in some WorldSavedData, that you can access without requiring chunks
L208[13:52:19] <Raycoms> and then load 20 per tick?
L209[13:52:42] <gigaherz> or you can queue the updates, and either do them when the chunks load, or yeah, throttle the update
L210[13:53:29] <Raycoms> I think I'll even do 1 per tick, the most important ones are the 49 central ones, that's in 1 per tick = 50 ticks, 2,5 seconds
L211[13:53:30] <Raycoms> decent
L212[13:56:00] ⇦ Quits: PitchBright (PitchBright!~PitchBrig@CPE00fc8d8a3ce3-CM00fc8d8a3ce0.cpe.net.cable.rogers.com) (Ping timeout: 186 seconds)
L213[14:03:17] ⇨ Joins: PitchBright (PitchBright!~PitchBrig@CPE00fc8d8a3ce3-CM00fc8d8a3ce0.cpe.net.cable.rogers.com)
L214[14:04:42] ⇦ Quits: PitchBright (PitchBright!~PitchBrig@CPE00fc8d8a3ce3-CM00fc8d8a3ce0.cpe.net.cable.rogers.com) (Client Quit)
L215[14:07:17] ⇦ Quits: covers1624 (covers1624!~covers162@ppp122-232-6.static.internode.on.net) (Read error: Connection reset by peer)
L216[14:07:42] ⇨ Joins: covers1624 (covers1624!~covers162@ppp122-232-6.static.internode.on.net)
L217[14:25:19] ⇨ Joins: PitchBright (PitchBright!~PitchBrig@CPE00fc8d8a3ce3-CM00fc8d8a3ce0.cpe.net.cable.rogers.com)
L218[14:37:35] ⇦ Quits: Ipsis (Ipsis!~Ipsis@82-69-71-184.dsl.in-addr.zen.co.uk) (Ping timeout: 194 seconds)
L219[14:40:36] <Abastro> gigaherz: sorry for paging. I want to fix the toms of errors caused by a single network NPE
L220[14:41:27] <Abastro> I found the loads of exceptions very irritating
L221[14:41:28] ⇨ Joins: Ivorius (Ivorius!~Ivorius@2604:a880:800:10::55b:8001)
L222[14:44:09] <Abastro> The log again: https://pastebin.com/0jd4pgwU
L223[14:44:35] <gigaherz> Abastro: as I said before
L224[14:44:36] <gigaherz> Caused by: java.lang.NullPointerException
L225[14:44:36] <gigaherz> at stellarium.stellars.StellarManager.getManager(StellarManager.java:68) ~[StellarManager.class:?]
L226[14:44:37] <gigaherz> at stellarium.stellars.StellarManager.getClientManager(StellarManager.java:59) ~[StellarManager.class:?]
L227[14:44:37] <gigaherz> at stellarium.StellarForgeEventHook.onWorldLoad(StellarForgeEventHook.java:56) ~[StellarForgeEventHook.class:?]
L228[14:44:40] <gigaherz> fix that first
L229[14:44:41] <Abastro> I know I can fix the single NPE
L230[14:44:44] <gigaherz> then see what else crashes
L231[14:44:57] <gigaherz> because there's 99% chance that the other NPEs are caused by this one
L232[14:45:18] <Abastro> I just don't want the other NPEs caused by the NPE.
L233[14:45:31] <gigaherz> well you can't change that
L234[14:45:35] <gigaherz> without recompiling minecraft and forge
L235[14:45:39] <Abastro> It means I have to look at the log to fix the NPE..
L236[14:45:39] <gigaherz> so fix YOUR npe.
L237[14:45:50] <Abastro> So is it normal?
L238[14:46:01] <Commoble> That errors will cause other errors? yes
L239[14:46:01] <gigaherz> look, anything that happens after an exception
L240[14:46:11] <gigaherz> is in an "undefined" state
L241[14:46:24] <gigaherz> unless it is explicitly written to allow for exceptions to happen
L242[14:46:31] <gigaherz> and corrects the state manually after catching the exception
L243[14:46:33] <gigaherz> so yes
L244[14:46:35] <gigaherz> if CAN BE NORMAL
L245[14:46:37] <Raycoms> Giga, do I have to do anything so the chunks on the client side stay with the data?
L246[14:46:39] <gigaherz> it might not be
L247[14:46:41] <Raycoms> of the capability?
L248[14:46:55] <gigaherz> Raycoms: dunno, you may need to synchronize using packets
L249[14:47:00] <Abastro> Oh no. Anyway thanks
L250[14:47:04] <gigaherz> I think forge does not sync capabilities by default
L251[14:47:23] <Raycoms> I am using packages, but it seems like the client data of the capability got lost after reload and unload chunk
L252[14:47:30] <Raycoms> the server side one got stored though
L253[14:47:37] <gigaherz> client does not store data
L254[14:47:40] <gigaherz> so yes
L255[14:47:48] <gigaherz> you will have to sync the data every time the client stops watching a chunk
L256[14:47:52] <gigaherz> well
L257[14:47:59] <gigaherz> every time it starts watching when it wasn't watching before
L258[14:49:26] <Raycoms> Argh
L259[14:50:06] <Raycoms> Haha, I fixed the issue with the chunkLoading, its quite smooth now, but not I have the issue with the clients =P
L260[14:50:37] <Raycoms> I guess there is an event called on the server when a client loads it so I can send it over handy?
L261[14:52:37] <gigaherz> no idea
L262[14:52:45] <gigaherz> I haven't personally worked with chunk data like that
L263[14:54:04] <Raycoms> public void onEnteringChunk(@NotNull final PlayerEvent.EnteringChunk event) might just work
L264[15:02:45] ⇦ Quits: Lord_Ralex (Lord_Ralex!~Ralex@2604:180:0:ba7::da25) (Quit: Hmm, I do not think this was suppose to happen)
L265[15:09:09] ⇦ Quits: eyamaz (eyamaz!sid40777@id-40777.brockwell.irccloud.com) (Quit: Connection closed for inactivity)
L266[15:20:00] ⇨ Joins: abab9579 (abab9579!~Abastro@175.117.182.109)
L267[15:20:16] ⇦ Quits: abab9579 (abab9579!~Abastro@175.117.182.109) (Client Quit)
L268[15:29:35] ⇦ Quits: quadraxis (quadraxis!~quadraxis@cpc77293-basf12-2-0-cust699.12-3.cable.virginm.net) (Ping timeout: 194 seconds)
L269[15:30:15] ⇨ Joins: covers1624_ (covers1624_!~covers162@ppp122-232-6.static.internode.on.net)
L270[15:32:21] ⇦ Quits: covers1624 (covers1624!~covers162@ppp122-232-6.static.internode.on.net) (Ping timeout: 198 seconds)
L271[15:38:39] ⇦ Quits: Hunterz (Hunterz!~hunterz@62.182.234.189) (Quit: Leaving.)
L272[15:44:18] ⇨ Joins: Kenny (Kenny!~Kenny@nat123.uco.edu)
L273[15:44:19] ⇦ Quits: Commoble (Commoble!~Commoble@71.7.93.3) (Quit: Leaving)
L274[15:44:59] ⇦ Quits: Hanii (Hanii!~textual@2a00:23c4:484:d100:60b8:fcc0:6cb1:dba5) (Quit: Textual IRC Client: www.textualapp.com)
L275[16:25:23] ⇨ Joins: Neo (Neo!~Neo@hekate.pc-logix.com)
L276[16:29:36] ⇦ Quits: Noppes (Noppes!~Noppes@ip56530f2e.direct-adsl.nl) (Read error: Connection reset by peer)
L277[16:29:36] ⇦ Quits: auenf (auenf!~David@CPE-139-168-72-108.lns4.cht.bigpond.net.au) (Read error: Connection reset by peer)
L278[16:42:49] ⇨ Joins: quadraxis (quadraxis!~quadraxis@cpc77293-basf12-2-0-cust699.12-3.cable.virginm.net)
L279[16:45:46] ⇨ Joins: moony (moony!~moony@tx-76-4-59-100.dhcp.embarqhsd.net)
L280[16:57:33] ⇦ Quits: moony (moony!~moony@tx-76-4-59-100.dhcp.embarqhsd.net) (Ping timeout: 198 seconds)
L281[16:58:29] ⇨ Joins: Javaschreiber1 (Javaschreiber1!~Thunderbi@88-209-32-73.nga.highspeed-baumann.de)
L282[16:58:56] <Twisted_Code> I'm taking a moment to refresh my understanding of the channel rules. What does it mean that "official API" is a banned topic?
L283[16:59:02] ⇦ Quits: Javaschreiber (Javaschreiber!~Thunderbi@88-209-32-73.nga.highspeed-baumann.de) (Read error: Connection reset by peer)
L284[16:59:02] *** Javaschreiber1 is now known as Javaschreiber
L285[16:59:31] <quadraxis> https://www.youtube.com/watch?v=G-zthYFjk6s
L286[17:07:37] ⇦ Quits: MCDis (MCDis!~MCDis@tterrag.com) ()
L287[17:07:43] ⇨ Joins: MCDis (MCDis!~MCDis@tterrag.com)
L288[17:08:02] ⇦ Quits: Raycoms (Raycoms!~Raycoms@2804:14d:baa0:96af:7926:c992:f9b3:df17) (Ping timeout: 207 seconds)
L289[17:15:12] ⇦ Quits: MCDis (MCDis!~MCDis@tterrag.com) ()
L290[17:15:20] ⇨ Joins: MCDis (MCDis!~MCDis@tterrag.com)
L291[17:15:24] ⇦ Quits: Javaschreiber (Javaschreiber!~Thunderbi@88-209-32-73.nga.highspeed-baumann.de) (Quit: Javaschreiber)
L292[17:17:31] ⇨ Joins: Raycoms (Raycoms!~Raycoms@2804:14d:baa0:96af:7926:c992:f9b3:df17)
L293[17:20:15] ⇨ Joins: Neo (Neo!~Neo@hekate.pc-logix.com)
L294[17:32:16] ⇦ Quits: Spottedleaf (Spottedleaf!~Spottedle@node-1w7jr9qqos9g2ri7du8o8ruym.ipv6.telus.net) (Killed (NickServ (GHOST command used by Spottedleaf_!~Spottedle@node-1w7jr9qqos9g25gluaqhni3bq.ipv6.telus.net)))
L295[17:32:20] ⇨ Joins: Spottedleaf (Spottedleaf!~Spottedle@node-1w7jr9qqos9g25gluaqhni3bq.ipv6.telus.net)
L296[17:52:49] ⇨ Joins: Neo (Neo!~Neo@hekate.pc-logix.com)
L297[17:53:13] <Raycoms> Do I need to mark chunks dirty to store my changes to them?
L298[17:53:54] <Abastro> Yes.
L299[17:54:03] <Abastro> AFAIK
L300[18:22:43] ⇦ Quits: Raycoms (Raycoms!~Raycoms@2804:14d:baa0:96af:7926:c992:f9b3:df17) (Quit: Leaving)
L301[18:26:37] ⇦ Quits: sinkillerj (sinkillerj!~sinkiller@nc-67-238-187-237.dhcp.embarqhsd.net) (Quit: ???)
L302[18:34:12] ⇦ Quits: gakai (gakai!~gakai@mail.bzeutzheim.de) (Ping timeout: 207 seconds)
L303[18:34:24] ⇨ Joins: minecrell (minecrell!~minecrell@irc.minecrell.net)
L304[18:34:51] ⇦ Quits: vehk (vehk!vehk@coleridge.vehk.de) (Ping timeout: 207 seconds)
L305[18:35:30] ⇦ Quits: amadornes (amadornes!~amadornes@framez.is.wtfcool.com) (Ping timeout: 207 seconds)
L306[18:35:30] ⇦ Quits: Gaz (Gaz!~Gaz492@2a01:4f8:a0:5336::2) (Ping timeout: 207 seconds)
L307[18:35:30] ⇦ Quits: raBit (raBit!~raBit@p200300C3CBEB735BB5DCAECB04F9B26A.dip0.t-ipconnect.de) (Ping timeout: 207 seconds)
L308[18:36:24] ⇨ Joins: vehk (vehk!vehk@coleridge.vehk.de)
L309[18:36:50] ⇨ Joins: gakai|off (gakai|off!~gakai@mail.bzeutzheim.de)
L310[18:36:52] *** gakai|off is now known as gakai
L311[18:40:01] ⇨ Joins: amadornes[OFF] (amadornes[OFF]!~amadornes@framez.is.wtfcool.com)
L312[18:40:01] MineBot sets mode: +v on amadornes[OFF]
L313[18:40:34] *** amadornes[OFF] is now known as amadornes
L314[18:48:06] ⇨ Joins: c233 (c233!~c233@164.40.199.252)
L315[18:54:19] ⇦ Quits: Nedelosk (Nedelosk!~Nedelosk@ip-37-201-253-118.hsi13.unitymediagroup.de) (Read error: Connection reset by peer)
L316[19:11:32] ⇦ Quits: RichardG (RichardG!~richardg8@201.37.246.64) (Ping timeout: 207 seconds)
L317[19:16:13] ⇨ Joins: RichardG (RichardG!~richardg8@201.37.246.64)
L318[19:16:13] MineBot sets mode: +v on RichardG
L319[19:29:36] ⇨ Joins: Neo (Neo!~Neo@hekate.pc-logix.com)
L320[19:52:29] ⇦ Quits: quadraxis (quadraxis!~quadraxis@cpc77293-basf12-2-0-cust699.12-3.cable.virginm.net) (Ping timeout: 207 seconds)
L321[19:53:27] ⇨ Joins: Shawn|i7-Q720M (Shawn|i7-Q720M!~shawn156@c-76-25-73-212.hsd1.co.comcast.net)
L322[20:04:18] ⇦ Quits: ben_mkiv (ben_mkiv!~ben_mkiv@p4FED42BD.dip0.t-ipconnect.de) (Ping timeout: 383 seconds)
L323[20:07:09] ⇨ Joins: RANKSHANK (RANKSHANK!~RANKSHANK@natpool-77.uow.edu.au)
L324[20:20:15] ⇨ Joins: Darkhax (Darkhax!~darkhax@d205-206-157-117.abhsia.telus.net)
L325[20:27:04] ⇦ Quits: RANKSHANK (RANKSHANK!~RANKSHANK@natpool-77.uow.edu.au) (Read error: Connection reset by peer)
L326[20:37:10] ⇨ Joins: Neo (Neo!~Neo@hekate.pc-logix.com)
L327[20:40:28] ⇨ Joins: diesieben|away (diesieben|away!~diesieben@abrarsyed.com)
L328[20:40:55] *** diesieben|away is now known as diesieben07
L329[21:00:01] ⇦ Quits: ssblur (ssblur!~Thunderbi@cpe-65-184-138-23.ec.res.rr.com) (Quit: ssblur)
L330[21:06:31] ⇦ Quits: c233 (c233!~c233@164.40.199.252) (Killed (NickServ (GHOST command used by c233_!~c233@164.40.197.66)))
L331[21:06:34] ⇨ Joins: c233 (c233!~c233@164.40.197.66)
L332[21:23:52] ⇦ Quits: RANKSHANK (RANKSHANK!~RANKSHANK@natpool-77.uow.edu.au) (Read error: Connection reset by peer)
L333[21:46:04] ⇨ Joins: Neo (Neo!~Neo@hekate.pc-logix.com)
L334[21:55:23] ⇨ Joins: McJty (McJty!~jorrit@ptr-9197ufqqnkjqe4cwfgl.18120a2.ip6.access.telenet.be)
L335[21:59:21] ⇦ Quits: KnightMiner (KnightMiner!~KnightMin@107-1-23-59-ip-static.hfc.comcastbusiness.net) (Ping timeout: 198 seconds)
L336[22:00:59] ⇨ Joins: covers1624 (covers1624!~covers162@ppp122-232-6.static.internode.on.net)
L337[22:01:15] ⇦ Quits: covers1624_ (covers1624_!~covers162@ppp122-232-6.static.internode.on.net) (Read error: Connection reset by peer)
L338[22:02:43] ⇦ Quits: Abastro (Abastro!~Abastro@175.117.182.109) (Ping timeout: 383 seconds)
L339[22:13:42] ⇨ Joins: RANKSHANK (RANKSHANK!~RANKSHANK@natpool-77.uow.edu.au)
L340[22:20:37] ⇦ Quits: IdleGandalf (IdleGandalf!~IdleGanda@staff.harting.hosting) (Quit: Leaving)
L341[22:20:55] ⇨ Joins: IdleGandalf (IdleGandalf!~IdleGanda@staff.harting.hosting)
L342[22:26:21] ⇦ Quits: RANKSHANK (RANKSHANK!~RANKSHANK@natpool-77.uow.edu.au) (Read error: Connection reset by peer)
L343[22:27:42] ⇦ Quits: covers1624 (covers1624!~covers162@ppp122-232-6.static.internode.on.net) (Read error: Connection reset by peer)
L344[22:27:47] ⇨ Joins: covers1624_ (covers1624_!~covers162@ppp122-232-6.static.internode.on.net)
L345[22:43:23] ⇨ Joins: Abastro (Abastro!~Abastro@222.107.209.1)
L346[22:45:17] ⇨ Joins: TheUnknownFew (TheUnknownFew!~TheUnknow@atc17-8-97.rhbd.psu.edu)
L347[22:46:44] <TheUnknownFew> !gp p_i1084_1_
L348[22:47:38] ⇦ Quits: Keridos (Keridos!~Keridos@static.56.72.76.144.clients.your-server.de) (Quit: ZNC - http://znc.in)
L349[22:48:00] ⇨ Joins: Keridos (Keridos!~Keridos@static.56.72.76.144.clients.your-server.de)
L350[22:49:17] ⇦ Quits: Lathanael|Away (Lathanael|Away!~Lathanael@p549602E9.dip0.t-ipconnect.de) (Ping timeout: 207 seconds)
L351[22:51:48] ⇨ Joins: Lathanael|Away (Lathanael|Away!~Lathanael@p54960251.dip0.t-ipconnect.de)
L352[22:56:00] ⇨ Joins: quadraxis (quadraxis!~quadraxis@cpc77293-basf12-2-0-cust699.12-3.cable.virginm.net)
L353[23:03:29] ⇨ Joins: KnightMiner (KnightMiner!~KnightMin@107-1-23-59-ip-static.hfc.comcastbusiness.net)
L354[23:12:11] ⇨ Joins: npe|office (npe|office!~NPExcepti@bps-gw.hrz.tu-chemnitz.de)
L355[23:16:11] ⇦ Quits: RichardG (RichardG!~richardg8@201.37.246.64) (Ping timeout: 383 seconds)
L356[23:17:11] <TheUnknownFew> anyone around able to help me?
L357[23:17:56] ⇦ Quits: McJty (McJty!~jorrit@ptr-9197ufqqnkjqe4cwfgl.18120a2.ip6.access.telenet.be) (Remote host closed the connection)
L358[23:18:03] <TheUnknownFew> Basically I'm trying to make a button in the main menu that links to a wiki, how ever the methods I've tried have not been successful. The same button works in the creative menu, just not the main menu.
L359[23:18:28] <TheUnknownFew> I've tried handleClickComponent and GuiConfirmOpenLink
L360[23:19:09] <TheUnknownFew> I get the "would you like to open this link" menu, but when I click "yes" it does nothing
L361[23:24:49] ⇦ Quits: covers1624_ (covers1624_!~covers162@ppp122-232-6.static.internode.on.net) (Read error: Connection reset by peer)
L362[23:24:50] ⇨ Joins: covers1624 (covers1624!~covers162@ppp122-232-6.static.internode.on.net)
L363[23:38:14] <Abastro> Did you put a breakpoint and try to see if there's anything going wrong?
L364[23:40:54] <TheUnknownFew> yeah
L365[23:41:15] <TheUnknownFew> The only difference is that one is in the main menu and the other is in the creative menu.
L366[23:42:44] ⇨ Joins: RANKSHANK (RANKSHANK!~Michael@ppp121-45-187-126.bras1.syd2.internode.on.net)
L367[23:43:57] <Abastro> So what's the actual method opening the website?
L368[23:44:28] <TheUnknownFew> this.handleComponentClick()
L369[23:45:33] <Abastro> So it just doesn't work on Creative GUI?
L370[23:45:51] <Abastro> I mean main menu
L371[23:45:52] <TheUnknownFew> no, it works on the creative GUI, just not the main menu
L372[23:45:54] <TheUnknownFew> yeah
L373[23:46:06] <TheUnknownFew> same exact code too
L374[23:46:11] <Abastro> How does it work? Did you check it out?
L375[23:46:26] <TheUnknownFew> actionPerformed(...) handleComponentClick
L376[23:47:04] <TheUnknownFew> yeah, it uses the TextComponent Click action to specify whether to open a link on click
L377[23:50:26] <TheUnknownFew> the code for handleComponentClick is in GuiScreen
L378[23:50:35] <TheUnknownFew> I've checked it and as far as I can tell, it should work
L379[23:52:33] <Abastro> Did you trace to the internal?
L380[23:53:04] <TheUnknownFew> I'm not sure what you mean. Rephrase that for me
L381[23:58:12] <Abastro> So what function actually opens the link.
L382[23:58:19] <Abastro> The one without any check
L383[23:58:42] <TheUnknownFew> the function that actually opens the link SHOULD be confirmClick defined in GuiScreen
<<Prev Next>> Scroll to Top