<<Prev Auto Refresh Scroll to Bottom
Stuff goes here
L1[00:21:43] ⇦ Quits: Vexatos (~Vexatos@p200300eaef2c9b004b03a04a4c0fcf07.dip0.t-ipconnect.de) (Quit: Insert quantum chemistry joke here)
L2[00:44:14] ⇨ Joins: Thutmose1 (~Patrick@2620:103:a004:31::135)
L3[00:46:11] ⇦ Quits: Thutmose (~Patrick@67.21.186.228) (Ping timeout: 190 seconds)
L4[01:00:34] <Amanda> Omfg, world of goo sequel
L5[01:21:34] ⇦ Quits: ben_mkiv (~ben_mkiv@200116B8004b2100FE3497FFFEA975F2.dip.versatel-1u1.de) (Quit: Leaving)
L6[01:34:06] ⇨ Joins: Webchat726 (webchat@67.5.6.207)
L7[01:34:45] ⇦ Quits: Webchat726 (webchat@67.5.6.207) (Client Quit)
L8[02:39:28] <immibis> %choose or
L9[02:39:28] <MichiBot> imm​ibis: A nearby persons hair turns orange
L10[02:39:38] <immibis> %choose or
L11[02:39:38] <MichiBot> imm​ibis: I'd advice against "or" right now.
L12[02:39:48] <immibis> %choose or or or
L13[02:39:49] <MichiBot> imm​ibis: Elementary dear Watson, "or" is the obvious choice!
L14[02:40:04] <immibis> %choose or
L15[02:40:05] <MichiBot> imm​ibis: Invalid arguments. %choose string
L16[02:45:35] <immibis> SquidDev: Fascism is the new normal
L17[02:45:46] <immibis> whether you like that or not (hopefully not) it's a fact
L18[02:53:57] ⇨ Joins: Thutmose (~Patrick@67.21.186.228)
L19[02:55:51] ⇦ Quits: Thutmose1 (~Patrick@2620:103:a004:31::135) (Ping timeout: 190 seconds)
L20[03:28:50] <noo​tles> Sorta feels like that defeats the whole purpose. https://discordembeds.pc-logix.com/live/1702006130599.png
L21[03:29:06] <noo​tles> I just wanted a simple controller for my fluid system.
L22[03:47:51] <Amanda> If you put the transposer inside it it can act as one
L23[03:48:14] <Amanda> That includes item inventories, not sure about fluids, but I'd assume so
L24[03:54:38] <Amanda> Damn, TGA is going on longer than I thought it would, I'm ready for a heccen zzzmew already
L25[03:55:17] <Amanda> @nootles also it's worth noting it can still connect for network messages, just not components (screen, etc)
L26[04:16:22] * Amanda tucks in around Elfi, does a heccen zzzmew
L27[04:16:27] <Amanda> Night girls
L28[04:50:20] <Forec​aster> A transposer has both an inventory and tank controller
L29[04:51:22] <Forec​aster> %tonk
L30[04:51:23] <MichiBot> I'm sorry Forecaster, you were not able to beat RedstoneParkour's record of 13 hours, 12 minutes and 47 seconds this time. 11 hours, 12 minutes and 8 seconds were wasted! Missed by 2 hours and 39 seconds!
L31[04:51:33] <Forec​aster> Dam
L32[05:25:08] <Corded> > <noo​tles> Sorta feels like that defeats the whole purpose.
L33[05:25:08] <Forec​aster> Only if you think the purpose of a micro controller is to connect to external components 😆
L34[05:25:59] <noo​tles> Well, I imagine that making a PID controller for some machine would be very useful.
L35[05:34:00] <immibis> https://badcyber.com/dieselgate-but-for-trains-some-heavyweight-hardware-hacking/
L36[05:38:37] <Izzy> Amanda: may be interesting to look into a DSS3 with each transposer being an independent MCU
L37[05:39:45] <Izzy> imagine you'd have to netboot all of them though
L38[06:23:55] <Corded> > <noo​tles> Well, I imagine that making a PID controller for some machi…
L39[06:23:55] <Forec​aster> The only real advantage of a MCU is that they're easy to move
L40[06:24:36] <Forec​aster> Everything they can do you can do with a regular computer case or a server, with the ability to connect external components
L41[06:25:41] <noo​tles> Wack.
L42[06:30:05] ⇨ Joins: Hawk777 (~Hawk777@2001:569:7e40:1300:6aa5:9729:8e26:24c8)
L43[06:41:29] <Forec​aster> I used them once back in 1.7 as level detectors in a fluid tank
L44[06:42:12] <Forec​aster> And in 1.12 as global network APs with port filtering
L45[07:45:13] <truo​izys> Hey does anyone know whats up with wget and pastebin n stuff, recently came back to the mod and i cant seem to download anything but full web-pages using any of the commands and im not sure if im missing something crucial or you just have to use direct download links now
L46[07:51:39] <Forec​aster> you have to use direct download links always
L47[07:52:08] <Forec​aster> not sure what you're trying to download, but wget downloads what the link you give it points to like it always has
L48[07:52:46] <truo​izys> I swear pastebin and wget used to take source out of github n stuff
L49[07:53:07] <Forec​aster> pastebin is for downloading pastebin files, nothing else
L50[07:53:16] <truo​izys> For me it downloads webpages
L51[07:53:38] <truo​izys> Same as wget, except only for pastebin
L52[07:54:17] <Forec​aster> well you're using it wrong either way
L53[07:54:44] <truo​izys> Ok?
L54[07:54:46] <Forec​aster> if you want to download a file from github you have to use wget and give it the link directly to that file
L55[07:54:59] <Forec​aster> the "raw" link you can get from github
L56[07:55:40] <Forec​aster> `pastebin get` takes a pastebin post id and downloads that file
L57[07:55:55] <Forec​aster> it might also take a pastebin url, I don't remember
L58[07:56:33] <Corded> > <Forec​aster> the "raw" link you can get from github
L59[07:56:33] <truo​izys> Ill try it again in a bit n get back to you
L60[07:57:41] <truo​izys> Ty for the help, glad I wasn’t doing something too terribly wrong
L61[07:59:04] ⇨ Joins: Vexatos (~Vexatos@p200300eaef062200ea60ee0fe73aea52.dip0.t-ipconnect.de)
L62[07:59:04] zsh sets mode: +v on Vexatos
L63[08:03:54] <noo​tles> Neat, a server works well enough for my controller purposes.
L64[08:16:56] <Forec​aster> I use servers for dumb eeprom based systems all the time because you can mount useful things in the racks
L65[08:34:22] ⇦ Quits: Hawk777 (~Hawk777@2001:569:7e40:1300:6aa5:9729:8e26:24c8) (Quit: Leaving.)
L66[09:40:52] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> hi how i print something that come from the server in the screen please? https://discordembeds.pc-logix.com/live/1702028452170.png
L67[09:46:59] <Forec​aster> broadcast a modem message from the server on a port
L68[09:47:13] <Forec​aster> open that port on the computer and catch the message with an event listener and print it
L69[10:02:42] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> how i broadcast a message please?
L70[10:19:58] <Forec​aster> check the wiki
L71[10:19:59] <Forec​aster> it tells you
L72[10:24:27] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> thanks for broadcast but why this show me this? so i just get another pastebin in the server https://discordembeds.pc-logix.com/live/1702031067585.png
L73[10:25:39] <Forec​aster> can you edit files in home?
L74[10:30:39] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> there is no files
L75[10:31:08] <Forec​aster> that's not what I'm asking
L76[10:31:19] <Forec​aster> I'm asking if you can `edit somefilename` in the home directory
L77[10:31:29] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> if no file, i cant edit a file who dosent exist ahh
L78[10:31:42] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> and i forget how to create file
L79[10:31:53] <Forec​aster> you create a file by editing a file that doesn't exist...
L80[10:32:20] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> okk
L81[10:32:38] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> https://discordembeds.pc-logix.com/live/1702031558581.png
L82[10:32:49] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> i have reset HDD
L83[10:32:52] <Forec​aster> yeah, that's what I expected
L84[10:33:02] <Forec​aster> you're running OpenOS from a floppy
L85[10:33:20] <Forec​aster> you can't create or edit files on the OpenOS floppy
L86[10:33:31] <Forec​aster> you have to install it on a harddrive first
L87[10:34:43] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> but i havent touched it from laste times and last times i have already create and edit files, how it is possible?
L88[10:35:56] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> and how install open os in HDD?
L89[10:36:11] <Forec​aster> I don't know what you meant by "I have reset HDD" but maybe that
L90[10:36:26] <Forec​aster> run the install program
L91[10:39:50] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> like this? https://discordembeds.pc-logix.com/live/1702031990370.png
L92[10:40:13] <Forec​aster> obviously not
L93[10:40:24] <Forec​aster> run the `install` program
L94[10:40:24] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> ha ok
L95[10:40:34] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> hooo ok
L96[10:41:23] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> when you break computer case, the OS will desinstall itself?
L97[10:41:29] <Forec​aster> no
L98[10:41:43] <Forec​aster> not if you keep the harddrive
L99[10:41:55] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> i change the HDD
L100[10:42:10] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> to put in the server haha
L101[10:42:21] <Forec​aster> okay...
L102[10:45:52] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> now i cant broadcast the message to computer screen from server
L103[10:46:04] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> https://pastebin.com/KxjWDgT9 script on computer
L104[10:46:24] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> https://pastebin.com/BL8LcH95 script from server
L105[10:47:46] <Forec​aster> I know I said "open the port on the computer"
L106[10:47:55] <Forec​aster> I definitely didn't say "open the port on the server"
L107[10:48:57] <Forec​aster> you only need to open the port on the device that is listening
L108[10:49:08] <Forec​aster> opening a port doesn't do anything when sending
L109[10:50:33] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> same thing https://discordembeds.pc-logix.com/live/1702032632779.png
L110[10:50:45] <Corded> > <Forec​aster> opening a port doesn't do anything when sending
L111[10:50:45] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> ok
L112[10:50:55] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> ho i forget open the good port ahha
L113[10:52:01] <Forec​aster> did you really expect opening any port would work...
L114[10:52:37] <Corded> > <Forec​aster> did you really expect opening any port would work...
L115[10:52:38] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> if its the same port its good no?
L116[10:56:49] <Forec​aster> yes
L117[10:58:54] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> ok so with my 2 pastebin i dont understand why i dont see anything on the screen but it freeze (to listen i thiink)
L118[11:02:40] <Forec​aster> use the `dmesg` program to check if the modem message even arrives
L119[11:03:01] <Forec​aster> also, never connect two computers with a cable like in your screenshot earlier
L120[11:03:16] <Forec​aster> you need a switch in-between
L121[11:03:42] <Forec​aster> OC cables transmit power, network **and component** connections
L122[11:04:13] <Forec​aster> the switch prevents everything but network connections
L123[11:07:05] ⇨ Joins: Thutmose1 (~Patrick@67.21.186.228)
L124[11:07:06] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> ok
L125[11:09:20] ⇦ Quits: Thutmose (~Patrick@67.21.186.228) (Ping timeout: 189 seconds)
L126[11:10:44] <Corded> > <Forec​aster> the switch prevents everything but network connections
L127[11:10:44] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> switch = lever?
L128[11:11:33] <Forec​aster> ...no
L129[11:11:47] <Forec​aster> It's an OpenComputers block
L130[11:13:25] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> https://discordembeds.pc-logix.com/live/1702034005188.png
L131[11:13:47] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> and the dmesg https://discordembeds.pc-logix.com/live/1702034027546.png
L132[11:14:13] <Forec​aster> oh right, it's called a Relay
L133[11:14:21] <Forec​aster> it used to be Switch
L134[11:14:45] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> ha ok
L135[11:19:17] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> https://discordembeds.pc-logix.com/live/1702034356765.png
L136[11:19:24] <Forec​aster> ...
L137[11:19:50] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> ?
L138[11:19:57] <Forec​aster> you realize that completely bypasses the relay right...
L139[11:21:34] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> nothing new https://discordembeds.pc-logix.com/live/1702034494062.png
L140[11:21:42] <Forec​aster> that's better
L141[11:21:55] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> but niot right? ahaah
L142[11:38:05] <Corded> > <Forec​aster> that's better
L143[11:38:05] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> ?
L144[11:41:17] <Forec​aster> ???
L145[11:43:49] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> and now i must do what?
L146[11:45:19] <Forec​aster> I dunno
L147[11:45:20] <Forec​aster> party
L148[11:47:17] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> i dont understand
L149[11:47:22] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> because im french
L150[12:18:39] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> ha i understand now, i want broadcast the message and teh screen dont receive anything @Forecaster
L151[12:21:38] <Forec​aster> that's unfortunate
L152[12:30:52] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> how i repair it please?
L153[12:50:51] <Forec​aster> You don't seriously expect me to know exactly what you've changed and not-changed since the last time you showed me literally anything do you
L154[12:53:28] <Amanda> @Inari dropped the crystal ball again, so we only know what you've told us and shown us
L155[12:56:18] <Corded> > <Forec​aster> You don't seriously expect me to know exactly what you've c…
L156[12:56:18] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> the scripts havnt changed
L157[12:56:34] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> and structure not
L158[13:02:26] <Amanda> Is the server configured for the correct sides to be connected?
L159[13:02:47] <Amanda> The small line needs to connect to the column that your cable's on
L160[13:13:53] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> https://discordembeds.pc-logix.com/live/1702041232857.png
L161[13:14:07] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> https://discordembeds.pc-logix.com/live/1702041246992.png
L162[13:14:46] <Forec​aster> there is no network card in that server
L163[13:16:06] ⇦ Quits: uis (~uis@95.165.156.213) (Quit: ZNC 1.7.5 - https://znc.in)
L164[13:16:17] ⇨ Joins: uis (~uis@95.165.156.213)
L165[13:16:35] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> its not same thing? https://discordembeds.pc-logix.com/live/1702041395156.png
L166[13:19:02] ⇨ Joins: Thutmose (~Patrick@2620:103:a004:31::120)
L167[13:20:14] ⇦ Quits: Thutmose1 (~Patrick@67.21.186.228) (Ping timeout: 189 seconds)
L168[13:22:29] <Amanda> no
L169[13:23:24] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> ok
L170[13:27:50] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> i have put a network card and nothing
L171[13:30:09] <Forec​aster> now go back and read the last thing Amanda said to check
L172[13:33:11] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> https://discordembeds.pc-logix.com/live/1702042391601.png
L173[13:40:10] <Amanda> Does the case have a network card too? I ask because it seems the server has two.
L174[13:44:23] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> ? https://discordembeds.pc-logix.com/live/1702043062814.png
L175[13:45:46] <Amanda> Have you resarted the "sat" program since putting the network cards in?
L176[13:47:46] <Amanda> %choose cubes or space or some other game
L177[13:47:46] <MichiBot> Ama​nda: I tried reading my tea leaves this morning. There was something about death and doom. Anyway, go with "some other game"
L178[13:56:33] <Corded> > <Ama​nda> Have you resarted the "sat" program since putting the netwo…
L179[13:56:33] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> no
L180[13:56:59] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> dont work
L181[14:00:32] <Forec​aster> maybe you should try something simpler
L182[14:01:55] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> ok
L183[14:03:24] <Forec​aster> like broadcasting a message from the lua console and see if the other computer receives it with `dmesg`
L184[14:19:21] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> nothing with this https://discordembeds.pc-logix.com/live/1702045160975.png
L185[14:31:20] <Forec​aster> Everything except the last call is not necessary
L186[14:31:56] <Forec​aster> Did you open port 1 on the other computer?
L187[14:33:29] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> working from console
L188[14:33:31] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> thanks
L189[14:38:29] <Forec​aster> In the lua console you can just do `component.modem.broadcast`
L190[14:42:46] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> thanks
L191[14:44:26] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> so i dont why i want broadcast it, i just need to do a local program, and duplicate it on the computer
L192[15:06:09] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> why this dont print the lines? https://discordembeds.pc-logix.com/live/1702047969570.png
L193[15:13:13] ⇦ Quits: DBotThePony (~Thunderbi@31.220.170.28) (Read error: Connection reset by peer)
L194[15:14:00] ⇨ Joins: DBotThePony (~Thunderbi@31.220.170.28)
L195[15:15:11] <Amanda> How are you opening the file?
L196[15:17:56] ⇨ Joins: DBotThePony1 (~Thunderbi@89.113.139.80)
L197[15:19:05] ⇦ Quits: DBotThePony (~Thunderbi@31.220.170.28) (Ping timeout: 195 seconds)
L198[15:19:06] *** DBotThePony1 is now known as DBotThePony
L199[15:19:49] <Corded> > <Ama​nda> How are you opening the file?
L200[15:19:49] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> this is in pastebin
L201[15:20:13] <Amanda> Show your entire code please, sometimes the issue isn't int he small snippet you think it is
L202[15:24:40] ⇨ Joins: DBotThePony1 (~Thunderbi@31.220.170.28)
L203[15:26:05] ⇦ Quits: DBotThePony (~Thunderbi@89.113.139.80) (Ping timeout: 195 seconds)
L204[15:26:34] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> https://pastebin.com/BL8LcH9T
L205[15:26:40] ⇨ Joins: DBotThePony (~Thunderbi@89.113.139.80)
L206[15:26:44] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> * https://pastebin.com/BL8LcH95
L207[15:26:51] ⇦ Quits: kilobyte (~kilobyte2@banana-new.kilobyte22.de) (Ping timeout: 190 seconds)
L208[15:27:17] ⇦ Quits: jackie (~jackie@banana-new.kilobyte22.de) (Ping timeout: 189 seconds)
L209[15:27:50] ⇦ Quits: nadja (~dequbed@banana-new.kilobyte22.de) (Ping timeout: 189 seconds)
L210[15:28:22] <Amanda> @TrueWorld io.read doesn't trim the newline at the end of the string, I don't think
L211[15:28:25] ⇦ Quits: DBotThePony1 (~Thunderbi@31.220.170.28) (Ping timeout: 195 seconds)
L212[15:28:49] <Amanda> or is that term.read
L213[15:29:08] <Amanda> And does satids.txt contain any lines?
L214[15:30:12] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> https://discordembeds.pc-logix.com/live/1702049412228.png
L215[15:30:16] <Corded> > <Ama​nda> And does satids.txt contain any lines?
L216[15:30:16] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> 1
L217[15:31:04] <Michiyo> You need to require term.
L218[15:31:10] <Michiyo> local term = require("term")
L219[15:31:20] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> ok
L220[15:31:24] <Michiyo> or.. something like that :D
L221[15:31:30] <Michiyo> I've not had any coffee, and 3 horus of sleep
L222[15:31:35] <Michiyo> hours too
L223[15:32:07] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> https://discordembeds.pc-logix.com/live/1702049526769.png
L224[15:36:36] ⇨ Joins: nadja (~dequbed@banana-new.kilobyte22.de)
L225[15:36:48] ⇨ Joins: jackie (~jackie@banana-new.kilobyte22.de)
L226[15:36:48] zsh sets mode: +v on jackie
L227[15:36:55] ⇨ Joins: kilobyte (~kilobyte2@banana-new.kilobyte22.de)
L228[15:36:55] zsh sets mode: +v on kilobyte
L229[15:43:34] <Michiyo> Right... you need to yield in a loop
L230[15:43:46] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> what mean to yield?
L231[15:43:48] <Michiyo> either os.sleep(0.1) or something
L232[15:46:16] ⇨ Joins: DBotThePony1 (~Thunderbi@31.220.170.28)
L233[15:47:40] ⇦ Quits: DBotThePony (~Thunderbi@89.113.139.80) (Ping timeout: 195 seconds)
L234[15:47:41] *** DBotThePony1 is now known as DBotThePony
L235[15:48:01] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> ok just after the term.read?
L236[15:48:28] <Michiyo> Somewhere in the actual loop
L237[15:48:48] <Michiyo> You're using a repeat until loop, so... somewhere in there
L238[15:50:32] ⇨ Joins: DBotThePony1 (~Thunderbi@89.113.139.80)
L239[15:50:35] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> here dont work https://discordembeds.pc-logix.com/live/1702050635502.png
L240[15:50:43] <Michiyo> Wait, I'm re-reading this.. I think you're going to want to put your term.read in your loop as well, otherwise the script is going to read the term input once, if you enter anything other than 3 it'll never read it again, unless I'm horribly misremembering
L241[15:51:10] ⇦ Quits: DBotThePony (~Thunderbi@31.220.170.28) (Ping timeout: 195 seconds)
L242[15:51:11] *** DBotThePony1 is now known as DBotThePony
L243[15:51:23] <Michiyo> That will only ever sleep if you enter 1.
L244[15:52:25] <Michiyo> The great news is, IIRC term.read also yields for you.
L245[15:52:33] <Corded> > <Mic​hiyo> Wait, I'm re-reading this.. I think you're going to want to…
L246[15:52:33] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> yes but it weird that it dont work like this
L247[15:54:14] <Michiyo> Read the info on term.read on the wiki
L248[15:54:15] <Michiyo> https://ocdoc.cil.li/api:term?s[]=term&s[]=read
L249[15:54:21] <Michiyo> Specifically
L250[15:54:24] <Michiyo> Note 2: This will return the entered string with the \n (new line character). If you want only the entered string to be returned, use io.read().
L251[15:54:45] <Amanda> ah, I had them reversed
L252[15:54:46] <Michiyo> your check will never match 1 (or 3) because your value is 1\n or whatever
L253[15:55:09] <Amanda> they originally used io.read, but I thought that was the one that doesn't trim the newlines
L254[15:56:01] <Michiyo> Your best solution, use local choice = io.read() INSIDE the repeat loop, before any of your checks. Otherwise your loop will run forever if you select anything that 1 (or 3 I guess)
L255[15:56:38] <Michiyo> Since right now you check it once, and continue to re-use that value in your loop forever if you select anything other than your handled selections (1 and 3)
L256[15:57:16] <Michiyo> (and even if you DO select 1, you can never select 3 to quit.
L257[15:57:17] <Michiyo> (
L258[15:57:22] <Michiyo> )* >_>
L259[15:59:59] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> it doesnt output lines ahha https://discordembeds.pc-logix.com/live/1702051198980.png
L260[16:00:32] <Michiyo> Right, because unless you tell it to, it won't.
L261[16:00:34] <Corded> > <Mic​hiyo> your check will never match 1 (or 3) because your value is …
L262[16:00:34] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> ho ok
L263[16:01:31] <Michiyo> if you want it to reprint the menu, you'll need to call term.clear if a choice is invalid, then re-print the menu yourself, in the loop, somewhere.
L264[16:03:58] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> still not working with io.read() https://discordembeds.pc-logix.com/live/1702051438698.png
L265[16:04:13] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> (script reminder https://pastebin.com/BL8LcH95)
L266[16:04:44] <Michiyo> erm.. no...
L267[16:05:11] ⇦ Quits: DBotThePony (~Thunderbi@89.113.139.80) (Read error: Connection reset by peer)
L268[16:05:22] <Michiyo> https://pastebin.com/59VQK3mB
L269[16:05:37] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> ho yes i forget the other term.read haha
L270[16:06:01] <Michiyo> remove the io.read where you have it there, and replace the term.read with io.read where I commented
L271[16:06:50] ⇨ Joins: DBotThePony (~Thunderbi@31.220.170.28)
L272[16:07:31] <Amanda> In display, maybe instead of " local fichier = io.open("satids.txt", "r")" you do " local fichier, error = io.open("satids.txt", "r")" then in add an else block that does "print("Failed to open file: " .. err)"
L273[16:07:47] <Amanda> right now if the file open fails, it'll silently fail
L274[16:08:06] <Amanda> s/error/err/
L275[16:08:06] <MichiBot> <Amanda> In display, maybe instead of " local fichier = io.open("satids.txt", "r")" you do " local fichier, err = io.open("satids.txt", "r")" then in add an else block that does "print("Failed to open file: " .. err)"
L276[16:08:45] <Corded> > <Mic​hiyo> remove the io.read where you have it there, and replace the…
L277[16:08:45] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> i need the first because if i choose 1, it will (normally) print the file then after this (with no delay) will term.clear() so i need time to see it
L278[16:10:44] <Michiyo> Well.. you're printing then term.clearing then prompting. Really you should only term.clear *after* the user selects something, and likely then only if it's invalid? right?
L279[16:11:32] <Michiyo> maybe an else on the `if isValidChoice(choice, validChoices) then` that clears if the choices aren't valid?
L280[16:12:03] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> now the 3 work well but 1 dont print file
L281[16:12:34] <Corded> > <Mic​hiyo> maybe an else on the `if isValidChoice(choice, validChoices…
L282[16:12:34] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> it do nothing
L283[16:12:51] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> but i will change this
L284[16:12:52] <Amanda> Nothing will be printed if the file fails to be opened, thata's why I'm suggesting making an else in there to print what the error was if the file isn't opened
L285[16:13:00] <Michiyo> ^
L286[16:13:40] <Optimus​ZeGaming> Hello, I've tried to implement the SimpleCommponent interface on my atm, but every time I get this error
L287[16:13:40] <Optimus​ZeGaming>
L288[16:13:40] <Optimus​ZeGaming> I'm using the latest version of opencomputer 1.12.2 1.8.3 https://discordembeds.pc-logix.com/live/1702052019934.txt
L289[16:14:05] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> it detect "1" like an invalid choice https://discordembeds.pc-logix.com/live/1702052045569.png
L290[16:14:35] <Corded> > <Ama​nda> Nothing will be printed if the file fails to be opened, tha…
L291[16:14:35] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> ok
L292[16:18:10] <Michiyo> @OptimusZeGaming This your issue from July? https://github.com/MightyPirates/OpenComputers/issues/3637
L293[16:18:10] <MichiBot> Title: [MC1.12.2] The Simple Component interface produces an error when creating a new device | Posted by: OptimusZeGaming | Posted: Fri Jul 14 17:03:03 UTC 2023 | Status: open
L294[16:18:34] <Optimus​ZeGaming> yes
L295[16:18:41] <Michiyo> If so, how are you including the OC API in your mod's gradle file?
L296[16:19:38] <Optimus​ZeGaming> as its ```compileOnly fileTree(dir: 'lib', include: '*.jar')```
L297[16:20:19] <Michiyo> so... you're just putting the jar in the lib directory and depending on that?
L298[16:20:42] <Michiyo> From the readme.md in the repo "add -Dfml.coreMods.load=li.cil.oc.common.launch.TransformerLoader to the VM options in your run configuration."
L299[16:21:15] <Michiyo> If you're not using gradle to handle the deps by specifically adding the api jar you need to do that for the class transformers to actually run
L300[16:24:40] <Corded> > <🏳🌈🇺🇦True​World🇺🇦🏳🌈> it detect "1" like an invalid choice
L301[16:24:40] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> .
L302[16:25:02] <Corded> > <Mic​hiyo> From the readme.md in the repo "add -Dfml.coreMods.load=li.…
L303[16:25:02] <Optimus​ZeGaming> I checked that I had set the options correctly, but even with it I get the same error.
L304[16:26:17] <Michiyo> Remove your SimpleComponent implementation, run the game, does OpenComputers function as you would normally expect it? I would bet not.
L305[16:27:01] <Michiyo> Alternative build your mod as is, load it in a normal MC instance with OC installed, does the game crash with the same error?
L306[16:27:24] <Michiyo> If no to both, then something is wrong in your IDE with the class transformer.
L307[16:28:50] <Corded> > <Mic​hiyo> Remove your SimpleComponent implementation, run the game, d…
L308[16:28:50] <Optimus​ZeGaming> Yes, it works normally
L309[16:28:56] <Michiyo> Discord user whom I can't ping from IRC, you're going to have to learn to debug your code. even simple stuff like printing returned values can give you valuable insight
L310[16:29:29] <Michiyo> The number of times I've used print("IT GOT HERE") and print(whateverInputIGot) while debugging is very high..
L311[16:30:03] <Michiyo> Also... the number of times I've printed various expletives after I've been bashing my head against the same chunk of code to see where it makes it...
L312[16:31:53] <Forec​aster> @🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈 this one
L313[16:32:08] <Michiyo> Yes, thank you, I can't Discord ATM
L314[16:33:40] <Michiyo> @OptimusZeGaming *SOMETHING* is causing the class transformer to not run
L315[16:34:21] <Forec​aster> Not enough energon
L316[16:38:50] <Michiyo> @OptimusZeGaming my best suggestion is to stop trying to load the OpenComp dep from libs like you are now, and actually use gradle to load it
L317[16:39:04] <Michiyo> https://github.com/PC-Logix/OpenLights/blob/1.12.2/build.gradle#L20-L25 and https://github.com/PC-Logix/OpenLights/blob/1.12.2/build.gradle#L51-L53
L318[16:40:11] ⇨ Joins: Hawk777 (~Hawk777@2001:569:7e40:1300:9a01:147f:9201:6ea)
L319[16:40:19] <Corded> > <Forec​aster> @🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈 this one
L320[16:40:20] <🏳🌈🇺🇦True​World🇺🇦🏳🌈> this one what?
L321[16:40:41] <Michiyo> I ported OpenLights to 1.12 because someone else had the same issue you were having @OptimusZeGaming and that IIRC was the fix
L322[16:40:43] <Amanda> Fore was pinging you for Michiyo because your nick is impossible to ping from IRC
L323[16:41:46] <Corded> > <Mic​hiyo> Alternative build your mod as is, load it in a normal MC in…
L324[16:41:46] <Optimus​ZeGaming> no, I don't get it wrong when I build and launch it
L325[16:45:17] <Michiyo> So I'm assuming that means that it works when you build it and launch it... which again, 100% confirms, it's an issue with your IDE not running the class transformers correctly.
L326[16:45:25] <Michiyo> If that ISN'T what it means, then apologies
L327[16:48:43] <Optimus​ZeGaming> I took what is marked in the build.gradle but it doesn't work. https://discordembeds.pc-logix.com/live/1702054123123.png
L328[16:50:13] <Optimus​ZeGaming> This method also does not work https://discordembeds.pc-logix.com/live/1702054213007.png
L329[16:50:56] <Michiyo> did you add *both* sections I indicated? Cause I'm not seeing it check the OC Maven...
L330[16:51:07] <Michiyo> https://github.com/PC-Logix/OpenLights/blob/1.12.2/build.gradle#L20-L25
L331[16:51:15] <Michiyo> You need to tell Gradle that the OC Maven exists
L332[16:53:19] <Corded> > <Mic​hiyo> did you add *both* sections I indicated? Cause I'm not seei…
L333[16:53:19] <Optimus​ZeGaming> The problem is that OC version 1.8.3 is not available in this repository.
L334[16:54:26] <Michiyo> You can dep 1.7+ and it'll work on 1.8
L335[16:54:38] <Michiyo> You just wont have 1.7 available in your dev env
L336[16:54:54] <Michiyo> So, you either do that, or you figure out why your IDE isn't running the class transformer.
L337[16:54:56] <Michiyo> your choice.,
L338[16:55:17] <Michiyo> err you won't have 1.8 in your dev env...
L339[16:55:50] <Michiyo> Not sure why 1.8 isn't on maven
L340[16:56:13] <Michiyo> That'd be a @Sangar question which he may not see for a while.
L341[16:56:49] <Michiyo> But I can confirm 1.7 depped mods run fine on 1.8, OpenSecurity works fine in OC 1.8
L342[16:57:25] <Optimus​ZeGaming> There are packages on the git repository https://github.com/orgs/MightyPirates/packages?repo_name=OpenComputers
L343[16:58:06] <Michiyo> You can try that then, but you'll need to convert the XML style there into the gradle format.
L344[16:58:55] <Michiyo> I've never used that though, so no idea exactly how it works.
L345[17:07:37] <SquidDev> GH repositories require authentication to use, so it's a bit of a faff to get Gradle set up with them :/.
L346[17:08:08] <Michiyo> Honestly unless you *NEED* something in 1.8.3 to develop your mod... 1.7 will work fine.
L347[17:16:57] <Forec​aster> %sip
L348[17:16:58] <MichiBot> You drink a punctual orange potion (New!). A swinging blade comes flying towards Forecaster from nowhere! They fail to evade it with a 10 vs DC 16 and takes 1d​8 => 6 damage.
L349[17:17:05] <Forec​aster> Ouch
L350[17:40:39] <Optimus​ZeGaming> I managed to configure the repository, but I still have this problem of transforming.
L351[17:42:38] <Amanda> @Michiyo Assuming you're not hitting something that was changed in 1.7 -> 1.8 like OpenTablets was. Granted, I'm messing with internals of OC for that mod
L352[17:43:11] <Michiyo> I did specify "unless you need something from 1.8"
L353[17:43:40] <Amanda> I'm pretty sure 99% of the APIs are the same though
L354[17:45:37] <Optimus​ZeGaming> But I have the impression that Intellij Idea doesn't take into account the option -Dfml.coreMods.load=li.cil.oc.common.launch.TransformerLoader
L355[17:54:12] <Forec​aster> %tonkout
L356[17:54:13] <MichiBot> I'm sorry Forec​aster, you were not able to beat Redston​eParkour's record of 13 hours, 12 minutes and 47 seconds this time. 13 hours, 2 minutes and 49 seconds were wasted! Missed by 9 minutes and 57 seconds!
L357[17:54:22] <Forec​aster> Damnit
L358[17:54:25] <SquidDev> >_>
L359[17:54:34] <Forec​aster> That's all my goes for this round
L360[17:54:45] <Forec​aster> %tonkattempts
L361[17:54:45] <MichiBot> You have no attempts left. When a successful tonk or tonkout happens everyone gets 2 new attempts.
L362[17:57:14] <Hawk777> … what happens if everyone playing the tonk game ruins their attempts? Does the game just never continue until a new player joins?
L363[17:58:01] <Michiyo> You take the hit, wait for time to run out, change your nick, and everyone loses out on the points.
L364[17:58:23] <Hawk777> Ah, right, I guess switching nicknames is easy, this being IRC.
L365[17:59:18] <Hawk777> I just thought it would be funny if that ever happened, and someone who didn’t care at all about the game just decided to finally come in and gain two weeks’ worth of tonk points in one command.
L366[17:59:43] <Michiyo> Likely 2, unless they know to go grab the tonk code :P
L367[17:59:54] <Hawk777> True!
L368[18:01:06] ⇦ Quits: Hawk777 (~Hawk777@2001:569:7e40:1300:9a01:147f:9201:6ea) (Quit: Leaving.)
L369[18:01:16] ⇨ Joins: Hawk777 (~Hawk777@2001:569:7e40:1300:9a01:147f:9201:6ea)
L370[18:05:13] ⇦ Quits: Hawk777 (~Hawk777@2001:569:7e40:1300:9a01:147f:9201:6ea) (Client Quit)
L371[18:05:52] ⇨ Joins: Hawk777 (~Hawk777@2001:569:7e40:1300:9a01:147f:9201:6ea)
L372[18:05:57] <Forec​aster> That's where the micro transactions come in
L373[18:25:04] <Michiyo> Hey, yeah.. we could totally sell more tonk attempts!
L374[18:25:11] <Michiyo> $9.99 for 2 more?
L375[18:25:16] <Michiyo> $19.99 for 5!
L376[18:36:10] <Optimus​ZeGaming> Well, I haven't been able to correct this problem Transforme
L377[18:40:27] <Hawk777> Hello, I am a 1337 hacker. All your tonk attempts have been locked with 97⅔-bit encryption. Please send $5 worth of Dogecoin, or three NFTs of dank memes, to the address below to unlock your precious tonk attempts.
L378[18:52:24] <Corded> > <Mic​hiyo> $19.99 for 5!
L379[18:52:24] <Forec​aster> No no, you get 2 attempts for 8 MichiPoints, or 5 for 18, but the points only come in packs of 30 or 50
L380[18:59:58] <Mim​iru> Amazing.
L381[19:00:03] <Mim​iru> and yay I can Discord again
L382[20:03:11] <Amanda> Or can you? ~deletes discord off @Mimiru's devices~
L383[20:05:22] <Mim​iru> Rude.
L384[20:06:17] <Mim​iru> I really need some way to do HA without having shared storage... 2 VMs that just constantly sync changes from A -> B, then when A goes down B picks up, and when A comes back up B syncs back and then everything moves back over ._.
L385[20:07:00] <Mim​iru> including MariaDB syncs.. :/
L386[20:37:57] <Va​ur> %greenshell Forecaster
L387[20:37:57] <MichiBot> Va​ur: Unfortunately you missed with a 8 vs 10.
<<Prev Auto Refresh Scroll to Top