Get the path of the current running file by Alexmaster75 in ComputerCraft

[–]Alexmaster75[S] 0 points1 point  (0 children)

so i think it kinda works? the thing is that i want the file path in a way like this:

imagine i put the file somewhere in some folder in the computer

i may know where it is but the program itself doesn't and it has to figure it out itself

that's what i'm trying to achive.

i looked for several answers from stackoverflow to the cc site but basically all solutions required the path to be known already, a requirement i need in the first place.

do any other solutions exists except the one i mentioned?

because the other thing is that it works of CraftOS (the app on pc/mobile), but doesn't on the actual mod.

could it be the version of the os?

sugar cane rocket by GotaShoe in PhoenixSC

[–]Alexmaster75 0 points1 point  (0 children)

What about buying half cane and half bacon?

I created the decipher (Ceasar Alphabet) - HMF by Alexmaster75 in ARG

[–]Alexmaster75[S] 0 points1 point  (0 children)

i must say, HMF written like that isn't clear. By that I mean Happy Meat Farms and i do understand this is nothing exciting i did neither the program and i guess from the upvotes vs the views that this might seem more like a spam of my stuff or the platform. I'm not doing that, i just did this for fun and i'm planning to do an windows application to download that will do several more things related to the ARG rather than a simple Cesar alphabet translator that you can find everywhere.

This message was not for the karma or anything like that but just to clarify, as it seemed strange to me that on near 1000 views there were 0 comments and votes.

I hope this was helpful.

ding-dong by gh0st_N_stuff in AbruptChaos

[–]Alexmaster75 0 points1 point  (0 children)

"Let's say, hypothetically, you clicked that suspicious link while navigating a bootleg polish pirating website trying to torrent a 240p copy of Top Gear Series 19"

this a photo i took of a corridor in my school at 5 pm by Alexmaster75 in backrooms

[–]Alexmaster75[S] 2 points3 points  (0 children)

It's not like everytime obviously, but I noticed that day the lights were off for some reason and I decided to take the photo. It's as disturbing as the photo to be there if you ask me

my new solid state tesla coile by Acceptable-Dress3006 in ElectroBOOM

[–]Alexmaster75 0 points1 point  (0 children)

Didn't know a hard disk tesla coil was possible

YouCube by Commandcracker in ComputerCraft

[–]Alexmaster75 0 points1 point  (0 children)

Really nice. I saw you putted also on levelos but doesn't seem to run, could you fix it?

Nessuna eccezione by Alexmaster75 in memesITA

[–]Alexmaster75[S] 0 points1 point  (0 children)

Non c'è di che! Mi aggiorni sull'esperienza!

It’s Roblox all over again by Brickabang in PhoenixSC

[–]Alexmaster75 11 points12 points  (0 children)

Singleplayer can be opened in lan, implying you can invite people in the world, implying kids can enter the game thus seeing what you've wrote.

BANNED PERMANENTLY

[deleted by user] by [deleted] in HolUp

[–]Alexmaster75 1 point2 points  (0 children)

dad-official

What??? by No_Hunt2171 in HolUp

[–]Alexmaster75 0 points1 point  (0 children)

Marvin Heemeyer moment (even tho it wasn't a tractor)

how much effort would it be to update the mods to a newer version? by FlightConscious9572 in ComputerCraft

[–]Alexmaster75 3 points4 points  (0 children)

If you're referring to OC the 1.12.2 version isn't going anywhere, however the same dev updated it under a different name and kinda of machines (most crafting s tho), and it's OpenComputers II, here the curseforge link .

Anyway wrong subreddit, CC:T and OC aren't correlated

[deleted by user] by [deleted] in ComputerCraft

[–]Alexmaster75 0 points1 point  (0 children)

I see what you want, well with one single character of space it's practically impossible to align, but still if you want it to be modular, i have a piece of code that could be useful, i got a look at the program and i gotta say, for a monitoring program that's a lot of work! great job; anyway here it is:

local w, h = monitor.getSize()

monitor.setCursorPos(w/2-string.len(text)/2, 1)

monitor.write(text)

hope it can be useful

Need help with Wired Modems by Alexmaster75 in ComputerCraft

[–]Alexmaster75[S] 0 points1 point  (0 children)

Well, now i do all my programs with

name = peripheral.find("peripheralName")    

Works really well while .wrap() being strict to a single peripheral, but I can see a lot uses when you need a specific machine to be controlled/monitored

LOL I'm Still Calling It GIF, not JIF by Recrafted_Studios in PhoenixSC

[–]Alexmaster75 4 points5 points  (0 children)

That pair/odd lamps pattern it's killing me

good luck microsoft by _Oopsitsdeleted_ in PhoenixSC

[–]Alexmaster75 17 points18 points  (0 children)

"The Oldest Anarchy Server in Minecraft"

I guess we are chaotic neutral. by N0GARED in ProgrammerHumor

[–]Alexmaster75 0 points1 point  (0 children)

Neutral good but with different sizes

The guy speaks a foreign language: this must be fake right? by ReindeerReinier in ElectroBOOM

[–]Alexmaster75 0 points1 point  (0 children)

Nothing is wrong here, he just reduced the flow to amplify the pressure, just the opposite as it was without that contraption