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

ArchAngel075

Members
  • Content Count

    4
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by ArchAngel075

  1. Updated SAD.lua pastebin link to point to v2 Changes : + Added vars, now can manipulate variables in SAD, use ` SAD.vars ` to store variables. A important use of variables is often Queries and actors need to interact with external components obtained via component.proxy()... Previously these components would need to be proxied EVERY query run and actor run. This is uneeded memory usage and CPU usage especially on the lowest tier setups. Now instead one can do ` SAD.vars.my_tank = SAD.vars.my_tank or component.proxy("address_here") ` . Thus will either fetch the variable if set o
  2. Discovered an issue in SAD.lua The check for modem isnt done correctly and causes a crash. For now allways use a network or wireless card until i post a fix later today. Otherwise im at a point in the server im on where i can use the program so once i make some 'real world' queries or actors ill happily share them too including a video to showcase.
  3. Im intending to make some recording or imgur gallery to display the use of SAD once I get to that point in the server I play on. Though off the top of my head i have this for some setup using rotarycraft (in modpack rev|3) --query "Grinder" local component = require("component") local function Query(SAD) local grinder = component.proxy(component.get("address_of_rotarycraft_grinder")) local item = grinder.getSlot(0) --returns item name of item in grinder, or nil if empty local result = 0 if item ~= nil then result = 1 end return result end return Query and act
  4. (I created this out of curiosity and desire for something that does what this does, feel free to critic and help me catch bugs or suggest features!) Ever wanted to programmatically control logistics and machine setups? Ever Wanted to control these setups across multiple OC computers? With SAD you can! How to Install SAD : 1. First place SAD.lua (get it here) anywhere (try /home/SAD.lua) 2. Install dkjson (get it here) to /libs as "dkjson.lua" Using SAD : first Create a Query : path/to/SAD -query=BatteryCharger NOTE that you must not use spaces in
×
×
  • Create New...

Important Information

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