skRayFall

skRayFall

297k Downloads

skRayFall Error

mellow4203 opened this issue · 0 comments

commented

Describe the bug

There seems to be a problem with skRayFall.

Steps to Reproduce

Expected Behavior

Your Script

`every 1 seconds:
delete {ranking::*}
loop all players:
set {ranking::%{%loop-player%.점수}%} to loop-player

set {_n} to 0
loop {ranking::*}:
	add 1 to {_n}
	if {_n} is size of {ranking::*}:
		set {_Top1} to loop-value
		set {_Top1Value} to loop-index
		
	set {_size} to size of {ranking::*} - 1
	if {_n} is {_size}:
		set {_Top2} to loop-value
		set {_Top2Value} to loop-index
	
	set {_size} to size of {ranking::*} - 2
	if {_n} is {_size}:
		set {_Top3} to loop-value
		set {_Top3Value} to loop-index
		
		
		
loop all players:
	wipe loop-player's sidebar
	set name of sidebar of loop-player to "&e좀비 타임어택 랭킹"
	set {_Top1Value} to {_Top1Vlue} parsed as number
	set {_Top2Value} to {_Top2Vlue} parsed as number
	set {_Top3Value} to {_Top3Vlue} parsed as number
	set score "&Top: 1 %{_Top1}%" in sidebar of loop-player to {_Top1Value}
	set score "&Top: 2 %{_Top2}%" in sidebar of loop-player to {_Top2Value}
	set score "&Top: 3 %{_Top3}%" in sidebar of loop-player to {_Top3Value}`

Screenshots / Errors

20:09:04 ERROR: #!#! [Skript] Severe Error:

20:09:04 ERROR: #!#! Something went horribly wrong with Skript.

20:09:04 ERROR: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.

20:09:04 ERROR: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).

20:09:04 ERROR: #!#! Here is full list of them:

20:09:04 ERROR: #!#! skript-ping v0.2 skRayFall v1.9.28 (https://sk.rayfall.net/) skDragon v0.17 skUtilities v0.9.2 (https://tim740.github.io/) SkQuery v4.1.7

20:09:04 ERROR: #!#! We could not identify which of those are specially related, so this might also be Skript issue.

20:09:04 ERROR: #!#! You should try disabling those plugins one by one, trying to find which one causes it.

20:09:04 ERROR: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.

20:09:04 ERROR: #!#! In that case, you will be given instruction on how should you report it.

20:09:04 ERROR: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.

20:09:04 ERROR: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.

20:09:04 ERROR: #!#! Stack trace:

20:09:04 ERROR: #!#! java.lang.NullPointerException: Cannot invoke "java.lang.Number.intValue()" because the return value of "ch.njol.skript.lang.Expression.getSingle(org.bukkit.event.Event)" is null

20:09:04 ERROR: #!#! at skRayFall+v1.9.28.jar//net.rayfall.eyesniper2.skrayfall.scoreboard.EffSetScore.execute(EffSetScore.java:66)

20:09:04 ERROR: #!#! at Skript.jar//ch.njol.skript.lang.Effect.run(Effect.java:50)

20:09:04 ERROR: #!#! at Skript.jar//ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)

20:09:04 ERROR: #!#! at Skript.jar//ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)

20:09:04 ERROR: #!#! at Skript.jar//ch.njol.skript.lang.Trigger.execute(Trigger.java:56)

20:09:04 ERROR: #!#! at Skript.jar//ch.njol.skript.events.EvtPeriodical.execute(EvtPeriodical.java:94)

20:09:04 ERROR: #!#! at Skript.jar//ch.njol.skript.events.EvtPeriodical$1.run(EvtPeriodical.java:108)

20:09:04 ERROR: #!#! at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101)

20:09:04 ERROR: #!#! at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483)

20:09:04 ERROR: #!#! at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1490)

20:09:04 ERROR: #!#! at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:446)

20:09:04 ERROR: #!#! at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1414)

20:09:04 ERROR: #!#! at net.minecraft.server.MinecraftServer.v(MinecraftServer.java:1187)

20:09:04 ERROR: #!#! at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:302)

20:09:04 ERROR: #!#! at java.base/java.lang.Thread.run(Thread.java:833)

20:09:04 ERROR: #!#! Version Information:

20:09:04 ERROR: #!#! Skript: 2.6.3 (latest)

20:09:04 ERROR: #!#! Flavor: skriptlang-github

20:09:04 ERROR: #!#! Date: 00:55:22.847925631

20:09:04 ERROR: #!#! Bukkit: 1.19-R0.1-SNAPSHOT

20:09:04 ERROR: #!#! Minecraft: 1.19

20:09:04 ERROR: #!#! Java: 17.0.2 (Java HotSpot(TM) 64-Bit Server VM 17.0.2+8-LTS-86)

20:09:04 ERROR: #!#! OS: Windows 11 amd64 10.0

20:09:04 ERROR: #!#! Server platform: Paper

20:09:04 ERROR: #!#! Current node: null

20:09:04 ERROR: #!#! Current item: null

20:09:04 ERROR: #!#! Current trigger: every 1 seconds (every 1 second) (랭킹목록.sk, line 1)

20:09:04 ERROR: #!#! Thread: Server thread

20:09:04 ERROR: #!#! Language: english

20:09:04 ERROR: #!#! Link parse mode: DISABLED

20:09:04 ERROR: #!#! End of Error.

Server Information

  • Server Version and Type: <!--- e.g. Spigot 1.14.3 ---> paper 1.19
  • Skript Version: <!--- e.g. 2.2-dev36 ---> 2.6.3
  • skRayFall Version: <!--- e.g. 1.9.17 ---> 1.9.28
  • Additional Plugins: <!--- Please list addition plugins and their version that might be the cause of the error --->

Additional Information