This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
NanoBob's profile picture

Disapearing turtles

Started by NanoBob, 01 April 2015 - 10:59 AM
NanoBob #1
Posted 01 April 2015 - 12:59 PM
Alright so I use turtles for an xp farm. And I have lost my turtle that grinds up the mobs about 20 times already. I was wondering, could this be because of endermen picking up turtles? And if this is possible, are there any ways to prevent it without turning off all mob griefing through game rules?
DannySMc #2
Posted 01 April 2015 - 02:59 PM
In all honesty, I have never heard of that before… I don't think they can, it may be a bug, what version are you using of Minecraft and ComputerCraft? If it isn't a bug then do you play on a server? Could someone take it? Could of been damaged and broke? :S
Wojbie #3
Posted 01 April 2015 - 03:08 PM
What mods are installed on the server?
NanoBob #4
Posted 01 April 2015 - 03:15 PM
I'm using Etho's modpack available as a third party pack on the FTB launcher (code : Etho)

It has 90 somewhat mods:

Spoiler

It can't have been someone on the server taking the turtle as there is nobody besides me and 1 friend on the server. Besides if any of you thinks it might be related to the code. This is the code:
Spoiler

rednet.open("left")
function forward()
	repeat
		turtle.attack()
	until turtle.forward() or turtle.detect()
	return turtle.detect()
end

while true do
	rednet.broadcast("Overlord : Starting a wave","monitor_4")
	repeat
	until forward()
	turtle.turnRight()
	forward()
	turtle.turnRight()
	repeat
	until forward()

	turtle.turnLeft()
local foundWall=forward()
if foundWall==false then
turtle.turnLeft()
else
turtle.turnRight()
turtle.turnRight()
repeat
until forward()
turtle.turnRight()
for i=1,1 do
repeat
turtle.attackDown()
until turtle.down()
end
for i=1,16 do
turtle.select(i)
turtle.drop(64)
end
repeat
turtle.attackUp()
until turtle.up()
end
end


Edit: Forgot to add that I'vbe disabled Qcraft as it caused crashes
Edited on 01 April 2015 - 01:54 PM
Bomb Bloke #5
Posted 01 April 2015 - 11:14 PM
You neglected to mention any versions.

