Page 1 of 3

Craftguide - Better Than Wolves Fix

Posted: Fri May 04, 2018 6:30 pm
by jorgebonafe
As some of you may have noticed, as a result of the recent extensive rework of Better Than Wolves, Craftguide is no longer compatible with it (meaning it works but only for the vanilla recipes).

So I decided to dive in and fix it. I didn't check if there were any recipes missing, because I don't have that much time, and I'm avoiding spoilers still. I just fixed the bugs and got it to run again. I believe the majority of recipes will show just fine.

Here's a quote from Uristqwerty on the Craftguide's forum page regarding source code editing and redistribution permissions:
Spoiler
Show
If you want to make a custom version of CraftGuide, use bits of its code, or just see how it works, you can find the source code on Github.
If you want to use some (or all) of it in your own project, you are free to do so, though it would be nice if you mentioned CraftGuide in a text file or somewhere else where someone can find it.
And here is the fixed version, and the source code if anyone is interested to see what I've changed.

Source Code

CraftGuide-NoLoader-MC152 - BTW Fixed - V3-exp

Re: Craftguide - Better Than Wolves Fix

Posted: Fri May 04, 2018 8:04 pm
by FlowerChild
Oh wow man. That's awesome. I don't use it myself, but was certainly sad to hear that recent updates had broken it for other people.

Re: Craftguide - Better Than Wolves Fix

Posted: Fri May 04, 2018 9:00 pm
by jorgebonafe
Yeah... I avoided using it for a long time as not to spoil myself on the new early game, but when eventually I installed it again and it didn't work I had to check if I could fix it. Luckily it really wasn't hard at all.

I remember you mentioned you didn't really like how it works as it is kinda immersion breaking. Although I agree, seeing as there isn't a better alternative, I find it pretty much necessary. There are just too many recipes to memorize...

Re: Craftguide - Better Than Wolves Fix

Posted: Fri May 04, 2018 9:28 pm
by dawnraider
I know hopper recipes are hard coded, and a couple others (I think kiln). I know the glowstone -> brimstone recipe was missing before AAAAAAAHHHH broke it.

But thanks for fixing this! I wanted to fix it myself but never got around to doing it.

Re: Craftguide - Better Than Wolves Fix

Posted: Fri May 04, 2018 10:21 pm
by FlowerChild
jorgebonafe wrote: I remember you mentioned you didn't really like how it works as it is kinda immersion breaking.
Yup, that's true, but not so much so that I begrudge others using it. I'm not sure if it's exactly the same, but I know I can't stand the recipe helper in the newer versions of MC.

One of these days may wind up implementing a more in-game solution for this kind of thing, but until then, very happy you fixed this one up :)

Re: Craftguide - Better Than Wolves Fix

Posted: Sun May 06, 2018 10:16 am
by Samorost
Thank you a lot, for this fix :-)

Re: Craftguide - Better Than Wolves Fix

Posted: Sun May 06, 2018 2:05 pm
by jorgebonafe
You're welcome :)

Re: Craftguide - Better Than Wolves Fix

Posted: Sun May 06, 2018 7:14 pm
by Frantiq
I vaguely remember CraftGuide having an issue where the compass and clock items would point in the correct direction. It made it really easy to cheat and peek at the compass upon a respawn. If that issue is still around, could you stop the compass and clock from updating in the CraftGuide interface?

Re: Craftguide - Better Than Wolves Fix

Posted: Sun May 06, 2018 7:19 pm
by dawnraider
I checked for myself and the compass just points up, like it should. Though the clock appears to display correct time.

Re: Craftguide - Better Than Wolves Fix

Posted: Sun May 06, 2018 7:20 pm
by FlowerChild
dawnraider wrote:I checked for myself and the compass just points up, like it should. Though the clock appears to display correct time.
If I remember the code right, the compass might depend on whether you're also holding one.

EDIT: NM, I'm obviously not on the ball today. I was thinking of the compass being jittery with another addon due to overwriting my compass changes. That has nothing to do with craftguide.

I made changes to the compass awhile back so it wouldn't display direction within Craftguide. I don't believe Jorge's fix would change that.

Re: Craftguide - Better Than Wolves Fix

Posted: Thu Nov 22, 2018 9:35 am
by PuddleKat
Craft guide doesn't seem to be working again in latest release 4.ABCFAFAFA bee

