[0.12.0] 1.7.10: Technomancy Discussion Thread

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Cherry

New Member
Jul 29, 2019
14
0
0
Hey there,
It seems that if I put a coil on the Thaumatorium and link it to a essentia Resoviour it will crash the server.
Also If I do the same thing and link it to a void jar, Save the server and reload it the server dies and spits out this error:
---- Minecraft Crash Report ----
// Daisy, daisy...

Time: 3/19/15 1:53 PM
Description: Ticking block entity

java.lang.NullPointerException: Ticking block entity
at thaumcraft.common.tiles.TileThaumatorium.addToContainer(TileThaumatorium.java:312)
at thaumcraft.common.tiles.TileThaumatoriumTop.addToContainer(TileThaumatoriumTop.java:43)
at theflogat.technomancy.common.tiles.thaumcraft.machine.TileWirelessCoil.func_145845_h(TileWirelessCoil.java:80)
at net.minecraft.world.World.func_72939_s(World.java:1939)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)


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

-- Head --
Stacktrace:
at thaumcraft.common.tiles.TileThaumatorium.addToContainer(TileThaumatorium.java:312)
at thaumcraft.common.tiles.TileThaumatoriumTop.addToContainer(TileThaumatoriumTop.java:43)
at theflogat.technomancy.common.tiles.thaumcraft.machine.TileWirelessCoil.func_145845_h(TileWirelessCoil.java:80)

-- Block entity being ticked --
Details:
Name: TileTeslaCoil // theflogat.technomancy.common.tiles.thaumcraft.machine.TileWirelessCoil
Block type: ID #2878 (tile.techno:teslaCoil // theflogat.technomancy.common.blocks.machines.BlockTeslaCoil)
Block data value: 1 / 0x1 / 0b0001
Block location: World: (-120,184,326), Chunk: (at 8,11,6 in -8,20; contains blocks -128,0,320 to -113,255,335), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Actual block type: ID #2878 (tile.techno:teslaCoil // theflogat.technomancy.common.blocks.machines.BlockTeslaCoil)
Actual block data value: 1 / 0x1 / 0b0001
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:1939)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)

-- Affected level --
Details:
Level name: The-Blocky-Hexxit-2
All players: 0 total; []
Chunk stats: ServerChunkCache: 632 Drop: 0
Level seed: 3240372020682675101
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (-184,64,256), Chunk: (at 8,4,0 in -12,16; contains blocks -192,0,256 to -177,255,271), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Level time: 53163691 game time, 54432502 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 47035 (now: false), thunder time: 101213 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
I cant get the server to load unless i take the Technomancy mod out, load it, then save it, then put the mod back in. (Hence removing the coils in world etc)
I even tried the 10.d version in this thread with the same error.

Thanks
 

Mordenkainen

New Member
Jul 29, 2019
368
0
0
Hey there,
It seems that if I put a coil on the Thaumatorium and link it to a essentia Resoviour it will crash the server.
Also If I do the same thing and link it to a void jar, Save the server and reload it the server dies and spits out this error:
I cant get the server to load unless i take the Technomancy mod out, load it, then save it, then put the mod back in. (Hence removing the coils in world etc)
I even tried the 10.d version in this thread with the same error.

Thanks

Issue already reported here: http://forum.feed-the-beast.com/thr...-discussion-thread.47481/page-21#post-1020064
This appears to be a bug in Thaumcraft, not Technomancy.

I filed an issue report in the Thaumcraft GIT: https://github.com/Azanor/thaumcraft/issues/1691

Also, you can just disable the coil via the config, bounce the server, then re-enable the coils. This will prevent other Technomancy items that may not be part of the problem from being deleted as well.
 

Cherry

New Member
Jul 29, 2019
14
0
0
Issue already reported here: http://forum.feed-the-beast.com/thr...-discussion-thread.47481/page-21#post-1020064
This appears to be a bug in Thaumcraft, not Technomancy.

I filed an issue report in the Thaumcraft GIT: https://github.com/Azanor/thaumcraft/issues/1691

Also, you can just disable the coil via the config, bounce the server, then re-enable the coils. This will prevent other Technomancy items that may not be part of the problem from being deleted as well.

Hi Hun thank you for the reply.
I wonder if I can automate that through a script. Because they have to be enabled after the server is up. I run my server on linux using my favorite msm server runner.
Is there a way to load the config after the server is loaded? That would be a great fix temporarily.

Edit: Thinking on this it would be a pain in the tush having to place coils again etc after.
Again thank you so much for your reply, hopefully its something that can be fixed on either end because I am not sure thaumcraft will fix something that another mod is doing to move essentia differently than his design. *hugs*

Thanks
 
Last edited:

Mordenkainen

New Member
Jul 29, 2019
368
0
0
I'm not sure if you would be able to script it. Certainly you could disable the coils and start the server via script, but then stopping the server, reenabling the coils and restarting the server may or may not be possible.

As far as changing the setting after the server is up... well that is too late for MC to register the block, so it wouldnt take effect until the next time the server is started. Its not really possible to offer a "reload" functionality for that setting.

I hope that Azanor does fix the issue for us. While its true we do things a little out of the norm, we are still calling a public method of the API with valid data... That should not cause a crash, the Thaumatorium should just refuse to take the essentia.

In any case, I have a couple of ideas on how to prevent this particular crash that I will try later...
 

Mordenkainen

New Member
Jul 29, 2019
368
0
0
OK, I think this will still allow the use of Essentia Coils with the Thaumatorium without the risk of a crash. I have not reproduced the crash though so can not ensure that this prevents it, but I believe this works around the problem:
Coils.jpg


The Essentia Coils insert the Essentia into an Alembic, then the Thaumatorium sucks the Essentia out only when it needs it. Since the sucking of Essentia is left up to the Thaumatorium, it should never try to suck Essentia when it has no recipe, which is what seems to cause the problem.

Good Luck!
 

Cherry

New Member
Jul 29, 2019
14
0
0
Awesome I will try this as soon as I can, I will test it on my server.
Did you test shutting down server then bringing it back up after to see if it will come back up?
If not I can test it in about an hour.
 

Mordenkainen

New Member
Jul 29, 2019
368
0
0
Awesome I will try this as soon as I can, I will test it on my server.
Did you test shutting down server then bringing it back up after to see if it will come back up?
If not I can test it in about an hour.
Just tried it and had no problem.
 

Cherry

New Member
Jul 29, 2019
14
0
0
oh does it only pull the essentia the Thaumatorium needs or does it pull all essentia from all bottles linked?
 

Mordenkainen

New Member
Jul 29, 2019
368
0
0
All Essentia unless you put a label on the Alembic.

A Coil right on the Thaumatorium would do the same. The Thaumatorium does not expose it's recipe to the outside world, so there is no way to tell what Essentia should be sent to it.

I'm not sure anything can be done to change that.
 

Cherry

New Member
Jul 29, 2019
14
0
0
Actually a coil on the Thaumatorium was only pulling essentia it was sucking in and looking for the recipe, Too bad the alembics dont do the same. Thats why I was hoping this would also do that :(
Give it a shot, plop a coil on top of Thaumatorium and link it to some void jars, the pop in say glowstone, it will pull only the lux etc it needs for recipe.

Just make sure you take the coil off before you stop the server.
 
Last edited:

Mordenkainen

New Member
Jul 29, 2019
368
0
0
Actually a coil on the Thaumatorium was only pulling essentia it was sucking in and looking for the recipe, Too bad the alembics dont do the same. Thats why I was hoping this would also do that :(
Give it a shot, plop a coil on top of Thaumatorium and link it to some void jars, the pop in say glowstone, it will pull only the lux etc it needs for recipe.

Just make sure you take the coil off before you stop the server.

I just tried it and that did not seem to be the case. I'll try a few more things, but in my test I put in glowstone, set up jars with lux, potentia, ignis, and sano.

It made nitor, but also consumed all the sano.

I do hope that issue gets fixed.
 
Last edited:

Cherry

New Member
Jul 29, 2019
14
0
0
I just tried it and that did not seem to be the case. I'll try a few more things, but in my test I put in glowstone, set up jars with lux, potentia, ignis, and sano.

It made nitor, but also consumed all the sano.

I do hope that issue gets fixed.

Heres a video showing it working as I described:
You will see whatever item i set to active it will pull the proper essentia to the Thaumatorium .
This is how I expect it to work, its just that if I stop the server and start it again the server will not come up do to that error about the coil
 
Last edited:

Mordenkainen

New Member
Jul 29, 2019
368
0
0
That is so not the behavior i saw. I will keep looking and see if i can recreate that behavior.

Are you running the latest Thaumcraft?

I notice you already had some essentia in there when you started. This may have something to do with it. My testing was done with a frsh Thaumatorium that had not had any essentia pumped in yet. What i saw was as soon as i linked a jar it drew all essentia in the jar into the Thaumatorium. When i put in a catalyst item, it consumed that essentia, as well as any essentia that was not appropriate for that catalyst. I guess some more experimentation is needed.
 
Last edited:

Cherry

New Member
Jul 29, 2019
14
0
0
Yeah the video I posted showing it working exactly how I want it to work, just my server goes boom if it gets restarted, my server restarts every night at midnight and noon to keep it fresh and clear memory. Soooo eventually it will go boom lol.
 

Mordenkainen

New Member
Jul 29, 2019
368
0
0
Yeah the video I posted showing it working exactly how I want it to work, just my server goes boom if it gets restarted, my server restarts every night at midnight and noon to keep it fresh and clear memory. Soooo eventually it will go boom lol.

yeah, i just haven't seen it behave the way you describe....

Even what you show in the video is very curious. When you link the Praecantio, the Thaumatorium took 4 then stopped. But, based on what your Goggles of Revealing showed, when the first Nitor was crafted that Praecantio was lost/destroyed. I wonder if it stopped because it somehow remembered what was needed for Thaumium from a previous crafting even though it was not the active recipe. It is similar with the Essentia needed for Nitor, where it already had 3 Ignis and Lux, and did not draw any more when you linked the jars. In both cases you had no active recipe, so it either should have drawn everything, or nothing....

If it is somehow caching recipes, I wonder if the exception is caused by the cache being empty, as you would expect it to be when a chunk reloads.

But....

Assuming that the Coils are working as you have shown, I might have a bit of a "hack" that could resolve the issue.

Later tonight I will try to do a test build and send you a PM with a link, I would need you to try to force the crash situation and let me know if the fix prevents it. Since I can't seem to cause the crash, I can't test this myself. Are you willing?

Longer term I may try adding a special version of the Essentia Coil specifically tailored to the Thaumatorium and blocks like it, that does not push Essentia, but relies on the block to pull Essentia through it. I think this should be doable and would resolve the issue.
 
Last edited:

Cherry

New Member
Jul 29, 2019
14
0
0
yeah, i just haven't seen it behave the way you describe....

Even what you show in the video is very curious. When you link the Praecantio, the Thaumatorium took 4 then stopped. But, based on what your Goggles of Revealing showed, when the first Nitor was crafted that Praecantio was lost/destroyed. I wonder if it stopped because it somehow remembered what was needed for Thaumium from a previous crafting even though it was not the active recipe. It is similar with the Essentia needed for Nitor, where it already had 3 Ignis and Lux, and did not draw any more when you linked the jars. In both cases you had no active recipe, so it either should have drawn everything, or nothing....

If it is somehow caching recipes, I wonder if the exception is caused by the cache being empty, as you would expect it to be when a chunk reloads.

But....

Assuming that the Coils are working as you have shown, I might have a bit of a "hack" that could resolve the issue.

Later tonight I will try to do a test build and send you a PM with a link, I would need you to try to force the crash situation and let me know if the fix prevents it. Since I can't seem to cause the crash, I can't test this myself. Are you willing?

Longer term I may try adding a special version of the Essentia Coil specifically tailored to the Thaumatorium and blocks like it, that does not push Essentia, but relies on the block to pull Essentia through it. I think this should be doable and would resolve the issue.

Sure would be happy to. Silly question: Are you working with the theflogat the Technomancy developer?

(Side note I have been popping a coil on the thaumatorium and linking it to bottles for recipies then breaking coil off top after done lol. Just so i dont have to pop bottles off etc)
 

Mordenkainen

New Member
Jul 29, 2019
368
0
0
Sure would be happy to. Silly question: Are you working with the theflogat the Technomancy developer?
I have been submitting bug fixes/enhancements to him.

I do this for Technomancy and a few other mods I use. If I find a bug in something I am using or plan to use, I try to help fix it whenever I can, rather than just reporting it.
 

Cherry

New Member
Jul 29, 2019
14
0
0
I have been submitting bug fixes/enhancements to him.

I do this for Technomancy and a few other mods I use. If I find a bug in something I am using or plan to use, I try to help fix it whenever I can, rather than just reporting it.
Excellent, if your workaround works, might want to consider the block you make required to plop it onto a thaumatorium in order to use the coil.
 

Mordenkainen

New Member
Jul 29, 2019
368
0
0
OK, I was finally able to recreate the problem.
One of my testing mods was actually changing the behavior of the Thaumatorium for some reason.

In any case, my idea for a quick fix does not work.

So, for the time being do not use Coils with the Thaumatorium unless you plan to remove them before server restarts.

We will see if Azanor will fix the issue, and otherwise I will look into a better solution.