-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flexible cable bugs #55
Comments
I can't recreate that crash. Could you show me your setup? |
It happens a bit random, probably by connecting ihl cable directly to ic2 cables |
I still could not catch it. I added additional null check in grid calculation in 0.640. This should solve a case. |
ok thx! |
Another stall happened in our server today, luckily we have recorded the stall log and an image of his wire connections. Seems it would be a IHL&Uncomplication compatible problem. |
Seems to be a fatal flaw of using NBT object as grid cable representative. Fixing this would take some time. |
Ok, try a new version (0.642), it should not cause stalls, because I get rid of NBT in energy net. |
It happened again. We have already updated to the latest version. Here is the stall log: Thanks. |
I'm not sure in anything now, but I changed a code a little bit. Maybe this could help.
|
It quiet simple, just power source -> electrolysis bath with length less than 2 |
ihl/ihl/flexible_cable/IHLGrid.java Line 272 in 8ed8c65
Can you add some sort of size limit & debug warning on this hashmap? Might help pinpointing the issue Also is it possible to print the location of bugged cable? |
@wormzjl I removed that hashmap. Source updated, check by yourself. |
ok will test |
@wormzjl ...no. Does it stall? |
Nvm, still testing |
@wormzjl entities does not involved in enegy transfer unless they are touch ground and uninsulated or voltage in cable above insulation breakdown voltage. In that case they emit smoke particles. |
So boom? |
Ok, try this: http://www.mediafire.com/file/taojc7ubcicbyke/ihl-tools_n_machines-0.644-1.7.10.jar |
https://pastebin.com/PSijj7ht |
Unexpected. |
Some weirdness in the enet? |
@wormzjl probably demanded energy >0d but <1d bug. |
Seems that when the electrolysis bath finishes it's work, it refuses to work again unless the cable is reconnected |
For a freaking hour I tried one to another options to fix that. Screw it. Ok, IHL officially incompatible with Uncomplication mod until a further notice. Maybe I should make electrolyzer to support work with normal cables? |
That will lose some...identity |
@wormzjl I took my will into fist and found a lot of bugs related to flexible cable energy transfer system (0.646). I did not test fixes with uncomplication, but it was not an uncomplication related bugs at a first place. You may want to check a work with uncomplication now, and I need to sleep. |
Thank you very much! gonna do some more testing |
Ok, the power transfer from/to ic2 energy block is fine. |
Is recipe conditions are fulfilled? Because everything fine at my side (even with uncomplication mod). Try this: launch Minecraft with opened console. Right-click at electrolysis bath with thermometer (from IHL creative inventory). Copy-paste 4 lower lines of console output here. Do a same thing with opposite side of cable connected (there should be invisible but clickable "junction box").
O.O I did not change anything related to this part of code. At least as I remember. |
That's true. I have not read your code but in game you should stand at the face you want to put wire and click or your wire will connect to other faces.
And i'm sorry about my misleading to uncomplication. IC+IHL+Uncomplication works fine, The problem is Immersive engineering use a strange way to feed energy to IC capacitors, which causes the problem i've mentioned before. An IE->IC->IHL wire connection will cause the problem, but IE->IC->IC->IHL wire works fine. |
No this is probably not the issue so I deleted it, still investigating |
Ok this has nothing to do with dragonapi |
You mean that energy source transfer energy to flexible cables only if it facing east? Why everything works fine without DragonAPI then? |
yeah, tested without DragonAPI, no power emit when it's not facing east even with MFE->MFE connection, nothing to do with the electrolysis bath |
Ooops. My bad. |
thx, doing some live testing |
no problem occurred yet, seems to be solved |
Crashing again...gonna post them later |
New bug: I tried 3 times. Thanks. |
The stall happened again. I don't know which player is using the cable. |
I wonder how that is happened. I add a code to prevent crash in 0.650 and it will generate some log output while removing corrupted tile-entities. I would like to see that log. As for stalls - if they happened again I would like to see log output as well. |
@wormzjl is latest version of IHL fix issue? |
Been able to crash it on singleplayer, put down a MFE, connect it to a MV transformer then a diamond cable, then ihl cable -> electrolysis bath. Crash seems to happen on cable meltdown. Also got another bug, seems that the length of cable used is calculated by player move distance? |
ihl-tools_n_machines-0.648-1.7.10.jar |
@wormzjl yes. I added a code, which should remove nodes with ID == -1 from grid and generate some log output. |
Ok, can you take a look at the cable length issue mentioned above? |
Got the same result..... |
Damn, I forgot to add a one more line. |
http://www.mediafire.com/file/6565zoj5and4sna/ihl-tools_n_machines-0.651-1.7.10.jar |
[17:05:27] [Server thread/ERROR] [ihl/]: Removing TE with grid ID==-1 ihl.processing.chemistry.ElectrolysisBathTileEntity If it happened more than a single time, report that to mod author. Got these in the console |
So happen every time on cable burnout? |
Nope, seems to happen only on certain setups |
This is too difficult to replicate, maybe just let the electrolysis bath accept EU directly (from the upper side) |
https://pastebin.com/EVhRV2xS
The text was updated successfully, but these errors were encountered: