Skip to content
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

Invalid block returned by buttons #40

Open
LemADEC opened this issue Nov 17, 2018 · 18 comments
Open

Invalid block returned by buttons #40

LemADEC opened this issue Nov 17, 2018 · 18 comments

Comments

@LemADEC
Copy link

LemADEC commented Nov 17, 2018

As of 1.12-1.2.1, exceptions are reported by EnderIO 1.12.2-5.0.37:

[20:41:51] [main/ERROR] [enderio]: ItemBlock exterminatorjeff.undergroundbiomes.common.itemblock.ButtonItemBlock@3912ce25 returned an unregistered block from getBlock(). This is a major bug in the mod 'Underground Biomes'.
[20:41:51] [main/ERROR] [enderio]: ItemBlock exterminatorjeff.undergroundbiomes.common.itemblock.ButtonItemBlock@45acbdb1 returned an unregistered block from getBlock(). This is a major bug in the mod 'Underground Biomes'.
[20:41:51] [main/ERROR] [enderio]: ItemBlock exterminatorjeff.undergroundbiomes.common.itemblock.ButtonItemBlock@288e464e returned an unregistered block from getBlock(). This is a major bug in the mod 'Underground Biomes'.
[20:41:51] [main/ERROR] [enderio]: ItemBlock exterminatorjeff.undergroundbiomes.common.itemblock.ButtonItemBlock@3790b17e returned an unregistered block from getBlock(). This is a major bug in the mod 'Underground Biomes'.
[20:41:51] [main/ERROR] [enderio]: ItemBlock exterminatorjeff.undergroundbiomes.common.itemblock.ButtonItemBlock@7cbe8b21 returned an unregistered block from getBlock(). This is a major bug in the mod 'Underground Biomes'.
@kreezxil
Copy link

kreezxil commented Jan 3, 2019

does this actually affect the world?, can I get a full log?

@LemADEC
Copy link
Author

LemADEC commented Jan 3, 2019

Refer to Aang23 fork which is way more updated and already discuss that issue, see above link

@Aang23
Copy link

Aang23 commented Jan 3, 2019

@kreezxil No, this doesn't affect gameplay or the world at all, this isn't even causing any bugs, but this may in the future or with other mods (EnderIO as an example), so this will need to be fixed.
No direct link with that issue, but I saw that you forked UBC too, so I suppose you were planning to work on that mod?

@kreezxil
Copy link

kreezxil commented Jan 3, 2019 via email

@LemADEC
Copy link
Author

LemADEC commented Jan 3, 2019

What did you see that qualify as a 'Memory race condition'? Any details?

@Aang23
Copy link

Aang23 commented Jan 3, 2019

@kreezxil For sure. I actually noticed that as soon as I started working on that mod. I was planning to rewrite some core parts of the mods, mainly the block system and the world gen things. This race condition things seems to be less impactful on some forge versions. The village bug actually comes from that too.

Yes, I would be interested in taking over, and that would be better to do that one the original mod page. Thanks for that proposition ! I'm gonna be moving all the builds that are on my fork's page to the "real" one, to keep that clean. I will also be giving you write access to my fork's git, so that if need / want to do something, you can.

@kreezxil
Copy link

kreezxil commented Jan 3, 2019

@LemADEC

What did you see that qualify as a 'Memory race condition'? Any details?

install the mod by itself, run it, it will eat all the allocated ram and crash with a stack overflow in buffer memory error.

@Aang23

@kreezxil For sure. I actually noticed that as soon as I started working on that mod. I was planning to rewrite some core parts of the mods, mainly the block system and the world gen things. This race condition things seems to be less impactful on some forge versions. The village bug actually comes from that too.

Yes, I would be interested in taking over, and that would be better to do that one the original mod page. Thanks for that proposition ! I'm gonna be moving all the builds that are on my fork's page to the "real" one, to keep that clean. I will also be giving you write access to my fork's git, so that if need / want to do something, you can.

I don't have access to the main repository which is actually zeno's nor kyeti's but you can see on CurseForge that it was transferred to me recently. What is your curseforge handle?

@LemADEC
Copy link
Author

LemADEC commented Jan 4, 2019

@kreezxil I've already made 3 different 1.12.2 servers running with UBC and didn't see a memory or stack error. I could use it in my mod's dev space without such concern.
I did fix quite a few bugs on the 1.7.10 Geno branch, so maybe some of those aren't fixed in the port?

@kreezxil
Copy link

kreezxil commented Jan 4, 2019 via email

@Aang23
Copy link

Aang23 commented Jan 4, 2019

@LemADEC What bugs did you fix ?

@LemADEC
Copy link
Author

LemADEC commented Jan 4, 2019

Asiekierka fixed a world generation lag (notifications were enabled during block placement).
I've:

  • fixed a crash with missing tile entities for button/stairs/etc. (n/a for 1.12.2 version)
  • added monster egg stone variations
  • fixed missing ore registration on ores and slabs
  • fixed various display names and harvest levels issues with ores
  • fixed a hashcode issue in internal collections
  • fixed invalid slab variations in villages
  • fixed the command error handling
  • fixed dimension blacklist so it actually works
  • fixed biome decoration error handling to narrow down an issue in another mod (CoG probably)

I remember there was a lag issue with the mining speed modifier event, but I never really fixed it.

@Aang23
Copy link

Aang23 commented Jan 4, 2019

I'm gonna port some of those fixes, even if I have already done some of them. I can confirm that some were not ported. Note that some aren't needed currently in 1.12.2.

@LemADEC
Copy link
Author

LemADEC commented Jan 4, 2019

There was also a lot of new mods support added.
Here are some I've readded on 1.12.2 for my modpack:
ores.zip

@Aang23
Copy link

Aang23 commented Jan 4, 2019

Thanks, I'll add them in the next release.

@LemADEC
Copy link
Author

LemADEC commented Jan 9, 2019

I see autoreglib is in the dev space libs folder for Aang23 fork. There's a pretty bad memory leak in that library that was fixed recently. I suggest to add just an API instead of the full mod.

I've tested a modpack with just UBC, forge 2796, 1GB RAM allocated. I didn't see a crash and it didn't use the full RAM allocated. Retrying without UBC (i.e. Vanilla forge), I didn't see much of a difference in memory usage.

@Aang23
Copy link

Aang23 commented Jan 9, 2019

Autoreglib is never used, and not even required unless Quark is installed, that was only needed to add support for Speleothems. I'll look if adding an API only is possible.

There's no crashes for me too, but the RAM usage goes up quickly...

@LemADEC
Copy link
Author

LemADEC commented Jan 9, 2019

As long as the jar is in the libs folder, it'll be running in your debug space. This can be quickly problematic when testing the mod.
What kind of interfaces are used in Quark for UBC?

@Aang23
Copy link

Aang23 commented Jan 13, 2019

You should be able to see that there : https://github.com/Aang23/UndergroundBiomesConstructs/blob/master/src/main/java/exterminatorjeff/undergroundbiomes/common/block/IgneousSpeleothem.java

That problematic for sure, I think that I'm gonna be switching to the API soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants