Jump to content




[MC1.12][CC1.8] "More Turtles", "Waking Chunks", "Multiple Camera"(Camera Turtle)

turtle peripheral

77 replies to this topic

#21 Nokiyen

  • Members
  • 53 posts
  • LocationJapan

Posted 13 April 2014 - 12:53 AM

Hobby boy said:

It's of course OK!
And I have now known the AtLauncher. very interesting system.

Could you post your name (maybe Hobby boy?) and your modpack's name?

#22 Hobby boy

  • Members
  • 4 posts

Posted 13 April 2014 - 10:12 AM

View PostNokiyen, on 13 April 2014 - 12:53 AM, said:

Hobby boy said:

It's of course OK!
And I have now known the AtLauncher. very interesting system.

Could you post your name (maybe Hobby boy?) and your modpack's name?
My packs name is Dreampack, but it won't show up in the launcher for most people as it is a whitelisted pack.

#23 Nokiyen

  • Members
  • 53 posts
  • LocationJapan

Posted 14 April 2014 - 06:00 AM

Hobby boy said:

OK, I've got understood. Thank you!

#24 anonymous192837465

  • New Members
  • 1 posts

Posted 16 July 2014 - 02:41 AM

I don't understand how to use the Fortune and Silk Touch programs. Can someone post a video or something explaining how to use them because I can't find anything anywhere.

#25 Nokiyen

  • Members
  • 53 posts
  • LocationJapan

Posted 18 July 2014 - 10:39 AM

View Postanonymous192837465, on 16 July 2014 - 02:41 AM, said:


The basic usage of Peripheral-type turtle is written in the "basic information" in the top of this topic.

Anyway, the usage is like this.

1. "Fortune Program" and "Silk Touch Program" are additional items of this Mod. The only usage of them is to craft them with a turtle and create "Fortune Turtle" or "Silk Touch Turtle". The items themselves have no particular effects.
2. After you create the turtles, you can use special methods like digForutune(), digSilkTouch(), etc, in your lua program. Sample program is here.

-- "Fortune Program" and "Silk Touch Program" are kind of peripherals. So, you must call the method like peripheral.wrap().

local p = peripheral.wrap("right") -- in case the item equipped on the right side.
p.digFortune() -- dig a block with Fortune effect.

Be sure that the turtle must consume fuel when using digFortune() or digSilkTouch().

Edited by Nokiyen, 18 July 2014 - 10:41 AM.


#26 Armigus

  • New Members
  • 1 posts

Posted 24 July 2014 - 07:58 PM

I'm not sure if my versions are clashing but the liquid turtle doesn't like drums of am2 liquid essence...
Spoiler


#27 Kilandor

  • Members
  • 3 posts

Posted 10 August 2014 - 06:44 AM

Hey

Thank you for providing the source. I was able to use this as a guideline for creating my own upgrades.

I found a problem in your code for TurtleBase.java in regards to item stacking

Line 192 - continue;
if(space == 0) {
	 continue;
	}
	if(space >= stack.stackSize) {
	 currentStack.stackSize += stack.stackSize;
	 stack = null;
	 return true;
	}
	else {
	 currentStack.stackSize = currentStack.getMaxStackSize();
	 stack.stackSize -= space;
	 continue;
	}

The problem is that if space is 0, and the stack is full you skip the rest of the loop with continue; So i never increments changing slot, so it stays forever checking the same slot.

if(space > 0)
{
    if(space >= stack.stackSize)
    {
        currentStack.stackSize += stack.stackSize;
        stack = null;
        return true;
    }
    else
    {
        currentStack.stackSize = currentStack.getMaxStackSize();
        stack.stackSize -= space;
        continue;
    }
}

I'm sure you can find your own solution, however I posted mine.

Again thanks!

Edited by Kilandor, 10 August 2014 - 01:36 PM.


#28 Nokiyen

  • Members
  • 53 posts
  • LocationJapan

Posted 11 August 2014 - 10:18 PM

Armigus said:

Thank you for your report.
But, I can't recognize the bug... What is the actual block you can't dig? (Is it a Block of the Liquid Essence and your turtle can't dig it by Bucket from the world?)
And I'm apreciate if you provide much other information (for example, versions of each mod, etc.).
(However, I've recognized more severe bugs about my Liquid Turtle and I'll correct it in the next version for MC 1.7.10. So, don't expect me to release revised MoreTurtles for MC1.6...)

Kilandor said:

Oh, really miscoding... I can't understand what I thought at that time...
Anyway, thanks for your report! I'll correct it.

Spoiler



And about my MoreTurtles, I've already coded and compiled the next version's More Turtles for MC1.7, CC1.64.
But, since CC1.64 for MC1.7 is still pre-version and not publicly released, I'll release MoreTurtles for MC1.7 in the near future after CC1.64 for MC1.7 has released.

Edited by Nokiyen, 11 August 2014 - 10:33 PM.


#29 Nokiyen

  • Members
  • 53 posts
  • LocationJapan

Posted 27 September 2014 - 11:08 PM

Hello, everyone!
I released a new version of MoreTurtles Ver.2.0.0 for MC 1.7.10, CC 1.64.
And it includes many changes.
Please see the reference!!

[Main Changes]
 ・Added Looting Turtle, Luck Turtle, Biome Turtle, Dimensional Turtle, Projectile Turtle, Danmaku Turtle.
 ・Changed all upgrade item.

 ・{IMPORTANT} Changed method name of Fortune Turtle and Silk Touch Turtle.
 ・Abolished Take Turtle.
 ・Many internal coding changes.


And also, I changed my mod's license (maybe becoming looser). Please check it.

Edited by Nokiyen, 28 September 2014 - 05:17 AM.


#30 Nokiyen

  • Members
  • 53 posts
  • LocationJapan

Posted 25 January 2015 - 08:05 AM

==========
==========
= The info below is for MoreTurtles Ver.1.1.4 and under.
==========
==========
~Requirement~
○1.6.4
  • Minecraft Forge : 9.11.1.953 (necessary)
  • ComputerCraft : 1.58(for MoreTurtles1.1.3) or 1.6(for MoreTurtles1.1.4) (necessary)
  • Bamboo mod : 2.6.3.4 (if introduced)
  • Tofu Craft : 1.5.7 (if introduced)
  • (littleMaidMob is not available in MC 1.6.4, but you maybe can introduce unofficial lMM as alternative.)
○1.6.2
  • Minecraft Forge : 9.10.1.871 (necessary)
  • ComputerCraft : 1.57 (necessary)
  • Bamboo mod : 2.6.1.19 (if introduced)
  • Tofu Craft : 1.5.7 (if introduced)
  • littleMaidMob : 1.6.2-6 (if introduced)
~Used ID~
  • Upgrade ID : 1001~1005, 1101, 1102, 1201~1203
  • Item ID : 10000
~Added Turtles~
○Basic Information
Spoiler

○Added Turtles
[T]→Tool-type Turtle [P]→Peripheral-type Turtle

[T] Shearing Turtle

Spoiler

[T] Liquid Turtle

Spoiler

[T] Feeding Turtle

Spoiler

[T] Milking Turtle

Spoiler

[T] Fishery Turtle

Spoiler

[P] Fortune Turtle

Spoiler

[P] Silk Touch Turtle

Spoiler

[T] Take Turtle (if Bamboo mod is introduced)

Spoiler

[T] Tofu Turtle (if Tofu Craft is introduced)

Spoiler

[T] Maid Turtle (if LittleMaidMob is introduced.)

Spoiler



#31 Nokiyen

  • Members
  • 53 posts
  • LocationJapan

Posted 25 January 2015 - 10:32 AM

Hello everyone. Long time no see!

I've released two new mods, Multiple Camera and Waking Chunks.

Multiple Camera adds camera block, and you can view the world from the camera's view.
And also you can craft Camera Turtle.

Waking Chunks adds simple chunk loader blocks.
And also you can craft Chunk Awaker Turtle (chunk loading turtle).

Let's enjoy them!

Edited by Nokiyen, 25 January 2015 - 10:32 AM.


#32 MajorStorm

  • New Members
  • 2 posts

Posted 28 February 2015 - 08:59 PM

How difficult would it be to make tinkers construct tools, or even just regular enchanted, equipable and usable with their abilities?

#33 Nokiyen

  • Members
  • 53 posts
  • LocationJapan

Posted 01 March 2015 - 02:25 AM

View PostMajorStorm, on 28 February 2015 - 08:59 PM, said:

I'm sorry but I couldn't fully catch what you mean...
Is it a question about making a CC addon?

If so, the difficulty of making such a special tool effective for Turtles is case by case.
In regard to my mod (MoreTurtles), hummm..., maybe, it's a bit difficult for the beginners of modding.
But, not so difficult, relative to entire modding, I think.

Edited by Nokiyen, 01 March 2015 - 02:30 AM.


#34 The Lone Wolfling

  • Members
  • 43 posts

Posted 02 March 2015 - 05:31 PM

I'm getting a recurring crash - it's a nasty one, I had to manually go in and edit a startup script to let me stop it, as it kept crashing before I had a chance to break the offending turtle.

It was a turtle trying to pull from an empty MFR tank.

---- Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.
Time: 02/03/15 1:02 PM
Description: Ticking block entity
java.lang.NullPointerException: Ticking block entity
at noki.moreturtles.turtle.tool.ToolLiquid.dig(ToolLiquid.java:156)
at noki.moreturtles.turtle.tool.ToolLiquid.useTool(ToolLiquid.java:104)
at dan200.computercraft.shared.turtle.core.TurtleToolCommand.execute(TurtleToolCommand.java:36)
at dan200.computercraft.shared.turtle.core.TurtleBrain.updateCommands(TurtleBrain.java:796)
at dan200.computercraft.shared.turtle.core.TurtleBrain.update(TurtleBrain.java:104)
at dan200.computercraft.shared.turtle.blocks.TileTurtle.func_145845_h(TileTurtle.java:271)
at net.minecraft.world.World.func_72939_s(World.java:1939)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)



#35 Nokiyen

  • Members
  • 53 posts
  • LocationJapan

Posted 03 March 2015 - 02:44 AM

View PostThe Lone Wolfling, on 02 March 2015 - 05:31 PM, said:

Thank you for your report!
That's too bad...

But, I can't understand the detail because I don't know much about MFR...
So, please show
・the "version of MoreTurtles, MFR, CoFHCore, Forge"
・the exact name of the tank block
・full text of the crash report (I would like to check what mods you introduced)

(Actually, I've tried some in my environment, but couldn't recreate the crash situation...)
(And if you could, I recommend you to delete such a fatal lua program directly from your save folder.)

Edited by Nokiyen, 03 March 2015 - 02:48 AM.


#36 x47

  • New Members
  • 2 posts

Posted 04 March 2015 - 10:19 AM

These mods are awesome! Thank you for your great work. I love to play minecraft, as relax after coding. But now, I think that I will program in Minecraft too, without relaxation :lol:

And I have the question about Camera on turtle with pickaxe for example and Modem. How can I use them on one turtle?

Edited by x47, 04 March 2015 - 04:01 PM.


#37 Nokiyen

  • Members
  • 53 posts
  • LocationJapan

Posted 05 March 2015 - 03:38 AM

View Postx47, on 04 March 2015 - 10:19 AM, said:

Thank you very much for using my mods!

And about your question, it "was" an annoying problem, but now you could solve it through ComputerCraft's default methods.
They are the methods, "turtle.equipLeft()" and "turtle.equipRight()".
These methods enable the turtle to exchange the tool or peripheral it currently equips for the tool or peripheral in its selected slot.
So, a Turtle cannot equip more than two tools at once, but freely change its equipments for its purposes.

I hope this could solve your problem.

Edited by Nokiyen, 05 March 2015 - 03:40 AM.


#38 x47

  • New Members
  • 2 posts

Posted 05 March 2015 - 06:53 PM

Oh, thanks for your great solution! But what about "Multiple Viewer"? I think that this item must be able to hang on the wall or be connected to monitors from ComputerCraft. It's an idea for your next update.

Edited by x47, 05 March 2015 - 09:44 PM.


#39 Nokiyen

  • Members
  • 53 posts
  • LocationJapan

Posted 06 March 2015 - 03:01 AM

View Postx47, on 05 March 2015 - 06:53 PM, said:

Hang on! That's a cool idea. And I totally agree with you, a kind of "place-able viewer" such as Monitor or Television.

But', it's a bit difficult for me, at least now. Actually, the current version of MultipleCamera is a compromised thing.
I have been struggling to create place-able (and distance-independent) viewer for couple of months (nearly half year), but cannot realize it.
It's a problem about Minecraft itself.

Anyway, I'm now working on it, and will release a complete version in the future!

#40 The Lone Wolfling

  • Members
  • 43 posts

Posted 06 March 2015 - 04:30 PM

View PostNokiyen, on 03 March 2015 - 02:44 AM, said:

(Actually, I've tried some in my environment, but couldn't recreate the crash situation...)
(And if you could, I recommend you to delete such a fatal lua program directly from your save folder.)
That's what I ended up doing. That being said, could you add a null pointer check to the LiquidTurtle dig routine? It would be much better to log something than to have the entire server crash.

Sorry for lack of response. Realized you don't allow redistribution, so I'm no longer using the mod.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users