<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:05:27]
<Forecaster> %tonk
L2[00:05:29] <MichiBot> Heckgosh!
Forecaster! You beat Lizzy's previous record of 14 minutes and 40
seconds (By 9 minutes and 39 seconds)! I hope you're happy!
L3[00:05:30] <MichiBot> Forecaster's new
record is 24 minutes and 20 seconds! Forecaster also gained 0.00016
tonk points for stealing the tonk. Position #1.
L4[00:14:34] ⇦
Quits: t20kdc
(~20kdc@cpc139340-aztw33-2-0-cust225.18-1.cable.virginm.net)
(Remote host closed the connection)
L6[00:29:26] ⇨
Joins: BrightYC (~BrightYC@nitrogen.one)
L7[00:34:26]
<Kristopher38> what was that API called
that let you generate random UUIDs?
L8[00:34:42] <Izaya> vcomponent has a
function for it
L9[00:34:57] <Lizzy> %tonk
L10[00:34:58] <MichiBot> Consarn it!
Lizzy! You beat Forecaster's previous record of 24 minutes and 20
seconds (By 5 minutes and 9 seconds)! I hope you're happy!
L11[00:34:58] <Amanda> so does `uuid`
L12[00:34:59] <MichiBot> Lizzy's new record
is 29 minutes and 29 seconds! Lizzy also gained 0.00009 tonk points
for stealing the tonk. Position #4. Need 0.2815516 more points to
pass SquidDev!
L13[00:35:03] <Amanda> `uuid.next`
L14[00:35:29]
<Kristopher38> thank you, that's what I
was looking for
L15[00:36:19] ⇨
Joins: Cruor (Cruor@satomi.openshell.no)
L16[00:36:21] ⇨
Joins: jackie (~jackie@irc.chaosfield.at)
L17[00:36:21] zsh
sets mode: +v on jackie
L18[00:44:53] ⇨
Joins: Webchat195
(webchat@ip70-162-91-182.ph.ph.cox.net)
L20[00:59:35] ⇦
Quits: bauen1 (~bauen1@ipbcc03d1e.dynamic.kabel-deutschland.de)
(Ping timeout: 202 seconds)
L21[00:59:42] ⇨
Joins: bauen1
(~bauen1@ipbcc03d1e.dynamic.kabel-deutschland.de)
L22[01:11:10] ⇦
Quits: Webchat195 (webchat@ip70-162-91-182.ph.ph.cox.net) (Quit:
webchat.esper.net)
L23[02:05:07] ⇦
Quits: Vexatos (~Vexatos@port-92-192-63-132.dynamic.as20676.net)
(Quit: Insert quantum chemistry joke here)
L24[02:08:06]
<Kristopher38> holy shit
L25[02:08:32]
<Kristopher38> inventory controller has a
function to get all stack information in a single component
call
L26[02:09:28]
<Kristopher38> which is undocumented on
the wiki
L27[02:11:17]
<Ocawesome101> nice
L28[02:11:26]
<Ocawesome101> document it?
L29[02:12:56]
<Kristopher38> yes
L30[02:13:22]
<Kristopher38> but that's for tomorrow,
3am here
L31[02:14:47]
<Ocawesome101> lol
L32[02:14:51]
<Ocawesome101> good night (morning?)
L33[02:17:16]
<Kristopher38> %remindme 11h update wiki
page on inventory controller
L34[02:17:17] <MichiBot> I'll remind you
about "update wiki page on inventory controller" at
07/24/2020 05:17:16 AM
L35[02:18:14]
<Kristopher38> what's the point of
printing "5 AM" when there are people from vastly
different timezones here :GWchadThonkery:
L36[02:19:39]
<Kristopher38> Anyway goodnight
L37[02:49:26] <Amanda> @kristopher38
because you can do this to get the current time:
L38[02:49:33] <Amanda> %time
L39[02:49:34] <MichiBot> Amanda:
2020-Jul-24 01:49:34
L40[02:49:50] <Amanda> ... or not
L41[02:49:56] <Amanda> %octime ?
L42[02:49:56] <MichiBot> Amanda:
2020-Jul-24 01:49:56
L43[02:50:06] <Amanda> Welp, I tried
L44[02:50:49] *
Amanda snugsafairy, finds some YouTube to relax to while she waits
for her brain to decide to sign for the delivery of tireds she
ordered
L45[03:24:07] <Michiyo> octime is an alias
to time
L46[03:24:26] <Amanda> Ah
L47[03:24:44] <Michiyo> having it print the
bots time would be.. handy I suppose
L48[03:25:11] <Amanda> I could have sworn
that's what it already did
L49[03:25:12] <Michiyo> the original idea
was to keep track of the time response from the user, and show it
in local time adjusted
L50[03:25:20] <Amanda> Ah
L51[03:25:22] <Michiyo> but with the bridge
that's pointless
L52[03:25:39] <Michiyo> for %remindme, I
should specify
L53[03:26:10] <Amanda> Doesn't she get a
unique uid for every user from corded?
L54[03:26:52] <Amanda> So that they can be
ignored?
L55[03:27:18] <Amanda> Or is that not
exposed to the hooks
L56[03:31:09] <Michiyo> Hooks get passed
the nick (Corded) and the bridged user
L57[03:31:14] <Michiyo> I think...
L58[03:31:15] <Michiyo> IDK
L59[03:31:18] *
Michiyo shrugs
L60[03:31:40] <Michiyo> I know you have to
specifically hit an API Endpoint I made to get anything other than
the current nick from a message
L61[03:35:27] <Michiyo> Right
getDiscordID("DiscordNick")
L63[03:44:26] <Amanda> Ah
L64[03:44:48] *
Amanda tucks in around Elfi, zzzmews
L65[03:44:50] <Amanda> Night nerds
L66[03:44:54] <Michiyo> Night
L67[04:08:35]
<Kodos>
o/
L68[04:09:23] <Lizzy> if Esper supported
the message tags IRCv3 spec, then you could just tag that on with
messages but sadly it doesn't
L69[04:22:38] ⇨
Joins: Ocawesome101 (~ocawesome@38.65.250.106)
L70[04:27:30] <Ocawesome101> elo
L71[04:57:21] ⇨
Joins: immibis_ (~immibis@x4dbf2447.dyn.telefonica.de)
L72[05:01:22] ⇦
Quits: immibis (~immibis@x4e36cddf.dyn.telefonica.de) (Ping
timeout: 378 seconds)
L73[05:01:23] ***
immibis_ is now known as immibis
L74[05:19:21] <CompanionCube> %tonk
L75[05:19:21] <MichiBot> Aw jeez!
CompanionCube! You beat Lizzy's previous record of 29 minutes and
29 seconds (By 4 hours, 14 minutes and 53 seconds)! I hope you're
happy!
L76[05:19:22] <MichiBot> CompanionCube's
new record is 4 hours, 44 minutes and 23 seconds! CompanionCube
also gained 0.00425 tonk points for stealing the tonk. Position #2.
Need 0.01188064 more points to pass Forecaster!
L78[05:29:03] <Izaya> is that a robot on a
skateboard
L79[05:29:22] <Ariri> Yup
L80[05:29:31] <Izaya> fuck yeah
L81[05:45:20] ⇦
Quits: Herobrine (~1@47.199.247.86) (Remote host closed the
connection)
L82[05:47:06] ⇨
Joins: Herobrine (~1@47.199.247.86)
L83[06:03:50] ⇦
Quits: Thutmose (~Patrick@host-69-59-79-181.nctv.com) (Quit:
Leaving.)
L84[06:12:02] ⇦
Quits: Cervator
(~Thunderbi@2600:1700:1a25:9160:ccb9:81b0:c5b2:b9fd) (Quit:
Cervator)
L85[06:57:47] ⇦
Quits: ben_mkiv (~ben_mkiv@i5E86B7B1.versanet.de) (Killed (NickServ
(GHOST command used by
ben_mkiv|afk!~ben_mkiv@i5E86B0A6.versanet.de)))
L86[06:57:52] ⇨
Joins: ben_mkiv|afk (~ben_mkiv@i5E86B0A6.versanet.de)
L87[07:09:18]
<Forecaster> %sip
L88[07:09:20] <MichiBot> You drink a
freezing pink potion (New!). When Forecaster brings the bottle down
they see A Rock colored plastic flamingo. It stares into their
soul.
L89[07:28:43] ⇦
Quits: Ocawesome101 (~ocawesome@38.65.250.106) (Quit: I'm probably
going to bed.)
L90[07:33:17]
<Quinix>
Goodmorning
L91[07:38:55]
<Ariri>
o/
L92[07:46:08]
<Forecaster> woo, after a few tweaks
yesterday the new image downloader us running perfectly
L93[07:46:29]
<Forecaster> and it runs once every 5
minutes which is much faster than the old one
L94[07:52:50]
<Quinix>
nicely done
L95[07:54:28]
<Forecaster> the old one couldn't run that
often because some idiot made it request the entire page, then use
html parsing to find the image url in it, then request the image,
this caused it to quickly have it's request be denied by the
website if it ran too often...
L96[07:54:58]
<Forecaster> (the idiot was me)
L97[07:56:17]
<Quinix>
how did you fix it?
L98[07:57:17]
<Forecaster> I didn't fix it, I've thrown
out the old system completely and re-implemented it
L99[07:59:04]
<Forecaster> if you mean how I avoided the
issue, the new system also uses a userscript client that lets me
mark images for collection just like the old system, but now the
client finds the image url and sends it to the backend, instead of
the old system only grabbing the page url
L100[07:59:16] ⇦
Quits: Backslash (~Backslash@d137-186-220-152.abhsia.telus.net)
(Read error: Connection reset by peer)
L101[07:59:18]
<Forecaster> so all the backend needs to
do now is download the image and nothing else
L102[08:16:07]
<Quinix>
that makes sence
L103[08:16:23]
<Quinix> i
can see where you are comin from now 😛
L104[08:16:26]
<Quinix> i
need coffee
L105[08:16:53]
<Forecaster> seriously, that old system
was such a mess
L106[08:17:08]
<Forecaster> it was horrible to do any
adjustments in it
L107[08:30:48] ⇦
Quits: feldim2425 (~feldim242@2002:b2bf:bb88:0:7118:f458:8b42:ff27)
(Quit: ZNC 1.8.x-git-91-b00cc309 - https://znc.in)
L108[08:30:56]
⇨ Joins: feldim2425
(~feldim242@178-191-187-136.adsl.highway.telekom.at)
L109[08:37:57]
<Quinix>
question, in a drone what is this space? it looks like a mini
screen but idk how to interface with it?
http://tinyurl.com/y5bkhbsk
L110[08:38:25]
<Forecaster> it's a screen
L111[08:38:39]
<Forecaster> drones can print
messages
L112[08:38:47]
<Quinix> i
did not know that!
L113[08:38:49]
<Forecaster> it's built into the drone
component I think
L114[08:38:53]
<Quinix>
that changes allot
L115[08:39:10]
<Quinix>
time to mkae a info pannel for the drone
L116[08:43:08]
<Quinix> I
don't see any functions for drone screens
L117[08:43:23]
<Quinix> Is
there a documentation somewhere I ain't looking?
L118[08:44:01]
<Forecaster> setStatusText
L120[08:44:27]
<Quinix> Ah
thank you verymuch
L121[09:03:57] ⇦
Quits: ben_mkiv|afk (~ben_mkiv@i5E86B0A6.versanet.de) (Ping
timeout: 198 seconds)
L122[09:13:12]
<Forecaster> %sip
L123[09:13:14] <MichiBot> You drink a
shiny purple potion (New!). Forecaster feels slightly
stronger.
L124[09:13:33] <Corded> *
<Forecaster> sits in front of computer stronger
L125[09:15:15]
⇨ Joins: Vexatos
(~Vexatos@port-92-192-63-132.dynamic.as20676.net)
L126[09:15:15]
zsh sets mode: +v on Vexatos
L127[09:22:03]
⇨ Joins: Inari
(~Pinkishu@p4fe7ec19.dip0.t-ipconnect.de)
L128[09:33:29]
<Saphire>
brushes Inari
L129[09:34:51] <Inari> N-nya?!
L130[09:39:22]
<Saphire>
uwu
L131[09:53:40]
<Forecaster> %pet Saphire
L132[09:53:41] <MichiBot> Forecaster is
petting Saphire with a carpybara. Saphire regains 1d4 => 4 hit
points! If the carpybara had been less shiny it might not have
attracted the attention of a dragon.
L134[10:02:38]
<Forecaster> that definitely needed 4
different "Translator's note"
L136[10:04:41] <Ariri> s/&/^
L137[10:04:42] <MichiBot> <Ariri>
^
L138[10:50:12]
⇨ Joins: t20kdc
(~20kdc@cpc139340-aztw33-2-0-cust225.18-1.cable.virginm.net)
L140[11:15:41]
<t o a s t e
r> oh nvm figured out the problem
L141[11:53:58]
<Bob> thats
not how it works
L142[12:22:46]
<t o a s t e
r> how do i test if my broadcast message event listener works
without a second computer
L143[12:23:18]
<Forecaster> second modem and a
relay
L144[12:23:33]
<Forecaster> might work
L145[12:24:07]
<t o a s t e
r> hmmm seems like i dont have any other free computer card
slots
L146[12:24:18]
<Forecaster> you're in trouble then
L147[12:24:46]
<t o a s t e
r> is there a way to replace an eeprom in a drone without
completely disassembling it
L148[12:24:58]
<Forecaster> craft the drone with the
card
L149[12:25:17]
<t o a s t e
r> does the eeprom get consumed?
L150[12:25:21]
<Forecaster> no
L151[12:25:34]
<t o a s t e
r> oh nice
L152[12:25:36]
<Forecaster> or shift-click a placed drone
with a card, one of those should work
L153[12:25:39]
<Forecaster> or both
L154[12:25:51]
<t o a s t e
r> oke
L155[12:25:57]
<t o a s t e
r> that also works if i craft a drone without an eeprom,
right?
L156[12:26:06]
<Forecaster> yes
L157[12:26:17]
<t o a s t e
r> alright
L158[12:27:46]
<t o a s t e
r> to use the droen component stuff do i do `local drone =
require("drone")` or component.drone
L159[12:28:47]
<Forecaster> the first is how you access
libraries/apis, the second is for components
L160[12:29:00]
<t o a s t e
r> ah
L162[12:39:59]
<Quinix>
currently im thinking:
L164[12:40:09]
<Quinix>
but please correct me if its wrong
L165[12:40:35]
<Forecaster> it's quite arbitrary
L166[12:41:06]
<t o a s t e
r> ok i still cant figure out how to invoke the drone
thing
L167[12:41:18]
<Quinix>
allright well to reword it what would you guys do for
locations?
L168[12:41:39]
<Forecaster> I usually just put everything
in /home
L169[12:41:47]
<Forecaster> within OpenOS
L170[12:42:56]
<Fingercomp> @t o a s t e r use
`component.proxy(component.list("drone")())` instead of
`component.drone`; the latter is a feature of OpenOS
L171[12:43:07]
<Forecaster> ^
L172[12:43:21]
<t o a s t e
r> oh
L173[12:43:24]
<t o a s t e
r> oke then
L174[12:43:34]
<t o a s t e
r> hell even `require` ddoesnt seem to work
L175[12:43:41]
<Fingercomp> of course not
L176[12:44:00]
<Fingercomp> drones don't even have a
filesystem
L177[12:44:05]
<Fingercomp> except tmpfs
L179[12:45:46]
<t o a s t e
r> oke
L181[12:47:38] <fingercomp> please read
the last section on the page I've just linked you to
L182[12:48:22]
<t o a s t e
r> oh
L183[12:53:02]
<t o a s t e
r> time to figure out how to do events in an eeprom lol
L184[12:53:36]
<t o a s t e
r> since event api is a no
L185[12:53:55]
<t o a s t e
r> well mainly a network broadcast
L186[12:54:05] <fingercomp> use
computer.pullSignal to pull one signal from the queue
L187[12:54:06]
<Forecaster> you use `computer.pullSignal`
in a loop to get events from the queue
L188[12:54:21] <fingercomp> it's a
blocking operation, but you can pass a timeout
L189[12:54:36] <fingercomp> and it doesn't
filter events, unlike event.pull
L190[12:54:44]
<t o a s t e
r> oh
L191[12:55:21]
<Forecaster> yep, you have to do that part
yourself
L192[12:56:06] <fingercomp>
`event.pull("modem_message")` becomes `local evt repeat
evt = table.pack(computer.pullSignal()) until evt[1] ==
"modem_message"`
L193[13:08:26]
<t o a s t e
r> that's a lot ngl
L194[13:08:42]
<t o a s t e
r> is there a way to just make the drone status screen have
smaller font
L195[13:10:29]
<Forecaster> no
L196[13:11:19]
<t o a s t e
r> damn
L198[13:12:06]
<Forecaster> ...
L199[13:12:36]
<t o a s t e
r> stupid mistakes
L200[13:12:40]
<t o a s t e
r> all over the place
L201[13:17:16] <MichiBot> @Kristopher38
REMINDER: update wiki page on inventory controller
L203[13:21:24]
<Forecaster> yep, that's how the tab
character is displayed in OC
L204[13:23:12]
<t o a s t e
r> oh well
L205[13:25:02]
<Hazal> I
think you can make notepad++ replace tabs with spaces but still
display them as tabs
L206[13:25:54]
<Forecaster> you can, but it doesn't
display them as tabs, they're just spaces
L208[13:35:05]
<Forecaster> what what
L209[13:35:26]
<t o a s t e
r> loadstring is nonexistent in lua?
L210[13:35:31]
<t o a s t e
r> well in oc
L212[13:36:04]
<Forecaster> I guess
L213[13:36:34]
<t o a s t e
r> oh its been replaced by `load`
L214[13:38:06]
<Kristopher38> Yeah, load handles both
strings and bytecode in the original Lua, but strings only in OC
Lua for security reasons
L215[13:38:51] <fingercomp> `loadstring`
was deprecated since Lua 5.2 (released 9 years ago)
L216[13:39:17]
<t o a s t e
r> ye i noticed when i looked for loadstring alternatives
L219[13:40:29]
<t o a s t e
r> `in just 664 bytes`
L220[13:45:16]
⇨ Joins: Cervator
(~Thunderbi@2600:1700:1a25:9160:2969:e9ae:b55d:6763)
L221[13:45:45]
<Kodos>
%tonk
L222[13:45:46] <MichiBot> Jiminy Cricket!
Kodos! You beat CompanionCube's previous record of 4 hours, 44
minutes and 23 seconds (By 3 hours, 41 minutes and 59 seconds)! I
hope you're happy!
L223[13:45:47] <MichiBot> Kodos's new
record is 8 hours, 26 minutes and 23 seconds! Kodos also gained
0.0185 (0.0037 x 5) tonk points for stealing the tonk. Position #8.
Need 0.01411 more points to pass Ocawesome101!
L224[13:53:32]
<t o a s t e
r> how do i charge the drone?
L225[13:54:43]
<Forecaster> with a charger
L226[13:55:23]
<t o a s t e
r> do i have to use capacitors to provide pwoer for the charger
or can i use cables?
L227[13:56:16]
<Forecaster> either
L228[13:56:21]
<t o a s t e
r> oh
L229[13:56:49]
<Forecaster> most OC blocks act as
cables
L230[13:57:08]
<t o a s t e
r> alright
L231[14:19:23]
<t o a s t e
r> what is the key to uncut in the default editor program
L232[14:19:46]
<Forecaster> uncut?
L233[14:19:51]
<Forecaster> you mean paste?
L234[14:19:53] <Amanda> ^U I think? If
anything
L235[14:20:03]
<Forecaster> Insert or middle
mouse-button
L236[14:20:13]
<t o a s t e
r> uncut
L237[14:20:18] <Amanda> those are for the
system clipboard, @Forecaster
L238[14:20:18]
<t o a s t e
r> its the thing in default editor
L239[14:20:24]
<t o a s t e
r> oh u works
L240[14:20:28]
<Forecaster> I don't know what uncut
means
L241[14:20:28]
<t o a s t e
r> thanks
L242[14:20:31] <Amanda> OC can't set the
clipboard
L244[14:28:17]
<BrisingrAerowing> It’s supposed to be
Control+U.
L245[14:29:44]
<t o a s t e
r> ye
L246[14:47:29]
<t o a s t e
r> i assume a drone cant pick up items from chests
L247[14:47:51]
<Forecaster> yes
L248[14:48:05]
<t o a s t e
r> time to make a dropper mechanism
L249[14:48:18]
<t o a s t e
r> or
L250[14:48:21]
<t o a s t e
r> just drop items myself
L251[14:49:43] <Amanda> I thought they
could interact with storage?
L252[14:50:02] <Amanda> Isn't there an
entire program using them to sort storage chests with waypointson
openprograms?
L253[14:50:08]
<t o a s t e
r> they seem to be only able to interact with tanks at
most
L254[14:50:24]
<t o a s t e
r> at least from what i understand from the documentation
L255[14:50:24] <Amanda> did you install an
inventory controller when you made it?
L256[14:50:35]
<t o a s t e
r> yeah
L258[14:52:49]
<t o a s t e
r> oh im supposed to use the inventory controller not just the
native drone api
L259[14:54:13]
<Forecaster> oh, I read "cant"
as "can"
L260[14:54:33]
<t o a s t e
r> lol
L261[14:55:19]
<Forecaster> this is why you should write
it properly with an apostrophe > _ >
L262[14:55:52]
<t o a s t e
r> ...
L263[14:56:30]
<t o a s t e
r> can i do this
`component.proxy(component.list('inventorycontroller')())` isntead
of
`component.proxy(component.list("inventorycontroller")())`
L264[14:56:35]
<t o a s t e
r> aka use `'` instead of `"`
L265[14:57:14]
<Forecaster> %lua print("Is
string")
L266[14:57:16] <MichiBot> Is string
L267[14:57:23]
<Forecaster> %lua print('Is also
string')
L268[14:57:23] <MichiBot> Is also
string
L269[14:57:48]
<t o a s t e
r> ah ok
L270[14:58:24]
<Forecaster> %lua "Is 'string' in
string"
L271[14:58:24] <MichiBot> Is 'string' in
string
L272[14:58:38]
<Forecaster> %lua 'Is "string"
in string also'
L273[14:58:39] <MichiBot> Is
"string" in string also
L274[15:12:04] <Amanda> To be clear, I
think @Forecaster meant you should be writing "can't"
instead of "cant" nothing to do with the code.
L275[15:12:19]
<Forecaster> yes
L276[15:18:41]
<t o a s t e
r> why is the inventory controller saying `nilinventory` as an
error when i use `getInventorySize`
L277[15:18:50]
<t o a s t e
r> for `side` i use `0` aka down
L278[15:19:16]
<t o a s t e
r> and it changes into `nilinventory` right as i fly over the
chest
L279[15:19:27] <Amanda> Michiyo: ... I
just thought of the stupidest hack possible for corded's issue with
_'s in `` sections. Regex match `([^`]+)` -- replace the contents
with the irc formatting converted back to discord. :D
L280[15:20:00] <Amanda> who needs proper
parsers when you can make regex cry for mummy
L281[15:22:43]
<t o a s t e
r> oh nvm
L282[15:28:02]
<t o a s t e
r> drones are op
L283[15:28:05]
<t o a s t e
r> they can take off player armor
L284[15:28:22]
<t o a s t e
r> just nyoom in, steal enemies armor and then nyoom away
leaving them defenseless
L285[15:31:07]
<Forecaster> always have a scrench handy
:P
L286[15:31:34]
<t o a s t e
r> yes
L287[15:34:17] <Inari> I still need a
simple way to get player position :D Either relative or global, but
not limited to the area of a map
L288[15:35:53] <Izaya> p sure you can
equip them with ranged weapons and shoot people from above
too
L289[15:36:11] <Izaya> ie railguns or
lasers
L290[15:36:14]
<Kristopher38> drones can't use
tools
L291[15:36:17] <Amanda> drones don't have
hands
L292[15:36:27] <Izaya> that's a
shame
L293[15:36:41]
<Kristopher38> that would make robots
kinda reduntant
L294[15:36:51]
⇨ Joins: anon (~anon@185.218.109.25)
L295[15:37:37] ⇦
Quits: anon (~anon@185.218.109.25) (Client Quit)
L296[15:38:05]
⇨ Joins: Vexaton
(~Vexatos@port-92-192-38-143.dynamic.as20676.net)
L297[15:38:05]
zsh sets mode: +v on Vexaton
L298[15:39:17] ⇦
Quits: Vexatos (~Vexatos@port-92-192-63-132.dynamic.as20676.net)
(Ping timeout: 189 seconds)
L299[15:47:49]
<t o a s t e
r> how do i select second row of items in a drone
L300[15:48:03]
<t o a s t e
r> using select(5) simply errors because max is 4
L301[15:48:44]
<Forecaster> what second row
L302[15:48:46] <Amanda> drones only have
the 4 unless you include another inventory upgrade
L303[15:49:07] <Amanda> this should be
visually identified in the drone ui, I think?
L304[15:49:29] <Amanda> like the extra
rows should be greyed out or similar
L305[15:55:02]
<t o a s t e
r> oh yeah
L306[15:55:04]
<t o a s t e
r> i have another upgrade
L307[15:55:11]
<t o a s t e
r> the circuitboard looking upgrade
L308[15:55:19]
<t o a s t e
r> no idea how to access them
L309[15:57:28]
<Kristopher38> post screenshots
L310[16:03:45]
<t o a s t e
r> wdym
L311[16:35:14]
⇨ Joins: Peipr (webchat@95.169.234.117)
L312[16:35:23] <Peipr> Hello there
L313[16:36:14]
<Forecaster> %hello
L314[16:36:14] <MichiBot> Forecaster:
Hello! Welcome to #oc! The one and only opencomputers channel!
Please ask your questions directly (dont ask to ask) and provide
error/code examples! (Use pastebin.com if theyre more than one
line!) Dont mind the random conversation you might have walked
into.
L315[16:36:29] ⇦
Quits: Peipr (webchat@95.169.234.117) (Client Quit)
L316[16:36:42]
<Forecaster> %bye
L317[16:36:42] <MichiBot> Forecaster: Oh,
well, bye I guess...
L318[16:51:53]
<Kristopher38> @EcmaXp is openpython safe
to use on a public server?
L319[16:52:32]
<EcmaXp>
maybe safe for crash, but i can't sure that.
L320[16:54:12]
<Kristopher38> safe as in nobody can run
malicious code that hogs server's cpu time/memory
L321[16:56:59]
⇨ Joins: ben_mkiv
(~ben_mkiv@i5E86B0A6.versanet.de)
L322[16:59:35]
<EcmaXp>
maybe safe for memory also. not for cpu time
L323[17:00:01]
<Kristopher38> does it enforce yielding
like the default lua architecture?
L324[17:00:29]
<EcmaXp>
wait for minute
L325[17:02:08]
<EcmaXp>
it's running 10 million cpu instruction (maybe within 10
seconds)
L326[17:02:28]
<EcmaXp> so
yielding is not enforced
L327[17:02:37]
<EcmaXp>
it's running 10 million cpu instruction per step (maybe within 10
seconds) [Edited]
L328[17:03:21]
<Kristopher38> I see 😦 thanks for
clarifying this
L329[17:06:07]
<EcmaXp>
:blobsad:
L330[17:07:21]
<EcmaXp>
Let me know if someone is writing malicious code and affecting the
server.
L331[17:09:04]
<Kristopher38> the point is, it's more
likely that it will happen as an accident or a bug rather than from
intentionally malicious scripts
L332[17:10:44]
<EcmaXp>
Since everything is sandboxed, it is expected that there will be no
problems, except if it consumes CPU time.
L333[17:12:01]
<Ocawesome101> Hrm
L334[17:12:08]
<EcmaXp>
OpenComputers run code in separate threads, so in most cases there
should be no problems.
L335[17:12:52]
<Ocawesome101> Is anyone here’s Minecraft
username `guitars12`? I’m trying to figure out why they joined my
1.16.1 server as I haven’t publicized it and don’t know who they
are.
L336[17:15:33]
<Kristopher38> by default there are 4
executor threads in the default lua arch
L337[17:17:12]
<Kristopher38> supposed there was no
enforced yielding, if somebody hogged all cpu time to himself on
all of those 4, either by accident or on purpose, others wouldn't
be able to run their scripts
L338[17:30:57]
<Haku> to
be correct, ctrl+alt+c is supposed to crash a program
intentionally?
L339[17:31:32]
<Forecaster> yes
L340[17:31:49]
<Haku> it
wont work on my robot.
L341[17:32:00]
<Forecaster> or it's shift + alt + c
L342[17:32:14]
<Forecaster> I usually just press all
three modifier keys and c because I can never remember
L343[17:32:43]
<Haku> I
pressed shift alt c and I pressed ctrl shift alt c, neither
worked
L345[17:33:36]
<Forecaster> amanda what have you done
> - >
L346[17:33:56] <Amanda> n-nothing! It was
them foxes!
L347[17:34:40]
<Haku> i
started spamming crtl, alt, shift, and c, and the only thing it did
is change my task bar color from blue to black and then back
again
L348[17:34:49] <fingercomp> @Forecaster
Ctrl-Alt-C
L349[17:35:07]
<Forecaster> I'm not going to remember
that
L350[17:35:08] <fingercomp> @Haku your
program must call os.sleep / event.pull / computer.pullSignal for
that combination to work
L351[17:35:08]
<Forecaster> :P
L352[17:35:31]
<Haku> oh,
ok
L353[17:36:00] <fingercomp> if your
program is essentially `while true do robot.move(3) end`, you can't
stop it with Ctrl-Alt-C
L354[17:36:19]
<Haku>
ok
L355[17:36:29]
<Haku> ill
just force restart the bot
L356[17:37:08]
<Haku>
though would there be an easy way to add an interrupt
capability?
L357[17:38:13]
<Forecaster> add an event listener for the
"interrupted" event
L358[17:38:39]
<Forecaster> that event is thrown when you
press ctrl + c
L359[17:38:54]
<Haku>
ok.
L360[17:40:16]
<Haku> so
event.listen(interrupted)? or am I yet again misunderstanding how
to use it?
L361[17:40:28] <fingercomp> in a loop
where you keep calling component methods, add an os.sleep(0)
L362[17:40:39]
<Forecaster> you still haven't figured out
what a string is apparently
L363[17:41:25]
<Haku> so
use quotes? or...?
L364[17:41:38]
<Forecaster> yes, but that's also not how
event listeners work
L365[17:41:53]
<Forecaster> you need a function as the
second argument that is called when the event is caught
L366[17:41:57]
<Forecaster> that does something
L367[17:42:09]
<Forecaster> like cause your program to
end
L370[17:44:05]
<Forecaster> err
L372[17:45:20]
<Forecaster> remember that
"event" is an OpenOS API, you have to require it and if
you don't have OpenOS installed it wont be available
L373[17:46:09]
<Haku> ok,
so `local openOs = require("openOs")` or...?
L374[17:46:19]
<Forecaster> no...
L375[17:46:50]
<Haku>
`local event require("event")`?
L376[17:46:58]
<Forecaster> yes
L377[17:47:01]
<Haku>
ok.
L378[17:49:18]
<Haku> do
this should end the program when I press ctrl + c?
L379[17:49:25]
<Haku>
so*
L380[17:49:31]
<Forecaster> if you've implemented it
correctly yes
L381[17:49:45]
<Haku> im
guessing I messed something up then
L382[17:50:22] <fingercomp> note that you
still need to call `event.pull` / `os.sleep` /
`computer.pullSignal` for that to work
L385[17:51:44]
<Forecaster> I can't tell what is
happening
L386[17:51:47]
⇨ Joins: Thutmose
(~Patrick@host-69-59-79-181.nctv.com)
L387[17:52:19]
<Haku> ill
send it to paste bin
L388[18:02:08]
<Haku>
pastebin.com/eHGT3pB3
L389[18:02:29]
<Haku>
sorry that took so long, i had to make another computer
L390[18:04:05]
<Forecaster> if the robot is low on power
it's probably getting stuck in the inner loop
L391[18:04:43]
<Haku> its
idle state is next to the charger and its staying at 99 unless
wither_skull.lua runs
L392[18:05:20]
<Forecaster> I dunno then
L393[18:05:53]
<Haku> is
there a better way to implement a charge check that will maybe make
the interrupt work?
L394[18:06:14]
<Forecaster> it's not that
L396[18:08:21]
<Fingercomp> you're not running `os.sleep`
/ `event.pull` / `computer.pullSignal` if there's no item in the
slot
L397[18:08:22]
<Forecaster> that means the loadfile
returned nil
L398[18:08:48]
<Haku>
right, which means that theres nothing in the item varibule if
IIRC
L399[18:08:52]
<Fingercomp> as I said 2 times already,
you have to call either of them for Ctrl-C / Ctrl-Alt-C to
work
L400[18:09:06]
<Forecaster> the event library handles
that fingercomp
L401[18:09:14]
<Fingercomp> It does not.
L402[18:09:21]
<Fingercomp> it doesn't magically pull
signals out of thin air
L403[18:09:35]
<Forecaster> oh, right, you don't have an
os.sleep in the general loop
L404[18:09:43]
<Forecaster> only in the low power
loop
L405[18:10:34]
<Forecaster> putting an os.sleep(0) at the
start or end of the main `while run do` loop should do it
then
L407[18:11:52]
<Haku>
?
L408[18:12:21]
<Haku> yes,
that does make the crash work
L409[18:12:34]
<Fingercomp> the other error
("attempt to call a nil value") is due to `loadfile`'s
returning `nil`, as @Forecaster says; this is because it couldn't
find the file or the file contains syntax errors
L410[18:13:15]
<Fingercomp> to make it crash with a
meaningful error, replace `loadfile(...)(1)` with
`assert(loadfile(...))(1)`
L411[18:13:21]
<Forecaster> or the file just doesn't
return anything? I'm not sure how loadfile works
L412[18:13:29]
<Forecaster> I've never used it
L413[18:13:40]
<Fingercomp> `loadfile` returns a `nil` or
a function
L414[18:14:09]
<Fingercomp> it compiles the code but
doesn't execute it until you call that function
L415[18:14:19]
<Forecaster> ah
L417[18:15:23]
<Fingercomp> did you notice that the `(1)`
are outside the `assert(...)` call?
L418[18:15:36]
<Haku> oh,
thats my bad, i put it inside
L419[18:17:03]
<Haku>
also, do you mean `assert(loadfile("/home/alias/" .. itme
.. ".lua")(1))(1)` or `assert(loadfile(...))(1)`?
L420[18:17:25]
<Fingercomp>
`assert(loadfile("/home/alias/" .. item ..
".lua"))(1)`
L421[18:17:29]
<Haku>
ok.
L423[18:18:21]
<Fingercomp> there you go, your file
contains a syntax error
L424[18:18:30]
<Fingercomp> it's not valid Lua, so it
doesn't work
L425[18:18:53]
<Haku> ok,
i probally just mistyped a command so ill fix that and run test
again
L426[18:19:58]
<Haku> yes,
mistype, on 29, I accidently put `,` instead of `.`
L427[18:24:52]
<Haku> it
works now, thank you
L428[18:34:44]
⇨ Joins: Backslash
(~Backslash@d137-186-220-152.abhsia.telus.net)
L429[18:41:51]
⇨ Joins: S|h|a|w|n
(~shawn156@c-76-25-73-212.hsd1.co.comcast.net)
L430[18:42:45] ⇦
Quits: S|h|a|w|n (~shawn156@c-76-25-73-212.hsd1.co.comcast.net)
(Client Quit)
L431[18:52:25] ⇦
Quits: xarses (~xarses@c-73-15-107-55.hsd1.ca.comcast.net) (Ping
timeout: 204 seconds)
L432[18:55:03]
⇨ Joins: xarses (~xarses@172.58.95.31)
L433[19:04:20] ⇦
Quits: xarses (~xarses@172.58.95.31) (Ping timeout: 378
seconds)
L434[19:48:11]
⇨ Joins: xarses
(~xarses@c-73-15-107-55.hsd1.ca.comcast.net)
L435[20:26:16]
⇨ Joins: Al3x (~Al3x@89.165.130.80)
L436[20:31:37] ⇦
Quits: Al3x (~Al3x@89.165.130.80) (Remote host closed the
connection)
L437[20:41:07]
<Forecaster> Fawkx
L439[20:51:39] <Michiyo> Dawwww
L440[21:11:55] <CompanionCube> %tonk
L441[21:11:55] <MichiBot> I'm sorry
CompanionCube, you were not able to beat Kodos's record of 8 hours,
26 minutes and 23 seconds this time. 7 hours, 26 minutes and 10
seconds were wasted! Missed by 1 hour and 13 seconds!
L442[21:11:59] <CompanionCube> fuck
L443[21:33:26]
<Quinix>
gosh i feel dumb. Been spending the past 3 hours on gathering a
bunch of mods just to FORGET OC is 1.12.2 max. How the hecc am i
gonna play without getting BORED OF THE LEVEL OF NORMAL MC?
L444[21:33:26]
<Quinix>
(and no, I'm not requesting to update, as much as that would solve
my problem, things just aren't that easy in programming land. and i
know that. and after reading a gazillion comments asking it under
LITERALLY all the mods i downloaded, i would have written a script
by now to delete all comments with 1.15.2 in it)
L445[21:35:52]
<Quinix> oh
ideas ideas.
L446[21:35:52]
<Quinix>
What about a tab for requests and a tab for actual comments. saving
the last state of the tab you had selected so people that just
mindlessly comment without reading would have it posted in
nobodyreadsthistab-land, while were all using the
coolpeopletab
L447[21:36:36]
<Quinix>
well this is not relevant to OC anymore besides the first part up
top, time to get back to my modlist
L448[21:37:12]
<Forecaster> you know 99% of the things
talked about in here have nothing to do with minecraft let alone OC
:P
L449[21:38:25]
<Quinix> i
have a feelingthats not 100% accurate
L450[21:38:40]
<Forecaster> it's at least 99%
accurate
L451[21:38:41]
<Quinix>
imagine if i placed a comma before accurate owo
L452[21:38:42]
<Forecaster> for sure
L453[21:38:50]
<Quinix>
yes, you got it xD
L454[21:41:28]
<Quinix> So
how is your day so far forecaster?
L455[21:41:37]
<Forecaster> fine I guess
L456[21:41:59]
<Quinix>
did you do anything fun?
L457[21:42:17]
<Forecaster> I got killed by a giant boar
multiple times
L458[21:43:32]
<Forecaster> wasn't really fun, but
hey
L459[21:44:44] <Amanda> %choose halucinate
or waves?
L460[21:44:45] <MichiBot> Amanda: I want
a divorce. I'm taking half the "waves?".
L461[21:57:35]
<Forecaster> I need to add support for
tumblr and FA to my image downloader client...
L462[22:23:23] ⇦
Quits: bauen1 (~bauen1@ipbcc03d1e.dynamic.kabel-deutschland.de)
(Ping timeout: 202 seconds)
L463[22:23:35]
⇨ Joins: bauen1
(~bauen1@ipbcc03d1e.dynamic.kabel-deutschland.de)
L464[22:25:06] ⇦
Quits: ben_mkiv (~ben_mkiv@i5E86B0A6.versanet.de) (Ping timeout:
189 seconds)
L465[22:46:02]
⇨ Joins: ben_mkiv
(~ben_mkiv@i5E86B0A6.versanet.de)