yellow3403 6304eda852b04373b0a3e0f363054872
이해도 | 입문자 |
---|---|
게임버전 (JE) | 1.19.2 |
게임버전 (BE) | 관련없음 |
스크립트 버전 | 2.6.4 |
스크립트 애드온 | gomsk, invsk, Quarsk, sharpSK, skchoke, skellett-legacy, skQuery,skrawfall, skutilities |
에러문자:
[23:16:38 ERROR]: #!#! [Skript] Severe Error:
[23:16:38 ERROR]: #!#!
[23:16:38 ERROR]: #!#! Something went horribly wrong with Skript.
[23:16:38 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[23:16:38 ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[23:16:38 ERROR]: #!#! Here is full list of them:
[23:16:38 ERROR]: #!#! skRayFall v1.9.27 (https://sk.rayfall.net/) Quarsk v1.3 InvSK v0 GomSK v0.1 skUtilities v0.9.2 (https://tim740.github.io/) Skellett v1.9.8 (https://forums.skunity.com/resources/skellett.24/) SkQuery v4.1.5 SharpSK v1.6.3 SkChoke v1.1
[23:16:38 ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
[23:16:38 ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[23:16:38 ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[23:16:38 ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[23:16:38 ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[23:16:38 ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
[23:16:38 ERROR]: #!#!
[23:16:38 ERROR]: #!#! Stack trace:
[23:16:38 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
[23:16:38 ERROR]: #!#! at net.rayfall.eyesniper2.skrayfall.scoreboard.EffSetScore.execute(EffSetScore.java:66)
[23:16:38 ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:50)
[23:16:38 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
[23:16:38 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
[23:16:38 ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:56)
[23:16:38 ERROR]: #!#! at ch.njol.skript.events.EvtPeriodical.execute(EvtPeriodical.java:94)
[23:16:38 ERROR]: #!#! at ch.njol.skript.events.EvtPeriodical$1.run(EvtPeriodical.java:108)
[23:16:38 ERROR]: #!#! at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:82)
[23:16:38 ERROR]: #!#! at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:415)
[23:16:38 ERROR]: #!#! at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1245)
[23:16:38 ERROR]: #!#! at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:394)
[23:16:38 ERROR]: #!#! at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1197)
[23:16:38 ERROR]: #!#! at net.minecraft.server.MinecraftServer.v(MinecraftServer.java:1013)
[23:16:38 ERROR]: #!#! at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:293)
[23:16:38 ERROR]: #!#! at java.base/java.lang.Thread.run(Thread.java:833)
[23:16:38 ERROR]: #!#!
[23:16:38 ERROR]: #!#! Version Information:
[23:16:38 ERROR]: #!#! Skript: 2.6.4 (latest)
[23:16:38 ERROR]: #!#! Flavor: skriptlang-github
[23:16:38 ERROR]: #!#! Date: 17:14:25.041218900
[23:16:38 ERROR]: #!#! Bukkit: 1.19.2-R0.1-SNAPSHOT
[23:16:38 ERROR]: #!#! Minecraft: 1.19.2
[23:16:38 ERROR]: #!#! Java: 18.0.2.1 (Java HotSpot(TM) 64-Bit Server VM 18.0.2.1+1-1)
[23:16:38 ERROR]: #!#! OS: Windows Server 2012 R2 amd64 6.3
[23:16:38 ERROR]: #!#!
[23:16:38 ERROR]: #!#! Server platform: Spigot
[23:16:38 ERROR]: #!#!
[23:16:38 ERROR]: #!#! Current node: null
[23:16:38 ERROR]: #!#! Current item: null
[23:16:38 ERROR]: #!#! Current trigger: every 1 seconds (every 1 second) (점수판.sk, line 1)
[23:16:38 ERROR]: #!#!
[23:16:38 ERROR]: #!#! Thread: Server thread
[23:16:38 ERROR]: #!#!
[23:16:38 ERROR]: #!#! Language: english
[23:16:38 ERROR]: #!#! Link parse mode: DISABLED
[23:16:38 ERROR]: #!#!
[23:16:38 ERROR]: #!#! End of Error.
[23:16:38 ERROR]: #!#!
[23:16:39 ERROR]: #!#!
구문:
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 {_Top1Value} parsed as number
set {_Top2Value} to {_Top2Value} parsed as number
set {_Top3Value} to {_Top3Value} parsed as number
set score "&aTop: 1 %{_Top1}%" in sidebar of loop-player to {_Top1Value}
set score "&aTop: 2 %{_Top2}%" in sidebar of loop-player to {_Top2Value}
set score "&aTop: 3 %{_Top3}%" in sidebar of loop-player to {_Top3Value}
(추가적으로는 이건 루콘님 랭킹 스크립트를 거의 배껴서 만든것 입니다)
댓글이 없습니다.
새로운 댓글을 등록해 주세요!