• 0

    posted a message on Personalized Recipes Mod
    Alright, I'll definitely work on getting saving to work properly then, I never had the bug in my test cases but obviously there seems to be an issue (that said i could never find it before, I'm sure it's something dumb)!
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Recipe saving has not been implemented yet, that's next on my list, I still don't know what's causing that though as no one else has it (or they haven't reported it), but I have a new save system in mind so that should help hopefully.
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    I've got plugins working now, they will load up and everything, the only thing I think I'll have to work on is texture loading for the plugins, as currently I don't believe it will work. Plugins by the way if I haven't mentioned are zip or jar files places in a the new Personalized_Recipes/Plugins folder, that allow modders to easily extend Personalized Recipes and add support for their or other's mods. I'll also be using them to eventually add custom mod recipes, once all the base functionality is working that is.
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Quote from 6210classick»
    awesome bro ! what abut 2x2 crafting grid bug is it fixed in this beta ?

    So the reason why that bug existed in the first place is because mincrafts recipes have "sizes" a width and a height, the addition of the ability to disable the slots should fix that although to be honest i never did try it, basically you just have to disable the slots and make the recipe fit within a 2x2 grid and it should work.

    EDIT: But this is still a beta, and you can't save your recipes yet, I'll hopefully get to that tomorrow, I'm too tired tonight though.
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    It's official, recipe creation is complete! That said, I haven't implemented recipe saving yet though, and they don't work with multiplayer yet, but the hardest parts are behind us now! To celebrate, If anyone wants to beta test the mod as it is there will be a link to download it at the bottom of this post, it is built for Minecraft 1.7.10 so I can't guarantee it will wok with any other version although I don't see any reason why it wouldn't work with 1.7.2, but it is untested.

    NOTE: Here is the download link: Click me! Also feel free to check out the Source Code for the mod!
    This is a beta version of the mod and it is NOT intended for use other than testing purposes, any feedback on the changes are welcome!

    How to use:
    To create a new recipe, you must have cheats enabled in your world, then simply type /recipe and you'll recieve a GUI interface, click the type of recipe you want to create and press select, you'll be brought to another screen where you can assign your recipe. Wherever you see an inventory slot, try clicking it, you should be brought to a new screen where you can select the item you want, if you don't see the item you want, there is a search box that you can use to look for it, when you select an item it will display in the slot under the bar, there is a second text box to the right of the slot, where you can specify the amount of items you wish to be placed in the slot, this is mainly used for output slots and will cap at 1 for input slots, it will also not allow you to put more than normally allowed amount of items for the selected item (for example if you select ender pearls it will not allow you to put a number over 16 in)

    Recipe Type Specifics:
    The Shaped Recipe creation screen has 4 buttons alongside of a Save and Back button, the other four are used to enable and disable rows or columns of slots that you aren't using in your recipe, this isn't required, but it is recommended to do so as the resulting recipe may not be desired if you don't do so (for example think of the sword recipe, if you make a custom recipe for a sword and dont disable unused slots, you will be unable to make the sword in any column of the crafting table, if this doesn't make sense, just play around with it and you'll catch on.)

    The Shapeless Recipe creation screen is almost exactly the same as the Shaped Recipe creation screen, the only difference being that there are no + or - buttons.

    The Fuel Recipe creation screen is fairly straightforward, there is one slot and one text field, and a little bit of information, the slot is where you specify what you want to use as fuel, and the text field is used to specify how long the fuel lasts, if you want it to only smelt one item you would put 200, (this is a minecraft thing, basically it takes 10 seconds to smelt an item and there are 20 "ticks" or updates per second in minecraft, so a value of 200 means the fuel lasts 10 seconds)

    The Smelting Recipe creation screen has two slots and a text field, one slot for the item that you would smelt and one for the item you receive. The text field is used to specify how much experience you get for smelting the item, it's a value between 0 and 100 (for example, smelting diamond ore in a furnace gives you 100 experience (experience is actually a number between 0 and 1 in minecraft, so the number you input gets divided by 100, so to be completely correct smelting diamond ore actually gives your 1.0 experience, but a 100 in the text field would be 1.0 experience))
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Quote from SimtropBuggi»
    none of the shots loaded for me.

    Hm, you're right they aren't working now, they were earlier... I'll fix them.

    EDIT: There we go all the images are back up and working, I tried loading them from my dropbox at first but it seems like those links were temporary and after a while the links broke, I used tinypic this time.

    EDIT 2: It's been maybe 10 hours now since my last update, I've basically got most of the GUI stuff complete and after that the rest is easy, I'm really pleased with how it's all turning out, I'll post some more screenshots tomorrow, but for now I need to get some sleep haha spent the entire day working on the mod.
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Quick update, I'm currently majorly overhauling the UI interfaces and making it a lot more user friendly, I'll be posting a few screenshots on this post in a little bit, so if you're interested make sure to check back in a bit, I'm just cleaning things up right now.

    EDIT: Here are some teasers, as promised.


    This is the first screen you'll see when you use the new /recipe command:





    When you select the type of recipe you wish to make, the Select button highlights, as does your selection:





    (Also note that if there are more than 7 different types of recipes you can select the scroll bar will become active and you can scroll down to select more (not shown in these teasers)).



    Once you've selected the type of recipe you want to make you'll be brought to another screen (This one is for the Shaped Recipe type, it's the only ready for presentation and even it isn't complete just yet):





    Lot's of buttons in this one, I'll explain what they all do later!



    And finally, assigning your recipe:




    You'll notice the bottom row is darkened out, that has to do with what the plus and minus buttons do, but I'll talk more about this when I make an updated video for the mod. There's also one more feature that isn't shown here as it isn't ready yet, but you'll notice you don't have access to your inventory in any of these screenshots, that's because to select the items you'll click a slot and it will bring up a new window which will list every item in the game, and it will also have a text box you can use to filter the results, I wanted to get that ready for this quick teaser but I didn't have enough time so you'll just have to wait for the next one. :D
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Quote from SimtropBuggi»
    Any chance you could extend the mod to auto-detect other mods and perhaps enable adding recipes for MFR, Buildcraft, or EnderIO machines?

    Best not to rely on those other mods to add support for yours, they have HUGE projects to work on. And for some reason this awesome mod isn't listed on http://http://modlist.mcf.li/

    It is THE place for mod lists.

    I'm aware it isn't on that list, I submitted a request for it, but it never got added so I'm not letting it bother me.
    EDIT: To address your other point about mod integration, I can only do that if they provide an API for said mods, it's something I will look into though. I kind of forgot to type this out when I replied at first haha. I do believe Buildcraft is opensource so that's something I'll look into for sure.
    Quote from KillaThrill»
    Hello

    can you change a litle thing for linux server?

    The folder "Personalized Recipes" won´t be create and read on linux server.

    I thing when you change it to "Personalized_Recipes" or so (whitout a space) it will be work

    Yes, I will do this when I release the new version, hopefully by the end of next week, I'm doing a complete code rewrite right now, when I first wrote the mod I didn't use Linux (and didn't know much about it), but now I can see why it might be a problem.
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Quote from SimtropBuggi»
    Is the mod author still around? I love this mod, except I keep running into a crash any time I use a smelting recipe. It was VERY hard to track down, but this excerpt from the dev log pointed me to the cause:


    [18:38:35 INFO]: Client> java.lang.NullPointerException
    [18:38:35 INFO]: Client> at net.minecraft.item.ItemStack.func_77969_a(ItemStack.java:355) ~[add.class:?]
    [18:38:35 INFO]: Client> at common.xandayn.personalrecipes.recipe.FurnaceRecipe.isRecipeEqual(FurnaceRecipe.java:71) ~[FurnaceRecipe.class:?]
    [18:38:35 INFO]: Client> at common.xandayn.personalrecipes.recipe.handlers.FurnaceRecipeHandler.removeRecipe(FurnaceRecipeHandler.java:58) ~[FurnaceRecipeHandler.class:?]
    [18:38:35 INFO]: Client> at common.xandayn.personalrecipes.recipe.RecipeRegistry.removeAllRecipes(RecipeRegistry.java:168) ~[RecipeRegistry.class:?]
    [18:38:35 INFO]: Client> at common.xandayn.personalrecipes.event.PR_EventHandler.onPlayerLogin(PR_EventHandler.java:47) ~[PR_EventHandler.class:?]
    [18:38:35 INFO]: Client> at cpw.mods.fml.common.eventhandler.ASMEventHandler_144_PR_EventHandler_onPlayerLogin_PlayerLoggedInEvent.invoke(.dynamic) ~[?:?]
    [18:38:35 INFO]: Client> at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?]
    [18:38:35 INFO]: Client> at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:139) ~[EventBus.class:?]
    [18:38:35 INFO]: Client> at cpw.mods.fml.common.FMLCommonHandler.firePlayerLoggedIn(FMLCommonHandler.java:550) ~[FMLCommonHandler.class:?]
    [18:38:35 INFO]: Client> at net.minecraft.server.management.ServerConfigurationManager.a(ServerConfigurationManager.java:180) ~[oi.class:?]


    I havent really been around, but I see this bug now, it's an error on my end, not checking to see if an object is null. I'll have that fixed in the new release, I'm probably going to rewrite the code base though as I'm looking over the code and it's pretty bad.
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Quote from lehjr»

    Not sure if you have tried it or not, but in the past I've had pretty good luck with placing a dead drive in a USB enclosure and changing its orientation (lay it on it's side, or other side, or lay it flat or on it's end). It doesn't always work, but sometimes it's enough to get important data off it. I've never had luck with the freezer trick though.

    Im not too worried about it, all of my really important things were already backed up, mainly I just lost some code changes.

    As an update, I've finally gotten some time and am currently working on reimplementing my changes as well as a few new ideas I had to make things run a bit smoother hopefully.
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Hey guys, I haven't actually been able to work on the mod for a while now, been having a lot of computer/internet issues. My hard drive died on me and I lost basically everything, and I couldnt reinstall windows so now Im on Linux, it's just been a mess, but I should be able to start working on it again soon, fortunately the code is on github so I can work from whats there, although I had implemented some new features which have now been lost, but I'll reimplement them when I get time.
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Yeah that's a good idea, I think it might be an issue with upgrading from 1.0.0 to 1.1.0, I dont really remember changing anything that would affect that but it's a possibility.
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Quote from SimtropBuggi

    I'm using 1.7.10, Forge 1189

    Try this:

    Install IronChests and Applied Energistics 2.

    After loading the game, create a recipe to smelt one pure certus crystal into 8 certus dust. Confirm and try to smelt the crystal. Works great.

    Now exit the game all the way, restart and reload the world. Try to smelt one certus pure crystal or just use NEI or CraftGuide to look at the recipes associated. You should find your smelting recipe has changed to something from iron chests. I'll get some screenshots to illustrate if you need me to.

    I've followed these steps and am unable to recreate this bug, did you do anything else inbetween when you logged off, exited the game and back on? Like add or remove a mod maybe? Also the recipes arent doubling either. As a suggestion I'd try to delete your recipes.dat file and remake your recipes, if the issue continues I really don't know what the problem could be.
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Quote from SimtropBuggi
    Do whatever is needed to fix this issue. Now every time I go into the game I have to remove and re-add the recipes that got corrupted. :(

    Could you explain your setup a little bit? I dont know what the issue is so itd be helpful in tracking it down exactly.
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Quote from niccosaint

    Looks nice, i'll try it.



    BTW Does it work with items for mods ??

    Yes it does, it should work with every mod.
    Quote from SimtropBuggi

    There seems to be a couple issues with this mod. First it seems to be duplicating recipes. I put a recipe for smelting gravel and now I have 4 identical listings in the added recipes.

    Another issue I've noticed is when using recipes with mod-added stuff. I have Applied Energistics installed and added a recipe for smelting one pure crystal into 8 dust. And it works until I quit and reload the game. Then somehow the recipe makes it smelt into a chest upgrade from the IronChest mod.

    Are you saving the recipe as ID's or as the actual name of the block? You should NOT be using ID's. For example, smelting dirt into clay, you should be using "minecraft:dirt" as the input type and "minecraft:clay" as the output. Then, when the game loads, you set up the recipe using the internal dictionary to map the recipes.

    I just took a look at my recipes.dat file. I should have about 4 custom recipes and that file says I have 21. I'm not sure why this is happening. Granted I was initially using the original version of the mod and have since updated to 1.1.0, so I'm not sure if you've fixed some of these things. I did see you saving the input and output as ID's however.

    Im using minecraft's ItemStack.writeToNBT, which does the saving for me, did you change any other mod's when updating to the newer version? I could see that causing an issue then. Minecraft didn't actually change how they save NBT when they did the update to using unlocalized names instead of ID's and I have no idea why but that's how it is. I can take a look into it but I never had that issue, I've also never had the duplicating recipes issue either, but I delete my recipes.dat file often when working in IntelliJ and in the source code so it might be something I haven't come across.

    EDIT: Here's a link to how I'm saving the NBT, it's using vanilla Minecraft's code. And this is how I'm reading the NBT back, again using Minecraft code. I've not heard of any issues doing it this way, and you'll find that all mod items are saved the same way in Minecraft's nbt files.

    EDIT 2: So I was looking into it, it seems like inside of the level.dat NBT file there is a tag called FML which has a List of tags called ItemData that matches the item name with it's actual minecraft ID, I'm not sure how it's written but it means that there's a potential issue there that the same set of recipes won't work for multiple worlds. One solution would be to edit the way I save the NBT and also save the unlocalized name so it can be loaded into any world. Another solution is I could make recipes unique to the current world you're playing on. I might make a poll if I can figure out how to see if people would like per world recipes or global recipes, as that would decide how the mod moves forward.
    Posted in: Minecraft Mods
  • To post a comment, please .