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

SpaceBeeGaming

Members
  • Content Count

    55
  • Joined

  • Last visited

  • Days Won

    4

SpaceBeeGaming last won the day on April 27

SpaceBeeGaming had the most liked content!

About SpaceBeeGaming

  • Rank
    Junior Member
  • Birthday 01/30/2000

Profile Information

  • Gender
    Male
  • Location
    Finland
  • Interests
    Technology, cats

Contact Methods

  • Minecraft
    SpaceBeeGaming
  • GitHub
    SpaceBeeGaming

Recent Profile Visitors

481 profile views
  1. @EderV The ticket machine also requires power, put another cell next to it/use cables.
  2. @GabelaGarlaSrl Glad to be of help, and no it's not that long script. Here is an example of a medium/large-ish-sized script: https://github.com/SpaceBeeGaming/OC-DNS/blob/master/bin/dns_server.lua (It's from my GitHub, part of a larger project)
  3. Here is a fixed version along with some notes: local event = require("event") --< event library needs to be requested. local component = require("component") --< same for component local lift = component.lift while true do local e = event.pull("motion") --< Don't use system reserved variable names for your own. if (e == "motion") then --< This event is never false, as the 'event.pull()' is filtered => the upper action will alwayus run. lift.callFloor(2) else --< Cant be 'elseif', would need a conditon to test os.run(elevatormotionmanipulation) end end -- <= these things are comments, they are used to explain what code does, without affecting its execution, they can be removed without issues.
  4. @GabelaGarlaSrl What is the error? Can't help if we don't know the problem.
  5. @BattyCynris When you update OpenComputers (the mod), It doesn't change what is on the computers, it only changes the contents of the OpenOS floppy disk. So updating the in-game computer after the mod update only requires you to insert the OpenOS floppy disk and running "install" again. The tool you linked is basically just for those who can't update their mod (playing on a server with outdated version but need features of a newer version) so don't use it if normal updating is available.
  6. @Niami Here is a link https://ocdoc.cil.li/component:data Basically it works like this: user A and B both generate a key pair. Then they exchange their public keys. Then the actual AES encryption key is calculated from own private and other users public key these calculations end up in the same result. In other words: A public + B private = B public + A private. Thus allowing encryption and decryption. This is explained in the docs, but poorly. I may have some examples,I might share if you're interested.
  7. @AustinLearns First of all, how it doesn't work? Hard to help if the problem is unknown.
  8. How are you powering the computer?
  9. @vratk0529 function names can't have (-) characters in them as it is interpreted as a minus. You have to use underscores (_).
  10. @Crack3dC0d3 They get suspended because your power storage is full and they turn on if power demand rises or storage level drops. In other words it's working as intended.
  11. Decided to change temporarily to event.pull() but thanks anyway.
  12. So, I'm developing a program which uses event.listen(), and debugging them is a pain because of lines like these: bad argument #1 (string expected, got nil) How am I supposed to know where the error is when there is no location information? So is there a way to get the full error details somehow?
  13. Sounds interesting, but make sure to write the documentation well.
  14. Hello. So, I'm making an (in-game) monetary transaction system and for that I need encryption. Documentation on the data card is extremely poor (no examples). Here's what I have so far: Note! The key transfer has already been done. --Machine #A local pubKeyA, privKeyA = data.generateKeyPair() local shKeyA = data.ecdh(privKeyA, pubKeyB) local message = "Hello?" ---[What happens in here to encrypt data?] modem.send(encryptedData) --just placeHolder --Machine #B local pubKeyB, privKeyB = data.generateKeyPair() local shKeyB = data.ecdh(privKeyB, pubKeyA) local message=event.pull() --just placeholder ---[What happens in here to decrypt data?] print(decryptedData) Any and all help would be appreciated.
×
×
  • Create New...

Important Information

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