Error in skript

  • 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.

Ardno

Member
Mar 11, 2019
38
0
0
24
Ehmm,
I translate a error of the skript to czech and..... I use some possibility, but without success.
This is a error of the skript:
Code:
>[2K [20:04:48 INFO]: PakoCz777 issued server command: /sk reload Velikonoce.sk
>[2K [20:04:49 ERROR]: #!#!
>[2K [20:04:49 ERROR]: #!#! [Skript] Severe Error:
>[2K [20:04:49 ERROR]: #!#! Could not load Velikonoce.sk
>[2K [20:04:49 ERROR]: #!#!
>[2K [20:04:49 ERROR]: #!#! Something went horribly wrong with Skript.
>[2K [20:04:49 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
>[2K [20:04:49 ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
>[2K [20:04:49 ERROR]: #!#! Here is full list of them:
>[2K [20:04:49 ERROR]: #!#! skRayFall (https://sk.rayfall.net/) TuSKe (github.com/Tuke-Nuke/TuSKe) SkStuff skUtilities (https://tim740.github.io/) SkQuery Skellett (https://forums.skunity.com/resources/skellett-the-addon-with-a-beast-name.24/) Umbaska
>[2K [20:04:49 ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
>[2K [20:04:49 ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
>[2K [20:04:49 ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
>[2K [20:04:49 ERROR]: #!#! In that case, you will be given instruction on how should you report it.
>[2K [20:04:49 ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
>[2K [20:04:49 ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
>[2K [20:04:49 ERROR]: #!#!
>[2K [20:04:49 ERROR]: #!#! Stack trace:
>[2K [20:04:49 ERROR]: #!#! java.lang.ClassCastException: ch.njol.skript.lang.Conditional$1 cannot be cast to ch.njol.skript.lang.Conditional
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.lang.Conditional.loadElseClause(Conditional.java:69)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.lang.Conditional.loadElseClause(Conditional.java:69)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1066)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:54)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.lang.Conditional.<init>(Conditional.java:44)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.lang.Conditional.loadElseIf(Conditional.java:94)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.lang.Conditional.loadElseIf(Conditional.java:91)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1081)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.command.Commands.loadCommand(Commands.java:493)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:651)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:409)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:428)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:472)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:182)
>[2K [20:04:49 ERROR]: #!#! at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
>[2K [20:04:49 ERROR]: #!#! at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:139)
>[2K [20:04:49 ERROR]: #!#! at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:702)
>[2K [20:04:49 ERROR]: #!#! at net.minecraft.server.v1_13_R2.PlayerConnection.handleCommand(PlayerConnection.java:1648)
>[2K [20:04:49 ERROR]: #!#! at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1483)
>[2K [20:04:49 ERROR]: #!#! at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:45)
>[2K [20:04:49 ERROR]: #!#! at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:1)
>[2K [20:04:49 ERROR]: #!#! at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10)
>[2K [20:04:49 ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>[2K [20:04:49 ERROR]: #!#! at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>[2K [20:04:49 ERROR]: #!#! at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199)
>[2K [20:04:49 ERROR]: #!#! at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:900)
>[2K [20:04:49 ERROR]: #!#! at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417)
>[2K [20:04:49 ERROR]: #!#! at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835)
>[2K [20:04:49 ERROR]: #!#! at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733)
>[2K [20:04:49 ERROR]: #!#! at java.lang.Thread.run(Thread.java:748)
>[2K [20:04:49 ERROR]: #!#!
>[2K [20:04:49 ERROR]: #!#! Version Information:
>[2K [20:04:49 ERROR]: #!#! Skript: 2.3.6 (latest)
>[2K [20:04:49 ERROR]: #!#! Flavor: skriptlang-github
>[2K [20:04:49 ERROR]: #!#! Date: 2019-03-03
>[2K [20:04:49 ERROR]: #!#! Bukkit: 1.13.2-R0.1-SNAPSHOT
>[2K [20:04:49 ERROR]: #!#! Minecraft: 1.13.2
>[2K [20:04:49 ERROR]: #!#! Java: 1.8.0_201 (Java HotSpot(TM) 64-Bit Server VM 25.201-b09)
>[2K [20:04:49 ERROR]: #!#! OS: Linux amd64 4.19.0-0.bpo.1-amd64
>[2K [20:04:49 ERROR]: #!#!
>[2K [20:04:49 ERROR]: #!#! Server platform: Spigot
>[2K [20:04:49 ERROR]: #!#!
>[2K [20:04:49 ERROR]: #!#! Current node: else: (Velikonoce.sk, line 439)
>[2K [20:04:49 ERROR]: #!#! Current item: null
>[2K [20:04:49 ERROR]: #!#!
>[2K [20:04:49 ERROR]: #!#! Thread: Server thread
>[2K [20:04:49 ERROR]: #!#!
>[2K [20:04:49 ERROR]: #!#! Language: english
>[2K [20:04:49 ERROR]: #!#! Link parse mode: DISABLED
>[2K [20:04:49 ERROR]: #!#!
>[2K [20:04:49 ERROR]: #!#! End of Error.
>[2K [20:04:49 ERROR]: #!#!
[doublepost=1553975344,1553972835][/doublepost]+ i using this (load file)
and on line 439 in sctript is if arg-2 is "spawn":
[doublepost=1553977010][/doublepost]Ohhh,
I find the problem (problem is on my side), but why skript plugin don't report mistake in minecraft?
And why in console?
It's bug or.....
The file, where is the script has 150KB (only text).
Maybe this is a problem, no? Because the script plugin is set to not control larger amounts of data, is it? Or it's a error, which skript plugin don't know?
I don't know, but i write this, because in minecraft is a normal message:
Code:
Sucesfully reloaded confing and all scripts.
, but it didn't work.

Why is this happening?
Thanks for all replays.
 

Attachments

  • 2019-03-30_20.46.30.png
    2019-03-30_20.46.30.png
    279.5 KB · Views: 335
Last edited:
That log does not look like Skript has made it. Can i see the file? But i am not either the best to logs:emoji_stuck_out_tongue:
[doublepost=1554047317,1554046821][/doublepost]Like they said in the log, try to disable all plugins one by one and see what one there couses the error:emoji_slight_smile:
 
That log does not look like Skript has made it.
This is a Skript error, that's how most of Skripts non-parsing errors look like.
Ehmm,
I translate a error of the skript to czech and..... I use some possibility, but without success.
This is a error of the skript:
Code:
>[2K [20:04:48 INFO]: PakoCz777 issued server command: /sk reload Velikonoce.sk
>[2K [20:04:49 ERROR]: #!#!
>[2K [20:04:49 ERROR]: #!#! [Skript] Severe Error:
>[2K [20:04:49 ERROR]: #!#! Could not load Velikonoce.sk
>[2K [20:04:49 ERROR]: #!#!
>[2K [20:04:49 ERROR]: #!#! Something went horribly wrong with Skript.
>[2K [20:04:49 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
>[2K [20:04:49 ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
>[2K [20:04:49 ERROR]: #!#! Here is full list of them:
>[2K [20:04:49 ERROR]: #!#! skRayFall (https://sk.rayfall.net/) TuSKe (github.com/Tuke-Nuke/TuSKe) SkStuff skUtilities (https://tim740.github.io/) SkQuery Skellett (https://forums.skunity.com/resources/skellett-the-addon-with-a-beast-name.24/) Umbaska
>[2K [20:04:49 ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
>[2K [20:04:49 ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
>[2K [20:04:49 ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
>[2K [20:04:49 ERROR]: #!#! In that case, you will be given instruction on how should you report it.
>[2K [20:04:49 ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
>[2K [20:04:49 ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
>[2K [20:04:49 ERROR]: #!#!
>[2K [20:04:49 ERROR]: #!#! Stack trace:
>[2K [20:04:49 ERROR]: #!#! java.lang.ClassCastException: ch.njol.skript.lang.Conditional$1 cannot be cast to ch.njol.skript.lang.Conditional
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.lang.Conditional.loadElseClause(Conditional.java:69)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.lang.Conditional.loadElseClause(Conditional.java:69)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1066)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:54)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.lang.Conditional.<init>(Conditional.java:44)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.lang.Conditional.loadElseIf(Conditional.java:94)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.lang.Conditional.loadElseIf(Conditional.java:91)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1081)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.command.Commands.loadCommand(Commands.java:493)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:651)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:409)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:428)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:472)
>[2K [20:04:49 ERROR]: #!#! at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:182)
>[2K [20:04:49 ERROR]: #!#! at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
>[2K [20:04:49 ERROR]: #!#! at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:139)
>[2K [20:04:49 ERROR]: #!#! at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:702)
>[2K [20:04:49 ERROR]: #!#! at net.minecraft.server.v1_13_R2.PlayerConnection.handleCommand(PlayerConnection.java:1648)
>[2K [20:04:49 ERROR]: #!#! at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1483)
>[2K [20:04:49 ERROR]: #!#! at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:45)
>[2K [20:04:49 ERROR]: #!#! at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:1)
>[2K [20:04:49 ERROR]: #!#! at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10)
>[2K [20:04:49 ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>[2K [20:04:49 ERROR]: #!#! at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>[2K [20:04:49 ERROR]: #!#! at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199)
>[2K [20:04:49 ERROR]: #!#! at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:900)
>[2K [20:04:49 ERROR]: #!#! at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417)
>[2K [20:04:49 ERROR]: #!#! at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835)
>[2K [20:04:49 ERROR]: #!#! at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733)
>[2K [20:04:49 ERROR]: #!#! at java.lang.Thread.run(Thread.java:748)
>[2K [20:04:49 ERROR]: #!#!
>[2K [20:04:49 ERROR]: #!#! Version Information:
>[2K [20:04:49 ERROR]: #!#! Skript: 2.3.6 (latest)
>[2K [20:04:49 ERROR]: #!#! Flavor: skriptlang-github
>[2K [20:04:49 ERROR]: #!#! Date: 2019-03-03
>[2K [20:04:49 ERROR]: #!#! Bukkit: 1.13.2-R0.1-SNAPSHOT
>[2K [20:04:49 ERROR]: #!#! Minecraft: 1.13.2
>[2K [20:04:49 ERROR]: #!#! Java: 1.8.0_201 (Java HotSpot(TM) 64-Bit Server VM 25.201-b09)
>[2K [20:04:49 ERROR]: #!#! OS: Linux amd64 4.19.0-0.bpo.1-amd64
>[2K [20:04:49 ERROR]: #!#!
>[2K [20:04:49 ERROR]: #!#! Server platform: Spigot
>[2K [20:04:49 ERROR]: #!#!
>[2K [20:04:49 ERROR]: #!#! Current node: else: (Velikonoce.sk, line 439)
>[2K [20:04:49 ERROR]: #!#! Current item: null
>[2K [20:04:49 ERROR]: #!#!
>[2K [20:04:49 ERROR]: #!#! Thread: Server thread
>[2K [20:04:49 ERROR]: #!#!
>[2K [20:04:49 ERROR]: #!#! Language: english
>[2K [20:04:49 ERROR]: #!#! Link parse mode: DISABLED
>[2K [20:04:49 ERROR]: #!#!
>[2K [20:04:49 ERROR]: #!#! End of Error.
>[2K [20:04:49 ERROR]: #!#!
[doublepost=1553975344,1553972835][/doublepost]+ i using this (load file)
and on line 439 in sctript is if arg-2 is "spawn":
[doublepost=1553977010][/doublepost]Ohhh,
I find the problem (problem is on my side), but why skript plugin don't report mistake in minecraft?
And why in console?
It's bug or.....
The file, where is the script has 150KB (only text).
Maybe this is a problem, no? Because the script plugin is set to not control larger amounts of data, is it? Or it's a error, which skript plugin don't know?
I don't know, but i write this, because in minecraft is a normal message:
Code:
Sucesfully reloaded confing and all scripts.
, but it didn't work.

Why is this happening?
Thanks for all replays.
These errors are different from Skript parsing errors, so it isn't a bug. These errors occur when Skript has an error which it couldn't see while parsing, but most of the time it's because of bad code. Can you send the event + code from the event from line 439?
 
Status
Not open for further replies.