-
-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skript error #6938
Comments
Are you getting any other errors when Skript starts up? |
I have the same problem |
Do you have any errors on startup? Can you provide your startup log? |
Of course! I don't have a Skript error. However, what's strange is the fact that Skript loads all scripts upon startup. But that's not quite true: the scripts do not work. It's as if they are not in the scripts/ folder. Here is a log file from the startup process:
This is the relevant part of the log file. There are no errors relating to Skript in the entire log. |
Can confirm the "on player move" cause the error of the original post on my server too, I am on 1.20.1 |
Are you guys using Paper or Spigot? I think I see what's going on here |
Sorry, should've added that info earlier: I use Spigot, if that can help |
Paper |
I have found something out: |
Ok! |
But my error looks a little different.
|
There is an issue with the move event, though you do seem to be having a different issue with an add on as you mentioned |
To document here: EvtMove incorrectly returns |
Skript/Server Version
Bug Description
It is a bug about the on player move event.
Expected Behavior
It was meant to be able to set homes and tp and detect player movement
Steps to Reproduce
Create this script.
command /sethome:
trigger:
set {home::%player's uuid%} to location of player
command /home:
trigger:
message "You will be teleported in 5 seconds..."
wait 20 ticks
message "You will be teleported in 4 seconds..."
wait 20 ticks
message "You will be teleported in 3 seconds..."
wait 20 ticks
message "You will be teleported in 2 seconds..."
wait 20 ticks
message "You will be teleported in 1 second..."
on player move:
message player
then reload the skript and look in console.
Errors or Screenshots
[10:27:28] [Server thread/INFO]: soccer1992 issued server command: /sk reload hello.sk
[10:27:28] [Server thread/ERROR]: #!#!
[10:27:28] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[10:27:28] [Server thread/ERROR]: #!#! Could not load hello.sk
[10:27:28] [Server thread/ERROR]: #!#!
[10:27:28] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
[10:27:28] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[10:27:28] [Server thread/ERROR]: #!#! You should report it at https://github.com/SkriptLang/Skript/issues. Please copy paste this report there (or use paste service).
[10:27:28] [Server thread/ERROR]: #!#! This ensures that your issue is noticed and will be fixed as soon as possible.
[10:27:28] [Server thread/ERROR]: #!#!
[10:27:28] [Server thread/ERROR]: #!#! Stack trace:
[10:27:28] [Server thread/ERROR]: #!#! java.lang.NullPointerException: Cannot read the array length because "" is null
[10:27:28] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.SkriptEvent.init(SkriptEvent.java:90)
[10:27:28] [Server thread/ERROR]: #!#! at org.skriptlang.skript.lang.structure.Structure.init(Structure.java:131)
[10:27:28] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:259)
[10:27:28] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parseStatic(SkriptParser.java:207)
[10:27:28] [Server thread/ERROR]: #!#! at org.skriptlang.skript.lang.structure.Structure.parse(Structure.java:217)
[10:27:28] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.SkriptEvent.parse(SkriptEvent.java:284)
[10:27:28] [Server thread/ERROR]: #!#! at ch.njol.skript.structures.StructEvent.init(StructEvent.java:69)
[10:27:28] [Server thread/ERROR]: #!#! at org.skriptlang.skript.lang.structure.Structure.init(Structure.java:131)
[10:27:28] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:259)
[10:27:28] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parseStatic(SkriptParser.java:207)
[10:27:28] [Server thread/ERROR]: #!#! at org.skriptlang.skript.lang.structure.Structure.parse(Structure.java:217)
[10:27:28] [Server thread/ERROR]: #!#! at org.skriptlang.skript.lang.structure.Structure.parse(Structure.java:200)
[10:27:28] [Server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:675)
[10:27:28] [Server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.lambda$loadScripts$3(ScriptLoader.java:503)
[10:27:28] [Server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.lambda$makeFuture$2(ScriptLoader.java:424)
[10:27:28] [Server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.makeFuture(ScriptLoader.java:440)
[10:27:28] [Server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:502)
[10:27:28] [Server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:459)
[10:27:28] [Server thread/ERROR]: #!#! at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:190)
[10:27:28] [Server thread/ERROR]: #!#! at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[10:27:28] [Server thread/ERROR]: #!#! at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149)
[10:27:28] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchCommand(CraftServer.java:887)
[10:27:28] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_20_R3.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:50)
[10:27:28] [Server thread/ERROR]: #!#! at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.commands.execution.tasks.ExecuteCommand.a(SourceFile:29)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(SourceFile:13)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.commands.execution.UnboundEntryAction.a(SourceFile:8)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.commands.execution.CommandQueueEntry.a(SourceFile:8)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.commands.execution.ExecutionContext.a(SourceFile:107)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.commands.CommandDispatcher.a(CommandDispatcher.java:413)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.commands.CommandDispatcher.performCommand(CommandDispatcher.java:335)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.commands.CommandDispatcher.a(CommandDispatcher.java:322)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1856)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.server.network.PlayerConnection.lambda$15(PlayerConnection.java:1818)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.util.thread.IAsyncTaskHandler.b(SourceFile:67)
[10:27:28] [Server thread/ERROR]: #!#! at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.server.TickTask.run(SourceFile:18)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.util.thread.IAsyncTaskHandler.d(SourceFile:156)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(SourceFile:23)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1191)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:1)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.util.thread.IAsyncTaskHandler.x(SourceFile:130)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.bl(MinecraftServer.java:1170)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1163)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.util.thread.IAsyncTaskHandler.c(SourceFile:139)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.w_(MinecraftServer.java:1147)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1060)
[10:27:28] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304)
[10:27:28] [Server thread/ERROR]: #!#! at java.base/java.lang.Thread.run(Thread.java:833)
[10:27:28] [Server thread/ERROR]: #!#!
[10:27:28] [Server thread/ERROR]: #!#! Version Information:
[10:27:28] [Server thread/ERROR]: #!#! Skript: 2.9.0 (latest)
[10:27:28] [Server thread/ERROR]: #!#! Flavor: skriptlang-github
[10:27:28] [Server thread/ERROR]: #!#! Date: 16:01:35.354421100
[10:27:28] [Server thread/ERROR]: #!#! Bukkit: 1.20.4-R0.1-SNAPSHOT
[10:27:28] [Server thread/ERROR]: #!#! Minecraft: 1.20.4
[10:27:28] [Server thread/ERROR]: #!#! Java: 17.0.4 (Java HotSpot(TM) 64-Bit Server VM 17.0.4+11-LTS-179)
[10:27:28] [Server thread/ERROR]: #!#! OS: Windows 11 amd64 10.0
[10:27:28] [Server thread/ERROR]: #!#!
[10:27:28] [Server thread/ERROR]: #!#! Server platform: Spigot
[10:27:28] [Server thread/ERROR]: #!#!
[10:27:28] [Server thread/ERROR]: #!#! Current node: on player move: (hello.sk, line 15)
[10:27:28] [Server thread/ERROR]: #!#! Current item: null
[10:27:28] [Server thread/ERROR]: #!#!
[10:27:28] [Server thread/ERROR]: #!#! Thread: Server thread
[10:27:28] [Server thread/ERROR]: #!#!
[10:27:28] [Server thread/ERROR]: #!#! Language: english
[10:27:28] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
[10:27:28] [Server thread/ERROR]: #!#!
[10:27:28] [Server thread/ERROR]: #!#! End of Error.
[10:27:28] [Server thread/ERROR]: #!#!
Other
No response
Agreement
The text was updated successfully, but these errors were encountered: