Occultism

Occultism

19M Downloads

Crash to desktop when opening dictiorany of spirits

K1kk0m4n opened this issue ยท 7 comments

commented

Describe the bug

First game crashed upon opening preview of ritual. Now game crashes even if i attempt to open book.

To Reproduce
Steps to reproduce the behavior:

  1. Craft Dictionary of spirits
  2. Open book
  3. Crash
  4. See error

Expected behavior
Book opens and i can read it.

Screenshots
If applicable, add screenshots to help explain your problem.

System (please complete the following information):

Additional context
Crash report of opening book
crash-2024-01-10_14.18.05-client.txt

Crash report of preview
crash-2024-01-06_13.53.44-client.txt

commented

ad preview crash: are you using shaders perchance?
I got klikli-dev/modonomicon#163 which deals with that (although I am honestly not yet sure how to fix it as I am not familiar with shaders)

Regarding the full crash now: Looking into it! Meanwhile you can try to update to latest version of modonomicon client-side that might fix it

commented

Yes i am. Complementary reimagined 5.1.1.
Thx for answer. Keep up great work :)

commented

Ok so the crash when opening the book does not reproduce for me when using your modonomicon version when I just have occultism + dependencies.

I will test with ATM 9, it could be due to an adverse interaction between mods

commented

Ok so for the preview (once the main crash is out of the way), if you disable the shaders while doing the preview you can use it. As soon as I figure out what is going on I will fix that too of course.

As for the big crash: I cannot get it to reproduce, and it actually indicates that something is wrong during login / world load. So it may fix itself by reloading the world or restarting the server.

However i am going to add some workaround code to keep the book from crashing if it happens.
A side effect will be that when you open the book you may not see your book progress - in that case, please close the book and reopen it after a few seconds, then the progress should likely show.

If it does not - then we likely have some mod preventing player data sync, at which point I probably have to talk to the ATM team to figure things out :)

commented

Ok thx again :)

commented

I am marking this as closed - please ping me if it remains after trying with modonomicon 1.51.1 installed.

Please note that 1.51.1 requires the server to also update, because it needs to request the missing data from the server so that needs the latest version too

commented

hi! I am not sure if I need to create a separate issue but I am having the same problem, using the latest 1.54.4 version of the mod

The game crashed whilst unexpected error
Error: java.lang.ClassCastException: class com.klikli_dev.modonomicon.client.gui.book.BookOverviewScreen cannot be cast to class com.klikli_dev.modonomicon.client.gui.book.BookContentScreen (com.klikli_dev.modonomicon.client.gui.book.BookOverviewScreen and com.klikli_dev.modonomicon.client.gui.book.BookContentScreen are in module [email protected] of loader 'TRANSFORMER' @615bad16)

latest.log