Jump to content




[mc 1.6.x] Openperipheral


  • This topic is locked This topic is locked
1184 replies to this topic

#401 KaoS

    Diabolical Coder

  • Members
  • 1,510 posts
  • LocationThat dark shadow under your bed...

Posted 27 June 2013 - 03:31 PM

View PostMikeemoo, on 27 June 2013 - 03:10 PM, said:

View PostKaoS, on 27 June 2013 - 12:25 PM, said:

I would like to applaud this amazing addon. Those glasses are awesome however I have one issue:
gradientBox = p.addGradientBox(0,10,100,1,0x9900ff,1,0x0000ff,1)
in the OP does not work

Sorry about that. It takes one final parameter: 0, 1 or 2.

1 or 2 sets the direction of the gradient.

it says I am trying to call nil... It is not an available method. I downloaded it from here onto an install that did not have OpenP before so the json file should not be the issue. Did I go and get the wrong version? :)

#402 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 27 June 2013 - 03:34 PM

View PostKaoS, on 27 June 2013 - 03:31 PM, said:

View PostMikeemoo, on 27 June 2013 - 03:10 PM, said:

View PostKaoS, on 27 June 2013 - 12:25 PM, said:

I would like to applaud this amazing addon. Those glasses are awesome however I have one issue:
gradientBox = p.addGradientBox(0,10,100,1,0x9900ff,1,0x0000ff,1)
in the OP does not work

Sorry about that. It takes one final parameter: 0, 1 or 2.

1 or 2 sets the direction of the gradient.

it says I am trying to call nil... It is not an available method. I downloaded it from here onto an install that did not have OpenP before so the json file should not be the issue. Did I go and get the wrong version? :)

Sorry, my bad. delete your json file and relaunch and it should work now.

Alternatively, addBox() actually returns the same type of object. You just need to then setGradient() and setColor2()/setAlpha2() yourself.

#403 KaoS

    Diabolical Coder

  • Members
  • 1,510 posts
  • LocationThat dark shadow under your bed...

Posted 27 June 2013 - 03:48 PM

View PostMikeemoo, on 27 June 2013 - 03:34 PM, said:

Sorry, my bad. delete your json file and relaunch and it should work now.
perfect :) thanks

View PostMikeemoo, on 27 June 2013 - 03:34 PM, said:

Alternatively, addBox() actually returns the same type of object. You just need to then setGradient() and setColor2()/setAlpha2() yourself.
I should've thought to try that :rolleyes:

Anyways kudos again on the awesome addon

#404 KirinDave

  • Members
  • 4 posts

Posted 27 June 2013 - 05:59 PM

I could have sword this mod had Mekanism support, but I don't see it on the wiki. Did it get omitted by accident, or has that been removed/changed?

(P.S., obligatory, "This mod is great" message here! :))

#405 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 27 June 2013 - 06:24 PM

Probabily removed accidently while I was recompiling the docs. It'll have basic support, as far as it'll support any common interfaces, but I don't think I've added any specific support yet. If there's any support you need adding just let me know and I'll look into it.

I'll see if I can add the missing docs tomorrow if I get a chance!

#406 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 27 June 2013 - 06:27 PM

View PostShwat, on 27 June 2013 - 05:52 AM, said:

Mikee did you have any suggestions for me about getting the bee's species? is it possible now or could you make it possible?

What I'm trying to do is have an automated bee breeding system using computers that will breed every possible bee without having to do anything at all LOL

I'll take a look tomorrow when im less... in bed. I'm not ignoring you!

#407 KaoS

    Diabolical Coder

  • Members
  • 1,510 posts
  • LocationThat dark shadow under your bed...

Posted 27 June 2013 - 06:34 PM

paraphrase:

View PostMikeemoo, on 27 June 2013 - 06:27 PM, said:

I'm less in bed

Interesting choice of words... My coworkers have fucked my brain up

#408 KirinDave

  • Members
  • 4 posts

Posted 27 June 2013 - 06:37 PM

View PostMikeemoo, on 27 June 2013 - 06:24 PM, said:

Probabily removed accidently while I was recompiling the docs. It'll have basic support, as far as it'll support any common interfaces, but I don't think I've added any specific support yet. If there's any support you need adding just let me know and I'll look into it.

I'll see if I can add the missing docs tomorrow if I get a chance!

Thanks! Offhand here are the things Mekanism-esque that'd be wonderful if a turtle could do:
  • Check battery capacity and current charge of an energy cube or machine, naturally.
  • Check battery current outgoing joules/sec (which is not wattage, I guess, since there are conversion rates and those are configurable).
  • Check the current upgrades from a machine.
  • Check the inventory slots associated with a side of a machine.
  • Change the side association of a mekanism machine like how shift clicking with a configurator wand does.
  • Be able to perform the "dump upgrades" function into the turtle's inventory, like how the configurator wand can.
  • Check the tank levels for mekanism machines, and what is in them (e.g., tin or charcoal in the metallurgic infuser, hydrogen in the separator).
  • The presence or absence of a Robit in the a charge pad.
