Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Izaya

Members
  • Content Count

    62
  • Joined

  • Last visited

  • Days Won

    14

Izaya last won the day on August 18

Izaya had the most liked content!

About Izaya

  • Rank
    Junior Member

Contact Methods

  • Website URL
    https://shadowkat.net
  • Jabber
    izaya@shadowkat.net
  • Minecraft
    Izaya
  • GitHub
    XeonSquared
  • IRC
    Izaya
  • Fediverse ID
    @izaya@social.shadowkat.net

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. There's software for importing/exporting components included with the Minitel RPC library (on oppm as mtrpc) tl;dr oppm install mtrpc exportcomponent <component address> [component address...] importcomponent <host> <component type> <component address> Doesn't work properly with components that return functions, like the internet card, but it works nicely with stuff like redstone cards and storage devices.
  2. Izaya

    Compare times

    Okay, so, for a start, I ... think you're trying to concatenate times to compare? To concatenate in Lua, you use the .. operator, like so: (Hour .. ":" .. Minute .. ":" .. Second) Though using string.format may be saner string.format("%s:%s:%s", Hour, Minute, Second) Next, you're trying to add a number to a string, which just isn't going to fly; Lua 5.3.5 Copyright (C) 1994-2018 Lua.org, PUC-Rio > "a"+2 stdin:1: attempt to perform arithmetic on a string value stack traceback: stdin:1: in main chunk [C]: in ? You'd need to use tonumber on the value somewhere, like local Min = tonumber(os.date("%M")) And then turn it back into a string to concatenate it (Hour .. ":", tostring(Min+15) .. ":" .. Sec) Or use the %i - integer - pattern for string.format string.format("%s:%i:%s", Hour, Minute, Second) Though this could all be done much more simply: os.sleep(15) Which will sleep the computer for 15 seconds, saving power, rather than busy-waiting - and a time that long would probably result in a too long without yielding error if you don't yield in the middle.
  3. Basically, you concatenate the Microtel files from the Github repository to the front of your embedded application, something along the lines of cat microtel-3.lua microtel-4.lua microtel-5-base.lua microtel-5-open.lua yoursoftware.lua > eeprom.lua This will let you use the functions described in the documentation for Microtel, and get the relevant signals.
  4. Well, it's only 10 months later than intended, but I finally got around to improving the FRequest daemon. It now uses OpenOS threads, reducing system load, and supports being used as a HTTP(S) proxy. To enable acting as a proxy: Update frequestd via oppm: oppm update all Reboot your server Change iproxy=false to iproxy=true in /etc/fserv.cfg Restart FRequestd: rc fserv restart
  5. It's probably showing the built-in 64KB temporary filesystem. See what mount and df say, and whether that address matches computer.tmpAddress().
  6. Bumping because it's basically been re-written; we're on 2.0 now, and it has some big improvements: Better re-connect logic Multiple connections pcap capture support for the vTunnel bridge with a wireshark plugin for dissecting Minitel packets Additionally, this post will contain a list of known public relays: lain.church, port 4096 luna.nosafe.space, port 4096 (thanks @Adorable-Catgirl )
  7. OC-ports OC-ports provides a database and library for using said database to cross-reference between protocol names and network port numbers. The database also contains the entity that registered the port(s) and, if applicable, a link to more information. API The portinfo API provides one function: portinfo.search(*query*, [*database*]) table: result The search() function takes your query - either a string or a port number - and searches the database, defaulting to the OC ports database, for your query, returning the first result as a table in the format: name port registered by more information This is more than enough to use for simple port lookups and generating tables. Reserving ports To reserve a port in the database, please submit an issue on the GitHub repository. Download portinfo can be installed via oppm from the Minitel repository, using the command oppm install portinfo Additionally, to install manually, place portinfo.lua into /usr/lib/, and both oc.db and minitel.db into /usr/lib/ports/.
  8. Ever needed real-world time in OpenComputers? I did today, so I did something about it. realtime realtime is a set of libraries and protocols designed to let you synchronise your computers with the real world, and includes: The realtime library, for taking and keeping time. The realtime-sync daemon, for synchronising your realtime library with the real world The realtime-relay daemon, for synchronising your realtime across the local network. All of these can be downloaded via oppm, or from the Minitel GitHub repository. Additionally, all of these come with manual pages describing their functionality and usage, all of which can be found here.
  9. and nothing of value was lost
  10. No display there. >Discord disgusting
  11. While true at the time, behold:
  12. Shout out to ba7888b72413a16a for their PR that significantly improves network performance on larger networks with routers, check out the before and after videos. Other stuff is coming soon(TM), so watch this space I guess.
  13. IP is a fairly complicated protocol - for good reasons, but OC handles a lot of stuff for you. If you want IP, I'd consider the network loot disk, though I'm not sure how well it works nowadays. If you're still set on implementing IPv4, I'd you'll need to look at the RFCs for IPv4 and TCP. I'd instead consider Minitel, given it has both something like TCP and HTTP (more like Gopher but whatever), as well as a reasonable routing system, but I suppose I am biased.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.