<<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> immibis: A nearby
persons hair turns orange
L10[02:39:38] <immibis> %choose or
L11[02:39:38] <MichiBot> immibis: I'd
advice against "or" right now.
L12[02:39:48] <immibis> %choose or or
or
L13[02:39:49] <MichiBot> immibis:
Elementary dear Watson, "or" is the obvious choice!
L14[02:40:04] <immibis> %choose or
L15[02:40:05] <MichiBot> immibis: 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)
L21[03:29:06]
<nootles> 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]
<Forecaster> A transposer has both an
inventory and tank controller
L29[04:51:22]
<Forecaster> %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]
<Forecaster> Dam
L32[05:25:08] <Corded> >
<nootles> Sorta feels like that defeats the whole
purpose.
L33[05:25:08]
<Forecaster> Only if you think the purpose
of a micro controller is to connect to external components 😆
L34[05:25:59]
<nootles>
Well, I imagine that making a PID controller for some machine would
be very useful.
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> >
<nootles> Well, I imagine that making a PID controller for
some machi…
L39[06:23:55]
<Forecaster> The only real advantage of a
MCU is that they're easy to move
L40[06:24:36]
<Forecaster> 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]
<nootles>
Wack.
L42[06:30:05] ⇨
Joins: Hawk777
(~Hawk777@2001:569:7e40:1300:6aa5:9729:8e26:24c8)
L43[06:41:29]
<Forecaster> I used them once back in 1.7
as level detectors in a fluid tank
L44[06:42:12]
<Forecaster> And in 1.12 as global network
APs with port filtering
L45[07:45:13]
<truoizys>
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]
<Forecaster> you have to use direct
download links always
L47[07:52:08]
<Forecaster> 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]
<truoizys>
I swear pastebin and wget used to take source out of github n
stuff
L49[07:53:07]
<Forecaster> pastebin is for downloading
pastebin files, nothing else
L50[07:53:16]
<truoizys>
For me it downloads webpages
L51[07:53:38]
<truoizys>
Same as wget, except only for pastebin
L52[07:54:17]
<Forecaster> well you're using it wrong
either way
L53[07:54:44]
<truoizys>
Ok?
L54[07:54:46]
<Forecaster> 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]
<Forecaster> the "raw" link you
can get from github
L56[07:55:40]
<Forecaster> `pastebin get` takes a
pastebin post id and downloads that file
L57[07:55:55]
<Forecaster> it might also take a pastebin
url, I don't remember
L58[07:56:33] <Corded> >
<Forecaster> the "raw" link you can get from
github
L59[07:56:33]
<truoizys>
Ill try it again in a bit n get back to you
L60[07:57:41]
<truoizys>
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]
<nootles>
Neat, a server works well enough for my controller purposes.
L64[08:16:56]
<Forecaster> 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.)
L67[09:46:59]
<Forecaster> broadcast a modem message
from the server on a port
L68[09:47:13]
<Forecaster> open that port on the
computer and catch the message with an event listener and print
it
L69[10:02:42]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> how i broadcast a
message please?
L70[10:19:58]
<Forecaster> check the wiki
L71[10:19:59]
<Forecaster> it tells you
L73[10:25:39]
<Forecaster> can you edit files in
home?
L74[10:30:39]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> there is no
files
L75[10:31:08]
<Forecaster> that's not what I'm
asking
L76[10:31:19]
<Forecaster> I'm asking if you can `edit
somefilename` in the home directory
L77[10:31:29]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> if no file, i cant
edit a file who dosent exist ahh
L78[10:31:42]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> and i forget how to
create file
L79[10:31:53]
<Forecaster> you create a file by editing
a file that doesn't exist...
L80[10:32:20]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> okk
L82[10:32:49]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> i have reset HDD
L83[10:32:52]
<Forecaster> yeah, that's what I
expected
L84[10:33:02]
<Forecaster> you're running OpenOS from a
floppy
L85[10:33:20]
<Forecaster> you can't create or edit
files on the OpenOS floppy
L86[10:33:31]
<Forecaster> you have to install it on a
harddrive first
L87[10:34:43]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> 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]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> and how install open
os in HDD?
L89[10:36:11]
<Forecaster> I don't know what you meant
by "I have reset HDD" but maybe that
L90[10:36:26]
<Forecaster> run the install program
L92[10:40:13]
<Forecaster> obviously not
L93[10:40:24]
<Forecaster> run the `install`
program
L94[10:40:24]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> ha ok
L95[10:40:34]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> hooo ok
L96[10:41:23]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> when you break
computer case, the OS will desinstall itself?
L97[10:41:29]
<Forecaster> no
L98[10:41:43]
<Forecaster> not if you keep the
harddrive
L99[10:41:55]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> i change the HDD
L100[10:42:10]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> to put in the server
haha
L101[10:42:21]
<Forecaster> okay...
L102[10:45:52]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> now i cant broadcast
the message to computer screen from server
L105[10:47:46]
<Forecaster> I know I said "open the
port on the computer"
L106[10:47:55]
<Forecaster> I definitely didn't say
"open the port on the server"
L107[10:48:57]
<Forecaster> you only need to open the
port on the device that is listening
L108[10:49:08]
<Forecaster> opening a port doesn't do
anything when sending
L110[10:50:45] <Corded> >
<Forecaster> opening a port doesn't do anything when
sending
L111[10:50:45]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> ok
L112[10:50:55]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> ho i forget open the
good port ahha
L113[10:52:01]
<Forecaster> did you really expect opening
any port would work...
L114[10:52:37] <Corded> >
<Forecaster> did you really expect opening any port would
work...
L115[10:52:38]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> if its the same port
its good no?
L116[10:56:49]
<Forecaster> yes
L117[10:58:54]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> 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]
<Forecaster> use the `dmesg` program to
check if the modem message even arrives
L119[11:03:01]
<Forecaster> also, never connect two
computers with a cable like in your screenshot earlier
L120[11:03:16]
<Forecaster> you need a switch
in-between
L121[11:03:42]
<Forecaster> OC cables transmit power,
network **and component** connections
L122[11:04:13]
<Forecaster> the switch prevents
everything but network connections
L123[11:07:05]
⇨ Joins: Thutmose1 (~Patrick@67.21.186.228)
L124[11:07:06]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> ok
L125[11:09:20] ⇦
Quits: Thutmose (~Patrick@67.21.186.228) (Ping timeout: 189
seconds)
L126[11:10:44] <Corded> >
<Forecaster> the switch prevents everything but network
connections
L127[11:10:44]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> switch = lever?
L128[11:11:33]
<Forecaster> ...no
L129[11:11:47]
<Forecaster> It's an OpenComputers
block
L132[11:14:13]
<Forecaster> oh right, it's called a
Relay
L133[11:14:21]
<Forecaster> it used to be Switch
L134[11:14:45]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> ha ok
L136[11:19:24]
<Forecaster> ...
L137[11:19:50]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> ?
L138[11:19:57]
<Forecaster> you realize that completely
bypasses the relay right...
L140[11:21:42]
<Forecaster> that's better
L141[11:21:55]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> but niot right?
ahaah
L142[11:38:05] <Corded> >
<Forecaster> that's better
L143[11:38:05]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> ?
L144[11:41:17]
<Forecaster> ???
L145[11:43:49]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> and now i must do
what?
L146[11:45:19]
<Forecaster> I dunno
L147[11:45:20]
<Forecaster> party
L148[11:47:17]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> i dont
understand
L149[11:47:22]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> because im
french
L150[12:18:39]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> ha i understand now, i
want broadcast the message and teh screen dont receive anything
@Forecaster
L151[12:21:38]
<Forecaster> that's unfortunate
L152[12:30:52]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> how i repair it
please?
L153[12:50:51]
<Forecaster> 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> >
<Forecaster> You don't seriously expect me to know exactly
what you've c…
L156[12:56:18]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> the scripts havnt
changed
L157[12:56:34]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> 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
L162[13:14:46]
<Forecaster> there is no network card in
that server
L164[13:16:17]
⇨ Joins: uis (~uis@95.165.156.213)
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]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> ok
L170[13:27:50]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> i have put a network
card and nothing
L171[13:30:09]
<Forecaster> now go back and read the last
thing Amanda said to check
L173[13:40:10] <Amanda> Does the case have
a network card too? I ask because it seems the server has
two.
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> Amanda: 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> >
<Amanda> Have you resarted the "sat" program since
putting the netwo…
L179[13:56:33]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> no
L180[13:56:59]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> dont work
L181[14:00:32]
<Forecaster> maybe you should try
something simpler
L182[14:01:55]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> ok
L183[14:03:24]
<Forecaster> like broadcasting a message
from the lua console and see if the other computer receives it with
`dmesg`
L185[14:31:20]
<Forecaster> Everything except the last
call is not necessary
L186[14:31:56]
<Forecaster> Did you open port 1 on the
other computer?
L187[14:33:29]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> working from
console
L188[14:33:31]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> thanks
L189[14:38:29]
<Forecaster> In the lua console you can
just do `component.modem.broadcast`
L190[14:42:46]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> thanks
L191[14:44:26]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> so i dont why i want
broadcast it, i just need to do a local program, and duplicate it
on the computer
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> >
<Amanda> How are you opening the file?
L200[15:19:49]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> 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)
L205[15:26:40]
⇨ Joins: DBotThePony (~Thunderbi@89.113.139.80)
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?
L215[15:30:16] <Corded> >
<Amanda> And does satids.txt contain any lines?
L216[15:30:16]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> 1
L217[15:31:04] <Michiyo> You need to
require term.
L218[15:31:10] <Michiyo> local term =
require("term")
L219[15:31:20]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> 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
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]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> 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]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> 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)
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> >
<Michiyo> Wait, I'm re-reading this.. I think you're going
to want to…
L246[15:52:33]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> yes but it weird that
it dont work like this
L247[15:54:14] <Michiyo> Read the info on
term.read on the wiki
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> )*
>_>
L260[16:00:32] <Michiyo> Right, because
unless you tell it to, it won't.
L261[16:00:34] <Corded> >
<Michiyo> your check will never match 1 (or 3) because your
value is …
L262[16:00:34]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> 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.
L266[16:04:44] <Michiyo> erm.. no...
L267[16:05:11] ⇦
Quits: DBotThePony (~Thunderbi@89.113.139.80) (Read error:
Connection reset by peer)
L269[16:05:37]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> 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> >
<Michiyo> remove the io.read where you have it there, and
replace the…
L277[16:08:45]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> 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]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> now the 3 work well
but 1 dont print file
L281[16:12:34] <Corded> >
<Michiyo> maybe an else on the `if isValidChoice(choice,
validChoices…
L282[16:12:34]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> it do nothing
L283[16:12:51]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> 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]
<OptimusZeGaming> Hello, I've tried to
implement the SimpleCommponent interface on my atm, but every time
I get this error
L287[16:13:40]
<OptimusZeGaming>
L290[16:14:35] <Corded> >
<Amanda> Nothing will be printed if the file fails to be
opened, tha…
L291[16:14:35]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> ok
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]
<OptimusZeGaming> 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]
<OptimusZeGaming> 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> >
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> it detect "1" like an invalid
choice
L301[16:24:40]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> .
L302[16:25:02] <Corded> >
<Michiyo> From the readme.md in the repo "add
-Dfml.coreMods.load=li.…
L303[16:25:02]
<OptimusZeGaming> 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> >
<Michiyo> Remove your SimpleComponent implementation, run
the game, d…
L308[16:28:50]
<OptimusZeGaming> 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]
<Forecaster> @🏳🌈🇺🇦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]
<Forecaster> 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
L318[16:40:11]
⇨ Joins: Hawk777
(~Hawk777@2001:569:7e40:1300:9a01:147f:9201:6ea)
L319[16:40:19] <Corded> >
<Forecaster> @🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈 this one
L320[16:40:20]
<🏳🌈🇺🇦TrueWorld🇺🇦🏳🌈> 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> >
<Michiyo> Alternative build your mod as is, load it in a
normal MC in…
L324[16:41:46]
<OptimusZeGaming> 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
L329[16:50:56] <Michiyo> did you add
*both* sections I indicated? Cause I'm not seeing it check the OC
Maven...
L331[16:51:15] <Michiyo> You need to tell
Gradle that the OC Maven exists
L332[16:53:19] <Corded> >
<Michiyo> did you add *both* sections I indicated? Cause I'm
not seei…
L333[16:53:19]
<OptimusZeGaming> 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
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]
<Forecaster> %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 1d8 => 6 damage.
L349[17:17:05]
<Forecaster> Ouch
L350[17:40:39]
<OptimusZeGaming> 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]
<OptimusZeGaming> 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]
<Forecaster> %tonkout
L356[17:54:13] <MichiBot> I'm sorry
Forecaster, you were not able to beat RedstoneParkour'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]
<Forecaster> Damnit
L358[17:54:25] <SquidDev> >_>
L359[17:54:34]
<Forecaster> That's all my goes for this
round
L360[17:54:45]
<Forecaster> %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]
<Forecaster> 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]
<OptimusZeGaming> 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> >
<Michiyo> $19.99 for 5!
L379[18:52:24]
<Forecaster> 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]
<Mimiru>
Amazing.
L381[19:00:03]
<Mimiru>
and yay I can Discord again
L382[20:03:11] <Amanda> Or can you?
~deletes discord off @Mimiru's devices~
L383[20:05:22]
<Mimiru>
Rude.
L384[20:06:17]
<Mimiru> 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]
<Mimiru>
including MariaDB syncs.. :/
L386[20:37:57]
<Vaur>
%greenshell Forecaster
L387[20:37:57] <MichiBot> Vaur:
Unfortunately you missed with a 8 vs 10.