<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:07:41] <ThePi​Guy24> mmm electron pisses me off
L2[00:08:22] <ThePi​Guy24> they use way more system resources than they have any right to
L3[01:44:38] ⇦ Quits: hnOsmium0001 (uid453710@id-453710.stonehaven.irccloud.com) (Quit: Connection closed for inactivity)
L4[01:50:11] <Izaya> https://social.shadowkat.net/media/7b210101b4ad7f022c3b4fcdc71881917c23b8192974e88803280f6f01ab2ac1.jpg
L5[01:56:04] <Mic​hiyo> Upgrading to Proxmox 7
L6[01:56:04] <Mic​hiyo> woo
L7[01:56:34] <ThePiGuy24> %p
L8[01:56:37] <MichiBot> Ping reply from ThePi​Guy24 0.31s
L9[01:56:51] <ThePiGuy24> hexchat why you lie to me
L10[01:57:39] ⇦ Quits: ThePiGuy24 (~ThePiGuy2@host-92-17-121-206.as13285.net) (Remote host closed the connection)
L11[02:15:25] ⇨ Joins: hnOsmium0001 (uid453710@id-453710.stonehaven.irccloud.com)
L12[02:24:01] ⇨ Joins: Hawk777 (~chead@2607:c000:8268:1a00:39f8:b69b:fc73:1b2e)
L13[02:31:11] <Mic​hiyo> `Virtual Environment 7.0-8` Neat.
L14[02:52:25] <Amanda> @Michiyo: How'd you run uname -a on the universe?! Did I miss another privesc bug that Ariri's tampering created?!
L15[02:55:58] <Amanda> Who wants a free Cursed Idea?
L16[02:56:17] <Amanda> Too bad, here it is: A font that contains ligatures for every possible 16x16 pixel image in base64
L17[02:56:41] * Amanda curls up around Elfi, goes back to her halucinations, not happy with having spent all day in them
L18[03:12:45] <bad at​ vijya> https://tinyurl.com/yhpj4dkq
L19[03:13:08] <bad at​ vijya> [x] very nice
L20[03:45:29] ⇦ Quits: Thutmose (~Patrick@host-69-59-79-181.nctv.com) (Quit: Leaving.)
L21[04:13:30] <Ariri> %roll 1d2
L22[04:13:30] <MichiBot> 2
L23[04:14:05] <Ariri> %pet Amanda
L24[04:14:05] <MichiBot> Ariri is petting Amanda with a cube that smells faintly of ozone. Amanda regains 1d6 => 5 hit points! The cube that smells faintly of ozone flies into space and doesn't come back.
L25[04:21:49] <Forec​aster> %tonk
L26[04:21:49] <MichiBot> Dogast! Forec​aster! You beat Va​ur's previous record of 3 hours, 17 minutes and 4 seconds (By 1 hour, 16 minutes and 56 seconds)! I hope you're happy!
L27[04:21:50] <MichiBot> Forecaster's new record is 4 hours and 34 minutes! Forecaster also gained 0.00512 (0.00128 x 4) tonk points for stealing the tonk. Position #2. Need 0.47080185 more points to pass Va​ur!
L28[04:29:20] ⇦ Quits: Amanda (~Amanda@c-73-165-62-84.hsd1.pa.comcast.net) (Ping timeout: 189 seconds)
L29[05:20:58] <Mic​hiyo> >Ama​nda: @Michiyo: How'd you run uname -a on the …
L30[05:20:58] <Mic​hiyo> Sorry I can't disclose that.
L31[06:34:52] ⇨ Joins: Vexatos (~Vexatos@port-92-192-125-38.dynamic.as20676.net)
L32[06:34:52] zsh sets mode: +v on Vexatos
L33[06:39:05] <Vampyre> so last week I learned about how transposers can interact with minecarts, next day I found out it can also interact with mobs
L34[06:39:18] <Vampyre> then, the only logical next step was to implement that in the next level of OC storage, Ghast Storage! : https://winaoe.org/oc/OCGhastStorage1.png / https://winaoe.org/oc/OCGhastStorage2.png / https://winaoe.org/oc/OCGhastStorage3.png
L35[06:39:37] <Vampyre> That's 112 chests, around 30 transposers sharing a single Ghast as shared storage ;-)
L36[06:39:52] <Vampyre> However, there in more this new class of future OC technology! Silverfish Shulker storage! : https://winaoe.org/oc/OCSilverfishStorage.mp4
L37[06:40:00] <Vampyre> (subtitle: how to cram 3 million cobblestone into 5 blocks with OC)
L38[06:40:24] <Vampyre> Each layer in there can hold 96 Silverfish, neatly divided by a glass pane and each one good for 4 Shulkers for a nice total of around 2000 Shulkers worth of cobblestone! ;-)
L39[06:40:39] <Vampyre> Practical? no... Easy to manage? Absolutely not... But for just the sound of Silverfish around you alone everyone surely would want... ney, need one!
L40[06:40:56] <Vampyre> ok, so also something actually usefull... OctoRouter : https://winaoe.org/oc/OCOctoRouter.png ;-)
L41[06:54:35] ⇦ Quits: Hawk777 (~chead@2607:c000:8268:1a00:39f8:b69b:fc73:1b2e) (Quit: Leaving.)
L42[07:45:20] <SquidDev> Vampyre: What happens when the mob dies?
L43[08:09:49] <Vampyre> well, the inventory spaces are armor slots, so as with mobs with armor they occasionally drop one of the slots when killed
L44[08:10:11] <Vampyre> so a small chance of dropping a shulker with cobble ;-)
L45[08:11:02] <Vampyre> handy for the thermal foundations mob duplicator on exact mode... just load up a shulker with diamonds ;-)
L46[08:11:10] <Vampyre> very dupe prone
L47[08:24:38] ⇦ Quits: hnOsmium0001 (uid453710@id-453710.stonehaven.irccloud.com) (Quit: Connection closed for inactivity)
L48[08:30:29] <SquidDev> Hahah, that's glorious.
L49[08:38:12] ⇦ Quits: alekso56 (~cax@ti0107a400-0568.bb.online.no) (Ping timeout: 375 seconds)
L50[08:47:11] ⇨ Joins: alekso56 (~cax@2001:464b:c21a:0:745d:45ff:fe3b:a098)
L51[09:03:33] ⇦ Quits: alekso56 (~cax@2001:464b:c21a:0:745d:45ff:fe3b:a098) (Ping timeout: 375 seconds)
L52[09:15:21] ⇨ Joins: alekso56 (~cax@2001:464b:c21a:0:745d:45ff:fe3b:a098)
L53[09:40:44] <Va​ur> %tonkout
L54[09:40:44] <MichiBot> Dad-Sizzle! Va​ur! You beat Forec​aster's previous record of 4 hours and 34 minutes (By 44 minutes and 54 seconds)! I hope you're happy!
L55[09:40:45] <MichiBot> Va​ur has stolen the tonkout! Tonk has been reset! They gained 0.005 tonk points! plus 0.004 bonus points for consecutive hours! (Reduced to 50% because stealing) Current score: 2.06971255. Position #1
L56[11:00:54] <Forec​aster> %tonk
L57[11:00:54] <MichiBot> Boo-yah! Forec​aster! You beat Va​ur's previous record of <0 (By 1 hour, 20 minutes and 9 seconds)! I hope you're happy!
L58[11:00:55] <MichiBot> Forecaster's new record is 1 hour, 20 minutes and 9 seconds! Forecaster also gained 0.00134 tonk points for stealing the tonk. Position #2. Need 0.48046185 more points to pass Va​ur!
L59[11:12:02] ⇨ Joins: ThePiGuy24 (~ThePiGuy2@host-92-17-121-206.as13285.net)
L60[11:25:04] ⇨ Joins: Amanda (~Amanda@c-73-165-62-84.hsd1.pa.comcast.net)
L61[11:31:51] * Amanda stirs awake, yawns and looks around after checking in on her fairy fren
L62[11:32:10] <Amanda> Meowning kids
L63[11:56:17] <Forec​aster> %tonk 'ing
L64[11:56:17] <MichiBot> I'm sorry Forecaster, you were not able to beat Forecaster's record of 1 hour, 20 minutes and 9 seconds this time. 55 minutes and 23 seconds were wasted! Missed by 24 minutes and 46 seconds!
L65[11:56:38] <Forec​aster> oh right, I already did that...
L66[12:06:45] * Elfi is sleeeepy z.z
L67[12:10:00] * Amanda burries Elfi in her floof so that she doesn't get bothered by the sunbeams she moves to lay in
L68[12:32:19] <Amanda> %lua "pong"!
L69[12:32:19] <MichiBot> main:1: unexpected symbol near '"pong"'
L70[12:32:24] <Amanda> Close enough
L71[12:32:42] <Forec​aster> a failed test can sometimes be a successful test
L72[12:59:43] ⇨ Joins: TPG24 (~ThePiGuy2@host-92-17-121-206.as13285.net)
L73[13:01:31] ⇦ Quits: ThePiGuy24 (~ThePiGuy2@host-92-17-121-206.as13285.net) (Ping timeout: 192 seconds)
L74[13:30:38] ⇨ Joins: ThePiGuy24 (~ThePiGuy2@host-92-17-121-206.as13285.net)
L75[13:30:47] ⇦ Quits: TPG24 (~ThePiGuy2@host-92-17-121-206.as13285.net) (Ping timeout: 204 seconds)
L76[13:32:04] ⇨ Joins: Thutmose (~Patrick@host-69-59-79-181.nctv.com)
L77[15:57:32] ⇨ Joins: Inari (~Pinkishu@p508ef0b5.dip0.t-ipconnect.de)
L78[16:01:02] ⇨ Joins: ben_mkiv (~ben_mkiv@2001:16b8:1e96:7e00:409a:a616:280c:c7da)
L79[16:21:01] ⇨ Joins: Hawk777 (~chead@2607:c000:8268:1a00:19df:8d13:20e4:db9e)
L80[16:27:23] ⇨ Joins: hnOsmium0001 (uid453710@id-453710.stonehaven.irccloud.com)
L81[16:30:13] <Va​ur> %tonk
L82[16:30:13] <MichiBot> Yippee! Va​ur! You beat Forec​aster's previous record of 1 hour, 20 minutes and 9 seconds (By 3 hours, 13 minutes and 46 seconds)! I hope you're happy!
L83[16:30:14] <MichiBot> Vaur's new record is 4 hours, 33 minutes and 55 seconds! Vaur also gained 0.00646 (0.00323 x 2) tonk points for stealing the tonk. Position #1.
L84[16:50:13] ⇨ Joins: TPG24 (~ThePiGuy2@host-92-17-121-206.as13285.net)
L85[16:51:41] ⇦ Quits: ThePiGuy24 (~ThePiGuy2@host-92-17-121-206.as13285.net) (Ping timeout: 189 seconds)
L86[16:59:07] <Dev​onX> Hey, i am trying to wire a computer program to read stuff in an inventory, and its just returning the amount as nil https://tinyurl.com/yjzz56qw
L87[16:59:11] <Dev​onX> 2 sec ill grab the cobe
L88[16:59:14] <Dev​onX> 2 sec ill grab the code [Edited]
L89[17:00:13] <Dev​onX> Code Block pastebined null
L90[17:01:05] <Forec​aster> use an inventory controller/transposer
L91[17:03:11] ⇨ Joins: ANONIMOUS (~ANONIMOUS@178.186.198.79)
L92[17:04:09] ⇦ Quits: ANONIMOUS (~ANONIMOUS@178.186.198.79) (Client Quit)
L93[17:06:52] <Dev​onX> >Forec​aster: use an inventory controller/transposer
L94[17:06:52] <Dev​onX> do you need to define the side of where the transposer will check and if so how do you know what side is right ?
L95[17:07:13] <Forec​aster> use the sides api
L96[17:07:25] <Forec​aster> require("sides").north
L97[17:08:57] <Dev​onX> niiice it works! https://tinyurl.com/yhk9p9ue
L98[17:08:57] <Dev​onX> thanks
L99[17:21:55] ⇨ Joins: ThePiGuy24 (~ThePiGuy2@host-92-17-121-206.as13285.net)
L100[17:22:05] ⇦ Quits: TPG24 (~ThePiGuy2@host-92-17-121-206.as13285.net) (Ping timeout: 189 seconds)
L101[17:24:49] <Dev​onX> Hello its me again, i cant get gsub to work somehow.
L102[17:24:49] <Dev​onX> Code Block pastebined null
L103[17:26:45] <Dev​onX> does the gsub need to be before the text?
L104[17:26:47] <B​ob> that doesnt look like valid lua to me
L105[17:26:53] <Forec​aster> %lua math.floor(32.0)
L106[17:26:53] <MichiBot> 32
L107[17:26:54] <B​ob> why is there a random % outside the string
L108[17:27:29] <Dev​onX> >Haru​spex: why is there a random % outside the str…
L109[17:27:29] <Dev​onX> because i am bad at lua
L110[17:27:36] <Dev​onX> just stating out
L111[17:27:38] <Forec​aster> @DevonX use math.floor
L112[17:27:39] <Dev​onX> learning
L113[17:27:39] <B​ob> use an IDE
L114[17:28:23] <Dev​onX> >Haru​spex: use an IDE
L115[17:28:24] <Dev​onX> what IDE so you recomend ?
L116[17:29:03] <B​ob> i just use Notepad++, it has all the basic needs and is extremly light, has color highlighting, auto indentation, the best multicursor ive seen so far and search / replace by regex
L117[17:29:14] <B​ob> you would have seen that that % would have been outside the string in a different color
L118[17:29:30] <B​ob> you could use VSCode + Sumneko's Lua addon if you want it to highlight possible errors too
L119[17:29:32] <Forec​aster> np++ is not an IDE
L120[17:29:43] <B​ob> yeah it isnt, its a great text editor though
L121[17:33:08] <Dev​onX> ok math floor worked good
L122[17:44:00] <Dev​onX> but now there is a new problem. now there is a 1 that has popped out of nowhere after the last string and its not defined anywhere.
L123[17:44:01] <Dev​onX> Code Block pastebined null
L124[17:45:33] <Dev​onX> maybe its outputting the slot for some reason?
L125[17:46:07] <Dev​onX> like where is that last 1 coming from ? https://tinyurl.com/ygaskh9o
L126[17:46:20] <Forec​aster> comment things out until it disappears
L127[17:47:13] <Amanda> %boop Inari
L128[17:47:14] <MichiBot> You boop In​ari on the snoot.
L129[17:47:31] <Inari> Incredibly rude
L130[17:47:54] <dequbed> %boop Amanda
L131[17:47:54] <MichiBot> You boop Ama​nda on the snoot.
L132[17:48:12] <Dev​onX> hmm it does not seem to be slot dependent
L133[17:48:47] * Amanda sneezes
L134[17:52:09] <B​ob> >Dev​onX: but now there is a new problem. now …
L135[17:52:09] <B​ob> `gsub` returns the number of times it could substitue, use `match` instead
L136[17:52:30] <B​ob> `:match("(.*):")`
L137[17:52:35] <B​ob> or just put the gsub call into parenthesis
L138[17:52:42] <B​ob> that'll cuttoff any additional args
L139[17:55:49] <Dev​onX> lol it removed the text before the : https://tinyurl.com/yzc2bp7h
L140[17:55:59] <Dev​onX> 32 minecraft :dogekek:
L141[17:56:49] <Dev​onX> >Haru​spex: `:match("(.*):")`
L142[17:56:50] <Dev​onX> how would the formatting be if you wanted it to remove the stuff in front and including the : ?
L143[18:00:28] <Dev​onX> ok i just put the gsub in to the ()
L144[18:14:00] <B​ob> if you want the stuff in the back, you can match against `:(.+)` which will match all the characters after the first colo
L145[18:14:01] <B​ob> if you want the stuff in the back, you can match against `:(.+)` which will match all the characters after the first colon [Edited]
L146[18:14:12] <Dev​onX> now i need to figure out why it is putting so many spaces between each argument
L147[18:14:32] <Dev​onX> oh the gsub worked
L148[18:14:41] <Dev​onX> https://tinyurl.com/ye79a2e4
L149[18:15:14] <Dev​onX> ```but its like this``` for some reason
L150[18:15:26] <Forec​aster> that's just what print does when you give it multiple arguments
L151[18:15:47] <Forec​aster> if you want to join two strings with a space between you'd do `"string" .. " " .. "otherstring"`
L152[18:21:01] <bad at​ vijya> finally i know how i want to do OSSM
L153[18:21:16] <bad at​ vijya> make it more involved to make the cool stuff so i can make the cool stuff cooler
L154[18:23:55] <Dev​onX> >Forec​aster: if you want to join two strings with a …
L155[18:23:56] <Dev​onX> It looks super funky but it works haha
L156[18:23:56] <Dev​onX> Code Block pastebined null
L157[18:24:49] <Hawk777> Corded does not handle code blocks well. I assume on the Discord side of things there are actual embedded code blocks in these messages? On the IRC side it just says “Code Block pastebined null”.
L158[18:25:33] <Amanda> yeah the pastebin site's down, I think @Michiyo's been too busy to fix it
L159[18:25:50] <Hawk777> Oh OK.
L160[18:25:56] <Mic​hiyo> Yeah.. sorry
L161[18:26:09] <Hawk777> No problem. Not a big deal.
L162[18:26:10] <Mic​hiyo> It's on my radar but so are 100 other things :/ I'll see if I can figure it out
L163[18:26:24] <dequbed> How dare you not provide a feature for free nobody payed you to develop in the first place?! D:
L164[18:26:51] <Mic​hiyo> 'Something went wrong!' Thanks hasteserver
L165[18:26:53] <Mic​hiyo> fuckin useful
L166[18:27:09] <Forec​aster> the best errors are the vague ones
L167[18:27:51] <Mic​hiyo> -1
L168[18:28:55] <Hawk777> Make a web server that responds with code 400 (unspecified client-caused error) to every failure. Including things that should be 500, because it’s the client’s fault for trying to contact a broken server.
L169[18:29:23] <dequbed> Hawk777 no.
L170[18:32:47] <Mic​hiyo> https://paste.pc-logix.com/adunopedug do people see "Test" ?
L171[18:33:18] <Hawk777> Yes.
L172[18:33:20] <dequbed> @Michiyo I see "Firefox failed to start" in some sorta popup?
L173[18:33:28] <dequbed> (yes)
L174[18:33:49] <Mic​hiyo> Code Block pastebined https://paste.pc-logix.com/fecadixefa
L175[18:34:09] <dequbed> @Michiyo want a hug?
L176[18:34:21] <Hawk777> Hooray!
L177[18:36:20] <Mic​hiyo> Well, atleast it was an easy fix. When I migrated over from my home server to my VPS I forgot to install node first, so the config for the paste site didn't actually transfer.
L178[18:36:49] <Mic​hiyo> I tried to set it up from memory but set the 'Document Root' to the wrong path
L179[18:37:39] <Mic​hiyo> And yes, hastebin (and by extension my paste site) run on Node.JS because I was too lazy to do my own thing :P
L180[18:38:09] <Mic​hiyo> It was SUPPOSED to be temporary, but as everyone knows the most permanent solution is a temporary one.
L181[18:38:32] <Forec​aster> indeed
L182[18:39:02] <Forec​aster> like ducttape
L183[18:40:38] <Dev​onX> Can get this for loop to be working
L184[18:40:38] <Dev​onX> Code Block pastebined https://paste.pc-logix.com/guwugamuro
L185[18:40:52] <Dev​onX> Can get this for loop to be working
L186[18:40:52] <Dev​onX> Code Block pastebined https://paste.pc-logix.com/xucojaputa [Edited]
L187[18:41:24] <Forec​aster> that's not how you write for loops in Lua
L188[18:41:37] <Dev​onX> yee, or else it would be working
L189[18:41:47] <Dev​onX> no clue what i did wrong tho
L190[18:42:07] <Dev​onX> i tried folling the tutorial on https://www.tutorialspoint.com/lua/lua_for_loop.htm
L191[18:42:11] <Forec​aster> `for i = 1,5 do`
L192[18:42:22] <Forec​aster> will iterate from 1 to 5
L193[18:43:06] <Forec​aster> %lua for i = 1,5 do print(i) end
L194[18:43:06] <MichiBot> 1 | 2 | 3 | 4 | 5
L195[18:44:12] <Dev​onX> it kinda worked lol https://tinyurl.com/ygkwbu87
L196[18:44:22] <Dev​onX> need it to swap slots too
L197[18:44:57] <Forec​aster> what did you write
L198[18:45:06] <Dev​onX> https://tinyurl.com/ygb5on94
L199[18:45:53] <Forec​aster> you have to get the slot contents in the loop
L200[18:46:05] <Dev​onX> so a loop in a loop?
L201[18:46:32] <Forec​aster> I only see one loop
L202[18:46:34] <Mic​hiyo> No, right now you're just telling it to print X as many times as the value of 'iSize'
L203[18:46:55] <Mic​hiyo> you need to restructure that code block, and put the code getting the item INSIDE your for loop
L204[18:47:18] <Mic​hiyo> as it stands you get the item, then just loop the print. you need to loop getting the item, and then print the result.
L205[18:48:30] <Forec​aster> basically move the for loop to encapsulate everything
L206[18:48:48] <Forec​aster> (except the requires at the start)
L207[18:55:57] <Dev​onX> so something close to this ? https://tinyurl.com/yzz3x975
L208[18:56:07] <Dev​onX> not sure if you want plain text or an image
L209[18:58:21] <B​ob> text is easier to read and interact with
L210[18:58:44] <B​ob> also, youd be better off using string formats instead of that much concatenation and other stuff
L211[19:00:11] <Mic​hiyo> So... you're setting the slot... but still referencing the 'item' from outside the loop. you get the 'item' via getStackInSlot once, but never update that item.
L212[19:01:31] <Dev​onX> >Mic​hiyo: So... you're setting the slot... but st…
L213[19:01:31] <Dev​onX> doesnt it update when it is inside the loop tho ?
L214[19:01:48] <Mic​hiyo> you never call getStackInSlot again.
L215[19:01:54] <Mic​hiyo> so... what is it supposed to update?
L216[19:02:05] <Mic​hiyo> Just because you update a variable value doesn't make all of the code before it reexecute.
L217[19:02:20] <Dev​onX> its referring to item as getStackInSlot, does that not call it every loop ?
L218[19:02:32] <Mic​hiyo> You don't have that inside the loop, so how should it?
L219[19:02:43] <Mic​hiyo> you just keep asking for the value of item, which was set... once... when it ran
L220[19:02:46] <Dev​onX> well item is in the loop tho
L221[19:02:59] <Mic​hiyo> you're not SETTING item to anything new.
L222[19:03:07] <Mic​hiyo> you literally just have `item`
L223[19:03:26] <Hawk777> Looks like you misunderstand functions. getStackInSlot is *called* only once. “item” is the value it returns, not the call.
L224[19:03:38] <Hawk777> If you want to call the function again, you have to call the function again.
L225[19:03:43] <Mic​hiyo> If you want it to update inside the loop you'd have to do `item = chest.getStackInSlot(5, slot)` inside the loop.
L226[19:04:02] <Dev​onX> oooh
L227[19:04:05] <Dev​onX> im very new to this
L228[19:04:21] <Mic​hiyo> Also, that will NEVER print anything if for instance, the first slot of your inventory is empty
L229[19:06:07] <Dev​onX> ok putting item = chest.getStackInSlot(5, slot) worked nice
L230[19:06:09] <Dev​onX> thanks
L231[19:06:26] <Dev​onX> getting some more errors but i working though it
L232[19:06:30] <Mic​hiyo> psuedo coded the everlovin fuck out of it but something more like this
L233[19:06:30] <Mic​hiyo> Code Block pastebined https://paste.pc-logix.com/zerapepuja Will allow it to run if your first slot is empty
L234[19:06:52] <Mic​hiyo> I didn't test it, just took your code and restructured it a bit
L235[19:07:35] <Mic​hiyo> if you want to check if your chest is empty you can also do that by tracking the number of items you find, if it's 0 it's empty of course :P
L236[19:08:00] <Dev​onX> will do, thanks
L237[19:45:02] <Dev​onX> >Mic​hiyo: if you want to check if your chest is e…
L238[19:45:03] <Dev​onX> ok so here is where i am stuck now
L239[19:45:03] <Dev​onX> Code Block pastebined https://paste.pc-logix.com/bojefarera
L240[19:46:07] <Dev​onX> might be that chest.getStackInSlot error again, not sure
L241[19:46:10] <Mic​hiyo> Erm...
L242[19:46:13] <Dev​onX> also not sure how to check it
L243[19:46:57] <Dev​onX> im guessing that chest.getStackInSlot is a table
L244[19:47:28] <Dev​onX> but since there is no way to check if something is not something as far as i know i do not know how to check it right
L245[19:47:54] <Mic​hiyo> I don't even know what that 2nd for loop on line 15 is trying to do..
L246[19:48:30] <Dev​onX> its trying to check all the slots and if it is all empty output that print line
L247[19:48:57] <Dev​onX> so its supposed to count all the slots and add a +1 to the count value
L248[19:49:08] <Dev​onX> and if that value is 0 then it would print that line
L249[19:50:37] <Mic​hiyo> Ah... no.
L250[19:50:52] <Dev​onX> well that is the intention of it at least
L251[19:50:56] <Dev​onX> ... its not working..
L252[19:55:03] <Mic​hiyo> So.. something like Code Block pastebined https://paste.pc-logix.com/odapaxovig then? You don't need to print "The chest is empty" for every slot I assume..
L253[19:55:19] <Mic​hiyo> at the very least, you don't need 2 loops for this, you're already running the loop
L254[19:55:33] <Dev​onX> yee, thought the break would just jump out of the loop. hmm
L255[19:55:40] <Dev​onX> ah ok
L256[19:56:43] <Mic​hiyo> Mind you, I may know know best practices. I've not used OC really in a few years now, and lua is hardly my daily language. I work in VB.net/c++ and Java mainly.
L257[19:57:28] <Dev​onX> well this is my 2nd program ever. ill have to learn a bit to be even called decent. heh. but thanks for helping me. its fun when it is working!
L258[20:02:24] <Dev​onX> its working! thanks
L259[20:12:59] <Dev​onX> The structure is the thing that i need to learn about a bit better. Learning where things are supposed to go to do the thing you want.
L260[20:15:09] <Dev​onX> Kinda like a puzzle
L261[20:54:42] <Dev​onX> so if i wanted to add those items into a 2D array, combine the items that is the same and add the values then read the combined array. how would i got about that ?
L262[20:55:28] <Forec​aster> tables
L263[20:55:38] <Forec​aster> tables in tables
L264[20:55:56] <Dev​onX> arrays = tables
L265[20:55:58] <Dev​onX> i see
L266[20:56:10] <Forec​aster> yes, they're called tables in Lua
L267[20:56:25] <Forec​aster> tables are arrays/objects
L268[20:57:06] <Dev​onX> now i just need to figure out how to use them hmm
L269[20:59:43] <Forec​aster> `local mytable = {"stuff", "thing", "another thing"}`
L270[21:00:00] <Forec​aster> or `local mytable = { thing = "stuff" }`
L271[21:10:19] <Dev​onX> i think i need an example being used in something else to get the context
L272[21:10:22] <Dev​onX> hmm
L273[21:10:33] <Dev​onX> google is not doing me any favours
L274[21:15:19] <Forec​aster> https://www.lua.org/pil/3.6.html
L275[21:16:14] <Forec​aster> %tonkout
L276[21:16:14] <MichiBot> Dagnammit! Forec​aster! You beat Va​ur's previous record of 4 hours, 33 minutes and 55 seconds (By 12 minutes and 5 seconds)! I hope you're happy!
L277[21:16:15] <MichiBot> Forec​aster has stolen the tonkout! Tonk has been reset! They gained 0.004 tonk points! plus 0.003 bonus points for consecutive hours! (Reduced to 50% because stealing) Current score: 1.5977507. Position #2 Need 0.47842185 more points to pass Va​ur!
L278[21:16:24] <Va​ur> I was just within seconds of doing that
L279[21:16:25] <Va​ur> dang it
L280[21:16:55] <Forec​aster> I just came off a D&D session :P
L281[21:17:17] <Va​ur> I didn't want to bother too much on the discussion
L282[21:41:32] ⇦ Quits: maxpowa (~m@irc.everythingisawesome.us) (Ping timeout: 189 seconds)
L283[21:43:35] ⇨ Joins: maxpowa (~m@irc.everythingisawesome.us)
L284[21:54:41] <Dev​onX> >Forec​aster: https://www.lua.org/pil/3.6.html
L285[21:54:41] <Dev​onX> niice, ill take a look at that
L286[21:56:34] <Dev​onX> what is that tonk thing ?
L287[21:56:43] <Forec​aster> try it
L288[21:56:48] <Dev​onX> %tonkout
L289[21:56:49] <MichiBot> Dev​onX: You should probably read this: https://michibot.pc-logix.com/tonk
L290[21:56:50] <Amanda> don't, it's a trap
L291[21:56:59] <Dev​onX> too slow
L292[21:57:05] <Forec​aster> nah I knew it would link to the instructions :P
L293[21:57:10] <Amanda> every tonk steals part of your soul and hands it over to MichiBot
L294[21:57:30] <Amanda> how else could she be creating value for the tonk points?!
L295[21:58:05] <Dev​onX> oh so its like a spiral lol
L296[21:58:27] <Forec​aster> spiral? that's a new one
L297[21:58:42] <Dev​onX> ye gets longer and longer
L298[21:58:52] <Dev​onX> for every time you use it
L299[21:59:06] <Forec​aster> well until it's reset
L300[22:11:07] <Em​mi> %tonk
L301[22:11:07] <MichiBot> Hooray! Em​mi! You beat Forec​aster's previous record of <0 (By 54 minutes and 52 seconds)! I hope you're happy!
L302[22:11:08] <MichiBot> Emmi's new record is 54 minutes and 52 seconds! Emmi also gained 0.00091 tonk points for stealing the tonk. Position #10. Need 0.00743 more points to pass Shuud​oushi!
L303[22:47:44] ⇦ Quits: Inari (~Pinkishu@p508ef0b5.dip0.t-ipconnect.de) (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)
L304[23:34:18] ⇦ Quits: Vexatos (~Vexatos@port-92-192-125-38.dynamic.as20676.net) (Quit: Insert quantum chemistry joke here)
L305[23:53:06] <Amanda> %choose computer or not so computer
L306[23:53:06] <MichiBot> Ama​nda: Out of these two choices? I'd say "not so computer".
<<Prev Next>> Scroll to Top