<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:11:41] <Ko​dos> So, who am I harassing for the next hour for an idiot's guide to the rc system (again)
L2[00:14:16] <Ocawes​ome101> `man rc`
L3[00:28:56] <Ko​dos> Yeah I've only read over that about 20 times, and nothing's clicking, so I'm hoping for some in-depth example code for its use
L4[00:29:08] <Ko​dos> So I can have server racks full of 'idle' servers running rc services
L5[00:32:12] <Kristo​pher38> In OC?
L6[00:32:27] <Ko​dos> Yes
L7[00:32:51] <Ko​dos> I plan on doing an entire server room in my base with practical, functioning servers
L8[00:34:03] <Ko​dos> It'll also help when I start writing a ton of stuff for stargates
L9[00:47:12] <fingercomp> in brief: • an rc service is a Lua file in `/etc/rc.d/` • global functions defined in such a file can be used as commands (ex.: if `/etc/rc.d/test.lua` has `function hello() print("Hi") end`, you can run `rc test hello`) • `rc <service> enable` makes OpenOS to automatically run `rc <service> start` on boot
L10[00:47:25] <Mic​hiyo> From memory you just need a file in rc.d `something.lua` with functions for `start` and `stop` whatever is in your start function gets called when when you call `something start` then rc something enable
L11[00:47:41] <Mic​hiyo> fingercomp beat me, and with more info
L12[00:50:54] <fingercomp> • the `start` and `stop` commands are optional • you'll need `start` if you plan to `enable` your service • if you define both, you can do `rc <service> restart` as a convenience feature that runs `stop` and then `start` (you can redefine it in your service, though, in the same way as any other command, by defining a global `restart`)
L13[00:53:52] <fingercomp> also, `/etc/rc.cfg` contains service configuration: if you have a service named `test` and add `test = 42` (you can use any Lua value, not just numbers) to `/etc/rc.cfg`, then in your script (`/etc/rc.d/test.lua`) a global `args` will contain that value (in this case, 42)
L14[00:54:06] <fingercomp> and OpenOS has an example service named `example` that demonstrates that
L15[00:57:59] <fingercomp> the services are not magically run in the background — you'll have to use event listeners to achieve that
L16[00:58:10] <fingercomp> more info here: https://ocdoc.cil.li/api:rc
L17[00:58:33] <fingercomp> and https://computercraft.ru/topic/1679-rc-chto-za-zver-takoy/ has practical examples, but in Russian
L18[01:59:04] <Ko​dos> Unfortunately I neither speak nor read Russian, however I think given the complexities (It's complex to me, not necessarily objectively), I think I'll wrap my code into a 'while running do' loop and just set it up so spacebar breaks out of it if I need to fix anything
L19[02:27:58] <Mic​hiyo> use chrome for auto translate. or run the site through a translator :P
L20[02:31:39] <Amanda> %tell Inari I am loud and demand chicken https://i.imgur.com/3gcnFDG.mp4
L21[02:31:39] <MichiBot> Ama​nda: Inari will be notified of this message when next seen.
L22[03:17:49] <Ko​dos> After some tweaking, https://puu.sh/I4syM/8e1c5e5a85.png
L23[03:22:32] <Ko​dos> Annnnd it's still broken
L24[03:24:13] <Ko​dos> Aha, derp
L25[03:25:25] <Ko​dos> Okay, well that's annoying
L26[03:49:57] <Ko​dos> How the heck do you revert a commit on GitHub's website
L27[03:59:19] <Mic​hiyo> I... don't think you can
L28[04:00:07] <Ko​dos> Ffs
L29[04:00:22] <Ko​dos> Well that software is broken anyway, even before I touched it
L30[04:01:52] <Ko​dos> I've got all kinds of neat plans though
L31[04:02:27] <Ko​dos> Like sending files through stargates
L32[04:03:41] <Ko​dos> I'll have to make sure to add checks to ensure no one's trying to send on-boot programs lol
L33[04:05:05] <s_​a_m> i should get back into modded MC now that i've dumped my SS13 server
L34[04:05:18] <Ko​dos> Which server, just curious
L35[04:05:40] <s_​a_m> i am not mentioning it here because it has an awful reputation and that's half the reason i decided to send it to hell
L36[04:05:50] <Ko​dos> Ha, probably Paradise
L37[04:05:55] <s_​a_m> fuck no
L38[04:05:57] <s_​a_m> worse
L39[04:06:03] <s_​a_m> non-ERP, of course
L40[04:06:06] <Ko​dos> Well, duh
L41[04:06:18] <Ko​dos> You don't really see a lot of ERP on hub servers anymore
L42[04:06:24] <s_​a_m> where are a few....
L43[04:06:26] <Ko​dos> God, I remember when LifeWeb dropped
L44[04:06:29] <s_​a_m> *there
L45[04:06:32] <s_​a_m> haha
L46[04:06:34] <s_​a_m> lifeweb
L47[04:06:50] <s_​a_m> :lifewebmoyai:
L48[04:08:04] <s_​a_m> anyways, never host an SS13 server with anything over lowpop @Kodos
L49[04:08:10] <Ko​dos> Well, yeah
L50[04:08:11] <Ko​dos> I already know that
L51[04:08:14] <Ko​dos> I cofounded Paradise
L52[04:08:26] <s_​a_m> people assumed that shit that happened in the discord was shit i supported
L53[04:08:33] <s_​a_m> but the discord is not my domain
L54[04:08:42] <Ko​dos> Also, people and assuming, etc
L55[04:09:41] <s_​a_m> well fuck it, since i'm driving the server into the fuckin ground anyways and forking the codebase, i ran white sands for a few months after the last host quit and it was a downwards spiral from there
L56[04:10:02] <Ko​dos> Ahh. I haven't played since... 2017 I think?
L57[04:10:07] <Ko​dos> Well, that's not true
L58[04:10:08] <s_​a_m> we merged with an LRP server and it was a mistake, burned me out quicker than anything
L59[04:10:15] <Ko​dos> But after 2017 I was exclusively on Daedalus of Freedom
L60[04:10:18] <s_​a_m> so uhh, used to be uhh
L61[04:10:22] <s_​a_m> boomerstation
L62[04:10:24] <s_​a_m> way back when
L63[04:22:47] <Ko​dos> Oh, this is neat
L64[04:25:47] <Ko​dos> Okay, well after 3 failed attempts to upload a screenshot
L65[04:26:03] <Ko​dos> I started using GalacticComputers, and it lets me read a telemetry unit with an adapter
L66[04:26:51] <Ko​dos> Available info is recently hurt, x, y, z, health, max health, name, entity type (returns player for me), pulse rate, food, o2 level left, and speed (I'm assuming a similar value as a horse's speed factor)
L67[04:32:30] <Forec​aster> %tonk
L68[04:32:31] <MichiBot> Holy tiny figurine Batman! Forec​aster! You beat your own previous record of <0 (By 8 hours, 5 minutes and 35 seconds)! I hope you're happy!
L69[04:32:32] <MichiBot> Forecaster's new record is 8 hours, 5 minutes and 35 seconds! No points gained for stealing from yourself. (Lost out on 0.00809)
L70[05:55:09] ⇦ Quits: lordpipe (~ba7888b72@66.109.211.50) (Ping timeout: 198 seconds)
L71[05:56:23] ⇨ Joins: lordpipe (~ba7888b72@66.109.211.50)
L72[06:12:45] ⇦ Quits: ben_mkiv (~ben_mkiv@2001:16b8:1e25:2c00:789b:f81d:7d37:7597) (Ping timeout: 192 seconds)
L73[06:45:10] ⇨ Joins: MAZ2005 (~MAZ2005@s12.mcskill.net)
L74[06:48:13] <MAZ2005> /list
L75[06:49:29] ⇦ Parts: MAZ2005 (~MAZ2005@s12.mcskill.net) ())
L76[06:54:09] <Va​ur> %sip
L77[06:54:10] <MichiBot> You drink a woolly yellow potion (New!). Vaur's hair glows the color of adamantium for 42 minutes.
L78[07:11:55] ⇨ Joins: Hanson (webchat@120.245.122.30)
L79[07:12:06] ⇦ Quits: Hanson (webchat@120.245.122.30) (Client Quit)
L80[07:40:11] ⇨ Joins: ben_mkiv (~ben_mkiv@2001:16b8:1e25:2c00:789b:f81d:7d37:7597)
L81[07:44:35] ⇨ Joins: humm1 (~humm1@92.97.220.208)
L82[07:47:25] <Va​ur> %sip
L83[07:47:25] <MichiBot> You drink a porous röd potion (New!). It tastes sour.
L84[07:55:09] ⇦ Quits: humm1 (~humm1@92.97.220.208) (Ping timeout: 189 seconds)
L85[07:56:25] ⇦ Quits: Hawk777 (~chead@2607:c000:826e:6a00:5a6e:ffe7:7bf8:5b92) (Quit: Leaving.)
L86[08:35:31] ⇦ Quits: hnOsmium0001 (uid453710@id-453710.stonehaven.irccloud.com) (Quit: Connection closed for inactivity)
L87[09:21:06] ⇨ Joins: Vexatos (~Vexatos@port-92-192-214-118.dynamic.as20676.net)
L88[09:21:06] zsh sets mode: +v on Vexatos
L89[09:27:31] <Ko​dos> Well that's mildly disappointing; There's absolutely zero interaction with HBM and OC, even a transposer can't see the slots of a machine
L90[09:34:20] <Kristo​pher38> Try different sides of the machine
L91[09:34:50] <Kristo​pher38> Sometimes they're coded awfully weird and present different slots depending on where you attach the transposer
L92[09:35:10] <Kristo​pher38> e.g Minecraft furnaces
L93[11:29:04] ⇨ Joins: Timtower7 (webchat@83.163.148.140)
L94[11:29:30] ⇦ Quits: Timtower7 (webchat@83.163.148.140) (Client Quit)
L95[12:04:57] <Amanda> That's not that weird for furnaces when you consider that's meant for vanilla automation
L96[12:49:31] <Va​ur> %tonk
L97[12:49:31] <MichiBot> Dad-Sizzle! Va​ur! You beat Forec​aster's previous record of 8 hours, 5 minutes and 35 seconds (By 11 minutes and 24 seconds)! I hope you're happy!
L98[12:49:32] <MichiBot> Vaur's new record is 8 hours and 17 minutes! Vaur also gained 0.00171 (0.00019 x 9) tonk points for stealing the tonk. Position #1.
L99[13:25:07] ⇦ Quits: ben_mkiv (~ben_mkiv@2001:16b8:1e25:2c00:789b:f81d:7d37:7597) (Ping timeout: 192 seconds)
L100[13:37:54] ⇦ Quits: Vexatos (~Vexatos@port-92-192-214-118.dynamic.as20676.net) (Quit: Insert quantum chemistry joke here)
L101[13:38:07] ⇨ Joins: Vexatos (~Vexatos@port-92-192-214-118.dynamic.as20676.net)
L102[13:38:07] zsh sets mode: +v on Vexatos
L103[14:17:20] <Amanda> %tell Inari I'd like a timeskip to thursday meowning please.
L104[14:17:20] <MichiBot> Ama​nda: Inari will be notified of this message when next seen.
L105[14:29:32] <Amanda> goodness, sure would be great to know why minecraft keeps starting playing the ambiance music, then suddenly stops when it realises it's been set to offf
L106[14:49:15] <Z0id​berg> HAHA
L107[14:49:17] <Z0id​berg> spooky
L108[15:09:27] ⇨ Joins: hnOsmium0001 (uid453710@id-453710.stonehaven.irccloud.com)
L109[16:21:34] ⇨ Joins: Hawk777 (~chead@2607:c000:826e:6a00:fc64:6808:d753:94d9)
L110[17:48:03] ⇦ Quits: Saphire (saphire@lunar.exchange) (Ping timeout: 189 seconds)
L111[17:49:36] ⇨ Joins: Saphire (saphire@lunar.exchange)
L112[18:28:43] <Ika​yami> Hello! I'm trying to display an array of players as a scoreboard with the hologram projector, is there a way to do that ?
L113[18:29:29] <Izaya> You might have difficulty displaying text, it's not terribly high resolution
L114[18:29:30] <Forec​aster> yes, but you have to calculate the pixels yourself
L115[18:29:50] <Forec​aster> look at the time program as an example
L116[18:33:22] <Ika​yami> >Forec​aster: yes, but you have to calculate the pixel…
L117[18:33:22] <Ika​yami> where can I find it ?
L118[18:34:46] <Izaya> if it's not a loot disk it'll be in OPPM
L119[18:38:35] <Forec​aster> I don't even remember the programs name but it's somewhere...
L120[18:46:37] <ThePi​Guy24> wasnt it like holocock or something?
L121[18:46:41] <ThePi​Guy24> *holoclock
L122[18:55:44] ⇨ Joins: Thutmose (~Patrick@host-69-59-79-181.nctv.com)
L123[18:57:11] ⇨ Joins: feldim2425_ (~feldim242@2002:c19a:ad76:0:6e11:85f0:d803:8047)
L124[18:58:27] ⇦ Quits: feldim2425 (~feldim242@178-191-187-5.adsl.highway.telekom.at) (Ping timeout: 189 seconds)
L125[18:58:27] *** feldim2425_ is now known as feldim2425
L126[19:15:05] <Va​ur> %sip
L127[19:15:06] <MichiBot> You drink a ripe crimson potion (New!). Tonk moved forward 2 hours.
L128[19:24:10] <Kristo​pher38> Holoclock is on mineOS iirc
L129[19:27:37] <Scott ​Joplin> Hey, guys. I'm _attempting_ to get OC2 working, but I'm getting this error message. Despite the message, I've got the correct version of markdown_manual installed and sedna, and sedna isn't even registering. I've downloaded both from ci.cil.li. Any ideas? https://tinyurl.com/yjdbfyhm
L130[19:30:27] ⇦ Quits: Thutmose (~Patrick@host-69-59-79-181.nctv.com) (Quit: Leaving.)
L131[19:32:46] <dequbed> @"Scott Joplin" https://github.com/fnuecke/oc2/pull/58
L132[19:36:23] <Scott ​Joplin> Thank you, bot, but I do not know what this means
L133[19:36:50] <Amanda> it measn the current CI builds are broken, and until that's merged it won't work. Also %irc
L134[19:36:51] <MichiBot> all the "bots" are real people, using the superior IRC chat protocol. https://youtu.be/O2rGTXHvPCQ
L135[19:38:21] <Scott ​Joplin> Damn y'all hackin'
L136[19:38:36] <dequbed> @"Scott Joplin" it means "solution is to compile it yourself". OC2 is very much pre-alpha, CI just means broken builds but done every 24 hours.
L137[19:39:32] <Scott ​Joplin> 😩 Alright, probably just best that I wait for stable releases, then.
L138[19:39:39] <Scott ​Joplin> Thanks for your time, guys.
L139[20:23:57] <Ocawes​ome101> 😒 i could use wayland for everything if zoom didn't freeze almost every time i join a meeting
L140[20:50:35] ⇨ Joins: maks (~maks@37.30.22.190.nat.umts.dynamic.t-mobile.pl)
L141[20:50:49] <maks> eeeee
L142[20:51:07] ⇦ Quits: maks (~maks@37.30.22.190.nat.umts.dynamic.t-mobile.pl) (Client Quit)
L143[21:08:20] <Forec​aster> https://tinyurl.com/yhc5sqwa
L144[21:13:24] ⇨ Joins: maks (~maks@37.30.17.38.nat.umts.dynamic.t-mobile.pl)
L145[21:13:58] ⇦ Quits: maks (~maks@37.30.17.38.nat.umts.dynamic.t-mobile.pl) (Client Quit)
L146[21:41:39] <Ko​dos> Man I wish my Internet wasn’t out
L147[21:43:18] <Ko​dos> Guess I’m gonna go try this outside thing for a bit
L148[21:49:48] <s_​a_m> https://tinyurl.com/ydte25ob
L149[21:49:51] ⇨ Joins: Amanda_ (~Amanda@c-73-165-62-84.hsd1.pa.comcast.net)
L150[21:50:03] ⇦ Quits: Amanda (~Amanda@c-73-165-62-84.hsd1.pa.comcast.net) (Ping timeout: 198 seconds)
L151[21:53:45] ⇨ Joins: ThePiGuy24 (~ThePiGuy2@host-92-17-126-48.as13285.net)
L152[21:55:21] ⇦ Quits: TPG24 (~ThePiGuy2@host-92-17-126-48.as13285.net) (Ping timeout: 204 seconds)
L153[21:56:42] *** Amanda_ is now known as Amanda
L154[21:56:48] ⇦ Quits: Amanda (~Amanda@c-73-165-62-84.hsd1.pa.comcast.net) (Remote host closed the connection)
L155[21:56:55] ⇨ Joins: Amanda (~Amanda@c-73-165-62-84.hsd1.pa.comcast.net)
L156[21:58:18] <Va​ur> %sip
L157[21:58:18] <MichiBot> You drink a bubbly dilithium potion (New!). Vaur feels like a champion!
L158[22:11:11] ⇦ Quits: Hawk777 (~chead@2607:c000:826e:6a00:fc64:6808:d753:94d9) (Ping timeout: 204 seconds)
L159[22:17:27] <simon816> %tonk
L160[22:17:27] <MichiBot> I'm sorry simon816, you were not able to beat Vaur's record of 8 hours and 17 minutes this time. 7 hours, 27 minutes and 56 seconds were wasted! Missed by 49 minutes and 3 seconds!
L161[22:17:37] <simon816> gah
L162[22:21:33] <Va​ur> rip ...
L163[22:25:54] ⇨ Joins: Hawk777 (~chead@2607:c000:826f:d900:460a:58dc:9450:38a)
L164[22:28:43] <Forec​aster> %drink ripe crimson potion
L165[22:28:43] <MichiBot> You drink a ripe crimson potion. Forecaster: The magic of this potion seems to be depleted...
L166[22:28:48] <Forec​aster> damn
L167[22:29:07] <Va​ur> are they on a timer ?
L168[22:29:13] <Va​ur> %sip
L169[22:29:13] <MichiBot> You drink a powdery grathnode potion (New!). Vaur grows a tail from a unicorn until they recite the litany against fear.
L170[22:29:31] <Forec​aster> no, different effects have a specific number of uses
L171[22:29:37] <Va​ur> tail from unicorn seems like fun time
L172[22:29:43] <Va​ur> yeah but ... nobody used it
L173[22:29:51] <Forec​aster> you did
L174[22:30:13] <Va​ur> no ? it was new
L175[22:30:56] ⇨ Joins: TPG24 (~ThePiGuy2@host-92-17-126-48.as13285.net)
L176[22:31:22] <Va​ur> Message contained 4 or more newlines and was pastebined https://paste.pc-logix.com/zesuqisuho
L177[22:31:58] <Forec​aster> I'm not sure what the confusion is
L178[22:32:04] <Forec​aster> you drank it, you used it
L179[22:32:10] <Forec​aster> if it has one use that's it
L180[22:32:29] <Forec​aster> if it had two uses it would have worked when I tried drinking it
L181[22:32:32] <Va​ur> ah I see
L182[22:32:33] <Va​ur> I get it
L183[22:32:43] ⇦ Quits: ThePiGuy24 (~ThePiGuy2@host-92-17-126-48.as13285.net) (Ping timeout: 204 seconds)
L184[22:33:23] <Forec​aster> hm, I should make the uses slightly random
L185[22:33:39] <Forec​aster> like a 20% chance to have an additional use above the base
L186[23:08:49] ⇦ Quits: hnOsmium0001 (uid453710@id-453710.stonehaven.irccloud.com) (Quit: Connection closed for inactivity)
L187[23:21:46] ⇨ Joins: hnOsmium0001 (uid453710@id-453710.stonehaven.irccloud.com)
L188[23:30:55] <Va​ur> %sip
L189[23:30:55] <MichiBot> You drink a wild pearlpeas potion (New!). Vaur feels like one particular wasp has it out for them suddenly.
<<Prev Next>> Scroll to Top