Of course at some point it might make sense for Aidan or someone else to just make a Configurator turtle.

#409 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 27 June 2013 - 06:43 PM

The power, tank and inventory parts are probably covered. I'll take a look at the rest when I get a chance! If you enjoy tinkering theres a json file in the config folder that exposes a bit of control if you know what you're looking for.

#410 KirinDave

  • Members
  • 4 posts

Posted 27 June 2013 - 06:43 PM

View PostMikeemoo, on 27 June 2013 - 06:43 PM, said:

The power, tank and inventory parts are probably covered. I'll take a look at the rest when I get a chance! If you enjoy tinkering theres a json file in the config folder that exposes a bit of control if you know what you're looking for.

Sounds fun. I'll peek.

#411 Spaceshipable

  • Members
  • 8 posts

Posted 27 June 2013 - 07:41 PM

View PostMikeemoo, on 27 June 2013 - 03:15 PM, said:

Probably going to add this to 0.2.0:



Consider it in development, however, if dan200 or Cloudy request that I remove it, it'll be removed no question.

So, in theory something I'm really excited about - however please nobody get annoyed if I have to suddenly stop developing it or remove it :)

This looks awesome! I can see room for lots of automation there

#412 Lordmau5

  • Members
  • 22 posts

Posted 28 June 2013 - 01:12 PM

How long is the distance of it?
Maybe you can do a config for it :)

0 = unlimited (and if the chunk is loaded)
everything else = block distance (and if the chunk is loaded)

#413 Shwat

  • Members
  • 8 posts

Posted 29 June 2013 - 05:02 AM

View PostMikeemoo, on 27 June 2013 - 06:27 PM, said:

View PostShwat, on 27 June 2013 - 05:52 AM, said:

Mikee did you have any suggestions for me about getting the bee's species? is it possible now or could you make it possible?

What I'm trying to do is have an automated bee breeding system using computers that will breed every possible bee without having to do anything at all LOL

I'll take a look tomorrow when im less... in bed. I'm not ignoring you!

Thanks man, didn't mean to sound so Nagy.

#414 Tiin57

    Java Lunatic

  • Members
  • 1,412 posts
  • LocationIndiana, United States

Posted 29 June 2013 - 06:39 AM

By the way, Mikee is streaming a really awesome new feature WIP at http://www.twitch.tv/Mikeemod

#415 gridzero

  • New Members
  • 2 posts

Posted 29 June 2013 - 04:18 PM

Hi Mikeemoo; great mod - spent pretty much the whole day automating my minecraft lab with this and rednet cable from MFR.

Think I have a reproducable NPE though. On a computer/turtle facing an *empty* forestry squeezer, running:

p = peripheral.wrap("front")
ok, res = pcall(p.getTanks,"unknown")

On multiplayer this returns "false, nil" (or without the pcall just crashes without any error message, which is damned confusing when it happens in normal code and it just stops! :)

Repeating on a local test world returns false, java.lang.NullPointerException.

If you have some juice in the tank; you get the table you'd expect.

Running 0.1.9 against forge 7.8.1.737 and all the mods from the FTB ngt152 0.7 release

#416 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 29 June 2013 - 05:33 PM

View Postgridzero, on 29 June 2013 - 04:18 PM, said:

Hi Mikeemoo; great mod - spent pretty much the whole day automating my minecraft lab with this and rednet cable from MFR.

Think I have a reproducable NPE though. On a computer/turtle facing an *empty* forestry squeezer, running:

p = peripheral.wrap("front")
ok, res = pcall(p.getTanks,"unknown")

On multiplayer this returns "false, nil" (or without the pcall just crashes without any error message, which is damned confusing when it happens in normal code and it just stops! :)

Repeating on a local test world returns false, java.lang.NullPointerException.

If you have some juice in the tank; you get the table you'd expect.

Running 0.1.9 against forge 7.8.1.737 and all the mods from the FTB ngt152 0.7 release

Thanks for the report! I'll look into it

#417 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 29 June 2013 - 05:38 PM

Streaming has ended for the day :)

Got some great progress done with the robots so far. Uploading an overview video which'll be up shortly.

#418 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 29 June 2013 - 06:01 PM



#419 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 29 June 2013 - 06:39 PM

View PostMikeemoo, on 29 June 2013 - 06:01 PM, said:


Holy mother of Computers! This is more then awesome! Let the robot war begin! :D

Great job man, cant wait until its in the public mod!

#420 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 29 June 2013 - 07:20 PM

Looking for good suggestions for how to make the robots unique. I don't want them to just be large turtles, I'd like to put a different spin on them.





3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users