←  Peripherals and Turtle Upgrades

ComputerCraft | Programmable Computers for Minecraft

»

[CC 1.47] [MC 1.45] AdventureMap Periphera...

Locked

Bubba's Photo Bubba 23 Nov 2012

Although this project is rather dead, I've kept the old content here for posterity's sake. Feel free to do what you wish with the source code (fair warning - it's poorly written). A good alternative can be found here.

Spoiler
Quote

Tiin57's Photo Tiin57 23 Nov 2012

:/
I suppose I won't ever get around to balancing CCMPU. I retract all rights to the ideas behind CCMPU (if I ever owned them ;)/>).
Quote

Bubba's Photo Bubba 23 Nov 2012

View Posttiin57, on 23 November 2012 - 10:07 AM, said:

:/
I suppose I won't ever get around to balancing CCMPU. I retract all rights to the ideas behind CCMPU (if I ever owned them ;)/>).

You don't think you'll get to it because you don't have time or because you don't want to? I think a balanced alternative to this would be fantastic and I'm not an experienced enough coder yet to do it -_-/>
Quote

gknova61's Photo gknova61 23 Nov 2012

Could you change the recipe to have like a smoothstone in the middle or something so it doesn't interfere with this mod that adds condensed blocks, including cobblestone ;)/>
Quote

Bubba's Photo Bubba 23 Nov 2012

View Postgknova61, on 23 November 2012 - 10:31 AM, said:

Could you change the recipe to have like a smoothstone in the middle or something so it doesn't interfere with this mod that adds condensed blocks, including cobblestone ;)/>

Sure. I think I'll change the recipe to be like this:
DDD
DSD
DDD
Where D is diamond blocks and S is smooth stone. This makes it more difficult for players to get the item in adventure maps and also I can't imagine too many mods that would conflict with this recipe.

Edit: Okay added it
Quote

sirdabalot's Photo sirdabalot 23 Nov 2012

Hell, nice job on making this! And seriously, thanks for making it open source, not enough people do that and it's how I learn so things get tough for me as a newbie minecraft modder.
Quote

Bubba's Photo Bubba 23 Nov 2012

View Postsirdabalot, on 23 November 2012 - 10:41 AM, said:

Hell, nice job on making this! And seriously, thanks for making it open source, not enough people do that and it's how I learn so things get tough for me as a newbie minecraft modder.

Thank you ;)/> I am a noob myself when it comes to Java so this project was no small task. If you have difficulty figuring stuff out I would suggest using the JD-Gui to look at decompiled code and get the general idea of how people are going about things (I would never have been able to do this project without it). Of course, open source is in my opinion far easier to use than looking at the code with a decompiler which is why I released it with this peripheral.
Quote

sirdabalot's Photo sirdabalot 23 Nov 2012

View PostChallenge.Accepted, on 23 November 2012 - 10:56 AM, said:

-Snip-

Thanks for the tip, I'll look into it. -_-/>

EDIT: Well, would have been nice if I knew about that before I made my first peripheral. ;)/>
Quote

billysback's Photo billysback 23 Nov 2012

Could you add data values?
currently you cannot set things like wool color or log type, that's all modified by a block's data value ;)/>
Quote

Bubba's Photo Bubba 23 Nov 2012

View Postbillysback, on 23 November 2012 - 11:27 AM, said:

Could you add data values?
currently you cannot set things like wool color or log type, that's all modified by a block's data value ;)/>/>/>

I definitely plan to add this in the next version. Hopefully I'll have that done by tomorrow.
Quote

Tiin57's Photo Tiin57 23 Nov 2012

View PostChallenge.Accepted, on 23 November 2012 - 10:24 AM, said:

View Posttiin57, on 23 November 2012 - 10:07 AM, said:

:/
I suppose I won't ever get around to balancing CCMPU. I retract all rights to the ideas behind CCMPU (if I ever owned them ;)/>/>).

You don't think you'll get to it because you don't have time or because you don't want to? I think a balanced alternative to this would be fantastic and I'm not an experienced enough coder yet to do it -_-/>/>
Both; JavaCraft and LuaForge take up most of my time. Oh, and ofc Chivalry.
Quote

Orwell's Photo Orwell 23 Nov 2012

View Postsirdabalot, on 23 November 2012 - 10:41 AM, said:

Hell, nice job on making this! And seriously, thanks for making it open source, not enough people do that and it's how I learn so things get tough for me as a newbie minecraft modder.

Well, I was thinking about posting this somewhere sometime, but I'll do it here for now. The OpenCCSensors project is open source and I think it's a good example of a peripheral. Almost everything up to know has been coded by Cloudy so you can be quite sure that all the stuff in there is done in the correct way. -_-/> Although I must admit that there aren't much comments in there. ;)/>
Quote

Cloudy's Photo Cloudy 24 Nov 2012

View PostOrwell, on 23 November 2012 - 03:54 PM, said:

Although I must admit that there aren't much comments in there. ;)/>/>

I do plan to comment it once I clean it up a bit -_-/>
Quote

sirdabalot's Photo sirdabalot 24 Nov 2012

View PostOrwell, on 23 November 2012 - 03:54 PM, said:

-Snip-

Don't worry, I wan't neglecting that, I just thought that it would be a bit too much of a complex peripheral for me to start looking at. ;)/>
Quote

Bubba's Photo Bubba 24 Nov 2012

View Postbillysback, on 23 November 2012 - 11:27 AM, said:

Could you add data values?
currently you cannot set things like wool color or log type, that's all modified by a block's data value ;)/>

This has now been added, in case anybody was missing metadata values.
Quote

billysback's Photo billysback 25 Nov 2012

Could you also add getBlockData(x, y, z) or add a second return for the getBlock(), This could then be used to save and draw 3D models :D/>
Quote

Bubba's Photo Bubba 25 Nov 2012

View Postbillysback, on 25 November 2012 - 03:28 AM, said:

Could you also add getBlockData(x, y, z) or add a second return for the getBlock(), This could then be used to save and draw 3D models :D/>/>

Done. It will now return the metadata as a second return of the getBlock() function.
Quote

Bubba's Photo Bubba 25 Nov 2012

Updated to Version 1.5 with peripheral.getDirection() and several bug fixes
Quote

Sukasa's Photo Sukasa 27 Nov 2012

When you say SMP is not "fully" supported, is there a subset of features that are known to work or not work?

On that topic, any chance of a function to send raw text to only a specific player?
Quote

Bubba's Photo Bubba 27 Nov 2012

View PostSukasa, on 27 November 2012 - 03:48 PM, said:

When you say SMP is not "fully" supported, is there a subset of features that are known to work or not work?

On that topic, any chance of a function to send raw text to only a specific player?

I just have not been able to test it on an SMP server as of yet and so I am unsure if SMP will work - you are certainly free to try, but keep in mind that I did not design this peripheral to specifically work with SMP and am to new to Java/Peripheral programming to know whether or not it might work. As for a function to send raw text to only a specific player, I'll try look into it later this week. Right now I'm afraid school is taking pretty much all of my spare time.
Quote
Locked