Recipe Stages

Recipe Stages

28M Downloads

recipe stage freeze

TheNimbleNinja opened this issue ยท 18 comments

commented

i have a problem when i get to recipe stage in the initializing mods phase in the part 5 section it just freezes but i think if i dont have any scripts for gamestages it just works normaly i dont know what is causing this problem and i dont know how to fix it. it eventualy gets done with what ever it was doing and continues on with the loading. here is my modpack export so you can look at the problem as well.
Minecraft Ascention Alpha-sdasd.zip

commented

I'm not downloading some random zip file. Give scripts and logs if you want help.

Also depending on how much you're doing, it's going to take longer to load.

commented

it doesnt say anything in the logs when it gets to that point it just stops

commented

Cool, well since you don't want to even give me the log. I can't do anything.

commented

if you want the log ill give it to you
latest.log

commented

I need the crafttweaker.log file.

commented
commented

is the reason its taking forever to load at the freeze because i have staged every mod? and have around 300 mods

commented

You're staging an absolute fortune, not only is it causing a huge log file (Java IO isn't the fastest), but it has to loop through each and every item and apply an IAction for each of them.
Also ontop of that, ZenStages doesn't use the method that I made to fix this exact thing,

//mods.recipestages.Recipes.setRecipeStage(String name, String recipeName);
//This sets the stage of all recipes who's item output's modid is "botania"

mods.recipestages.Recipes.setRecipeStageByMod("one", "botania");

which can be found here:
https://crafttweaker.readthedocs.io/en/latest/#Mods/GameStages/RecipeStages/RecipeStages/

commented

so what do i do to fix this jared?
or is it in the link you posted?

commented

im not a smart boi sorry :(

commented

question i think i see what i hAve to do but does it matter that i got item stages also in the same script?

commented

@jaredlll08 should i post a issue on zenstages for this problem?

commented

If you are adamant on using ZenStages, then you need to report it to their issue tracker, if not, convert your scripts to use the modid specific methods that both Recipestages and ItemStages offer.

However at this point, you already have some scripts, it would probably be less trouble reporting to ZenStages and hoping that they can fix it compared to rewriting your scripts.

commented

is the importing thing in zenstages?
in new to gamestages
stuff and i dont quite know what im doing im just copying and pasting code that i see from stuff and editing to to my modpack

commented

i dont mind converting my scripts to not use zenstages as in my that far into the scripting of stages i just got the base stuff done

commented

also i dont know what to do for the zenstages issue. like what do i put in it to tell them there causing a huge java loading in the way i made my scripts?

commented

I don't know much about ZenStages, this has gotten a bit offtopic, if you need help with scripts I suggest your join my discord: http://discord.blamejared.com, someone may be able to help you there, I would appreciate if you stopped replying here, as it is spamming my emails and is a clunky chat method.