Hi!
I need help.
I get this error every time when executing a function:
Code:
Error:
Also, when reloading the skript there is no errors.
Versions:
SkRayFall - 1.9.15 (lime)
Skript: 2.2-dev36
Skellett: 1.9.6b
Help me please...
I need help.
I get this error every time when executing a function:
Code:
Code:
function circleBot(p: player):
set {_name} to "&c%random player out of all players%"
set {_n} to npc named {_name} "PLAYER"
set fly of npc {_n} to true
set protect of npc {_n} to false
spawn npc {_n} at location of {_p} ~ vector 1, 100, 0
make citizen {_n} hold iron_sword
make console execute command "npc select %{_name}%"
make console execute command "npc gravity"
make console execute command "npc rename &c%{name}%"
set {_id} to id of npc {_n}
set {_e} to entity from npc {_n}
apply invisibility without particles to {_e} for 4 seconds
wait 4 seconds
add {_e} to {bots::*}
loop 4 times:
loop 360 times:
set {_ploc} to location of {_p}
set {_v} to cylindrical vector 2, loop-number-2, 1
teleport {_e} to {_ploc} ~ {_v}
mod(loop-number-2, 16) = 0
make citizen {_n} swing arm
wait 1 ticks
remove {_e} from {bots::*}
remove npc {_n}
delete npc {_n}
wait 5 seconds
delete {botcheck::%{_p}%}
Code:
[17:38:24] [Server thread/ERROR]: #!#!
[17:38:24] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[17:38:24] [Server thread/ERROR]: #!#!
[17:38:24] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
[17:38:24] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[17:38:24] [Server thread/ERROR]: #!#! Your Minecraft version or server software appears to be unsupported by Skript (bensku's version).
[17:38:24] [Server thread/ERROR]: #!#! Currently only supported servers are Spigot and its forks for Minecraft 1.9 or newer.
[17:38:24] [Server thread/ERROR]: #!#! Other versions might work, but since you're getting this error message something is NOT working,
[17:38:24] [Server thread/ERROR]: #!#! nor it will work, unless you switch to supported platform.
[17:38:24] [Server thread/ERROR]: #!#! Issue tracker: https://github.com/SkriptLang/Skript/issues (only if you know what you're doing!)
[17:38:24] [Server thread/ERROR]: #!#!
[17:38:24] [Server thread/ERROR]: #!#! Stack trace:
[17:38:24] [Server thread/ERROR]: #!#! java.lang.NullPointerException
[17:38:24] [Server thread/ERROR]: #!#! at net.rayfall.eyesniper2.skrayfall.citizens.effects.EffCitizenHold.execute(EffCitizenHold.java:53)
[17:38:24] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:52)
[17:38:24] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
[17:38:24] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
[17:38:24] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:55)
[17:38:24] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.function.ScriptFunction.execute(ScriptFunction.java:93)
[17:38:24] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.function.Function.execute(Function.java:119)
[17:38:24] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.function.FunctionReference.execute(FunctionReference.java:204)
[17:38:24] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.function.EffFunctionCall.execute(EffFunctionCall.java:53)
[17:38:24] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:52)
[17:38:24] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
[17:38:24] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
[17:38:24] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:55)
[17:38:24] [Server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:285)
[17:38:24] [Server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:242)
[17:38:24] [Server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.onCommand(ScriptCommand.java:193)
[17:38:24] [Server thread/ERROR]: #!#! at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[17:38:24] [Server thread/ERROR]: #!#! at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
[17:38:24] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641)
[17:38:24] [Server thread/ERROR]: #!#! at com.earth2me.essentials.commands.Commandsudo$1SudoCommandTask.run(Commandsudo.java:61)
[17:38:24] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
[17:38:24] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
[17:38:24] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723)
[17:38:24] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
[17:38:24] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
[17:38:24] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
[17:38:24] [Server thread/ERROR]: #!#! at java.lang.Thread.run(Thread.java:748)
[17:38:24] [Server thread/ERROR]: #!#!
[17:38:24] [Server thread/ERROR]: #!#! Version Information:
[17:38:24] [Server thread/ERROR]: #!#! Skript: 2.2-dev36 (OUTDATED)
[17:38:24] [Server thread/ERROR]: #!#! Bukkit: 1.8.8-R0.1-SNAPSHOT
[17:38:24] [Server thread/ERROR]: #!#! Minecraft: 1.8.8
[17:38:24] [Server thread/ERROR]: #!#! Java: 1.8.0_212 (OpenJDK 64-Bit Server VM 25.212-b03)
[17:38:24] [Server thread/ERROR]: #!#! OS: Linux amd64 4.15.0-54-generic
[17:38:24] [Server thread/ERROR]: #!#!
[17:38:24] [Server thread/ERROR]: #!#! Server platform: Spigot
[17:38:24] [Server thread/ERROR]: #!#!
[17:38:24] [Server thread/ERROR]: #!#! Current node: null
[17:38:24] [Server thread/ERROR]: #!#! Current item: null
[17:38:24] [Server thread/ERROR]: #!#! Current trigger: function circleBot (simple event) (core.sk, line -1)
[17:38:24] [Server thread/ERROR]: #!#!
[17:38:24] [Server thread/ERROR]: #!#! Thread: Server thread
[17:38:24] [Server thread/ERROR]: #!#!
[17:38:24] [Server thread/ERROR]: #!#! Language: english
[17:38:24] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
[17:38:24] [Server thread/ERROR]: #!#!
[17:38:24] [Server thread/ERROR]: #!#! End of Error.
[17:38:24] [Server thread/ERROR]: #!#!
Also, when reloading the skript there is no errors.
Versions:
SkRayFall - 1.9.15 (lime)
Skript: 2.2-dev36
Skellett: 1.9.6b
Help me please...