TuSKe GUI bugs

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
Jul 28, 2020
10
0
1
31
So me and my friends are working on a server, originally my tuske code worked well, but then after a restart it doesn't work anymore and here is the code:

Code:
options:
    P: &8(&e&lRECEIPT&8)

on first join:
    set {sword.uuid of player} to 1
    set {pickaxe.%uuid of player%} to 1
    give 1 wooden pickaxe named "&7Pickaxe &8[&f1&8]" to player
    give 1 wooden sword named "&7Sword &8[&f1&8]" to player

command /resetstats:
    trigger:
        clear player's inventory
        set {sword.%uuid of player%} to 1
        set {pickaxe.%uuid of player%} to 1
        set {price.%uuid of player%} to 5
        give 1 wooden pickaxe named "&7Pickaxe &8[&f1&8]" to player
        give 1 wooden sword named "&7Sword &8[&f1&8]" to player

command /shop:
    trigger:
        open virtual chest inventory with size 3 named "{@P} &8Shop" to player
        format gui slot 0 of player with black stained glass pane named " "
        format gui slot 1 of player with black stained glass pane named " "
        format gui slot 2 of player with black stained glass pane named " "
        format gui slot 3 of player with black stained glass pane named " "
        format gui slot 4 of player with black stained glass pane named " "
        format gui slot 5 of player with black stained glass pane named " "
        format gui slot 6 of player with black stained glass pane named " "
        format gui slot 7 of player with black stained glass pane named " "
        format gui slot 8 of player with black stained glass pane named " "
        format gui slot 9 of player with black stained glass pane named " "
        format gui slot 10 of player with iron pickaxe with no nbt named "&e&lTOOLS" to run:
            open virtual chest inventory with size 3 named "{@P} &8Shop - Tools" to player
            format gui slot 0 of player with black stained glass pane named " "
            format gui slot 1 of player with black stained glass pane named " "
            format gui slot 2 of player with black stained glass pane named " "
            format gui slot 3 of player with black stained glass pane named " "
            format gui slot 4 of player with black stained glass pane named " "
            format gui slot 5 of player with black stained glass pane named " "
            format gui slot 6 of player with black stained glass pane named " "
            format gui slot 7 of player with black stained glass pane named " "
            format gui slot 8 of player with black stained glass pane named " "
            format gui slot 9 of player with black stained glass pane named " "
            format gui slot 10 of player with black stained glass pane named " "
            format gui slot 11 of player with diamond pickaxe with no nbt named "&f&lPICKAXE" to run:
                open virtual chest inventory with size 3 named "{@P} &8Shop - Pickaxe" to player
                format gui slot 0 of player with black stained glass pane named " "
                format gui slot 1 of player with black stained glass pane named " "
                format gui slot 2 of player with black stained glass pane named " "
                format gui slot 3 of player with black stained glass pane named " "
                format gui slot 4 of player with black stained glass pane named " "
                format gui slot 5 of player with black stained glass pane named " "
                format gui slot 6 of player with black stained glass pane named " "
                format gui slot 7 of player with black stained glass pane named " "
                format gui slot 8 of player with black stained glass pane named " "
                format gui slot 9 of player with black stained glass pane named " "
                format gui slot 10 of player with black stained glass pane named " "
            format gui slot 14 of player with black stained glass pane named " "
            format gui slot 15 of player with diamond sword with no nbt named "&f&lSWORD" to run:
                open virtual chest inventory with size 3 named "{@P} &8Shop - Sword" to player
                format gui slot 0 of player with black stained glass pane named " "
                format gui slot 1 of player with black stained glass pane named " "
                format gui slot 2 of player with black stained glass pane named " "
                format gui slot 3 of player with black stained glass pane named " "
                format gui slot 4 of player with black stained glass pane named " "
                format gui slot 5 of player with black stained glass pane named " "
                format gui slot 6 of player with black stained glass pane named " "
                format gui slot 7 of player with black stained glass pane named " "
                format gui slot 8 of player with black stained glass pane named " "
                format gui slot 9 of player with black stained glass pane named " "
                format gui slot 10 of player with black stained glass pane named " "
            format gui slot 16 of player with black stained glass pane named " "
            format gui slot 17 of player with black stained glass pane named " "
            format gui slot 18 of player with black stained glass pane named " "
            format gui slot 19 of player with black stained glass pane named " "
            format gui slot 20 of player with black stained glass pane named " "
            format gui slot 21 of player with black stained glass pane named " "
            format gui slot 22 of player with black stained glass pane named " "
            format gui slot 23 of player with black stained glass pane named " "
            format gui slot 24 of player with black stained glass pane named " "
            format gui slot 25 of player with black stained glass pane named " "
            format gui slot 26 of player with black stained glass pane named " "
        format gui slot 14 of player with black stained glass pane named " "
        format gui slot 15 of player with black stained glass pane named " "
        format gui slot 16 of player with black stained glass pane named " "
        format gui slot 17 of player with black stained glass pane named " "
        format gui slot 18 of player with black stained glass pane named " "
        format gui slot 19 of player with black stained glass pane named " "
        format gui slot 20 of player with black stained glass pane named " "
        format gui slot 21 of player with black stained glass pane named " "
        format gui slot 22 of player with black stained glass pane named " "
        format gui slot 23 of player with black stained glass pane named " "
        format gui slot 24 of player with black stained glass pane named " "
        format gui slot 25 of player with black stained glass pane named " "
        format gui slot 26 of player with black stained glass pane named " "