It crashes the game worked ok in Dancer
Spoiler
Show
---- Minecraft Crash Report ----
// I blame Dinnerbone.

Time: 11/22/18 2:04 PM
Description: Unexpected error

java.lang.ArrayIndexOutOfBoundsException: -1
at wm.b(ItemStack.java:109)
at uristqwerty.CraftGuide.CommonUtilities.getItemDamage(CommonUtilities.java:222)
at uristqwerty.CraftGuide.CraftType.getInstance(CraftType.java:70)
at uristqwerty.CraftGuide.CraftType.getInstance(CraftType.java:35)
at uristqwerty.CraftGuide.RecipeCache.generateAllItemList(RecipeCache.java:111)
at uristqwerty.CraftGuide.RecipeCache.reset(RecipeCache.java:72)
at uristqwerty.CraftGuide.RecipeCache.<init>(RecipeCache.java:39)
at uristqwerty.CraftGuide.GuiCraftGuide.<init>(GuiCraftGuide.java:40)
at uristqwerty.CraftGuide.GuiCraftGuide.getInstance(GuiCraftGuide.java:63)
at uristqwerty.CraftGuide.client.vanilla.CraftGuideClient_Vanilla.openGUI(CraftGuideClient_Vanilla.java:32)
at CraftGuide_Vanilla.checkKeybind(CraftGuide_Vanilla.java:118)
at ayc.a(GuiAchievement.java:98)
at net.minecraft.client.Minecraft.K(Minecraft.java:899)
at net.minecraft.client.Minecraft.run(Minecraft.java:761)
at java.lang.Thread.run(Thread.java:745)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
at wm.b(ItemStack.java:109)
at uristqwerty.CraftGuide.CommonUtilities.getItemDamage(CommonUtilities.java:222)
at uristqwerty.CraftGuide.CraftType.getInstance(CraftType.java:70)
at uristqwerty.CraftGuide.CraftType.getInstance(CraftType.java:35)
at uristqwerty.CraftGuide.RecipeCache.generateAllItemList(RecipeCache.java:111)
at uristqwerty.CraftGuide.RecipeCache.reset(RecipeCache.java:72)
at uristqwerty.CraftGuide.RecipeCache.<init>(RecipeCache.java:39)
at uristqwerty.CraftGuide.GuiCraftGuide.<init>(GuiCraftGuide.java:40)
at uristqwerty.CraftGuide.GuiCraftGuide.getInstance(GuiCraftGuide.java:63)
at uristqwerty.CraftGuide.client.vanilla.CraftGuideClient_Vanilla.openGUI(CraftGuideClient_Vanilla.java:32)
at CraftGuide_Vanilla.checkKeybind(CraftGuide_Vanilla.java:118)

