Skript icon indicating copy to clipboard operation
Skript copied to clipboard

Item Variables will not load when upgrade from 2.5.3 to 2.6

Open Viper911 opened this issue 3 years ago • 2 comments

Skript/Server Version

[21:53:26 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases [21:53:26 INFO]: [Skript] Skript's documentation can be found here: https://skriptlang.github.io/Skript [21:53:26 INFO]: [Skript] Server Version: git-Paper-391 (MC: 1.17.1) [21:53:26 INFO]: [Skript] Skript Version: 2.6 [21:53:26 INFO]: [Skript] Installed Skript Addons: [21:53:26 INFO]: [Skript] - Skacket v1.0.6 [21:53:26 INFO]: [Skript] - Skellett v2.0.1 (https://forums.skunity.com/resources/skellett.24/) [21:53:26 INFO]: [Skript] - skDragon v0.17.5 [21:53:26 INFO]: [Skript] - SkQuery v4.1.5 [21:53:26 INFO]: [Skript] - SkBee v1.13.0 (https://github.com/ShaneBeee/SkBee) [21:53:26 INFO]: [Skript] - SkJade v1.3.4 (https://www.github.com/Ankoki-Dev/SkJade)

Bug Description

Have ~200 item variables in current 2.5.3 that works fine, replaced the jar files for 2.6 Skrpt and now everything loads except items. Everything stored in CSV. Also tryed converting into MySQL forst then updating to 2.6. When I did that it was interesting to see that the value in the DV in 2.5.3 was encryped or binary in nature, but when the same item is created in 2.6 new it was plain text in some sort of JSON type format. Seems like the way items are stored are different now and do not get converted.

Expected Behavior

Convert as needed, or load as it did before.

Steps to Reproduce

Load everything fine 2.5.3 and Paper 1.17.1. Vaibles contain items, text, numbers, etc.

Update Skript to 2.6

Get errors noted on the 203 variables sthat are of type ItemType

Errors or Screenshots

21:51:50 ERROR: #!#! ===!!!=== Skript variable load error ===!!!=== 21:51:50 ERROR: #!#! Unable to load (all) variables: 21:51:50 ERROR: #!#! 203 variables could not be loaded! 21:51:50 ERROR: #!#! Affected variables: pet.inv::00000000-0000-0000-0009-01f76a0432bd::180023564305680, pet.inv::0bfe8629-a1c3-44af-8319-14841ac8ea9e::316590857332825, pet.inv::1a74bdab-8fb6-4b1b-aee7-513a344a8e1d::803915782656917, pet.inv

The data value for the first variable noted is:

8603616C6C0F00057479706573800941727261794C697374810676616C7565733080064F626A6563748001800B4E65774974656D4461746186076973416C6961730F00046D6574618022436F6E66696775726174696F6E53657269616C697A61626C655F4974656D4D657461810576616C756520896376616C75653A0A20203D3D3A204974656D4D6574610A20206D6574612D747970653A20554E53504543494649430A2020646973706C61792D6E616D653A20277B226578747261223A5B7B226974616C6963223A66616C73652C22636F6C6F72223A2267726179222C2274657874223A22446F67227D5D2C2274657874223A22227D270A20206C6F72653A0A20202D20277B226578747261223A5B7B22626F6C64223A66616C73652C226974616C6963223A66616C73652C22756E6465726C696E6564223A66616C73652C22737472696B657468726F756768223A66616C73652C226F626675736361746564223A66616C73652C22636F6C6F72223A226461726B5F67726179222C2274657874223A22E2969BE29698E29698E29698E29698E29698E29698E29698E29698E29698E2969C227D5D2C2274657874223A22227D270A20202D20277B226578747261223A5B7B22626F6C64223A66616C73652C226974616C6963223A66616C73652C22756E6465726C696E6564223A66616C73652C22737472696B657468726F756768223A66616C73652C226F626675736361746564223A66616C73652C22636F6C6F72223A2279656C6C6F77222C2274657874223A22506F7765723A227D2C7B226974616C6963223A66616C73652C22636F6C6F72223A22676F6C64222C2274657874223A220A2020202034227D5D2C2274657874223A22227D270A20202D20277B226578747261223A5B7B22626F6C64223A66616C73652C226974616C6963223A66616C73652C22756E6465726C696E6564223A66616C73652C22737472696B657468726F756768223A66616C73652C226F626675736361746564223A66616C73652C22636F6C6F72223A2261717561222C2274657874223A224E616D653A227D2C7B226974616C6963223A66616C73652C22636F6C6F72223A226461726B5F61717561222C2274657874223A220A202020204C69616D227D5D2C2274657874223A22227D270A20202D20277B226578747261223A5B7B22626F6C64223A66616C73652C226974616C6963223A66616C73652C22756E6465726C696E6564223A66616C73652C22737472696B657468726F756768223A66616C73652C226F626675736361746564223A66616C73652C22636F6C6F72223A226461726B5F677265656E222C2274657874223A224162696C6974793A227D2C7B226974616C6963223A66616C73652C22636F6C6F72223A22677265656E222C2274657874223A220A202020204E6F6E65227D5D2C2274657874223A22227D270A20202D20277B226578747261223A5B7B22626F6C64223A66616C73652C226974616C6963223A66616C73652C22756E6465726C696E6564223A66616C73652C22737472696B657468726F756768223A66616C73652C226F626675736361746564223A66616C73652C22636F6C6F72223A22626C7565222C2274657874223A225261726974793A0A20202020227D2C7B226974616C6963223A66616C73652C22636F6C6F72223A2267726179222C2274657874223A22436F6D6D6F6E227D5D2C2274657874223A22227D270A20202D20277B226578747261223A5B7B22626F6C64223A66616C73652C226974616C6963223A66616C73652C22756E6465726C696E6564223A66616C73652C22737472696B657468726F756768223A66616C73652C226F626675736361746564223A66616C73652C22636F6C6F72223A226461726B5F707572706C65222C2274657874223A22547970653A0A20202020227D2C7B226974616C6963223A66616C73652C22636F6C6F72223A2267726179222C2274657874223A224E6F726D616C227D5D2C2274657874223A22227D270A20202D20277B226578747261223A5B7B22626F6C64223A66616C73652C226974616C6963223A66616C73652C22756E6465726C696E6564223A66616C73652C22737472696B657468726F756768223A66616C73652C226F626675736361746564223A66616C73652C22636F6C6F72223A22676F6C64222C2274657874223A224C6576656C3A227D2C7B226974616C6963223A66616C73652C22636F6C6F72223A2279656C6C6F77222C2274657874223A220A202020203120227D2C7B226974616C6963223A66616C73652C22636F6C6F72223A2279656C6C6F77222C2274657874223A22E29FAA227D2C7B226974616C6963223A66616C73652C22636F6C6F72223A227768697465222C2274657874223A22E280A2E280A2E280A2E280A2E280A2227D2C7B226974616C6963223A66616C73652C22636F6C6F72223A2279656C6C6F77222C2274657874223A22E29FAB227D5D2C2274657874223A22227D270A20202D20277B226578747261223A5B7B22626F6C64223A66616C73652C226974616C6963223A66616C73652C22756E6465726C696E6564223A66616C73652C22737472696B657468726F756768223A66616C73652C226F626675736361746564223A66616C73652C22636F6C6F72223A226461726B5F67726179222C2274657874223A22E29699E29697E29697E29697E29697E29697E29697E29697E29697E29697E2969F227D5D2C2274657874223A22227D270A20202D20277B226578747261223A5B7B22626F6C64223A66616C73652C226974616C6963223A66616C73652C22756E6465726C696E6564223A66616C73652C22737472696B657468726F756768223A66616C73652C226F626675736361746564223A66616C73652C22636F6C6F72223A2267726179222C2274657874223A2223313830303233353634333035363830227D5D2C2274657874223A22227D270A2020637573746F6D2D6D6F64656C2D646174613A20320A2020696E7465726E616C3A204834734941414141414141412F355751515537444D4242465033496F706F4467454777727555306279724953534653713069374B687032626A464D4C78343543524F6D464F425048595A4B776743577A47476E2B505033356D6945674D6478517339685A5A35736A6F6A52346B6A686A4B64556C4956705A585170496E6A66685144574171462B2F4D50676233783472676E6749525538376569664839496E454B592F4C484E666A75564B54654A5A4D597A564C356B72676768655050747472333777786967457557586E5354626266327049575839596D6E3861497A75476A6168485A6D6138506E715063717038612F576E33497A553264346C573033697979775775326E43683061347A37694F647337594B3253766C4547746A2B6838385630577463384967445857706E63524E65367132686658612F654D6B76674673334361705667454141413D3D0A096974656D466C61677303000000020A6973416E797468696E670F00026964030000018A086974656D466F726D0F0006616D6F756E7403FFFFFFFF046974656D000A676C6F62616C4D6574610005626C6F636B00

Other

No response

Agreement

  • [X] I have read the guidelines above and confirm I am following them with this report.

Viper911 avatar Dec 05 '21 22:12 Viper911

Also to be clear, the item can be created in 2.6 just fine and works, its just the items stored in the 2.5.3 CSV (or MySQL) format are not readable or converted and you loose all those items and all the errors on load.

Viper911 avatar Dec 05 '21 22:12 Viper911

Is this still relevant? We're on 2.8 now, is there any reason to put effort into this?

sovdeeth avatar Feb 02 '24 09:02 sovdeeth