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

    • Lizzy Trickster

      Latest Stable OpenComputers Version   11/26/16

      The latest released version of OpenComputers is version 1.7.1 for MC 1.7.10, 1.10.2, 1.11.2 & 1.12.1. See more information here! Beta/Dev builds can be found at the Jenkins Build Server (ci.cil.li)

PixelToast

Members
  • Content count

    19
  • Joined

  • Last visited

  • Days Won

    1

PixelToast last won the day on May 7 2014

PixelToast had the most liked content!

About PixelToast

  • Rank
    Junior Member

Profile Information

  • Gender
    Not Telling
  1. [INACTIVE][1.7.10] The Enderverse

  2. Logger.lua - a network logging program (alpha/beta)

    nice +Ð50 for the potato
  3. computer.addUser

    computer.users(): string, ...A list of all users registered on this computer, as a tuple. To iterate the result as a list, use table.pack on it, first. Please see the user rights documentation. computer.addUser(name: string): boolean or nil, stringRegisters a new user with this computer. Returns true if the user was successfully added. Returns nil and an error message otherwise. The user must be currently in the game. The user will gain full access rights on the computer. computer.removeUser(name: string): booleanUnregisters a user from this computer. Returns true if the user was removed, false if they weren't registered in the first place. The user will lose all access to this computer. When the last user is removed from the user list, the computer becomes accessible to all players. so basically once you call addUser, it gives that person permission to use the computer
  4. #OC Bot Commands

    ^v help: .r .releases .release : links downloads for releases .w .h .help .wiki : lists help for functions/wiki pages .j .build .beta : links downloads for jenkins .require .req : generates code to require a component or api .tell : tells a person something the next time they talk .openprg : compiles and pushes openprograms site .luaj .lj : executes lua 5.2 code .l53 .lua53 : executes lua 5.3 code .l .lua : executes lua 5.2 code .bc .calc : calculates large numbers .f .forums : links to the forums .borkluaj .blj : executes lua 5.2 code .github .git : links to the oc github .commits : OC commit statistics .downloads .dlstats : oc github download statistics .openp .openprograms : links to the openprograms site and github .rules : links to the channel rules .openc .opencomponents : links to the opencomponents jenkins .mcdown .mc .mcstats .mcstat : checks if mojang's servers are down
  5. TCPNet

    no, thats the socket protocol
  6. TCPNet

    https://github.com/P-T-/TCPNet This API allows for infinite cross range, cross server communication with the internet card. It uses a external Lua server which requires luasocket (should work on both 5.1 and 5.2) on ubuntu/debian you can use apt get install luarocks and then luarocks install luasocket on windows: https://code.google.com/p/luaforwindows/downloads/list others you will have to find/compile binaries once you have a server set up and forwarded you can access it in OC with your computer's external IP (or localhost if you changed the tcp blacklist) API local handle=tcpnet.new([ip[,port]]) connects to the server, ip defaults to localhost and port defaults to 25476 handle:receive([timeout[,port]]) returns port,data or just data if the port parameter is given handle:send(port,data) sends data to port handle:open(...) opens ports handle:close(...) closes ports event "tcpnet_message",port,data Protocol every message and response is a table serialized ports can be strings or numbers it does serialize the data, but because computer.pushSignal doesnt support tables, my api wont allow them but it is really easy to write your own api {"send",port=port,data=data} sends data to everyone listening on port {"open",ports={[port]=true,[port]=false}} open/close ports {"message",port=port,data=data} you receive this when you get a message
  7. Remain in Motion, will it support?

    the adapter block should work with it
  8. Networkdrives and Server

    This is completely possible but nobody has done it yet you would have to make a fake filesystem component then use modems to send file changes when close/flush is called this was done in CC but that required heavy filesystem hooking, the lua side filesystem api makes it easier in OC
  9. Thoughts on Lua 5.3

    was april fools, work3 hasnt come out yet
  10. Thoughts on Lua 5.3

    work3 was just released and guess what they added? thats right i am loving the new syntax, it takes so much less time converting code from other languages
  11. Thoughts on Lua 5.3

    Here is how the integer system works: numbers are ints if they dont have a decimal point, otherwise they are floats this isnt compatability breaking though, the math operators automatically convert them there is also the new // operator which does division on ints, basically math.floor(a/b) the reason for this is that we can now divide huge numbers, ones that are too big for floats also, all numbers are 64 bit, even when compiled 32 bit here are all the new bitwise operators: band: a & b bor: a | b bxor: a ~ b bnot ~ a -- not sure how this one works blshift: a << b -- same as a*(2^ brshift a >> b -- same as a//(2^ i hope they add a+=b, a++, etc
  12. Lack of Server Section

    i agree D: ill bug the dustbin thar, it now be so
  13. Thoughts on Lua 5.3

    Lua 5.3 is still in the "what the hell do we add" stage but you can find the source here: http://www.lua.org/work/ or windows binaries made with MinGW: https://dl.dropboxus.../lua53work2.zip It is almost identical to 5.2 but has some major things we have all wanted like integers, bitwise operators, and utf8 support the list is small but here are the changes from 5.2: http://www.lua.org/work/doc/#changes Main changes: support for integers (64-bit by default) better support for small architectures ("Small Lua" with 32-bit numbers) bitwise operators basic utf-8 library utf-8 escapes in literal strings functions for packing/unpacking numbers userdata can have any Lua value as uservalue strip option in lua_dump/string.dump Lua standalone interpreter: Can be used as calculator; no need to prefix with '=' i can probably compile this for OC, give me a bit.
  14. existing file not found

    happened to me too, you have to cd C:\ first for some reason
  15. Holograms

    from what i can tell it will be hard, lots of math to figure out what position a block is at
×