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

All Activity

This stream auto-updates     

  1. Past hour
  2. Today
  3. I haven't had the pleasure to try this out because I'm on a long road trip, however I love that some wonderful person has made this. I think this could be a great alternative for those who don't like Lua (I<3lua).
  4. https://minecraft.curseforge.com/projects/openpython https://github.com/EcmaXp/OpenPython OpenPython makes micropython available on OpenComputers. micropython is Python for embedded devices and is different from CPython. Currently, micropython is partially compatible with Python version 3.4 as of October 2018. Features include: - Fully persistable. - Runs in a sandboxed environment and does not require a separate native DLL. - Supports virtual file system. - It can call other components and supports Lua architecture's UserData. Limitations include: - The firmware is 256 KB and the memory limit has the same limit as the Lua architecture, but the stack is allocated in a separate memory. - Most modules are difficult to use because the battery is partially included. - The operating system is not yet fully implemented, so the Python interpreter now runs. - Ctrl + C is not supported, so if you accidentally run infinite repeated code, the only way to stop it is to turn the computer off and then on. To use the Python architecture, you need the following items: - EEPROM (OpenPython): I'm sorry, but you have to bring items from the Creative tab. - Floppy Disk (OpenPython OS): This item can be obtained by creating a floppy disk and Scrench, or you can check it on the Creative tab. - OpenPython CPU: You can choose OpenPython architecture by holding Shift + Right Click on the Lua architecture CPU. It is still unstable, but we plan to make further improvements in the future. I need help from people who are familiar with OpenComputers and Python. Thank you for playing.
  5. Yesterday
  6. Last week
  7. skyzo63

    two passwords in same program

    Thanks for your reply, sorry i meant two password, one to open and one to closed. So that the door stays open and only closes with the second password Sorry for this mistake.
  8. payonel

    two passwords in same program

    local component = require("component") local term = require("term") local text = require("text") local r = component.redstone ---- config section local password = {["1234"] = true, ["foobar"] = true} local delay = 5 --time the door stays open local side = 5 --side of the door, test this ----- local wrong = false while true do term.clear() if wrong then print("Password was wrong, try again") else print("Please enter the password") end wrong = false local input = text.trim(term.read({pwchar='*'}) or "") if passwords[input] then r.setOutput(side, 15) -- check if this is the correct function os.sleep(delay) r.setOutput(side, 0) -- same here else wrong = true end end
  9. skyzo63

    two passwords in same program

    Hello Is it possible in the same program to have two passwords to control a door? I find this in the archive and I wanted the modified but without success. Thanks for your answers
  10. bufu1337

    Screen sharing for multiple servers?

    i dont have much yet... step by step... but first step fails already: First Server: local thread = require("thread") local c = require("component") local event = require("event") local m = component.modem m.close() m.open(123) print("screenchange init") thread.create(function() while true do print("a") os.sleep() print("port 123 open: " .. tostring(c.modem.isOpen(123))) _, _, _, _, _, message = event.pull("modem_message") print(message) --do next step end end) print("screenchange - thread started") starting this... then i go to the second server this script: local c = require("component") local m = component.modem m.close() m.open(123) m.broadcast(123, "test") nothing happens at the first server EDIT: I solved the problem by myself... i forgot to connect the second line of both servers in the serverrack GUI... i didnt knew that it is for the network connection, was always wondering what it could be trying to do the script on my own now... any help would be great... even if it is only fragments
  11. payonel

    Refined Storage API - getItem

    I read what RS devs had to say about the issue, and the problem you are running into is that you are trying to make an exact match, which requires you to specify all the tags of an item. You can't omit some you don't care about. I recommend you do a more general search for items, select the one you care about, and then reuse the search result for future exact searches.
  12. Ta©ti Tac0Z

    tacti OS window pased windows 7 expired

    BETA version 1.6 changelog: -added the CMD program window: a loot like the windows CMD and the openos shell COMEING UP: -finish the app store window KNOWEN bug: -CMD prints out a syntask error when reporting a error made by other programs or click on the 'update OS' button in tactiOS settings window if you have a older version of tactiOS i'll happyly resive feedback and suggestions
  13. payonel

    Screen sharing for multiple servers?

    you'll need to share all the code you are using in each side
  14. payonel

    Integration

    You can use an item while "sneaking" with the robot component.robot.use(side: number[, sneaky: boolean[, duration: number]]): boolean[, string] see https://ocdoc.cil.li/component:robot
  15. bufu1337

    Refined Storage API - getItem

    https://github.com/raoulvdberge/refinedstorage/issues/2028 any other suggestions here? the guys from refined storage couldnt help me out, still doesnt work to search for an item with a specific tag like in my example...
  16. bufu1337

    Screen sharing for multiple servers?

    I have a setup with about 12 Serverracks and in each 4 servers = 48 servers... all connected to each other... they need to be connected because they share a bunch of adapters... now i dont want to have 48 screens, for each server one, that looks ugly? i research a little bit, there is a thread API which can start a event.pull("modem_message") - listener in the background of a server without interfering other processes... (https://oc.cil.li/index.php?/topic/1728-multi-threaded-send-and-receive/&amp;page=0#comment-7937) but i cant get anything it working correctly... it already did not work with only 1 serverrack and 2 servers inside... 1 server even doesnt receive the message from the other one... First server: (going to lua) component.modem.open(123) ... returns true _, _, _, _, _, m = event.pull("modem_message"); print(m) Second Server: (going to lua) component.modem.open(123) ... returns true component.modem.broadcast(123, "test") now i await that the first server receives the message but nope, nothing happens... whats wrong with it? i want to make it like: i have big screen, one server shows on this screen, i type in "change_screen server3" then he switches the source-server and the screen show the console of server3 instead of server1 (i am not good at explaining and my english is bad i know) can someone help me realize such a script... pleeeeeaaaaaasssse
  17. Durex77

    Integration

    Add that robot will use bags and storages from other mod like server in OC(component.inventory_controller.getItemInventorySize(i) and other comand). When robot use analizator from IC2 message with croop info come to player (can u do that robot get this message?) Add to robot api useWithShift()
  18. Palagius

    AE2 Level / Auto-crafting

    In JEI when you mouse over an item it should be the number after the slash ( / ) at the top of the item frame. I realize I have not been a good citizen and keeping up with this. I actually significantly improved this script in a 1.12.2 modpack and will post it when I have a chance. I also actually pared things down with better functions--thought I did not fold in the changes Dalden made for tracking current crafting. I shall try to pull that in as well and post the whole thing on Github.
  19. Earlier
  20. Elektron72

    Cell - A graphical file manager for OpenComputers

    Version 0.12 Released: Fixed installer Added rename
  21. bufu1337

    Refined Storage API - getItem

    oh ups i forgot to write this in the my question of course i used `getItem({...}, true, true)` somehow refined storage compares it... because with getItems() i get a table with 'hasTag=true'
  22. payonel

    Refined Storage API - getItem

    the `block_refinedstorage_grid_2` component is kindly provided by refined storage: https://github.com/raoulvdberge/refinedstorage And in their integration source, they provide the `getItem` component method: https://github.com/raoulvdberge/refinedstorage/blob/mc1.12/src/main/java/com/raoulvdberge/refinedstorage/integration/oc/EnvironmentNetwork.java#L299 I don't know how their compare methods work (you can ask them for more support) But it looks like their getItem method takes a couple extra boolean params for comparing meta and nbt. perhaps you could try `getItem({...}, true, true)` or some variation of those
  23. bufu1337

    Refined Storage API - getItem

    How to search for a specific Item which has a tag? for example output from crafttweaker: <"tconstruct:pick_head">.withTag({Material: "stone"}) i tried different ways with a refined storage system with only this item in it... component.block_refinedstorage_grid_2.getItem({name="tconstruct:pick_head", withTag={material="stone"}}) component.block_refinedstorage_grid_2.getItem({name="tconstruct:pick_head", Tag={material="stone"}}) component.block_refinedstorage_grid_2.getItem({name="tconstruct:pick_head", nbt={material="stone"}}) component.block_refinedstorage_grid_2.getItem({name="tconstruct:pick_head", meta={material="stone"}}) component.block_refinedstorage_grid_2.getItem({name="tconstruct:pick_head", material="stone"}) everything results in nil, but: component.block_refinedstorage_grid_2.getItems() finds it... but I cant use getItems() in my original system because it will result in a too long list
  24. parmort

    Function runs twice

    So it turned out being a bug in the sender. I ended up rewriting the program to add more functionality, and it disappeared. Thanks for taking the time to look at this!
  25. Fingercomp

    Function runs twice

    It's a bit unclear for me what kind of problem you have. Is print also called twice per supposedly one sent modem message? Or is it only the doHarvestRoutine call that's repeated? If it's the former case (the print line is also run twice), it means your sent messages are somehow duplicated. First thing to check for is whether you have any relays nearby. These blocks LOVE to mess up with network packets. If you use them, I advice you to remove them and use linked cards or a network that checks for duplicates. If you don't, it's very likely that the sender program has a bug that causes it to send each packet twice.
  26. parmort

    Function runs twice

    Hi. I wrote a program that harvests sugarcane on demand (via modems). I have a main run loop, but the harvesting code runs twice per message received. local event = require "event" local running = true -- ... while running do local _, _, _, port, _, message = event.pull("modem_message") doHarvestRoutine() -- The bit that runs twice per event pull print("Message: "..port.." "..tostring(message)) end Any ideas why this is happening?
  27. Ta©ti Tac0Z

    tacti OS window pased windows 7 expired

    BETA VERSION 1.5 changelog: -fixed unesesary 'os.sleep(1)' in 'fileExplore' Window -added and finished the fileEditor Window, now fully works (requested by Elektron72) COMEING UP: -finish the app store window to download the new version: or click on the 'update OS' button in tactiOS settings window if you have a older version of tactiOS i'll happyly resive feedback and suggestions
  28. Ta©ti Tac0Z

    tacti OS window pased windows 7 expired

    BETA VERSION 1.4 changelog: -fixed MASIVE keyboard input lag -comeing even closer to finish the file editor (save new file, load and open is still not working but all other functions sems to be working - am sorry for not being done with the file editor for long time ago altho am really happy as how it turned out now i'll finish it as soon as i can) two download this new version: or click on the 'update OS' button in tactiOS settings window if you have a older version of tactiOS
  29. Elektron72

    Cell - A graphical file manager for OpenComputers

    Version 0.11 Released: Added copy and paste for files
  1. Load more activity
  • Newsletter

    Want to keep up to date with all our latest news and information?

    Sign Up
×

Important Information

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