Jump to content


Mikeemoo's Content

There have been 347 items by Mikeemoo (Search limited from 30-March 23)


By content type

See this member's


Sort by                Order  

#169925 Client for OpenPeripheral's Glasses [0.5.2]

Posted by Mikeemoo on 26 March 2014 - 07:05 PM in Programs

View Postblunty666, on 25 March 2014 - 08:05 AM, said:

No problem, I'm glad to be able to help. Seems like an easy mistake to make, especially when even the mod authors have confessed to not knowing how their mod works!! :D

View PostUNOBTANIUM, on 26 March 2014 - 06:51 PM, said:

Yop, i am happy to have ti working again as well.

@blunty666: What do you mean with not knowing their own mod? That might be the case because the original creator has stopped working on it and other are keeping up the support.

I wish people would stop repeating that I've stopped working on OpenPeripheral. Where it's needed I contribute, just like anyone else in the team. My focus has been on other mods, but that doesn't mean I'm no longer working on OpenPeripheral.



#169917 [mc 1.6.x] Openperipheral

Posted by Mikeemoo on 26 March 2014 - 05:28 PM in Peripherals and Turtle Upgrades

I've updated the first post with information. Thanks!



#166547 [mc 1.6.x] Openperipheral

Posted by Mikeemoo on 01 March 2014 - 09:50 AM in Peripherals and Turtle Upgrades

Removed



#166193 [mc 1.6.x] Openperipheral

Posted by Mikeemoo on 25 February 2014 - 12:03 PM in Peripherals and Turtle Upgrades

Right, lets clear some things up.

Firstly, there isn't on-line documentation, nor will there ever be any official on-line documentation while I'm 'in charge' of the mod/website. All documentation is in-game and needs to stay there.

OpenPeripheral supports interfaces, not specific blocks. We don't *know* what the methods are on the majority of blocks, because we don't have a list of exactly what interfaces each block supports. Hell, we don't even know all the mods and blocks out there! Mods are constantly changing, new blocks are regularly getting added.
We've tried to have online documentation in the past and it was a nightmare to keep updated. It was a pointless task, especially when mods occasionally change what interfaces they support. No, there will never be an official wiki either. Wikis fall out of date.

Feel free to make your own documentation websites, I don't mind/care - Although I warn you it'll start to get very time consuming and messy when you have to cope with multiple versions of mods, multiple versions of OpenPeripheral, mods that only implement certain interfaces if they detect other mods are installed.. etc..

The docs are in-game. Instructions on reading the docs are in the original post in this thread. If you're not happy with them being in-game then write a program that'll pastebin the docs for you.
p.getAdvancedMethodsData() has *all* the information you'll ever need.
If you're not happy with the stock documentation program then feel free to write your own or use one of the many programs out there that people have made.

If anyone has any bugs with OpenPeripheral, post them on our bug tracker if you're reasonably sure it's not already posted and fixed.

And before anyone says it: No. Having outdated on-line docs is not better than having no on-line docs. In game docs are accurate and up to date.

Thanks



#162967 ComputerCraft Beta Versions - Download and Discussion (1.74pr37, released Jun...

Posted by Mikeemoo on 01 February 2014 - 03:30 PM in Beta Testing

Dan, looks like the API is referring to an internal class:

import dan200.computercraft.shared.turtle.core.TurtleAnimation;

inside ITurtleAccess



#154028 [mc 1.6.x] Openperipheral

Posted by Mikeemoo on 25 November 2013 - 11:50 AM in Peripherals and Turtle Upgrades

View Postmrgreaper, on 25 November 2013 - 09:52 AM, said:

View Posttheoriginalbit, on 25 November 2013 - 02:00 AM, said:

View Postmrgreaper, on 25 November 2013 - 12:21 AM, said:

love this mod BUT the documentation on the site isnt quite right, spent over an hour trying to get "push" to work
the documentation hasn't been updated for the current version. we will get around to it when we get around to it, currently our minds are set on a MASSIVE rewrite of OpenPeripheral and OpenMods to make them (and other mods we make in the future) better and easier to produce.

View Postmrgreaper, on 25 November 2013 - 12:21 AM, said:

what am i doing wrong? is there an up to date wiki?
I think you're doing that right, let me check it out later when I have more time and get back to you. The "up to date wiki" is actually in-game now, on each of the peripherals you'll find information under getAdvancedMethodsData, this gives you information about all the methods on the peripheral and how to use them.

View Postmrgreaper, on 25 November 2013 - 12:21 AM, said:

also is there a way to read/set wireless chickenbones transmitters ?
yes, but it's not done by OpenPeripheral, it is done by WRCBE, so I'm not sure of the methods to do so. Use the following code to discover them.
for k,v in pairs(peripheral.getMethods("left")) do --# replace "left" with the side or name of the WRCBE
  print(k, ' = ', v)
end

getAdvancedMethodsData, outputs a table, if i read that table i get a list of tables....i then exhust my knowledge of tables! this really needs to be in an uptodate documentation, im sorry i know writting wikis is not fun but this is needed a LOT. even if its just a dump of what ever is in each of those tables.
hell a really cool idea for the future, a little help program, help "pushItem" would return all the getAdvancedMethodsData for that etc but i would settle for just being able to read how to use these lol

View PostMikeemoo, on 25 November 2013 - 05:00 AM, said:

Sorry I've been vacant from this thread in ages. The other guys seem to have things under control ;-)

A few changes coming to OpenPeripheral:

It's being split into two mods.

Mod 1:
OpenPeripheral - This is going to be how openperipheral first started. It'll ONLY deal with converting existing blocks into peripherals. This mod can be installed on the server, if you like, without needing it on the client. This will be officially released SOON.

Mod 2:
OpenPeripheral-Addons - This mod is required on the client also, and will have 'everything else'. So, glasses and proxies and whatnot. This will come later, and probably be released in stages as we reimplement different parts.

So, a bit of a backtrack. People who like to stay up-to-date will lose some functionality for a short while. But, good changes. We'll be able to get the core stuff out, quickly and upgraded quickly once 1.7 starts.