Under CC 1.73, I've lost my woodchopping turtle a few times now. I reckon some of this has to do with a certain player on the server "pranking" me by messing with my GPS (I'm on to you, krakaen!!), but it's happened enough times that I'd been beginning to think maybe the old bug where vanilla trees grow over moving turtles had resurfaced (as opposed to the bug where trees from mods do it, which never really went away, as that's apparently up to the tree mod authors).

Endermen can only pick up blocks from a certain list. Someone would need to intentionally add turtles to that list in order for endermen to steal them, and even then I'm not sure they'd be able to (as turtles're tile entities, not regular blocks).

All this starts to me think that server crashes which occur while turtles are moving are now rather more likely to delete said turtles, as opposed to the old behaviour where they had their identities stripped from them (causing them to take the form of a newly placed turtle, with no tools, items, or files). If that's the case, I'd rather the old behaviour - it as least leaves it clear as to what happened!
HPWebcamAble #6
Posted 02 April 2015 - 03:40 AM
server crashes which occur while turtles are moving are now rather more likely to delete said turtles, as opposed to the old behaviour where they had their identities stripped from them (causing them to take the form of a newly placed turtle, with no tools, items, or files). If that's the case, I'd rather the old behaviour - it as least leaves it clear as to what happened!

Like Bomb said, a crash could possibly delete a moving turtle.

You could look at the server logs to see if there have been any crashes around the time of the turtles disappearing


All this starts to me think that

It starts me to think too
NanoBob #7
Posted 02 April 2015 - 12:28 PM
You neglected to mention any versions.

Under CC 1.73, I've lost my woodchopping turtle a few times now. I reckon some of this has to do with a certain player on the server "pranking" me by messing with my GPS (I'm on to you, krakaen!!), but it's happened enough times that I'd been beginning to think maybe the old bug where vanilla trees grow over moving turtles had resurfaced (as opposed to the bug where trees from mods do it, which never really went away, as that's apparently up to the tree mod authors).

Endermen can only pick up blocks from a certain list. Someone would need to intentionally add turtles to that list in order for endermen to steal them, and even then I'm not sure they'd be able to (as turtles're tile entities, not regular blocks).

All this starts to me think that server crashes which occur while turtles are moving are now rather more likely to delete said turtles, as opposed to the old behaviour where they had their identities stripped from them (causing them to take the form of a newly placed turtle, with no tools, items, or files). If that's the case, I'd rather the old behaviour - it as least leaves it clear as to what happened!
Yea I forgot to notice the version, sorry about that. The version used in the pack is 1.6.5
Now the server has maybe crashed like 4 times, but not as many times as the turtles have disapeared on me. So would it be possible that instead of a crash the turtles would sdisapear when in mid movement and the chunk unloads?
HDeffo #8
Posted 02 April 2015 - 01:12 PM
If your server has the forge config remove erroring tile entities and it's the turtles causing the crash. Some mods such as infernal mobs , a few mods with various ore generation with special effects, and other things don't play well with turtles because turtles. As far as I can tell these mods expect the turtles to be a player then mess up because they aren't.

Anyways short version: if turtles are causing the crash forge may be deleting them.
The Lone Wolfling #9
Posted 02 April 2015 - 01:34 PM
That would be my suggestion as well: Forge may be deleting them. Check your config file: in "forge.cfg", in "general", check if "B:removeErroringTileEntities" is true. If it is, that may be your problem.

(Of course, if it is and it is erroring tile entities, changing it to false will instead cause the game to crash. But then at least you can dump the crashlog so that hopefully it can be fixed)

Another suggestion for debugging purposes is to put down a chest in the same chunk, with an item in it. Next time the turtle gets deleted, check if the item is still in the chest. If it isn't, you've got bigger problems than just Forge deleting tile entities.
NanoBob #10
Posted 02 April 2015 - 03:09 PM
As I've said before it's not crashes which cause the disapearing of turtles as it has happend many times before without a crash.

Also, when they disapear their inventory does get dropped on the ground, not sure if that additional info will be helpfull or not.
Wojbie #11
Posted 02 April 2015 - 03:15 PM
Is mob grinder purely vanilla or does it contain mod created monsters? If true then it could be some kind of mod-monster breaking blocks and stuff.
NanoBob #12
Posted 02 April 2015 - 03:43 PM
Is mob grinder purely vanilla or does it contain mod created monsters? If true then it could be some kind of mod-monster breaking blocks and stuff.
It does create mod mobs using an enderio powered spawner. The mods that are spawned are:
  • Endermen
  • Blazes
  • Evolved skeletons (galacticraft)
  • Heatscar spider (no clue which mod its from)
The only one in the list with the ability to remove blocks are endermen. But as some of you have already said they wont be able to pick up turtles.
HPWebcamAble #13
Posted 02 April 2015 - 11:32 PM
As I've said before it's not crashes which cause the disapearing of turtles as it has happend many times before without a crash.

Check your config file: in "forge.cfg", in "general", check if "B:removeErroringTileEntities" is true…changing it to false will instead cause the game to crash

It sounds like Forge prevents the game from crashing if this is true

I can only imagine that the log has these events, so check your logs too

If you don't find anything out of the ordinary, try setting the 'removeErroringTileEntities' to false and run the server for a while with the turtles running, and see if it does crash at all
NanoBob #14
Posted 03 April 2015 - 11:23 AM
From the config:

    # Set this to true to remove any TileEntity that throws an error in its update method instead of closing the server and reporting a crash log. BE WARNED THIS COULD SCREW UP EVERYTHING USE SPARINGLY WE ARE NOT RESPONSIBLE FOR DAMAGES.
    B:removeErroringTileEntities=false

    # Set this to true to check the entire entity's collision bounding box for ladders instead of just the block they are in. Causes noticable differences in mechanics so default is vanilla behavior. Default: false
    B:fullBoundingBoxLadders=false
So it was already set to false :/
Edited on 03 April 2015 - 09:30 AM
The Lone Wolfling #15
Posted 03 April 2015 - 12:27 PM
From the config:

	# Set this to true to remove any TileEntity that throws an error in its update method instead of closing the server and reporting a crash log. BE WARNED THIS COULD SCREW UP EVERYTHING USE SPARINGLY WE ARE NOT RESPONSIBLE FOR DAMAGES.
	B:removeErroringTileEntities=false

	# Set this to true to check the entire entity's collision bounding box for ladders instead of just the block they are in. Causes noticable differences in mechanics so default is vanilla behavior. Default: false
	B:fullBoundingBoxLadders=false
So it was already set to false :/
In that case something is probably blowing up the turtles. Are you absolutely sure that no creepers / etc can spawn?
Bomb Bloke #16
Posted 03 April 2015 - 12:32 PM
Creepers can destroy turtles? I've not sat down and actually tested it per say, but I've seen a fair few excavating turtles detonate creepers, and they've never been the worse for wear.
NanoBob #17
Posted 03 April 2015 - 02:38 PM
Yes I am sure that no creepers can spawn to blow it up. The room the turtle is grinding in is extremely small and if a creeper would blow up in there 80% of the room would be destroyed. This has never been the case, the room is also lit up so no creepers can spawn there naturally.
The Lone Wolfling #18
Posted 03 April 2015 - 11:25 PM
Creepers can destroy turtles? I've not sat down and actually tested it per say, but I've seen a fair few excavating turtles detonate creepers, and they've never been the worse for wear.
I know that nether ores can destroy turtles. Found that one out the hard way. Don't know about creepers.
HPWebcamAble #19
Posted 04 April 2015 - 12:42 AM
So it was already set to false :/

Hm, what about the logs?