Closed CPLALianHua closed 3 months ago
I downloaded the source code of InvSync and used sqllib_version=2.1.5. I found that database. getTable ("base"); In baseDatabase. get (UID), no data will be returned. I tried using sqllite and MySQL, and when the connection was successful, only a table will be automatically created without writing any player data. I tried calling baseDatabase. createDataContainer ("c2b68c02 e67f xxxx"); You will only receive inexplicable errors: Java. lang. RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'invsync'! Caused by: java. lang. NoClassDefFoundError: net/minecraft/text/Text ... 7 more Caused by: java. lang. ClassNotFoundException: net. minecraft. text Text ... 7 more
I don't understand what link went wrong.
Huh interesting, I will look into this. What mc version is this on?
Also referring to Invsync, the current code in the repository does not work. I am working on a replacement project for Invsync.
Data can be written normally in IDEA, but data cannot be written when the module is placed on the server. Mine is version 1.20.1
This should be fixed when I make a new release
This has been fixed!
When using the latest version 2.2.13 on the fabric server, errors may occur. Mod has not yet started loading, and if using versions below 2.1.9, it is normal.
A mod crashed on startup! net.fabricmc.loader.impl.FormattedException: java.lang.RuntimeException: Could not execute entrypoint stage 'preLaunch' due to errors, provided by 'sqlib'! Caused by: java.lang.RuntimeException: Could not execute entrypoint stage 'preLaunch' due to errors, provided by 'sqlib'! ... 4 more Caused by: java.lang.NullPointerException: Cannot read field "type" because "me.mrnavastar.sqlib.SQLib.config.database" is null ... 4 more