1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Not load the skRayFall score.

Discussion in 'Skript' started by couger44, Apr 27, 2019.

Thread Status:
Not open for further replies.
  1. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    Hello every1,
    on my server I was changing the scoreboard I had in SkRayFall to Skellett's Scoreboard, which I did not like because it blinked the tab prefixes. But when I put it back in SkRayFall mode it does not load the score, what should I do?

    Code (Skript):
    1.  
    2. every 40 seconds:
    3.     loop all players:
    4.         set {_linea 7.1} to "&8[%{worldexp.nivel.%loop-player%}%]"
    5.         set {_linea 7.2} to "&7[%{worldexp.nivel.%loop-player%}%]"
    6.         set {_linea 7.3} to "&f[%{worldexp.nivel.%loop-player%}%]"
    7.         set {_linea 7.4} to "&2[%{worldexp.nivel.%loop-player%}%]"
    8.         set {_linea 7.5} to "&3[%{worldexp.nivel.%loop-player%}%]"
    9.         set {_linea 7.6} to "&5[%{worldexp.nivel.%loop-player%}%]"
    10.         set {_linea 7.7} to "&1[%{worldexp.nivel.%loop-player%}%]"
    11.         set {_linea 7.8} to "&e&l[%{worldexp.nivel.%loop-player%}%]"
    12.         set {_linea 7.9} to "&a&l&ki&2&l%{worldexp.nivel.%loop-player%}%&a&l&ki&f"
    13.         set {_linea 7.10} to "&3&l&ki&b&l&ki&9&l&o%{worldexp.nivel.%loop-player%}%&b&l&ki&3&l&ki&f"
    14.         set {_l} to last 3 characters of coloured loop-player's prefix
    15.        
    16.         wipe loop-player's sidebar
    17.         set name of sidebar of loop-player to "&7&l&m--&f&l&m> &2&lWorld&a&lCraft &f&l&m<&7&l&m--"
    18.         replace " " with "" in {_l}
    19.         set score "&2➔Nombre" in sidebar of loop-player to 13
    20.         set score "&f%{_l}%%loop-player%" in sidebar of loop-player to 12
    21.         set score "&1 " in sidebar of loop-player to 11
    22.         set score "&2➔Rango" in sidebar of loop-player to 10
    23.         set score "&f%coloured loop-player's prefix%" in sidebar of loop-player to 9
    24.         set score "&2 " in sidebar of loop-player to 8
    25.         set score "&2➔Dinero" in sidebar of loop-player to 7
    26.         set score "&f%loop-player's balance%" in sidebar of loop-player to 6
    27.         set score "&3 " in sidebar of loop-player to 5
    28.         set score "&2➔Bloques minados" in sidebar of loop-player to 4
    29.         set score "&f%{bminados::%loop-player%}%" in sidebar of loop-player to 3
    30.         set score "&4 " in sidebar of loop-player to 2
    31.         set score "&eWorldCraft.g-s.nu" in sidebar of loop-player to 1
    32.        
    33.         wait 10 seconds
    34.        
    35.         wipe loop-player's sidebar
    36.         set name of sidebar of loop-player to "&7&l&m--&f&l&m> &2&lWorld&a&lCraft &f&l&m<&7&l&m--"
    37.         set score "&2➔WorldCoins" in sidebar of loop-player to 10
    38.         set score "&f%{worldcoins.%loop-player%}%" in sidebar of loop-player to 9
    39.         set score "&5 " in sidebar of loop-player to 8
    40.         set score "&2➔WorldExp" in sidebar of loop-player to 7
    41.         set score "&f%{worldexp::%loop-player%}%" in sidebar of loop-player to 6
    42.         set score "&6 " in sidebar of loop-player to 5
    43.         set score "&2➔WorldLevel" in sidebar of loop-player to 4
    44.         if {worldexp.nivel.%loop-player%} is between 1 and 4:
    45.             set score "%{_linea 7.1}%" in sidebar of loop-player to 3
    46.         else if {worldexp.nivel.%loop-player%} is between 5 and 9:
    47.             set score "%{_linea 7.2}%" in sidebar of loop-player to 3
    48.         else if {worldexp.nivel.%loop-player%} is between 10 and 14:
    49.             set score "%{_linea 7.3}%" in sidebar of loop-player to 3
    50.         else if {worldexp.nivel.%loop-player%} is between 15 and 19:
    51.             set score "%{_linea 7.4}%" in sidebar of loop-player to 3
    52.         else if {worldexp.nivel.%loop-player%} is between 20 and 24:
    53.             set score "%{_linea 7.5}%" in sidebar of loop-player to 3
    54.         else if {worldexp.nivel.%loop-player%} is between 25 and 29:
    55.             set score "%{_linea 7.6}%" in sidebar of loop-player to 3
    56.         else if {worldexp.nivel.%loop-player%} is between 30 and 34:
    57.             set score "%{_linea 7.7}%" in sidebar of loop-player to 3
    58.         else if {worldexp.nivel.%loop-player%} is between 35 and 39:
    59.             set score "%{_linea 7.8}%" in sidebar of loop-player to 3
    60.         else if {worldexp.nivel.%loop-player%} is between 40 and 44:
    61.             set score "%{_linea 7.9}%" in sidebar of loop-player to 3
    62.         else if {worldexp.nivel.%loop-player%} is between 45 and 49:
    63.             set score "%{_linea 7.10}%" in sidebar of loop-player to 3
    64.         set score "&7 " in sidebar of loop-player to 2
    65.         set score "&eWorldCraft.g-s.nu" in sidebar of loop-player to 1
    66.        
    67.         wait 10 seconds
    68.        
    69.         wipe loop-player's sidebar
    70.         set name of sidebar of loop-player to "&7&l&m--&f&l&m> &2&lWorld&a&lCraft &f&l&m<&7&l&m--"
    71.        
    72.         set score "&2➔Asesinatos" in sidebar of loop-player to 10
    73.         set score "&f%{asesinatos::%loop-player%}%" in sidebar of loop-player to 9
    74.         set score "&b " in sidebar of loop-player to 8
    75.         set score "&2➔Muertes" in sidebar of loop-player to 7
    76.         set score "&f%{muertes::%loop-player%}%" in sidebar of loop-player to 6
    77.         set score "&c " in sidebar of loop-player to 5
    78.         set score "&2➔Suscrito" in sidebar of loop-player to 4
    79.         if {suscripcion.%loop-player%} is false:
    80.             set score "&4&l✘" in sidebar of loop-player to 3
    81.         else:
    82.             set score "&a&l✓" in sidebar of loop-player to 3
    83.         set score "&d " in sidebar of loop-player to 2
    84.         set score "&eWorldCraft.g-s.nu" in sidebar of loop-player to 1
    85.        
    86.         wait 10 seconds
    87.        
    88.        
    89.  
    90.        
    91.    
    92.        
    93.        
    94. on disconnect:
    95.     wipe player's sidebar
    96.  
    97.  
    --- Double Post Merged, Apr 27, 2019, Original Post Date: Apr 27, 2019 ---
    I found the issue, the problem is the lenght of the scoreboard title.
    Code (Java):
    1.  
    2. [INFO] couger44 issued server command: /sk reload WorldScoreboard
    3.  
    4. [ERROR] #!#!
    5.  
    6. [ERROR] #!#! [Skript] Severe Error:
    7.  
    8. [ERROR] #!#!
    9.  
    10. [ERROR] #!#! Something went horribly wrong with Skript.
    11.  
    12. [ERROR] #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
    13.  
    14. [ERROR] #!#! Your Minecraft version or server software appears to be unsupported by Skript (bensku's version).
    15.  
    16. [ERROR] #!#! Currently only supported servers are Spigot and its forks for Minecraft 1.9 or newer.
    17.  
    18. [ERROR] #!#! Other versions might work, but since you're getting this error message something is NOT working,
    19.  
    20. [ERROR] #!#! nor it will work, unless you switch to supported platform.
    21.  
    22. [ERROR] #!#! Issue tracker: https://github.com/SkriptLang/Skript/issues (only if you know what you're doing!)
    23.  
    24. [ERROR] #!#!
    25.  
    26. [ERROR] #!#! Stack trace:
    27.  
    28. [ERROR] #!#! java.lang.IllegalArgumentException: Display name '§6§l§m > §2§lWorld§a§lCraft §6§l§m< ' is longer than the limit of 32 characters // right here //
    29.  
    30. [ERROR] #!#! at org.apache.commons.lang.Validate.isTrue(Validate.java:136)
    31.  
    32. [ERROR] #!#! at org.bukkit.craftbukkit.v1_8_R3.scoreboard.CraftObjective.setDisplayName(CraftObjective.java:40)
    33.  
    34. [ERROR] #!#! at net.rayfall.eyesniper2.skrayfall.scoreboard.EffNameOfScore.execute(EffNameOfScore.java:48)
    35.  
    36. [ERROR] #!#! at ch.njol.skript.lang.Effect.run(Effect.java:52)
    37.  
    38. [ERROR] #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
    39.  
    40. [ERROR] #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
    41.  
    42. [ERROR] #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:55)
    43.  
    44. [ERROR] #!#! at ch.njol.skript.events.EvtPeriodical.execute(EvtPeriodical.java:96)
    45.  
    46. [ERROR] #!#! at ch.njol.skript.events.EvtPeriodical$1.run(EvtPeriodical.java:110)
    47.  
    48. [ERROR] #!#! at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
    49.  
    50. [ERROR] #!#! at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
    51.  
    52. [ERROR] #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723)
    53.  
    54. [ERROR] #!#! at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
    55.  
    56. [ERROR] #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
    57.  
    58. [ERROR] #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
    59.  
    60. [ERROR] #!#! at java.lang.Thread.run(Thread.java:813)
    61.  
    62. [ERROR] #!#!
    63.  
    64. [ERROR] #!#! Version Information:
    65.  
    66. [ERROR] #!#! Skript: 2.2-dev36 (OUTDATED)
    67.  
    68. [ERROR] #!#! Bukkit: 1.8.8-R0.1-SNAPSHOT
    69.  
    70. [ERROR] #!#! Minecraft: 1.8.8
    71.  
    72. [ERROR] #!#! Server platform: Spigot
    73.  
    74. [ERROR] #!#!
    75.  
    76. [ERROR] #!#! Current node: null
    77.  
    78. [ERROR] #!#! Current item: null
    79.  
    80. [ERROR] #!#! Current trigger: every 40 seconds (every 40 seconds) (WorldScoreboard.sk, line 1)
    81.  
    82. [ERROR] #!#!
    83.  
    84. [ERROR] #!#! Thread: Server thread
    85.  
    86. [ERROR] #!#!
    87.  
    88. [ERROR] #!#! Language: english
    89.  
    90. [ERROR] #!#! Link parse mode: STRICT
    91.  
    92. [ERROR] #!#!
    93.  
    94. [ERROR] #!#! End of Error.
    95.  
    96. [ERROR] #!#!
    97.  
    98.  
    Finally i decreace the title to:
    Code (Skript):
    1.  
    2. &2&lWorld&a&lCraft
    3.  
     
  2. Runakai

    Moderator Supporter

    Joined:
    Apr 27, 2018
    Messages:
    495
    Likes Received:
    31
    Also please use list variables as well as Skore or Skellett, think of a way doing it since skrayfall scoreboards are just messy
     
  3. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    My server version is 1.8.8, Skore is only for 1.12. And as I said before, when using Skellett's scoreboard, the board blinked just like the tab ranks.
     
    #3 couger44, Apr 28, 2019
    Last edited: Apr 29, 2019
Thread Status:
Not open for further replies.

Share This Page

Loading...