• 0

    posted a message on Crash When Trying My Modpack

    In reply to big_bad_e:

     
    This cause the problem
    "08:01:08] [CrayCrafting-Timer/WARN]: Recipe timer! Resetting all the recipes!"
    When this error line goes on loop

        for (IRecipe localIRecipe1 : CraftingManager.getInstance().getRecipeList()) {
          if (localIRecipe1.getClass() == NEIRecipeWrapper.class) <<< this is line 58

    As the line of the error suggest the mod is affected with CrayCrafting mod since it clears/reset the list from CraftingManager.getInstance().getRecipeList() which will cause null error. 

     

    The reason I say the error is impossible, at first glance of the code there's no way it will execute the loop if there are null values on the first place. But since CrayCrafting have a threaded timer that resets the RecipeList it triggers a race condition. meaning while the other mod is doing a loop based on the recipelist, CrayCrafting mod is reseting the list (probably clearing it) thus the impossible become possible.

     

     

    As I check CrayCrafting it got a config file (or maybe it can be set on gui) with this "resetTimer" which you should set it to zero base on the description of the config below

     

    resetTimer = ", this.timer, "For extra evil, this timer rotates the crafting every X minutes. 0 for disable."

     

    As I'm not familiar with craycrafting or where it stores its config (probably on minecraft server config folder if it follows standard) you have to find resetTimer and set it to zero so it won't trigger a race condition that would result to other Mod's using recipes having null errors because the recipes been clear.

     

    Posted in: General Discussion
  • 0

    posted a message on Project Ozone 2. Server faild to start up

    java.lang.NoClassDefFoundError: betterquesting/client/gui/GuiQuestLinesMain

     

    Is being called at a server side event rather than client side.

     

    it is better to use event.getSide().isClient() or event.getSide().isClient()  than world.isRemote if the subscribe event loads on both.

    I learned that the hardway.

     

    if (!world.isRemote) { //instead of event.isServer()

     

    then chances are the code may run still on client side

     

    Posted in: Modpack Discussion
  • 0

    posted a message on Can't load up my modpack I made.

    In reply to Tinysaurus149:

     
    Is this actually a file => "[14:41:31] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: Caused by: java.io.FileNotFoundException: C:\Users\ProGamerJackson\Documents\Curse\Minecraft\Instances\Magic,Guns,Vehicles Oh My (The system cannot find the file specified)" ?
     
    There's a reason I don't use space, comma and other non alphabetical and non numerical characters when creating files and folders (except for _ (underscore)) and use them in my programs.
    Posted in: General Discussion
  • 0

    posted a message on Sky factory 3 chrashes

    In reply to systamatic:

     
    if you don't post crash report then only the players who uses them that encounters that problem can help you :D
    Posted in: General Discussion
  • 0

    posted a message on Severe Server Lag Help Needed

    I think it's a hard drive fetch problem

     

    When the disk is busy because of many reads/write the lagged may occur on server side

    This happens to me when I'm downloading or copy large files where minecraft server resides

     

    Or another theory

     

    Swapping of memory to disk may also cause the lagged. 

    This happen to me since I allocate 3gb of ram to server 1.5gb to client (same pc) and my pc got only 6gb of ram

    Windows sometimes use between 1gb to 2gb normally

    Then there are other background application to consider.

     

    Posted in: General Discussion
  • 0

    posted a message on Crash When Trying My Modpack

    You've got a weird error

     

    java.lang.NullPointerException: Rendering screen

    at cofh.thermalexpansion.plugins.nei.handlers.RecipeHandlerCraftingSecure.loadCraftingRecipes(RecipeHandlerCraftingSecure.java:58)

     

      public void loadCraftingRecipes(ItemStack paramItemStack)
      {
        for (IRecipe localIRecipe1 : CraftingManager.getInstance().getRecipeList()) {
          if (localIRecipe1.getClass() == NEIRecipeWrapper.class) <<< this is line 58
          {

     

    As you can see at line 58 it's not possible to get null pointer exception

    That for loop will never get to line 58 if localIRecipe1 is null on the first place

    if CraftingManager.getInstance().getRecipeList() then it would say line 57 not 58

     

    So another mod may have actually trigger that.  I'll check the other errors.  For now that's what I can tell.

    It's not possible to have that error.

     

     

    Try finding this config and disable it!

     

    CrayCrafting

    resetTimer = ", this.timer, "For extra evil, this timer rotates the crafting every X minutes. 0 for disable."

     

    on Your crash report

    [08:01:08] [CrayCrafting-Timer/WARN]: Recipe timer! Resetting all the recipes!

    Imagine if this is actually threaded and it does something like this

             CraftingManager.getInstance().getRecipeList().clear();

     

    while this code runs

        for (IRecipe localIRecipe1 : CraftingManager.getInstance().getRecipeList()) {
          if (localIRecipe1.getClass() == NEIRecipeWrapper.class) <<< this is line 58

     

    I believe it would have a race condition where data of the loop is cleared.

     

     

     

     

    Posted in: General Discussion
  • 0

    posted a message on Looking for Someone to Code My Mod

    I'm still new in forge mod coding and I still can't figure out the proper proxy implementation which I believe is key on a successful non messy bloated mod :D

    Posted in: General Discussion
  • 0

    posted a message on Any mods for review

    Want to try my mod :D

     

    https://minecraft.curseforge.com/projects/orion-mod

    Posted in: General Discussion
  • 0

    posted a message on Unknown cras

    My experience with errors like java.lang.NoClassDefFoundError blah blah is that the proxy implementation is buggy or the code uses a client class from server side or server class on a client side thus it can't found the class since it is not loaded on both client and server side.

    Posted in: General Discussion
  • 0

    posted a message on Mod Problems

    In reply to Machandler:

    3gb allocated to minecraft server and 1.5gb to minecraft client and sometimes I get weird crash down probably because Windows is trying to swap memory and making either server/client mess up and crash.
    Posted in: General Discussion
  • 0

    posted a message on curse & minecraft problem.

    In reply to Sammyschrier:

     I think you can use multiple java jre/jdk. Just need to figure out how to set them per application.
    When I was a programmer I usually end up maintaining different apps with different versions of java (specially I hate <1.5/5 versions)
    Now I'm just making a hobby of creating my mod for my icafe customers (mostly kids)
    Posted in: General Discussion
  • 0

    posted a message on burning or fire event

    Is there a burning or fire event for minecraft forge?

    Posted in: Ideas
  • 0

    posted a message on Textures for your Mod!

    Thank you for the textures Igrek.  I successfully incorporate the textures with my mod (after a-lot of trial and errors).

    Posted in: Ideas
  • 0

    posted a message on Textures for your Mod!

    Igrek can you please create 4 kind of wands (gold, iron, diamond, stone)

    Posted in: Ideas
  • 0

    posted a message on Divide world by sector and subsector

    If I want to divide the default world into sectors (3D),  how can I accomplish this?

     

    for example coordinates x=0 y=0 z=0 to x=256 y=256 z=256 would be sector 1 sub-sector a

    and coordinates x=257 y=257 z=257 to x=512y=512 z=512 would be sector 1 sub-sector b

     

    Posted in: Ideas
  • To post a comment, please or register a new account.