Here is the logs:

Code:
05.02 18:49:46 [Server] ERROR #!#!
05.02 18:49:46 [Server] ERROR #!#! [Skript] Severe Error:
05.02 18:49:46 [Server] ERROR #!#!
05.02 18:49:46 [Server] ERROR #!#! Something went horribly wrong with Skript.
05.02 18:49:46 [Server] ERROR #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
05.02 18:49:46 [Server] ERROR #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
05.02 18:49:46 [Server] ERROR #!#! Here is full list of them:
05.02 18:49:46 [Server] ERROR #!#! skRayFall v1.9.23 (https://sk.rayfall.net/) TuSKe v1.8.2 (github.com/Tuke-Nuke/TuSKe) SkQuery v4.1.4 Skellett v1.9.11 (https://forums.skunity.com/resources/skellett.24/)
05.02 18:49:46 [Server] ERROR #!#! We could not identify which of those are specially related, so this might also be Skript issue.
05.02 18:49:46 [Server] ERROR #!#! You should try disabling those plugins one by one, trying to find which one causes it.
05.02 18:49:46 [Server] ERROR #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
05.02 18:49:46 [Server] ERROR #!#! In that case, you will be given instruction on how should you report it.
05.02 18:49:46 [Server] ERROR #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
05.02 18:49:46 [Server] ERROR #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
05.02 18:49:46 [Server] ERROR #!#!
05.02 18:49:46 [Server] ERROR #!#! Stack trace:
05.02 18:49:46 [Server] ERROR #!#! java.lang.ClassCastException: java.util.HashMap cannot be cast to java.util.WeakHashMap
05.02 18:49:46 [Server] ERROR #!#!     at com.github.tukenuke.tuske.util.VariableUtil.<init>(VariableUtil.java:24)
05.02 18:49:46 [Server] ERROR #!#!     at com.github.tukenuke.tuske.util.VariableUtil.getInstance(VariableUtil.java:17)
05.02 18:49:46 [Server] ERROR #!#!     at com.github.tukenuke.tuske.sections.gui.EffFormatGUI.execute(EffFormatGUI.java:141)
05.02 18:49:46 [Server] ERROR #!#!     at com.github.tukenuke.tuske.util.EffectSection.check(EffectSection.java:54)
05.02 18:49:46 [Server] ERROR #!#!     at ch.njol.skript.lang.Condition.run(Condition.java:55)
05.02 18:49:46 [Server] ERROR #!#!     at ch.njol.skript.lang.Conditional.walk(Conditional.java:50)
05.02 18:49:46 [Server] ERROR #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:88)
05.02 18:49:46 [Server] ERROR #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:56)
05.02 18:49:46 [Server] ERROR #!#!     at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:291)
05.02 18:49:46 [Server] ERROR #!#!     at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:250)
05.02 18:49:46 [Server] ERROR #!#!     at ch.njol.skript.command.Commands.handleCommand(Commands.java:248)
05.02 18:49:46 [Server] ERROR #!#!     at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:165)
05.02 18:49:46 [Server] ERROR #!#!     at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:37)
05.02 18:49:46 [Server] ERROR #!#!     at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
05.02 18:49:46 [Server] ERROR #!#!     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
05.02 18:49:46 [Server] ERROR #!#!     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607)
05.02 18:49:46 [Server] ERROR #!#!     at net.minecraft.server.v1_16_R3.PlayerConnection.handleCommand(PlayerConnection.java:2013)
05.02 18:49:46 [Server] ERROR #!#!     at net.minecraft.server.v1_16_R3.PlayerConnection.c(PlayerConnection.java:1832)
05.02 18:49:46 [Server] ERROR #!#!     at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1785)
05.02 18:49:46 [Server] ERROR #!#!     at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:47)
05.02 18:49:46 [Server] ERROR #!#!     at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:5)
05.02 18:49:46 [Server] ERROR #!#!     at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:23)
05.02 18:49:46 [Server] ERROR #!#!     at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18)
05.02 18:49:46 [Server] ERROR #!#!     at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136)
05.02 18:49:46 [Server] ERROR #!#!     at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
05.02 18:49:46 [Server] ERROR #!#!     at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109)
05.02 18:49:46 [Server] ERROR #!#!     at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1132)
05.02 18:49:46 [Server] ERROR #!#!     at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1125)
05.02 18:49:46 [Server] ERROR #!#!     at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119)
05.02 18:49:46 [Server] ERROR #!#!     at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:1086)
05.02 18:49:46 [Server] ERROR #!#!     at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1000)
05.02 18:49:46 [Server] ERROR #!#!     at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:173)
05.02 18:49:46 [Server] ERROR #!#!     at java.lang.Thread.run(Thread.java:748)
05.02 18:49:46 [Server] ERROR #!#!
05.02 18:49:46 [Server] ERROR #!#! Version Information:
05.02 18:49:46 [Server] ERROR #!#!   Skript: 2.5.3 (latest)
05.02 18:49:46 [Server] ERROR #!#!     Flavor: skriptlang-github
05.02 18:49:46 [Server] ERROR #!#!     Date: 2020-12-11
05.02 18:49:46 [Server] ERROR #!#!   Bukkit: 1.16.4-R0.1-SNAPSHOT
05.02 18:49:46 [Server] ERROR #!#!   Minecraft: 1.16.4
05.02 18:49:46 [Server] ERROR #!#!   Java: 1.8.0_265 (OpenJDK 64-Bit Server VM 25.265-b01)
05.02 18:49:46 [Server] ERROR #!#!   OS: Linux amd64 4.4.232-1.el7.elrepo.x86_64
05.02 18:49:46 [Server] ERROR #!#!
05.02 18:49:46 [Server] ERROR #!#! Server platform: Paper
05.02 18:49:46 [Server] ERROR #!#!
05.02 18:49:46 [Server] ERROR #!#! Current node: null
05.02 18:49:46 [Server] ERROR #!#! Current item: format a gui slot [[long:10]] of the player with ((the No NBT of [[itemstack:iron pickaxe]] >> ch.njol.skript.classes.data.DefaultConverters$15@a11feab: itemstack -> itemtype) named "TOOLS" >> ch.njol.skript.classes.data.DefaultConverters$14@6fee9f4e: itemtype -> itemstack)
05.02 18:49:46 [Server] ERROR #!#! Current trigger: command /shop (simple event) (shop.sk, line -1)
05.02 18:49:46 [Server] ERROR #!#!
05.02 18:49:46 [Server] ERROR #!#! Thread: Server thread
05.02 18:49:46 [Server] ERROR #!#!
05.02 18:49:46 [Server] ERROR #!#! Language: english
05.02 18:49:46 [Server] ERROR #!#! Link parse mode: DISABLED
05.02 18:49:46 [Server] ERROR #!#!
05.02 18:49:46 [Server] ERROR #!#! End of Error.
05.02 18:49:46 [Server] ERROR #!#!
05.02 18:49:59 [Server] WARN io.netty.handler.timeout.ReadTimeoutException
05.02 18:50:59 [Server] WARN io.netty.handler.timeout.ReadTimeoutException
05.02 18:51:44 [Server] WARN io.netty.handler.timeout.ReadTimeoutException
05.02 18:52:14 [Server] WARN io.netty.handler.timeout.ReadTimeoutException
05.02 18:52:29 [Server] WARN io.netty.handler.timeout.ReadTimeoutException
 
Status
Not open for further replies.