CraftTweaker

CraftTweaker

151M Downloads

Zenscript results in inconsistent errors

RedNicStone opened this issue ยท 7 comments

commented

Intro:

I'm currently working on an MC 1.14 Modpack, incorporating Mods with different progression lines.
As I was working on an ZenScript to make the progression smoother, I came across an error while I was switching devices.

Issue Description:

The ZenScript I'm running is working fine on my notebook but crashes on any other device (6 different were tested)

What happens:

When run on a different device than my notebook the script chucks out several error messages.

What you expected to happen:

The script should be working fine as it is on my notebook.

Script used:

(Gist + Nextcloud)
https://gist.github.com/RedNicStone/3f822e19fa1315ec5c02e5c684b7a81f#file-customrecipes-zs
https://nextcloud.struktur.de/s/BrQExPwnesE7mTn

crafttweaker.log file:

https://gist.github.com/RedNicStone/3f822e19fa1315ec5c02e5c684b7a81f#file-crafttweaker-log
https://nextcloud.struktur.de/s/5QgjEGzRBPxsCpz


Affected Versions:

  • Minecraft: 1.14.4
  • Forge: 28.2.17
  • Crafttweaker: 5.0.1.187
  • Using a server: Tried, had no effect
  • If yes, does the client have the exact same scripts? Yes

Your most recent log file where the issue was present:

[https://gist.github.com/RedNicStone/3f822e19fa1315ec5c02e5c684b7a81f#file-latest-log]
[https://nextcloud.struktur.de/s/Py99MoDWbyfenR5]

[sorry for my bad english]
Thanks for your help!
-- RedNicStone

commented

Do all of these devices have the same operating system?
As in, does e.g. your notebook use linux and the others windows or something similar?

commented

No, they didn't.
Here is an list of operating systems I tried it on:

My notebook: Fedora 28 <-- Only one that worked
My other notebook: Fedora 29
My desktop: Fedora 31
An friends desktop: Ubuntu ?
An other friends desktop: Windows 10.?

All of them (except the notebook) resulted in the same error log.
Of course I want the modpack to be universal, so it should work on (almost) all configurations.
Hope that answered your question.

commented

Also happenes at here (minecraft 1.15.2)

Happened on All The Mods 5 2.2

Log

[18:04:12.966][COMMON_SETUP][SERVER][INFO] Started loading Scripts for Loader 'setupCommon'!
[18:04:14.353][COMMON_SETUP][SERVER][INFO] Finished loading Scripts!
[18:05:09.240][DONE][SERVER][INFO] Started loading Scripts for Loader 'crafttweaker'!
[18:05:09.293][DONE][SERVER][INFO] Loading comforts/recipe_conflicts.zs
[18:05:09.294][DONE][SERVER][INFO] Loading computercraft/cc_recipes.zs
[18:05:09.295][DONE][SERVER][INFO] Loading extra disks/ed_recipes.zs
[18:05:09.297][DONE][SERVER][INFO] Loading forbidden arcanus/fa_recipes.zs
[18:05:09.297][DONE][SERVER][INFO] Loading industrial foregoing/industrialforegoing_recipes.zs
[18:05:09.297][DONE][SERVER][INFO] Loading mekanism/mekanism_recipes.zs
[18:05:09.297][DONE][SERVER][INFO] Loading mining gadgets/mining_gadgets_recipes.zs
[18:05:09.298][DONE][SERVER][INFO] Loading mystical_agriculture/MA_recipes.zs
[18:05:09.300][DONE][SERVER][INFO] Loading other/atm_recipes.zs
[18:05:09.302][DONE][SERVER][INFO] Loading other/other_recipes.zs
[18:05:09.302][DONE][SERVER][INFO] Loading quark/quark_recipes.zs
[18:05:09.303][DONE][SERVER][INFO] Loading quarry plus/quarryplus_recipes.zs
[18:05:09.303][DONE][SERVER][INFO] Loading reliquary/reliquary_recipes.zs
[18:05:09.303][DONE][SERVER][INFO] Loading rftools/rftools_recipes.zs
[18:05:09.303][DONE][SERVER][INFO] Loading silents mechanisms/silents_recipes.zs
[18:05:09.303][DONE][SERVER][INFO] Loading solar flux reborn/sfr_recipes.zs
[18:05:09.304][DONE][SERVER][INFO] Loading tags/tags.zs
[18:05:09.304][DONE][SERVER][INFO] Loading vanilla/enhancements.zs
[18:05:09.345][DONE][SERVER][ERROR] ERROR other/atm_recipes.zs:7:90: Could not cast IData[] to List<IData>?
[18:05:09.345][DONE][SERVER][ERROR] Scripts are invalid!
[18:05:09.345][DONE][SERVER][INFO] Finished loading Scripts!

The error line

[18:05:09.345][DONE][SERVER][ERROR] ERROR other/atm_recipes.zs:7:90: Could not cast IData[] to List<IData>?

This error only happens at the our server (Ubuntu 20, JDK8 1.8.0_252-8u252-b09-1ubuntu1-b09)
But not my client (WIndows 10, JDK8 1.8.0_251)

And other script that did not throw error did not work correctly either.
The other/other_recipes.zs should add a recipe for soulshards_vile_dust, but in fact it isn't there.

commented

Hey there, short update:
I tried to reproduce it on my computer, both on Ubuntu and Windows and I didn't get the error, so I cannot reproduce it.

We will look into this a little more this weekend if we get to it.

commented

Sorry if im being annoying, but are you still working on it @kindlich ?
My modpack is now more than 8 days late on release...

commented

Have you tried with the latest CraftTweaker?

commented

Going to close due to lack of response, if this is not fixed please re-open!