-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [bdv['yuio9'/250, l='MpServer', x=3967.05, y=70.62, z=-422.06]]
Chunk stats: MultiplayerChunkCache: 441
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: World: (-128,64,256), Chunk: (at 0,4,0 in -8,16; contains blocks -128,0,256 to -113,255,271), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Level time: 5635565 game time, 86817 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Forced entities: 76 total; [FCEntityEnderman['Enderman'/385, l='MpServer', x=4008.84, y=74.00, z=-463.63], FCEntityZombie['Zombie'/386, l='MpServer', x=4008.75, y=26.00, z=-401.16], FCEntitySlime['Slime'/387, l='MpServer', x=4000.81, y=68.06, z=-395.94], FCEntitySpider['Spider'/388, l='MpServer', x=4005.88, y=63.00, z=-351.28], FCEntityZombie['Zombie'/396, l='MpServer', x=4022.53, y=72.41, z=-455.69], FCEntityZombie['Zombie'/397, l='MpServer', x=4029.44, y=66.00, z=-402.94], FCEntityZombie['Zombie'/398, l='MpServer', x=4030.50, y=69.00, z=-406.50], FCEntitySpider['Spider'/399, l='MpServer', x=4020.00, y=26.00, z=-396.42], FCEntitySkeleton['Skeleton'/400, l='MpServer', x=4020.00, y=26.00, z=-397.97], FCEntitySkeleton['Skeleton'/401, l='MpServer', x=4023.50, y=26.00, z=-394.34], FCEntityBat['Bat'/402, l='MpServer', x=4020.61, y=35.76, z=-358.23], FCEntityBat['Bat'/403, l='MpServer', x=4015.33, y=33.58, z=-369.17], FCEntityZombie['Zombie'/404, l='MpServer', x=4022.72, y=63.00, z=-343.13], FCEntitySkeleton['Skeleton'/409, l='MpServer', x=4038.31, y=72.00, z=-455.91], FCEntitySkeleton['Skeleton'/410, l='MpServer', x=4040.25, y=72.00, z=-455.66], FCEntitySkeleton['Skeleton'/411, l='MpServer', x=4039.42, y=72.00, z=-455.45], FCEntitySkeleton['Skeleton'/412, l='MpServer', x=4045.88, y=71.00, z=-449.50], FCEntitySkeleton['Skeleton'/413, l='MpServer', x=4041.22, y=70.00, z=-418.34], FCEntityZombie['Zombie'/414, l='MpServer', x=4032.94, y=65.00, z=-393.47], nc['Experience Orb'/1187, l='MpServer', x=3884.81, y=16.72, z=-372.88], nc['Experience Orb'/421, l='MpServer', x=4087.13, y=64.13, z=-546.31], FCEntityJungleSpider['Jungle Spider'/295, l='MpServer', x=3900.13, y=70.30, z=-498.16], FCEntityBat['Bat'/296, l='MpServer', x=3914.09, y=26.70, z=-460.19], FCEntityBat['Bat'/297, l='MpServer', x=3893.55, y=29.05, z=-456.17], nc['Experience Orb'/298, l='MpServer', x=3891.72, y=19.13, z=-406.13], bdv['yuio9'/250, l='MpServer', x=3967.05, y=70.62, z=-422.06], FCEntityOcelot['Ocelot'/299, l='MpServer', x=3894.46, y=73.47, z=-389.60], FCEntitySquid['Squid'/301, l='MpServer', x=3908.82, y=57.86, z=-362.00], FCEntitySkeleton['Skeleton'/309, l='MpServer', x=3905.91, y=64.00, z=-470.50], FCEntityBat['Bat'/310, l='MpServer', x=3900.35, y=26.00, z=-458.85], FCEntityCreeper['Creeper'/311, l='MpServer', x=3909.59, y=47.00, z=-421.00], FCEntitySquid['Squid'/312, l='MpServer', x=3914.74, y=61.90, z=-364.81], FCEntityZombie['Zombie'/313, l='MpServer', x=3917.47, y=18.00, z=-343.97], rh['item.item.fcItemBatWing'/318, l='MpServer', x=3928.00, y=12.13, z=-475.44], FCEntityWindMill['entity.WindMill.name'/327, l='MpServer', x=3948.50, y=72.50, z=-404.50], nc['Experience Orb'/325, l='MpServer', x=3949.78, y=21.13, z=-414.13], FCEntitySkeleton['Skeleton'/326, l='MpServer', x=3946.47, y=20.00, z=-409.22], FCEntityWindMill['entity.WindMill.name'/327, l='MpServer', x=3948.50, y=72.50, z=-404.50], FCEntityVillager['Villager'/328, l='MpServer', x=3951.53, y=65.00, z=-369.16], FCEntityVillager['Villager'/329, l='MpServer', x=3947.03, y=65.00, z=-367.38], FCEntityVillager['Villager'/330, l='MpServer', x=3946.03, y=65.00, z=-367.69], FCEntityZombie['Zombie'/333, l='MpServer', x=3949.69, y=24.00, z=-343.56], FCEntityCreeper['Creeper'/338, l='MpServer', x=3955.97, y=25.00, z=-495.53], FCEntityZombie['Zombie'/339, l='MpServer', x=3963.97, y=36.00, z=-442.50], FCEntitySpider['Spider'/340, l='MpServer', x=3955.47, y=54.00, z=-444.63], FCEntityCreeper['Creeper'/341, l='MpServer', x=3961.53, y=59.00, z=-438.34], FCEntityZombie['Zombie'/342, l='MpServer', x=3958.84, y=52.00, z=-445.50], FCEntityCreeper['Creeper'/343, l='MpServer', x=3962.00, y=52.00, z=-438.41], FCEntityBat['Bat'/344, l='MpServer', x=3960.56, y=57.10, z=-435.56], FCEntityZombie['Zombie'/345, l='MpServer', x=3962.84, y=59.00, z=-441.59], FCEntitySkeleton['Skeleton'/346, l='MpServer', x=3960.03, y=55.00, z=-434.08], nc['Experience Orb'/347, l='MpServer', x=3966.88, y=66.13, z=-433.63], FCEntitySkeleton['Skeleton'/348, l='MpServer', x=3958.04, y=67.00, z=-444.72], rh['item.item.rottenFlesh'/349, l='MpServer', x=3967.78, y=16.13, z=-376.50], nc['Experience Orb'/350, l='MpServer', x=3969.45, y=17.13, z=-376.94], FCEntityZombie['Zombie'/351, l='MpServer', x=3962.70, y=25.07, z=-362.70], nc['Experience Orb'/354, l='MpServer', x=3955.19, y=28.13, z=-343.94], FCEntityZombie['Zombie'/364, l='MpServer', x=3973.75, y=68.00, z=-488.94], FCEntityBat['Bat'/365, l='MpServer', x=3958.47, y=48.87, z=-455.01], FCEntityBat['Bat'/366, l='MpServer', x=3985.38, y=50.89, z=-465.24], FCEntityCreeper['Creeper'/367, l='MpServer', x=3974.50, y=53.00, z=-443.03], FCEntitySkeleton['Skeleton'/368, l='MpServer', x=3975.50, y=53.00, z=-440.72], FCEntityBat['Bat'/369, l='MpServer', x=3971.75, y=57.10, z=-418.75], FCEntityBat['Bat'/370, l='MpServer', x=3973.13, y=56.73, z=-418.56], FCEntityBat['Bat'/371, l='MpServer', x=3975.25, y=57.10, z=-412.25], FCEntityBat['Bat'/372, l='MpServer', x=3979.75, y=59.10, z=-412.56], FCEntityBat['Bat'/373, l='MpServer', x=3980.66, y=60.10, z=-410.28], FCEntityBat['Bat'/374, l='MpServer', x=3979.75, y=59.10, z=-413.75], FCEntitySkeleton['Skeleton'/375, l='MpServer', x=3978.41, y=66.00, z=-412.69], FCEntityZombie['Zombie'/376, l='MpServer', x=3968.50, y=39.00, z=-378.50], FCEntityZombie['Zombie'/251, l='MpServer', x=3957.70, y=11.08, z=-426.30], FCEntityCreeper['Creeper'/252, l='MpServer', x=3967.44, y=57.00, z=-422.88], FCEntityZombie['Zombie'/380, l='MpServer', x=3999.56, y=54.95, z=-419.37], FCEntitySlime['Slime'/253, l='MpServer', x=3960.61, y=56.59, z=-435.61], FCEntityCreeper['Creeper'/381, l='MpServer', x=3978.98, y=59.00, z=-416.50], nc['Experience Orb'/382, l='MpServer', x=3998.88, y=17.13, z=-347.19]]
Retry entities: 0 total; []
Stacktrace:
at bds.a(WorldClient.java:460)
at net.minecraft.client.Minecraft.b(Minecraft.java:2463)
at net.minecraft.client.Minecraft.run(Minecraft.java:784)
at java.lang.Thread.run(Thread.java:745)

Re: Craftguide - Better Than Wolves Fix

Posted: Thu Nov 22, 2018 3:07 pm
by jorgebonafe
Lol, the crash report
// I blame Dinnerbone.

I'll take a look when I can, thanks for letting me know.

Re: Craftguide - Better Than Wolves Fix

Posted: Thu Nov 22, 2018 6:57 pm
by jorgebonafe
Fixed for BTW Version 4.ABCFAFAFA(bee).

Please let me know if it runs well or if you find more issues.

Re: Craftguide - Better Than Wolves Fix

Posted: Fri Nov 23, 2018 9:34 am
by PuddleKat
Thanks a lot everything works fine now

Yea lol is that normal on the crash report

Or a little extra not something to worry about

Re: Craftguide - Better Than Wolves Fix

Posted: Fri Nov 23, 2018 9:56 am
by jorgebonafe
PuddleKat wrote:Yea lol is that normal on the crash report

Or a little extra not something to worry about
I don't know, I got the same crash report when testing, but without that particular judgmental line. I don't know where it comes from :P

Re: Craftguide - Better Than Wolves Fix

Posted: Fri Nov 23, 2018 4:31 pm
by Panda
Literally the most useful mod for BTW. Thank you

Re: Craftguide - Better Than Wolves Fix

Posted: Sat Nov 24, 2018 8:37 am
by jorgebonafe
Your welcome :)

Re: Craftguide - Better Than Wolves Fix

Posted: Sat Dec 01, 2018 8:23 pm
by Panda
I love you its crashing with the new version again.

<3

Re: Craftguide - Better Than Wolves Fix

Posted: Sat Dec 01, 2018 9:36 pm
by jorgebonafe
I'll take a look. I don't think I'll have time this week though...

Re: Craftguide - Better Than Wolves Fix

Posted: Sat Dec 01, 2018 10:58 pm
by FlowerChild
Panda, can you post the error output you're getting with this? There's a possibility it might be a quick fix on my side, and it would be helpful to know what I'm doing that keeps breaking the thing.

Re: Craftguide - Better Than Wolves Fix

Posted: Sun Dec 02, 2018 5:59 am
by PuddleKat
Just updated to BTWMod4-ABCFAFBFC and Craft Guide has indeed crashed the game again

Error Log
Spoiler
Show
--- Minecraft Crash Report ----
// I blame Dinnerbone.

Time: 11/22/18 2:04 PM
Description: Unexpected error

java.lang.ArrayIndexOutOfBoundsException: -1
at wm.b(ItemStack.java:109)
at uristqwerty.CraftGuide.CommonUtilities.getItemDamage(CommonUtilities.java:222)
at uristqwerty.CraftGuide.CraftType.getInstance(CraftType.java:70)
at uristqwerty.CraftGuide.CraftType.getInstance(CraftType.java:35)
at uristqwerty.CraftGuide.RecipeCache.generateAllItemList(RecipeCache.java:111)
at uristqwerty.CraftGuide.RecipeCache.reset(RecipeCache.java:72)
at uristqwerty.CraftGuide.RecipeCache.<init>(RecipeCache.java:39)
at uristqwerty.CraftGuide.GuiCraftGuide.<init>(GuiCraftGuide.java:40)
at uristqwerty.CraftGuide.GuiCraftGuide.getInstance(GuiCraftGuide.java:63)
at uristqwerty.CraftGuide.client.vanilla.CraftGuideClient_Vanilla.openGUI(CraftGuideClient_Vanilla.java:32)
at CraftGuide_Vanilla.checkKeybind(CraftGuide_Vanilla.java:118)
at ayc.a(GuiAchievement.java:98)
at net.minecraft.client.Minecraft.K(Minecraft.java:899)
at net.minecraft.client.Minecraft.run(Minecraft.java:761)
at java.lang.Thread.run(Thread.java:745)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
at wm.b(ItemStack.java:109)
at uristqwerty.CraftGuide.CommonUtilities.getItemDamage(CommonUtilities.java:222)
at uristqwerty.CraftGuide.CraftType.getInstance(CraftType.java:70)
at uristqwerty.CraftGuide.CraftType.getInstance(CraftType.java:35)
at uristqwerty.CraftGuide.RecipeCache.generateAllItemList(RecipeCache.java:111)
at uristqwerty.CraftGuide.RecipeCache.reset(RecipeCache.java:72)
at uristqwerty.CraftGuide.RecipeCache.<init>(RecipeCache.java:39)
at uristqwerty.CraftGuide.GuiCraftGuide.<init>(GuiCraftGuide.java:40)
at uristqwerty.CraftGuide.GuiCraftGuide.getInstance(GuiCraftGuide.java:63)
at uristqwerty.CraftGuide.client.vanilla.CraftGuideClient_Vanilla.openGUI(CraftGuideClient_Vanilla.java:32)
at CraftGuide_Vanilla.checkKeybind(CraftGuide_Vanilla.java:118)

-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [bdv['yuio9'/250, l='MpServer', x=3967.05, y=70.62, z=-422.06]]
Chunk stats: MultiplayerChunkCache: 441
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: World: (-128,64,256), Chunk: (at 0,4,0 in -8,16; contains blocks -128,0,256 to -113,255,271), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Level time: 5635565 game time, 86817 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Forced entities: 76 total; [FCEntityEnderman['Enderman'/385, l='MpServer', x=4008.84, y=74.00, z=-463.63], FCEntityZombie['Zombie'/386, l='MpServer', x=4008.75, y=26.00, z=-401.16], FCEntitySlime['Slime'/387, l='MpServer', x=4000.81, y=68.06, z=-395.94], FCEntitySpider['Spider'/388, l='MpServer', x=4005.88, y=63.00, z=-351.28], FCEntityZombie['Zombie'/396, l='MpServer', x=4022.53, y=72.41, z=-455.69], FCEntityZombie['Zombie'/397, l='MpServer', x=4029.44, y=66.00, z=-402.94], FCEntityZombie['Zombie'/398, l='MpServer', x=4030.50, y=69.00, z=-406.50], FCEntitySpider['Spider'/399, l='MpServer', x=4020.00, y=26.00, z=-396.42], FCEntitySkeleton['Skeleton'/400, l='MpServer', x=4020.00, y=26.00, z=-397.97], FCEntitySkeleton['Skeleton'/401, l='MpServer', x=4023.50, y=26.00, z=-394.34], FCEntityBat['Bat'/402, l='MpServer', x=4020.61, y=35.76, z=-358.23], FCEntityBat['Bat'/403, l='MpServer', x=4015.33, y=33.58, z=-369.17], FCEntityZombie['Zombie'/404, l='MpServer', x=4022.72, y=63.00, z=-343.13], FCEntitySkeleton['Skeleton'/409, l='MpServer', x=4038.31, y=72.00, z=-455.91], FCEntitySkeleton['Skeleton'/410, l='MpServer', x=4040.25, y=72.00, z=-455.66], FCEntitySkeleton['Skeleton'/411, l='MpServer', x=4039.42, y=72.00, z=-455.45], FCEntitySkeleton['Skeleton'/412, l='MpServer', x=4045.88, y=71.00, z=-449.50], FCEntitySkeleton['Skeleton'/413, l='MpServer', x=4041.22, y=70.00, z=-418.34], FCEntityZombie['Zombie'/414, l='MpServer', x=4032.94, y=65.00, z=-393.47], nc['Experience Orb'/1187, l='MpServer', x=3884.81, y=16.72, z=-372.88], nc['Experience Orb'/421, l='MpServer', x=4087.13, y=64.13, z=-546.31], FCEntityJungleSpider['Jungle Spider'/295, l='MpServer', x=3900.13, y=70.30, z=-498.16], FCEntityBat['Bat'/296, l='MpServer', x=3914.09, y=26.70, z=-460.19], FCEntityBat['Bat'/297, l='MpServer', x=3893.55, y=29.05, z=-456.17], nc['Experience Orb'/298, l='MpServer', x=3891.72, y=19.13, z=-406.13], bdv['yuio9'/250, l='MpServer', x=3967.05, y=70.62, z=-422.06], FCEntityOcelot['Ocelot'/299, l='MpServer', x=3894.46, y=73.47, z=-389.60], FCEntitySquid['Squid'/301, l='MpServer', x=3908.82, y=57.86, z=-362.00], FCEntitySkeleton['Skeleton'/309, l='MpServer', x=3905.91, y=64.00, z=-470.50], FCEntityBat['Bat'/310, l='MpServer', x=3900.35, y=26.00, z=-458.85], FCEntityCreeper['Creeper'/311, l='MpServer', x=3909.59, y=47.00, z=-421.00], FCEntitySquid['Squid'/312, l='MpServer', x=3914.74, y=61.90, z=-364.81], FCEntityZombie['Zombie'/313, l='MpServer', x=3917.47, y=18.00, z=-343.97], rh['item.item.fcItemBatWing'/318, l='MpServer', x=3928.00, y=12.13, z=-475.44], FCEntityWindMill['entity.WindMill.name'/327, l='MpServer', x=3948.50, y=72.50, z=-404.50], nc['Experience Orb'/325, l='MpServer', x=3949.78, y=21.13, z=-414.13], FCEntitySkeleton['Skeleton'/326, l='MpServer', x=3946.47, y=20.00, z=-409.22], FCEntityWindMill['entity.WindMill.name'/327, l='MpServer', x=3948.50, y=72.50, z=-404.50], FCEntityVillager['Villager'/328, l='MpServer', x=3951.53, y=65.00, z=-369.16], FCEntityVillager['Villager'/329, l='MpServer', x=3947.03, y=65.00, z=-367.38], FCEntityVillager['Villager'/330, l='MpServer', x=3946.03, y=65.00, z=-367.69], FCEntityZombie['Zombie'/333, l='MpServer', x=3949.69, y=24.00, z=-343.56], FCEntityCreeper['Creeper'/338, l='MpServer', x=3955.97, y=25.00, z=-495.53], FCEntityZombie['Zombie'/339, l='MpServer', x=3963.97, y=36.00, z=-442.50], FCEntitySpider['Spider'/340, l='MpServer', x=3955.47, y=54.00, z=-444.63], FCEntityCreeper['Creeper'/341, l='MpServer', x=3961.53, y=59.00, z=-438.34], FCEntityZombie['Zombie'/342, l='MpServer', x=3958.84, y=52.00, z=-445.50], FCEntityCreeper['Creeper'/343, l='MpServer', x=3962.00, y=52.00, z=-438.41], FCEntityBat['Bat'/344, l='MpServer', x=3960.56, y=57.10, z=-435.56], FCEntityZombie['Zombie'/345, l='MpServer', x=3962.84, y=59.00, z=-441.59], FCEntitySkeleton['Skeleton'/346, l='MpServer', x=3960.03, y=55.00, z=-434.08], nc['Experience Orb'/347, l='MpServer', x=3966.88, y=66.13, z=-433.63], FCEntitySkeleton['Skeleton'/348, l='MpServer', x=3958.04, y=67.00, z=-444.72], rh['item.item.rottenFlesh'/349, l='MpServer', x=3967.78, y=16.13, z=-376.50], nc['Experience Orb'/350, l='MpServer', x=3969.45, y=17.13, z=-376.94], FCEntityZombie['Zombie'/351, l='MpServer', x=3962.70, y=25.07, z=-362.70], nc['Experience Orb'/354, l='MpServer', x=3955.19, y=28.13, z=-343.94], FCEntityZombie['Zombie'/364, l='MpServer', x=3973.75, y=68.00, z=-488.94], FCEntityBat['Bat'/365, l='MpServer', x=3958.47, y=48.87, z=-455.01], FCEntityBat['Bat'/366, l='MpServer', x=3985.38, y=50.89, z=-465.24], FCEntityCreeper['Creeper'/367, l='MpServer', x=3974.50, y=53.00, z=-443.03], FCEntitySkeleton['Skeleton'/368, l='MpServer', x=3975.50, y=53.00, z=-440.72], FCEntityBat['Bat'/369, l='MpServer', x=3971.75, y=57.10, z=-418.75], FCEntityBat['Bat'/370, l='MpServer', x=3973.13, y=56.73, z=-418.56], FCEntityBat['Bat'/371, l='MpServer', x=3975.25, y=57.10, z=-412.25], FCEntityBat['Bat'/372, l='MpServer', x=3979.75, y=59.10, z=-412.56], FCEntityBat['Bat'/373, l='MpServer', x=3980.66, y=60.10, z=-410.28], FCEntityBat['Bat'/374, l='MpServer', x=3979.75, y=59.10, z=-413.75], FCEntitySkeleton['Skeleton'/375, l='MpServer', x=3978.41, y=66.00, z=-412.69], FCEntityZombie['Zombie'/376, l='MpServer', x=3968.50, y=39.00, z=-378.50], FCEntityZombie['Zombie'/251, l='MpServer', x=3957.70, y=11.08, z=-426.30], FCEntityCreeper['Creeper'/252, l='MpServer', x=3967.44, y=57.00, z=-422.88], FCEntityZombie['Zombie'/380, l='MpServer', x=3999.56, y=54.95, z=-419.37], FCEntitySlime['Slime'/253, l='MpServer', x=3960.61, y=56.59, z=-435.61], FCEntityCreeper['Creeper'/381, l='MpServer', x=3978.98, y=59.00, z=-416.50], nc['Experience Orb'/382, l='MpServer', x=3998.88, y=17.13, z=-347.19]]
Retry entities: 0 total; []
Stacktrace:
at bds.a(WorldClient.java:460)
at net.minecraft.client.Minecraft.b(Minecraft.java:2463)
at net.minecraft.client.Minecraft.run(Minecraft.java:784)
at java.lang.Thread.run(Thread.java:745)

-- System Details --
Details:
Minecraft Version: 1.5.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 102371856 bytes (97 MB) / 301989888 bytes (288 MB) up to 2147483648 bytes (2048 MB)
JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
AABB Pool Size: 19635 (1099560 bytes; 1 MB) allocated, 1106 (61936 bytes; 0 MB) used
Suspicious classes: MCPatcherUtils, Config, JsonUtils, ...[com.google.gson.GsonBuilder, FieldNamingStrategy, TypeAdapterFactory, ...], [com.google.gson.annotations.SerializedName], [com.google.gson.internal.Excluder, ConstructorConstructor, ObjectConstructor, ...], [com.google.gson.internal.bind.JsonTreeReader, JsonTreeWriter, TypeAdapters, ...], [com.google.gson.reflect.TypeToken], [com.google.gson.stream.MalformedJsonException, JsonReader, JsonWriter, ...], [com.prupe.mcpatcher.cit.CITUtils, OverrideBase, ItemOverride, ...], [com.prupe.mcpatcher.ctm.CTMUtils, RenderBlockState, BlockOrientation, ...], [com.prupe.mcpatcher.mal.tile.TileLoader, IconAPI, V1]
IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
LWJGL: 2.9.0
OpenGL: AMD Radeon R9 200 Series GL version 4.5.13521 Compatibility Profile Context 24.20.11016.4, ATI Technologies Inc.
Is Modded: Very likely; Jar signature invalidated
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: 1745 (97720 bytes; 0 MB) allocated, 207 (11592 bytes; 0 MB) used

