개인 자료란 (JE)

  서버 커뮤니티

Profile Yellow3403 대표칭호 없음

yellow3403 6304eda852b04373b0a3e0f363054872

Profile

질문하기 스크립트

에러를 해결하는 방법을 모르겠어요ㅠㅠ

2022.12.10 조회 수 137 추천 수 0
이해도 입문자 
게임버전 (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}


(추가적으로는 이건 루콘님 랭킹 스크립트를 거의 배껴서 만든것 입니다)





Warning
댓글이 없습니다.

새로운 댓글을 등록해 주세요!

뉴스 및 창작물
/files/thumbnails/761/908/003/262x150.crop.jpg?20241025153749

건축

서울 숭례문(崇禮門) 4

KHC

2024-10-25

2

/files/thumbnails/578/899/003/262x150.crop.jpg?20241010142350

건축

경주 월정교 1

KHC

2024-10-10

2

/files/thumbnails/219/899/003/262x150.crop.jpg?20241009200950

건축

송전탑+도시 2

dbasd12

2024-10-09

2

/files/thumbnails/246/898/003/262x150.crop.jpg?20241008102328

레드스톤

단다단 - 오토노케(オトノケ) | 마인크래프트 노트블럭 커버

노트블럭전문가

2024-10-08

1

/files/thumbnails/348/896/003/262x150.crop.jpg?20241006103035

디도스/봇테러등등을 낚는 방법 4

물귀신

2024-10-06

3