so if you use peripheral proxy`s dont update? or will they be in the core part as well, they were the reason i added op, tbh with the lack of documentation im not liking the other stuff....it just doesnt work intuitively enough to not need a wiki(sorry)

Basic method calls on a block aren't intuitive enough for you? That's fine - go use Misc Peripherals.

Correct. Don't update if you use peripheral proxies.



#154001 [mc 1.6.x] Openperipheral

Posted by Mikeemoo on 25 November 2013 - 05:00 AM in Peripherals and Turtle Upgrades

Sorry I've been vacant from this thread in ages. The other guys seem to have things under control ;-)

A few changes coming to OpenPeripheral:

It's being split into two mods.

Mod 1:
OpenPeripheral - This is going to be how openperipheral first started. It'll ONLY deal with converting existing blocks into peripherals. This mod can be installed on the server, if you like, without needing it on the client. This will be officially released SOON.

Mod 2:
OpenPeripheral-Addons - This mod is required on the client also, and will have 'everything else'. So, glasses and proxies and whatnot. This will come later, and probably be released in stages as we reimplement different parts.

So, a bit of a backtrack. People who like to stay up-to-date will lose some functionality for a short while. But, good changes. We'll be able to get the core stuff out, quickly and upgraded quickly once 1.7 starts.



#153763 CCTransport v2.1.2 (Redesign/Rewrite) - Not the mod we need, but the mod we d...

Posted by Mikeemoo on 23 November 2013 - 07:18 AM in Peripherals and Turtle Upgrades

Drop into #openmods IRC at some point, some changes happening to Open[x] that may effect you :)



#149011 [mc 1.6.x] Openperipheral

Posted by Mikeemoo on 15 October 2013 - 05:46 AM in Peripherals and Turtle Upgrades

Considering just throwing some wiki pages up for people to edit as they please.



#147836 Returning Null For A Turtle Upgrade Item Causes Crash

Posted by Mikeemoo on 04 October 2013 - 04:37 PM in Bugs

Fixed by dan



#147767 [mc 1.6.x] Openperipheral

Posted by Mikeemoo on 04 October 2013 - 07:34 AM in Peripherals and Turtle Upgrades

A few random updates from me:

1) The ForgeIRC thing is not a OpenPeripheral bug.
2) Push/pull item is not inverted. It's working exactly as it should, and always has.
3) OpenPeripheral 0.2.x for 1.6.x was returning strings for booleans and integers, but is fixed in the latest versions
4) Robots still aren't craftable
5) OpenPeripheral respects ISidedInventory, so for things like furnaces you'll have to push/pull from a certain direction for it to work

Sorry if I don't update this thread as much as I should - NeverCast, Foone and theoriginalbit have been doing a great job of keeping the project active when I don't have time to. I'm pretty stretched right now across work, life, other mods.etc.



#147764 Returning Null For A Turtle Upgrade Item Causes Crash

Posted by Mikeemoo on 04 October 2013 - 06:56 AM in Bugs

I've discussed this before, but I'll put it on here to make sure it gets tracked.

If a peripheral mod returns null for a turtle upgrade item, it appears to break ALL turtles from any other mod when trying to craft it.

It just needs a null check in the recipe handler before attempting to use the item object. Something in the current versions of Misc Peripherals is causing OpenPeripherals turtles to crash the client machine.

Of course, this is a misc peripheral issue, however it'd be nice if CC could add a check to avoid this happening in future.

cheeeeeers m'dears.



#145808 [mc 1.6.x] Openperipheral

Posted by Mikeemoo on 20 September 2013 - 04:48 AM in Peripherals and Turtle Upgrades

http://www.openmods....snapshot-27.jar


OpenPeripheral Changelog
--------------------------

2013-09-18: Snapshot 27:
- Improved Mystcraft support & added writing desk support

2013-09-15: Snapshot 25:
- Fixed a real dumb error when it comes to ISidedInventories and moving items

2013-09-15: Snapshot 24:
- Added getAllStacks()

2013-09-15: Snapshot 23:
- Added dire mystcraft destination thingy

2013-09-13: Snapshot 21:
- Fixed a general peripheral issue when minecraft 'recreated' tile entities
- added player_on and player_off events to the PIM

2013-09-13: Snapshop 19:
- Fixed a dupe issue with 'some' ISidedInventorys (Thaumcraft)

2013-09-13: Snapshot 18:
- More improvements to AE support. Can now use all cell methods against cables

2013-09-13: Snapshot 17:
- Improved AE support (insertItem, extractItem against any AE block (including cables))

View PostGigaToni, on 20 September 2013 - 02:16 AM, said:

I've a little java error with my OP code. Bug or it's a fault from me?

slightly edited Code because I've tried to do debugging (removed the display content part and replaced it with "CHEST IS FULL PLEASE REVIEW!":
http://pastebin.com/dDh8yYD0
-- snip --
Want I'm trying to accomplish:
I want to read an Ender chest from Chickenbones and display the information whats inside it on my HUD via the glasses.

Looks like a bug in openperipheral, however, it's fixed in the 1.6.2 versions.



#144689 [mc 1.6.x] Openperipheral

Posted by Mikeemoo on 13 September 2013 - 07:22 AM in Peripherals and Turtle Upgrades

Pleased to tell you that OpenPeripheral is now on forgecraft 2 :)

This gives me the opportunity to see the very latest builds get used and abused, so I can start preparing for the 1.6.2 final.

Sorry it's taken so long. I've been holding off a bit, due to the whole FTB / 1.7 uncertainty, and because of OpenBlocks.

You can download latest snapshots of the 1.6.2 version from here:

http://www.openmods....OpenPeripheral/

Robots currently aren't fully craftable. I'll be working on that in the next couple of days.



#142770 Openperipheral: Redirect Terminal To Terminal Glasses!

Posted by Mikeemoo on 01 September 2013 - 09:26 AM in Programs

View PostLyqyd, on 30 August 2013 - 09:53 PM, said:

An advisory: it would be unwise to use this in an SMP server without prior approval from the admins, as the terminal glasses have a tendency to cause significant load and/or noticeable lag.

I've not had any bug reports relating to that, except of course, when people try to render images to their screen and crazy stuff like that, which is purely client-side lag.

Have I missed something?

(Very cool Hazrock! Seen Gopher and some others do similar before. It's an awesome idea)



#142351 [Cc 1.55/cc1.53][Mc 1.6.2/mc 1.5.2] Cctags

Posted by Mikeemoo on 30 August 2013 - 08:27 AM in Peripherals and Turtle Upgrades

Really nice!



#142169 [mc 1.6.x] Openperipheral

Posted by Mikeemoo on 29 August 2013 - 12:25 AM in Peripherals and Turtle Upgrades

Right, my focus is now on OpenPeripheral for the next few weeks



#141308 [mc 1.6.x] Openperipheral

Posted by Mikeemoo on 23 August 2013 - 04:30 AM in Peripherals and Turtle Upgrades

View PostRegelneef, on 23 August 2013 - 01:24 AM, said:

I know that OCS is not being ported to 1.6.2, openPeripheral luckily is.
Now I got a question, I've designed a security system which detects intruders with OCS in 1.5.2, is there a way to detect players (preferably from a distance) with OpenPeripheral??

In 1.6.2, yes. The sensor is there, although with a redesigned API.



#141225 [mc 1.6.x] Openperipheral

Posted by Mikeemoo on 22 August 2013 - 12:15 PM in Peripherals and Turtle Upgrades

View Posttheoriginalbit, on 22 August 2013 - 11:30 AM, said:

View PostMikeemoo, on 21 August 2013 - 04:34 PM, said:

MPS integration is being dropped in any future versions.
Just curious......... Why?

When I was focused on getting 1.6.2 upgraded I had to release two 1.5.2 versions just to deal with them changing their API which caused crashes.

It reflects badly on OpenPeripheral when people see crash logs! I'd rather just leave out that feature completely.

I've got nothing against their mod, just don't wish to support it. I feel mods should try their best to limit the amount their public API changes, especially when people are already moving onto upgrading to the next version of minecraft!



#141106 [mc 1.6.x] Openperipheral

Posted by Mikeemoo on 21 August 2013 - 04:34 PM in Peripherals and Turtle Upgrades

I've been mostly ignoring a lot of this thread lately. Not for any reason other than my focus is on OpenBlocks at the moment.

After OpenBlocks 1.0.3 is released, I'll be moving my attention to getting a stable build of OpenPeripheral for 1.6.2 released.

To answer some common questions:

- Yes, thin wire recipe is broken in the 1.6.2 beta. Known issue.
- Yes, tank reading in 1.6.2 is broken
- No, I wont be backporting anything to 1.5.2
- Yes, the 1.5.2 version breaks computercrafts command block methods. That'll be fixed in 1.6.2
- Yes, the rare (very rare) issue with JsonField is known. It won't be fixed, sorry, although it's irrelevant in 1.6.2.
- The docs on the openmods website are for 1.5.2, not 1.6.2. Some methods have been renamed. use p.listMethods() to get the method list.

Aside from that:

1) The chances are, your code is wrong. 90% of 'bug reports' I get are just incorrect lua. I'll do my best to make the documentation clearer for 1.6.2 versions.
2) That other 10% that are valid bugs, I'm sorry! I'll do my best to fix it.
3) MPS integration is being dropped in any future versions.
4) I'm not ignoring these posts. I'll be revisiting this thread and logging any issues ready for my upcoming 1.6.2 stint.

And finally

OpenMods is always looking for java developers, testers, and people who are good at making textures. We've got a variety of projects, so please get in contact if you want to help :)



#140822 [mc 1.6.x] Openperipheral

Posted by Mikeemoo on 19 August 2013 - 03:16 PM in Peripherals and Turtle Upgrades

View Postrats3g, on 17 August 2013 - 03:20 PM, said:

Was support for the Ticket Machine dropped in the 0.2.0 beta update? The changelog states that support for a LOT of things was dropped and when I printed the methods for the peripheral createTicket() did not appear. I ask because I had planned on using the machine for a railcraft subway station. Thanks for any info you can give me!

the builds for 1.6.2 don't yet support the ticket machine, as far as I'm aware. Railcraft have only recently upgraded, and this beta build was released quite a while ago now.

It'll be working again soon..



#139916 [OpenPeripheral] Simplest program with peripheral.wrap fails

Posted by Mikeemoo on 14 August 2013 - 08:01 AM in Ask a Pro

You're using the 1.6.2 version. The documentation is for the 1.5.2 version until I officially release the 1.6.2 version. A few methods have been renamed to make them more user friendly.

do:

chest.listMethods()

which will show you all the methods available on the chest. I think getSizeInventory has been renamed to getInventorySize or similar.



#138842 [mc 1.6.x] Openperipheral

Posted by Mikeemoo on 08 August 2013 - 08:27 AM in Peripherals and Turtle Upgrades

View PostFrederikam, on 08 August 2013 - 08:23 AM, said:

View Posttheoriginalbit, on 08 August 2013 - 07:32 AM, said:

View PostFrederikam, on 08 August 2013 - 07:27 AM, said:

The text color is black, where '1' would normally stand for white. If I would be to use 32768 instead of 1 I would get green text, where 32768 is black.
That is because this does not use the ComputerCraft/minecraft colouring system of just 16 colours.... you can have all 16,777,216 colours (256^3, rgb, I'm ignoring alpha)... this is because it uses the HEX colour system where the colour is formatted as #RRGGBB... each set of two is a hex number between 00 (dec 0) and FF (dec 255)... I've created a useful function if you know some RGB values that converts from RGB into hex...


local function rgbToHex( _r, _g, _b )
  return bit.bor(bit.blshift(bit.bor(bit.blshift(_r, 8), _g), 8), _B)/>/>/>/>/>
end

View PostFrederikam, on 08 August 2013 - 07:27 AM, said:

Also every time I clear the glasses to rewrite a line I get a flicking effect, is there any way to avoid that?
Don't clear it! If you store the returned object from the addText/addBox call there are setters for it that allow you to change it without causing a flicker

I haven't gotten to the object yet, but what format do I put the hex code in? I tried using #FFFFFF but for obvious reasons that's read as an attempt to get the size of a string/table that doesn't exist.

0xFFFFFF

no quotes



#138837 [mc 1.6.x] Openperipheral

Posted by Mikeemoo on 08 August 2013 - 07:44 AM in Peripherals and Turtle Upgrades

View Postlefty, on 07 August 2013 - 04:45 PM, said:

View PostMikeemoo, on 07 August 2013 - 01:20 PM, said:

Is/will be fixed in 1.6.2. I wont be backporting the fix to 1.5.2 though.
What about the smp startup crash? :/ http://pastebin.com/uDsqDnNf

It's looking unlikely I'll be fixing that due to it causing such a tiny tiny tiny percentage of people an issue (I've had that bug reported around 4 times over ~1.7 million installs). The bit that's calling that is a real core part and not easily fixed, and I can't get to the bottom of what's causing it. All I can recommend for the time being is removing the mod.

It's not relevant in 1.6.2 versions

If I get time, I'll look into it, but it's not high on my priority list right now (my sisters wedding tomorrow is higher! :))



#138688 [mc 1.6.x] Openperipheral

Posted by Mikeemoo on 07 August 2013 - 01:20 PM in Peripherals and Turtle Upgrades

View Postbtbenedi, on 07 August 2013 - 11:43 AM, said:

View Postbtbenedi, on 01 August 2013 - 05:26 PM, said:

I saw in another thread that a bug with Command Blocks was mentioned where peripheral.getMethods(side) was returning "listMethods" instead of "getCommand,setCommand,runCommand" and you (edit: Mikeemo) noted that it would be fixed the in the next release. We are currently running 0.1.9 and this bug exists.

The next release, 0.2.0, after you mentioned this, went from minecraft version 1.5 to 1.6.

Since FTB is using OP and will be 1.5 for a little bit, is it possible to get a release that is 1.5.2 compatible that contains this fix? It would be greatly appreciated since the server I am an Admin on is switching from FTB Ultimate to FTB Unleashed, we would love to include OP obviously (I mean Glass?! seriously, that's epic) and we would hate to exclude OP just for this little bug.

We are planning on using command blocks as proximity sensors on the server using a dynamic /testfor command.

Could I get an answer to this please? :) It would be greatly appreciated!

Is/will be fixed in 1.6.2. I wont be backporting the fix to 1.5.2 though.