Hello, thanks for your input. I updated the script, and I am making the light version (will run on almost any computer) right now! Update: The lighter version is obtainable from here: https://github.com/AugiteSoul/AugiteOpenComputers/blob/master/systeminfo-light/systeminfo.lua
My first big program. It shows: -a randomized message (requested from my HTTP server, and fortune on the server side), -Computer address, used/free/all RAM, energy levels, uptime, filesystem for booting, whether the computer can do HTTP requests, -List of components available Thanks to CptMercury and payonel for some parts of the code. I will make it available through OPPM soon, but for now you will need to get it through GitHub: https://github.com/AugiteSoul/AugiteOpenComputers/blob/master/systeminfo/systeminfo.lua Feel free to send some feedback, positive or not
My code: local result == (internet.request("<url>")) term.write(result) returns (sorry for uploading the picture, it's just that I don't really know how to copy-paste from the in-game computer) How should I do it?
Nevermind - just forgot the () at the end of computer.freeMemory and computer.totalMemory. Sorry for the inconvenience. I'll release my system information program soon, by the way.
Hello, I want to obtain the RAM currently used by the computer, by substracting the returned values of computer.totalMemory and computer.freeMemory. Sadly, doing this returns an error message. How should I do this?