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

    1. Announcements

      OpenComputers official announcements.

      130
      posts
    2. Feedback

      Tell us what you think.

      440
      posts
    3. IRC

      #OC channel discussion
      irc.esper.net #oc

      26
      posts
  2. Code Central

    1. Support

      Ask for support from the OpenComputers community

      4.3k
      posts
    2. Showcase

      Showcase what you have created for OC. No 'malware' or other junk!

      3.1k
      posts
    3. Tutorials

      Help other users out. Please no 'false tutorials'

      140
      posts
  3. Addons & More

    1. Addons Mods

      Show off your OC addons mods

      247
      posts
    2. Architectures

      Discussions for Architectures

      183
      posts
    3. OpenEngineering Task Force

      Discussion board for the OETF documents

      97
      posts
  4. General

    1. Lounge

      Just lounge around or have an open discussion.

      338
      posts
    2. Forum Games

      Fight boredom!

      79
      posts
    3. Showcase

      Show off your creations! (not for your programs)

      157
      posts
    4. Servers

      A place to advertise your servers

      196
      posts
  5. Archives

    1. Public Archives

      OpenComputers public archive forum

      8
      posts
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Who's Online   0 Members, 0 Anonymous, 93 Guests (See full list)

    There are no registered users currently online

  • Topics

  • Posts

    • Program sneak peak: Improved loadfile() function, will be included with every VEB OS/Kernel Product local loadfile=function(proxy,mode,path,len) if proxy.type=="drive" then local ts=proxy.getCapacity() if path > 0 and path <= ts then if type(len)=="number" and len >=1 then local rd="" local count=path for i=count,len do local rv=proxy.readByte(count) local rv2=proxy.readByte(count+1) local rv3=proxy.readByte(count+2) if string.char(rv)=="\0"and string.char(rv2)=="\0"and string.char(rv3)=="\0"then break elseif count == len then rd=rd..string.char(rv) break else rd=rd..string.char(rv) count=count+1 end end local f1,e1=load(rd) if type(f1)=="function" then if mode=="r" or mode==1 then local s2,e2=pcall(f1) if s2 then return e2 else return false,"Error: Failed to return library: "..e2 end else return f1 end else return false,"Error: Failed to load function: "..e1 end else local rd="" local count=path for i=count,ts do local rv=proxy.readByte(count) local rv2=proxy.readByte(count+1) local rv3=proxy.readByte(count+2) if string.char(rv)=="\0"and string.char(rv2)=="\0"and string.char(rv3)=="\0"then break elseif count==ts then local fv=string.char(rv) rd=rd..fv break else local fv=string.char(rv) rd=rd..fv end end local f1,e1=load(rd) if type(f1)=="function" then if mode=="r" or mode==1 then local s2,e2=pcall(f1) if s2 then return e2 else return false,"Error: Failed to return library: "..e2 end else return f1 end else return false,"Error: Failed to load function: "..e1 end end else return false,"Error: Path out of bounds" end elseif proxy.type=="filesystem" then if type(path)=="string"then if proxy.exists(path) and proxy.isDirectory(path)==false then local rd="" local rs=proxy.size(path) local rf=proxy.open(path,"r") if type(len)=="number" and len >=1 and len <=rs then rd=proxy.read(rf,len) proxy.close(rf) elseif type(len)=="number" and (len <1 or len >rs) then return false,"Error: Length < 1 or > file size" else rd=proxy.read(rf,rs) proxy.close(rf) end local f1,e1=load(rd) if type(f1)=="function" then if mode=="r" or mode==1 then local s2,e2=pcall(f1) if s2 then return e2 else return false,"Error: Failed to return library: "..e2 end else return f1 end else return false,"Error: Failed to load: "..e1 end else return false,"Error: Path either a directory or invalid" end else return false,"Error: Path Invalid" end elseif proxy.type=="disk_drive" then if proxy.isEmpty() then return false,"Error: Disk Drive has no media" else local rad=proxy.media() local rp=com.proxy(rad) return loadfile(rp,mode,path,len) end else return false,"Error: Proxy is not a storage medium" end end Feel free to use it if you want, just be careful with run mode
    • I still need to fix my repo's, I moved a bunch of stuff to my new organization and some stuff hasn't been shifted yet, I also kind of forgot By the way, here is the new repo https://github.com/VEBOffices/VEB-OS
    • |==========================================| | -- THEROS VERSION 1.1.13-B -- | |==========================================| -- ADDED -- -- FIXED/CHANGED -- - Change installation process -- REMOVED -- !!! BLEEDING EDGE RELEASE, EXPECT BUGS AND ALL SORTS OF ISSUES. !!! Planned: No new apps will be created until a window manager is set up. I will have to port existing programs. Please check the project linked with TherOS for context. ========================================================================================================================= -- PLEASE RE-INSTALL/UPDATE INSTALLER TO INSTALL EVERYTHING IN NEW VERSIONS -- -- make sure to put suggestions of what you want to see in the Github issues page! -- Note that i am not spending much of my time on updating TherOS. Do not expect quick updates. forgor the last few updates, but this is the latest working release
    • get an internet card   if you mean actually use your ingame computer as a web browser, you can't. well, you can but it involves making something that can interpret html, javascript, and css, and i don't think that would be possible with how small opencomputers disk drives are
    • |==========================================| | -- THEROS VERSION 1.1.8-B -- | |==========================================| -- ADDED -- -- FIXED -- - [#12](https://github.com/Tavyza/TherOS/issues/12) Installer would quit if you didn't replace the config - [#13](https://github.com/Tavyza/TherOS/issues/13) Attempt to make error handling more helpful -- REMOVED -- !!! BLEEDING EDGE RELEASE, EXPECT BUGS AND ALL SORTS OF ISSUES. !!! Planned for next update: settings??? ========================================================================================================================= -- PLEASE RE-INSTALL/UPDATE INSTALLER TO INSTALL EVERYTHING IN NEW VERSIONS -- -- make sure to put suggestions of what you want to see in the Github issues page! -- Note that i am not spending much of my time on updating TherOS. Do not expect quick updates.  
  • Popular Contributors

    Nobody has received reputation this week.

×
×
  • Create New...

Important Information

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