Re: Craftguide - Better Than Wolves Fix

Posted: Sun Dec 02, 2018 10:17 pm
by jorgebonafe
FlowerChild wrote:Panda, can you post the error output you're getting with this? There's a possibility it might be a quick fix on my side, and it would be helpful to know what I'm doing that keeps breaking the thing.
I believe it's the same error that happened in the previous version. The way craftguide is coded, every new kiln recipy have to be added manually on the craftguide code, or it crashes. The fix is simple, it just sucks I have to add them manually every time. I didn't have time to look for a generic way to automate that.

Maybe I can add a try-catch and ignore the errors for new recipes. It won't crash ever again, but then new recipes will never show up on the list either...

Re: Craftguide - Better Than Wolves Fix

Posted: Wed Dec 05, 2018 2:29 pm
by rockoutwill
jorgebonafe wrote:
FlowerChild wrote:Panda, can you post the error output you're getting with this? There's a possibility it might be a quick fix on my side, and it would be helpful to know what I'm doing that keeps breaking the thing.
I believe it's the same error that happened in the previous version. The way craftguide is coded, every new kiln recipy have to be added manually on the craftguide code, or it crashes. The fix is simple, it just sucks I have to add them manually every time. I didn't have time to look for a generic way to automate that.

Maybe I can add a try-catch and ignore the errors for new recipes. It won't crash ever again, but then new recipes will never show up on the list either...
so i assume we are still waiting for an update?

Re: Craftguide - Better Than Wolves Fix

Posted: Wed Dec 05, 2018 2:58 pm
by jorgebonafe
Yes. Sorry, it might take me a few days still... Things are crazy right now.

Re: Craftguide - Better Than Wolves Fix

Posted: Sat Dec 08, 2018 1:06 pm
by jorgebonafe
Allright, I uploaded a new version that fixes the problems that appeared on the latest BTW version. I also added some missing recipes (brick, nether brick, pumpkin pie, cake and bread) and fixed one wrong recipe (end stone was showing brimstone as output, instead of ender slag).

I added some code that should add new kiln recipes automatically, provided they are single output recipes. Kiln recipes with more than one output will still have to be added manually by me.

I also added an extra check that should stop the mod crashing in the future. In these cases, I added a message that will show on the minecraft chat thingy. If you see this error message on future versions, please let me know so I can add the recipes. Otherwise they wont show up.

Kiln recipes that already exist and they change may not be reflected on craftguide. For instance, as I mentioned before, in some previous version of BTW cooking end stone changed the output from brimstone to enderslag. I have to fix those manually, and they most likely won't cause any problems or crashes, so if you guys see any wrong recipes on craftguide, please let me know so I can update them.