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

Search the Community

Showing results for tags 'java'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • OpenComputers
    • Announcements
    • Feedback
    • IRC
  • Code Central
    • Support
    • Showcase
    • Tutorials
  • Addons & More
    • Addons Mods
    • Architectures
    • OpenEngineering Task Force
  • General
    • Lounge
    • Forum Games
    • Showcase
    • Servers
  • Archives
    • Public Archives

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Minecraft


GitHub


IRC


Fediverse ID


Location


Interests

Found 6 results

  1. Hi ! My project is te get my AE Inventory send to a SQL Database using a JAVA TCP server (because JAVA is the language I'm more familiar with). My issue is when I'm done sending my packet, my java program crash (I give you details below). I've tested with a JAVA TCP client and it work fine. My OC program is very basic. It's just to test my TCP server : local net = require("internet") local con = net.open("my ip",my port) if(con) then con:write("Hi ! I'm your OpenComputer ! \r\n") con:write("Test Sentence 2") con:close end This is my Class wich handle the input inf
  2. A while ago i made a JVM in Lua with the first goal of running Java on OC, just because i like Java and we all know it's a good programming language. So here's the JVM running a program that fills GPU: Oops, made a typo. Ok at first this might not seem impressive at all, but now you can interact with components using Java! That's an awesome thing for Java-ers like me! Race to first Java OS in OC? Anyone? Here's the (simple) code i used above import lukyt.oc.Component; public class ComponentTest { public static void main(String[] args) { String gpu =
  3. I'm trying to implement OpenComputers support for a mod I'm making. The mod in question already supports ComputerCraft. I've managed to add OC support for everything else save for a radio transmitter block. The block / tile entity in question is designed to allow sending data over a channel, but is restricted to sending a certain amount of data within a timeframe. To be exact, you can send 2205 bytes over a channel 5 times a second (0.2 seconds per packet). To this end, the transmission method for ComputerCraft waits a certain amount of time if data has already been sent: if (
  4. I am working on a mod that adds drivers for Tinker's Construct, and everything works, except the component name. For some reason, the adapter always gives back, e.g. gui_smeltery_name for the smeltery, while I set the name to be 'smeltery' in the setComponent method. The code: https://github.com/BrisingrAerowing/TinkersOCDrivers/blob/master/src/main/java/tinkersoc/smeltery/EnvironmentSmeltery.java#L20 Anyone know why this happens and how to fix it?
  5. When I launch Minecraft with OpenComputers dev in eclipse OC spits alot of errors but does not crash, when I go into a world all items don't seem to work (can't put into computer). Some of the errors include: [18:39:50] [Client thread/INFO] [OpenComputers/OpenComputers]: Registering new assembler template 'Tablet (Creative)' from mod OpenComputers. [18:39:50] [Client thread/WARN] [OpenComputers/OpenComputers]: Failed registering assembler template. java.lang.ClassCastException: interface li.cil.oc.api.internal.Tablet Entire log: http://pastebin.com/YEteSicq I don't think it is
  6. Hi there, I am currently implementing a JavaScript Architecture (based on J2V8) for OC and now I am stuck at implementing "component.methods(string)" because in Java I see Machine.methods(), which would give me what I want, but wants either a Value or an Environment object and I do not see a way of getting either of these by the component address. As I do not know Scala I am also not able to look up how it is done in the LUA implementation because I simply do not understand that code.
×
×
  • Create New...

Important Information

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