Okay, the issue is actually in armadillo (where I forgot to turn off a debugging addChatMessage). Reducing the spawn rate for penguins shouldn't effect it: Its a weird error sometime it takes a while to crash and sometimes it happens. Turning off / killing all nearby armadillos should fix the problem.
Nothing specific, In general it just refers to those aspects that need to be loaded before anything else or are common to several of the other packages.
Both animals were passed in from Budd with only minor tweaks so far. You probably notices the birds tail/legs textures flutter which is due to how he made the model: Its a simplish fix. The wings I agree, I'll have to play with them. I did just listen and I agree I like the sound. Bird sounds in general are so much better to listen to than most other animals for some reason.
So I've been thinking about how to get the TreeEnt to attack the player and I think I have a solution where I insert the code in the harvest check / or break speed events: I'll try to get that in the next update. My current plan for more tree content involves the TreeEnt dying/being fed a golden apple to trigger an Event where the TreeEnt becomes/creates a special tree that needs to be defended from huntsmans.
How are animals spawns by the way? I changed how they spawn so they should be at a sane-ish level: the new system literally forbids spawning near to many other 'Zulu' animals in a decently large radius.
On creating a world, freshly installed ZuluComplete 0.3.3b:
---- Minecraft Crash Report ----
// Who set us up the TNT?
Time: 19/10/12 21:47
Description: Exception in server tick loop
java.lang.StackOverflowError
at java.util.Random.nextInt(Unknown Source)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:75)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)...and continuing
I also encountered this one while in a snow biome, playing your snow mod (unmodified config file), i don't know if it is related
2012-10-19 19:16:26 [INFO] [STDERR] java.lang.StackOverflowError
2012-10-19 19:16:26 [INFO] [STDERR] at com.google.common.collect.MapMakerInternalMap$Segment.getLiveEntry(MapMakerInternalMap.java:2475)
2012-10-19 19:16:26 [INFO] [STDERR] at com.google.common.collect.MapMakerInternalMap$Segment.containsKey(MapMakerInternalMap.java:2507)
2012-10-19 19:16:26 [INFO] [STDERR] at com.google.common.collect.MapMakerInternalMap.containsKey(MapMakerInternalMap.java:3529)
2012-10-19 19:16:26 [INFO] [STDERR] at net.minecraftforge.common.ForgeChunkManager.getPersistentChunksFor(ForgeChunkManager.java:682)
2012-10-19 19:16:26 [INFO] [STDERR] at up.getPersistentChunks(World.java:4140)
2012-10-19 19:16:26 [INFO] [STDERR] at gr.a(WorldServer.java:383)
2012-10-19 19:16:26 [INFO] [STDERR] at snowmod.common.BlockZuluSnow.b(BlockZuluSnow.java:278)
2012-10-19 19:16:26 [INFO] [STDERR] at gr.a(WorldServer.java:394)
2012-10-19 19:16:26 [INFO] [STDERR] at snowmod.common.BlockZuluSnow.b(BlockZuluSnow.java:278)
2012-10-19 19:16:26 [INFO] [STDERR] at gr.a(WorldServer.java:394)
2012-10-19 19:16:26 [INFO] [STDERR] at snowmod.common.BlockZuluSnow.b(BlockZuluSnow.java:278)
2012-10-19 19:16:26 [INFO] [STDERR] at gr.a(WorldServer.java:394)
2012-10-19 19:16:26 [INFO] [STDERR] at snowmod.common.BlockZuluSnow.b(BlockZuluSnow.java:278)
...and continuing
I would still thank you for this nice work for I played prior versions and enjoyed them.
Last thing : I noticed that your snow block plays grass sound when walking over it instead of snow sound. But this might not be your mods fault.
Thank you for posting a log. Yea its an infinite loop whenever a penguin spawns, getCanSpawnHere is calling getCanSpawnHere(itself) instead super.getCanSpawnHere. I'll have a fix up in ~20 min. Disabling Penguin spawns should fix it in the interim.
The Snow crash I'm pretty sure is unrelated (though it may have made the problem worse / more likely to happen). The problem with the Snow mod is that minecraft doesn't handle lots of block updates well (which to be fair is difficult given the number of blocks). you might try reducing the height (which I realise is already pretty low) or the update rate/variance (a lower update should get them off the stack quicker). If I ever figure out a way to improve the algorithm I'll happily do so.
I double checked the Snow mod and its clearly marked to use the cloth step sound (the same sound the vanilla snow uses). I don't know what could be causing that.
Nothing specific, In general it just refers to those aspects that need to be loaded before anything else or are common to several of the other packages.
Uploaded fix. Download new Core or Complete package v0.3.3c to get the fix.
You sir are awesome . The fix plays flawlessly. Sandworm surprised me so much, great work !
Don't worry about the snow sound, it must be the result of me tweaking the sounds.
I'll experiment with the settings and will let you know the result.
May I suggest you use metadata like the better grass and leaves mod (see with aSakofDonuts) but on vanilla snow? you wouldnt have to replace blocks this way, and it 'd still look the same.
The only reason it was separate block initially was because it was going to be included in Project Zulu. Though it wasn't due to the aforementioned performance issues.
The issue with combining blocks into metadata is that the tickRandomly property is set for the block. Keeping them separate allows the Snow that needs to rise to be ticking while others don't. Grass and dirt work in a similar way. When I update it to 1.4 (which maybe we'll have next week if we're lucky ) I'll consider merging into the default snow block. Or at least making better use of it.
That's extremely odd. I just checked and can spawn mobs. Do they spawn naturally? Are you sure your not on peaceful?
Edit: Just checked and yes I can spawn mobs.
Dang! I should have checked that! Didn't realize your mobs were not peaceful although I guess I was just expecting some of them to spawn in peaceful mode, like finches for example.Is there any way to change this so they spawn ( using spawn eggs) in peaceful mode?
Hmm, Its technically easy for me to change. For clarity its not that the spawn eggs don't work, its that once the mob spawn it insta de-spawns Its something straight forward for me to change. The thing is that with the exception of finches, every other creature will attack when attacked which I deemed "hostile". I could add a option in the config option so that animals don't de-spawn on peaceful. Or, and this might be a preferable solution, I might be able to make it so that they can't attack you.
The only reason it was separate block initially was because it was going to be included in Project Zulu. Though it wasn't due to the aforementioned performance issues.
The issue with combining blocks into metadata is that the tickRandomly property is set for the block. Keeping them separate allows the Snow that needs to rise to be ticking while others don't. Grass and dirt work in a similar way. When I update it to 1.4 (which maybe we'll have next week if we're lucky ) I'll consider merging into the default snow block. Or at least making better use of it.
Well i couldn't reproduce the crash, so i guess it is fixed for now.
While testing, i encountered a feature which differ from the vanilla snow : placing a block doesn't remove it, thus making the new block float.
Proof:
Placing a string on the middle, placing a dirt block on the right.
Is it intented ?
Considering how fast you fixed the crash, I have no doubt next update will be easy for you
I honestly forgot that the vanilla block functioned in that way. I'll have to check how vanilla does it, assuming I can attach it to metadata so that full blocks aren't replaceable I'll put it on the to do list.
Hmm, Its technically easy for me to change. For clarity its not that the spawn eggs don't work, its that once the mob spawn it insta de-spawns Its something straight forward for me to change. The thing is that with the exception of finches, every other creature will attack when attacked which I deemed "hostile". I could add a option in the config option so that animals don't de-spawn on peaceful. Or, and this might be a preferable solution, I might be able to make it so that they can't attack you.
The spawn eggs do work, except on peaceful, the mob disappears instantly. It does not matter to me but my kids prefer to play on peaceful. Any option you could add to the config file that would allow the mobs to spawn in peaceful mode would be great. I would not want you to change the mod so that the hostile mobs no longer attack as I am sure there are many who prefer that if you know what I mean.
So I've been thinking about how to get the TreeEnt to attack the player and I think I have a solution where I insert the code in the harvest check / or break speed events: I'll try to get that in the next update. My current plan for more tree content involves the TreeEnt dying/being fed a golden apple to trigger an Event where the TreeEnt becomes/creates a special tree that needs to be defended from huntsmans.
How are animals spawns by the way? I changed how they spawn so they should be at a sane-ish level: the new system literally forbids spawning near to many other 'Zulu' animals in a decently large radius.
// Who set us up the TNT?
Time: 19/10/12 21:47
Description: Exception in server tick loop
java.lang.StackOverflowError
at java.util.Random.nextInt(Unknown Source)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:75)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)
at projectzulu.common.mobs.EntityPenguin.bi(EntityPenguin.java:76)...and continuing
I also encountered this one while in a snow biome, playing your snow mod (unmodified config file), i don't know if it is related
2012-10-19 19:16:26 [INFO] [STDERR] at com.google.common.collect.MapMakerInternalMap$Segment.getLiveEntry(MapMakerInternalMap.java:2475)
2012-10-19 19:16:26 [INFO] [STDERR] at com.google.common.collect.MapMakerInternalMap$Segment.containsKey(MapMakerInternalMap.java:2507)
2012-10-19 19:16:26 [INFO] [STDERR] at com.google.common.collect.MapMakerInternalMap.containsKey(MapMakerInternalMap.java:3529)
2012-10-19 19:16:26 [INFO] [STDERR] at net.minecraftforge.common.ForgeChunkManager.getPersistentChunksFor(ForgeChunkManager.java:682)
2012-10-19 19:16:26 [INFO] [STDERR] at up.getPersistentChunks(World.java:4140)
2012-10-19 19:16:26 [INFO] [STDERR] at gr.a(WorldServer.java:383)
2012-10-19 19:16:26 [INFO] [STDERR] at snowmod.common.BlockZuluSnow.b(BlockZuluSnow.java:278)
2012-10-19 19:16:26 [INFO] [STDERR] at gr.a(WorldServer.java:394)
2012-10-19 19:16:26 [INFO] [STDERR] at snowmod.common.BlockZuluSnow.b(BlockZuluSnow.java:278)
2012-10-19 19:16:26 [INFO] [STDERR] at gr.a(WorldServer.java:394)
2012-10-19 19:16:26 [INFO] [STDERR] at snowmod.common.BlockZuluSnow.b(BlockZuluSnow.java:278)
2012-10-19 19:16:26 [INFO] [STDERR] at gr.a(WorldServer.java:394)
2012-10-19 19:16:26 [INFO] [STDERR] at snowmod.common.BlockZuluSnow.b(BlockZuluSnow.java:278)
...and continuing
I would still thank you for this nice work for I played prior versions and enjoyed them.
Last thing : I noticed that your snow block plays grass sound when walking over it instead of snow sound. But this might not be your mods fault.
The Snow crash I'm pretty sure is unrelated (though it may have made the problem worse / more likely to happen). The problem with the Snow mod is that minecraft doesn't handle lots of block updates well (which to be fair is difficult given the number of blocks). you might try reducing the height (which I realise is already pretty low) or the update rate/variance (a lower update should get them off the stack quicker). If I ever figure out a way to improve the algorithm I'll happily do so.
I double checked the Snow mod and its clearly marked to use the cloth step sound (the same sound the vanilla snow uses). I don't know what could be causing that.
You sir are awesome . The fix plays flawlessly. Sandworm surprised me so much, great work !
Don't worry about the snow sound, it must be the result of me tweaking the sounds.
I'll experiment with the settings and will let you know the result.
May I suggest you use metadata like the better grass and leaves mod (see with aSakofDonuts) but on vanilla snow? you wouldnt have to replace blocks this way, and it 'd still look the same.
I hope to see more of your modding talent
The issue with combining blocks into metadata is that the tickRandomly property is set for the block. Keeping them separate allows the Snow that needs to rise to be ticking while others don't. Grass and dirt work in a similar way. When I update it to 1.4 (which maybe we'll have next week if we're lucky ) I'll consider merging into the default snow block. Or at least making better use of it.
Edit: Yep, confirming on 0.3.3c.
Edit: Just checked and yes I can spawn mobs.
Well i couldn't reproduce the crash, so i guess it is fixed for now.
While testing, i encountered a feature which differ from the vanilla snow : placing a block doesn't remove it, thus making the new block float.
Proof:
Placing a string on the middle, placing a dirt block on the right.
Considering how fast you fixed the crash, I have no doubt next update will be easy for you