<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:05:27] <Forec​aster> %tonk
L2[00:05:29] <MichiBot> Heckgosh! Forec​aster! You beat Li​zzy'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)
L5[00:24:09] <Forec​aster> Floof https://i.imgur.com/WGv1gD8.jpg
L6[00:29:26] ⇨ Joins: BrightYC (~BrightYC@nitrogen.one)
L7[00:34:26] <Kristo​pher38> 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! Li​zzy! You beat Forec​aster'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 Squi​dDev!
L13[00:35:03] <Amanda> `uuid.next`
L14[00:35:29] <Kristo​pher38> 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)
L19[00:56:43] ⇦ Quits: Inari (~Pinkishu@p4fe7e896.dip0.t-ipconnect.de) (Quit: KVIrc 5.0.0 Aria http://www.kvirc.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] <Kristo​pher38> holy shit
L25[02:08:32] <Kristo​pher38> inventory controller has a function to get all stack information in a single component call
L26[02:09:28] <Kristo​pher38> which is undocumented on the wiki
L27[02:11:17] <Ocawes​ome101> nice
L28[02:11:26] <Ocawes​ome101> document it?
L29[02:12:56] <Kristo​pher38> yes
L30[02:13:22] <Kristo​pher38> but that's for tomorrow, 3am here
L31[02:14:47] <Ocawes​ome101> lol
L32[02:14:51] <Ocawes​ome101> good night (morning?)
L33[02:17:16] <Kristo​pher38> %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] <Kristo​pher38> what's the point of printing "5 AM" when there are people from vastly different timezones here :GWchadThonkery:
L36[02:19:39] <Kristo​pher38> 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> Ama​nda: 2020-Jul-24 01:49:34
L40[02:49:50] <Amanda> ... or not
L41[02:49:56] <Amanda> %octime ?
L42[02:49:56] <MichiBot> Ama​nda: 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")
L62[03:35:29] <Michiyo> http://eos.pc-logix.com:9790/Lizzy-chan
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] <Ko​dos> 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! Compan​ionCube! You beat Li​zzy'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 Forec​aster!
L77[05:28:35] <Ariri> Izaya, KSP and drugs are a cursed but notable combination: https://www.reddit.com/r/KerbalSpaceProgram/comments/hwuh64/i_was_high/?utm_source=share&utm_medium=web2x
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] <Forec​aster> %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] <Qui​nix> Goodmorning
L91[07:38:55] <Ar​iri> o/
L92[07:46:08] <Forec​aster> woo, after a few tweaks yesterday the new image downloader us running perfectly
L93[07:46:29] <Forec​aster> and it runs once every 5 minutes which is much faster than the old one
L94[07:52:50] <Qui​nix> nicely done
L95[07:54:28] <Forec​aster> 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] <Forec​aster> (the idiot was me)
L97[07:56:17] <Qui​nix> how did you fix it?
L98[07:57:17] <Forec​aster> I didn't fix it, I've thrown out the old system completely and re-implemented it
L99[07:59:04] <Forec​aster> 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] <Forec​aster> so all the backend needs to do now is download the image and nothing else
L102[08:16:07] <Qui​nix> that makes sence
L103[08:16:23] <Qui​nix> i can see where you are comin from now 😛
L104[08:16:26] <Qui​nix> i need coffee
L105[08:16:53] <Forec​aster> seriously, that old system was such a mess
L106[08:17:08] <Forec​aster> 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] <Qui​nix> 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] <Forec​aster> it's a screen
L111[08:38:39] <Forec​aster> drones can print messages
L112[08:38:47] <Qui​nix> i did not know that!
L113[08:38:49] <Forec​aster> it's built into the drone component I think
L114[08:38:53] <Qui​nix> that changes allot
L115[08:39:10] <Qui​nix> time to mkae a info pannel for the drone
L116[08:43:08] <Qui​nix> I don't see any functions for drone screens
L117[08:43:23] <Qui​nix> Is there a documentation somewhere I ain't looking?
L118[08:44:01] <Forec​aster> setStatusText
L119[08:44:12] <Forec​aster> https://ocdoc.cil.li/component:drone?s[]=drone
L120[08:44:27] <Qui​nix> 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] <Forec​aster> %sip
L123[09:13:14] <MichiBot> You drink a shiny purple potion (New!). Forecaster feels slightly stronger.
L124[09:13:33] <Corded> * <Forec​aster> 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] <Sap​hire> brushes Inari
L129[09:34:51] <Inari> N-nya?!
L130[09:39:22] <Sap​hire> uwu
L131[09:53:40] <Forec​aster> %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.
L133[09:58:19] <Inari 「オ​兄デレ」「狐っ娘」> tl note :} http://tinyurl.com/y3whthqk
L134[10:02:38] <Forec​aster> that definitely needed 4 different "Translator's note"
L135[10:04:32] <Ariri> &
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)
L139[11:13:14] <t o a ​s t e r> is there a way to get a longer backtrace http://tinyurl.com/y4gm2v6v
L140[11:15:41] <t o a ​s t e r> oh nvm figured out the problem
L141[11:53:58] <B​ob> 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] <Forec​aster> second modem and a relay
L144[12:23:33] <Forec​aster> 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] <Forec​aster> 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] <Forec​aster> 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] <Forec​aster> no
L151[12:25:34] <t o a ​s t e r> oh nice
L152[12:25:36] <Forec​aster> or shift-click a placed drone with a card, one of those should work
L153[12:25:39] <Forec​aster> 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] <Forec​aster> 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] <Forec​aster> 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
L161[12:37:56] <Qui​nix> Message contained 4 or more newlines and was pastebined https://paste.pc-logix.com/dapudovuvi
L162[12:39:59] <Qui​nix> currently im thinking:
L163[12:39:59] <Qui​nix> Code Block pastebined https://paste.pc-logix.com/ketomexaza
L164[12:40:09] <Qui​nix> but please correct me if its wrong
L165[12:40:35] <Forec​aster> 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] <Qui​nix> allright well to reword it what would you guys do for locations?
L168[12:41:39] <Forec​aster> I usually just put everything in /home
L169[12:41:47] <Forec​aster> within OpenOS
L170[12:42:56] <Finge​rcomp> @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] <Forec​aster> ^
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] <Finge​rcomp> of course not
L176[12:44:00] <Finge​rcomp> drones don't even have a filesystem
L177[12:44:05] <Finge​rcomp> except tmpfs
L178[12:45:26] <Finge​rcomp> @t o a s t e r https://ocdoc.cil.li/tutorial:custom_oses
L179[12:45:46] <t o a ​s t e r> oke
L180[12:46:49] <t o a ​s t e r> `what` http://tinyurl.com/y3bqwsyb
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] <Forec​aster> 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] <Forec​aster> 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] <Forec​aster> no
L196[13:11:19] <t o a ​s t e r> damn
L197[13:11:46] <t o a ​s t e r> `i wonder why it doesnt work HMMMMMMMM` http://tinyurl.com/y6fpv8ah
L198[13:12:06] <Forec​aster> ...
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
L202[13:20:21] <t o a ​s t e r> also turns out this happens if i use notepad++ and tab keys http://tinyurl.com/yxq3ju7r
L203[13:21:24] <Forec​aster> 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] <Ha​zal> I think you can make notepad++ replace tabs with spaces but still display them as tabs
L206[13:25:54] <Forec​aster> you can, but it doesn't display them as tabs, they're just spaces
L207[13:31:42] <t o a ​s t e r> `wait what` http://tinyurl.com/y35mqsyr
L208[13:35:05] <Forec​aster> 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
L211[13:35:46] <t o a ​s t e r> http://tinyurl.com/yxmc7le4
L212[13:36:04] <Forec​aster> I guess
L213[13:36:34] <t o a ​s t e r> oh its been replaced by `load`
L214[13:38:06] <Kristo​pher38> 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
L217[13:39:38] <t o a ​s t e r> http://tinyurl.com/y3xu9jxj
L218[13:39:44] <t o a ​s t e r> it works http://tinyurl.com/yy98h4tc
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] <Ko​dos> %tonk
L222[13:45:46] <MichiBot> Jiminy Cricket! Ko​dos! You beat Compan​ionCube'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 Ocawes​​ome101!
L224[13:53:32] <t o a ​s t e r> how do i charge the drone?
L225[13:54:43] <Forec​aster> 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] <Forec​aster> either
L228[13:56:21] <t o a ​s t e r> oh
L229[13:56:49] <Forec​aster> 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] <Forec​aster> uncut?
L233[14:19:51] <Forec​aster> you mean paste?
L234[14:19:53] <Amanda> ^U I think? If anything
L235[14:20:03] <Forec​aster> 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] <Forec​aster> 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
L243[14:20:36] <t o a ​s t e r> http://tinyurl.com/y6zwd6pc
L244[14:28:17] <Brisingr​Aerowing> 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] <Forec​aster> 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
L257[14:51:18] <Amanda> https://github.com/OpenPrograms/Sangar-Programs/blob/master/drone-sort.lua
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] <Forec​aster> oh, I read "cant" as "can"
L260[14:54:33] <t o a ​s t e r> lol
L261[14:55:19] <Forec​aster> 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] <Forec​aster> %lua print("Is string")
L266[14:57:16] <MichiBot> Is string
L267[14:57:23] <Forec​aster> %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] <Forec​aster> %lua "Is 'string' in string"
L271[14:58:24] <MichiBot> Is 'string' in string
L272[14:58:38] <Forec​aster> %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] <Forec​aster> 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] <Forec​aster> 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] <Kristo​pher38> 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] <Kristo​pher38> 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] <Forec​aster> 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] <Kristo​pher38> 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] <Forec​aster> %hello
L314[16:36:14] <MichiBot> Forec​aster: 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] <Forec​aster> %bye
L317[16:36:42] <MichiBot> Forec​aster: Oh, well, bye I guess...
L318[16:51:53] <Kristo​pher38> @EcmaXp is openpython safe to use on a public server?
L319[16:52:32] <Ecm​aXp> maybe safe for crash, but i can't sure that.
L320[16:54:12] <Kristo​pher38> 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] <Ecm​aXp> maybe safe for memory also. not for cpu time
L323[17:00:01] <Kristo​pher38> does it enforce yielding like the default lua architecture?
L324[17:00:29] <Ecm​aXp> wait for minute
L325[17:02:08] <Ecm​aXp> it's running 10 million cpu instruction (maybe within 10 seconds)
L326[17:02:28] <Ecm​aXp> so yielding is not enforced
L327[17:02:37] <Ecm​aXp> it's running 10 million cpu instruction per step (maybe within 10 seconds) [Edited]
L328[17:03:21] <Kristo​pher38> I see 😦 thanks for clarifying this
L329[17:06:07] <Ecm​aXp> :blobsad:
L330[17:07:21] <Ecm​aXp> Let me know if someone is writing malicious code and affecting the server.
L331[17:09:04] <Kristo​pher38> 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] <Ecm​aXp> Since everything is sandboxed, it is expected that there will be no problems, except if it consumes CPU time.
L333[17:12:01] <Ocawes​ome101> Hrm
L334[17:12:08] <Ecm​aXp> OpenComputers run code in separate threads, so in most cases there should be no problems.
L335[17:12:52] <Ocawes​ome101> 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] <Kristo​pher38> by default there are 4 executor threads in the default lua arch
L337[17:17:12] <Kristo​pher38> 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] <Ha​ku> to be correct, ctrl+alt+c is supposed to crash a program intentionally?
L339[17:31:32] <Forec​aster> yes
L340[17:31:49] <Ha​ku> it wont work on my robot.
L341[17:32:00] <Forec​aster> or it's shift + alt + c
L342[17:32:14] <Forec​aster> I usually just press all three modifier keys and c because I can never remember
L343[17:32:43] <Ha​ku> I pressed shift alt c and I pressed ctrl shift alt c, neither worked
L344[17:33:10] <Brisingr​Aerowing> https://arstechnica.com/information-technology/2020/07/more-than-1000-databases-have-been-nuked-by-mystery-meow-attack/
L345[17:33:36] <Forec​aster> amanda what have you done > - >
L346[17:33:56] <Amanda> n-nothing! It was them foxes!
L347[17:34:40] <Ha​ku> 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] <Forec​aster> 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] <Forec​aster> :P
L352[17:35:31] <Ha​ku> 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] <Ha​ku> ok
L355[17:36:29] <Ha​ku> ill just force restart the bot
L356[17:37:08] <Ha​ku> though would there be an easy way to add an interrupt capability?
L357[17:38:13] <Forec​aster> add an event listener for the "interrupted" event
L358[17:38:39] <Forec​aster> that event is thrown when you press ctrl + c
L359[17:38:54] <Ha​ku> ok.
L360[17:40:16] <Ha​ku> 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] <Forec​aster> you still haven't figured out what a string is apparently
L363[17:41:25] <Ha​ku> so use quotes? or...?
L364[17:41:38] <Forec​aster> yes, but that's also not how event listeners work
L365[17:41:53] <Forec​aster> you need a function as the second argument that is called when the event is caught
L366[17:41:57] <Forec​aster> that does something
L367[17:42:09] <Forec​aster> like cause your program to end
L368[17:43:18] <Forec​aster> Code Block pastebined https://paste.pc-logix.com/omujorijij
L369[17:43:53] <Forec​aster> Code Block pastebined https://paste.pc-logix.com/nepuwumoyi [Edited]
L370[17:44:05] <Forec​aster> err
L371[17:44:26] <Forec​aster> Code Block pastebined https://paste.pc-logix.com/tozivukuso [Edited]
L372[17:45:20] <Forec​aster> 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] <Ha​ku> ok, so `local openOs = require("openOs")` or...?
L374[17:46:19] <Forec​aster> no...
L375[17:46:50] <Ha​ku> `local event require("event")`?
L376[17:46:58] <Forec​aster> yes
L377[17:47:01] <Ha​ku> ok.
L378[17:49:18] <Ha​ku> do this should end the program when I press ctrl + c?
L379[17:49:25] <Ha​ku> so*
L380[17:49:31] <Forec​aster> if you've implemented it correctly yes
L381[17:49:45] <Ha​ku> 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
L383[17:50:33] <Ha​ku> http://tinyurl.com/y2zkv95r
L384[17:50:34] <Ha​ku> http://tinyurl.com/y5wqotyr
L385[17:51:44] <Forec​aster> 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] <Ha​ku> ill send it to paste bin
L388[18:02:08] <Ha​ku> pastebin.com/eHGT3pB3
L389[18:02:29] <Ha​ku> sorry that took so long, i had to make another computer
L390[18:04:05] <Forec​aster> if the robot is low on power it's probably getting stuck in the inner loop
L391[18:04:43] <Ha​ku> its idle state is next to the charger and its staying at 99 unless wither_skull.lua runs
L392[18:05:20] <Forec​aster> I dunno then
L393[18:05:53] <Ha​ku> is there a better way to implement a charge check that will maybe make the interrupt work?
L394[18:06:14] <Forec​aster> it's not that
L395[18:07:35] <Ha​ku> i just tried to test it with the item now that i added the charge check and now its throwing an error http://tinyurl.com/yxtvryae
L396[18:08:21] <Finge​rcomp> you're not running `os.sleep` / `event.pull` / `computer.pullSignal` if there's no item in the slot
L397[18:08:22] <Forec​aster> that means the loadfile returned nil
L398[18:08:48] <Ha​ku> right, which means that theres nothing in the item varibule if IIRC
L399[18:08:52] <Finge​rcomp> 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] <Forec​aster> the event library handles that fingercomp
L401[18:09:14] <Finge​rcomp> It does not.
L402[18:09:21] <Finge​rcomp> it doesn't magically pull signals out of thin air
L403[18:09:35] <Forec​aster> oh, right, you don't have an os.sleep in the general loop
L404[18:09:43] <Forec​aster> only in the low power loop
L405[18:10:34] <Forec​aster> putting an os.sleep(0) at the start or end of the main `while run do` loop should do it then
L406[18:11:45] <Ha​ku> ok, like this http://tinyurl.com/y67ty29q
L407[18:11:52] <Ha​ku> ?
L408[18:12:21] <Ha​ku> yes, that does make the crash work
L409[18:12:34] <Finge​rcomp> 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] <Finge​rcomp> to make it crash with a meaningful error, replace `loadfile(...)(1)` with `assert(loadfile(...))(1)`
L411[18:13:21] <Forec​aster> or the file just doesn't return anything? I'm not sure how loadfile works
L412[18:13:29] <Forec​aster> I've never used it
L413[18:13:40] <Finge​rcomp> `loadfile` returns a `nil` or a function
L414[18:14:09] <Finge​rcomp> it compiles the code but doesn't execute it until you call that function
L415[18:14:19] <Forec​aster> ah
L416[18:14:34] <Ha​ku> putting load item in assert returns this http://tinyurl.com/y57fx9sg
L417[18:15:23] <Finge​rcomp> did you notice that the `(1)` are outside the `assert(...)` call?
L418[18:15:36] <Ha​ku> oh, thats my bad, i put it inside
L419[18:17:03] <Ha​ku> also, do you mean `assert(loadfile("/home/alias/" .. itme .. ".lua")(1))(1)` or `assert(loadfile(...))(1)`?
L420[18:17:25] <Finge​rcomp> `assert(loadfile("/home/alias/" .. item .. ".lua"))(1)`
L421[18:17:29] <Ha​ku> ok.
L422[18:18:06] <Ha​ku> http://tinyurl.com/y4kouyzf
L423[18:18:21] <Finge​rcomp> there you go, your file contains a syntax error
L424[18:18:30] <Finge​rcomp> it's not valid Lua, so it doesn't work
L425[18:18:53] <Ha​ku> ok, i probally just mistyped a command so ill fix that and run test again
L426[18:19:58] <Ha​ku> yes, mistype, on 29, I accidently put `,` instead of `.`
L427[18:24:52] <Ha​ku> 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] <Forec​aster> Fawkx
L438[20:41:08] <Forec​aster> https://i.imgur.com/NyYwSAx.gifv
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] <Qui​nix> 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] <Qui​nix> (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] <Qui​nix> oh ideas ideas.
L446[21:35:52] <Qui​nix> 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] <Qui​nix> 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] <Forec​aster> you know 99% of the things talked about in here have nothing to do with minecraft let alone OC :P
L449[21:38:25] <Qui​nix> i have a feelingthats not 100% accurate
L450[21:38:40] <Forec​aster> it's at least 99% accurate
L451[21:38:41] <Qui​nix> imagine if i placed a comma before accurate owo
L452[21:38:42] <Forec​aster> for sure
L453[21:38:50] <Qui​nix> yes, you got it xD
L454[21:41:28] <Qui​nix> So how is your day so far forecaster?
L455[21:41:37] <Forec​aster> fine I guess
L456[21:41:59] <Qui​nix> did you do anything fun?
L457[21:42:17] <Forec​aster> I got killed by a giant boar multiple times
L458[21:43:32] <Forec​aster> wasn't really fun, but hey
L459[21:44:44] <Amanda> %choose halucinate or waves?
L460[21:44:45] <MichiBot> Ama​nda: I want a divorce. I'm taking half the "waves?".
L461[21:57:35] <Forec​aster> 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)
L466[23:09:02] ⇦ Quits: Inari (~Pinkishu@p4fe7ec19.dip0.t-ipconnect.de) (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)
<<Prev Next>> Scroll to Top