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.

Problem with my loops in my Skript in Paper 1.17.1

Discussion in 'Skript' started by AntoineSCAG, Aug 14, 2022.

  1. AntoineSCAG

    AntoineSCAG Member

    Joined:
    Aug 14, 2022
    Messages:
    1
    Likes Received:
    0
    Hi, I have this VERY simple skript, it used to worked, but idk why it stopped working. It just loops players to the loop different types of concretes to make dyes appear. No errors show in console when loading the skript... I have skript 2.6.3

    Code (Text):
    1.  
    2. every 15 seconds:
    3.     loop all players:
    4.         loop all blocks in radius 25 around loop-player:
    5.             if {_generators::%loop-block's position%} is not set:
    6.                 if loop-block is White Concrete:
    7.                     drop a light gray dye named "&e&l???" above loop-block's position
    8.                     set {_generators::%loop-block's position%} to true
    9.  
    this is the error

    Code (Text):
    1.  
    2. [21:18:34 ERROR]: #!#!
    3. [21:18:34 ERROR]: #!#! [Skript] Severe Error:
    4. [21:18:34 ERROR]: #!#! Could not load gen.sk
    5. [21:18:34 ERROR]: #!#!
    6. [21:18:34 ERROR]: #!#! Something went horribly wrong with Skript.
    7. [21:18:34 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
    8. [21:18:34 ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
    9. [21:18:34 ERROR]: #!#! Here is full list of them:
    10. [21:18:34 ERROR]: #!#! skript-placeholders v1.5.1 (https://github.com/APickledWalrus/skript-placeholders) SkQuery v4.1.4 Skellett v2.0.3 (https://forums.skunity.com/resources/skellett.24/)
    11. [21:18:34 ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
    12. [21:18:34 ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
    13. [21:18:34 ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
    14. [21:18:34 ERROR]: #!#! In that case, you will be given instruction on how should you report it.
    15. [21:18:34 ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
    16. [21:18:34 ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
    17. [21:18:34 ERROR]: #!#!
    18. [21:18:34 ERROR]: #!#! Stack trace:
    19. [21:18:34 ERROR]: #!#! java.lang.RuntimeException: pattern compiling exception, element class: com.gmail.thelimeglass.Npcs.CondNpcIsSpawned
    20. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:226)
    21. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:177)
    22. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.Condition.parse(Condition.java:77)
    23. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.sections.SecConditional.init(SecConditional.java:83)
    24. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.Section.init(Section.java:69)
    25. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:255)
    26. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:177)
    27. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.Section.lambda$parse$0(Section.java:157)
    28. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.Section$SectionContext.modify(Section.java:190)
    29. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.Section.parse(Section.java:156)
    30. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1128)
    31. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.command.Commands.loadCommand(Commands.java:500)
    32. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:708)
    33. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.lambda$loadScripts$4(ScriptLoader.java:526)
    34. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.lambda$makeFuture$2(ScriptLoader.java:418)
    35. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.makeFuture(ScriptLoader.java:434)
    36. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:525)
    37. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.reloadScript(ScriptLoader.java:1061)
    38. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:171)
    39. [21:18:34 ERROR]: #!#!     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
    40. [21:18:34 ERROR]: #!#!     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
    41. [21:18:34 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchCommand(CraftServer.java:869)
    42. [21:18:34 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchServerCommand(CraftServer.java:832)
    43. [21:18:34 ERROR]: #!#!     at net.minecraft.server.dedicated.DedicatedServer.handleCommandQueue(DedicatedServer.java:529)
    44. [21:18:34 ERROR]: #!#!     at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:491)
    45. [21:18:34 ERROR]: #!#!     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1483)
    46. [21:18:34 ERROR]: #!#!     at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1282)
    47. [21:18:34 ERROR]: #!#!     at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319)
    48. [21:18:34 ERROR]: #!#!     at java.base/java.lang.Thread.run(Thread.java:833)
    49. [21:18:34 ERROR]: #!#! Caused by: ch.njol.skript.patterns.MalformedPatternException: caught exception while compiling pattern [pattern: (npc|citizen)[s] %citizens% (has|have|is) spawned]
    50. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.patterns.PatternCompiler.compile(PatternCompiler.java:54)
    51. [21:18:34 ERROR]: #!#!     at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1220)
    52. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1254)
    53. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:224)
    54. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:177)
    55. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.Condition.parse(Condition.java:77)
    56. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.sections.SecConditional.init(SecConditional.java:83)
    57. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.Section.init(Section.java:69)
    58. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:255)
    59. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:177)
    60. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.Section.lambda$parse$0(Section.java:157)
    61. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.Section$SectionContext.modify(Section.java:190)
    62. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.Section.parse(Section.java:156)
    63. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1128)
    64. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.command.Commands.loadCommand(Commands.java:500)
    65. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:708)
    66. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.lambda$loadScripts$4(ScriptLoader.java:526)
    67. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.lambda$makeFuture$2(ScriptLoader.java:418)
    68. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.makeFuture(ScriptLoader.java:434)
    69. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:525)
    70. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.reloadScript(ScriptLoader.java:1061)
    71. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:171)
    72. [21:18:34 ERROR]: #!#!     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
    73. [21:18:34 ERROR]: #!#!     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
    74. [21:18:34 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchCommand(CraftServer.java:869)
    75. [21:18:34 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchServerCommand(CraftServer.java:832)
    76. [21:18:34 ERROR]: #!#!     at net.minecraft.server.dedicated.DedicatedServer.handleCommandQueue(DedicatedServer.java:529)
    77. [21:18:34 ERROR]: #!#!     at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:491)
    78. [21:18:34 ERROR]: #!#!     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1483)
    79. [21:18:34 ERROR]: #!#!     at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1282)
    80. [21:18:34 ERROR]: #!#!     at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319)
    81. [21:18:34 ERROR]: #!#!     at java.base/java.lang.Thread.run(Thread.java:833)
    82. [21:18:34 ERROR]: #!#! Caused by: ch.njol.skript.SkriptAPIException: No class info found for citizen
    83. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.registrations.Classes.getClassInfo(Classes.java:264)
    84. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.patterns.TypePatternElement.fromString(TypePatternElement.java:92)
    85. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.patterns.PatternCompiler.compile(PatternCompiler.java:138)
    86. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.patterns.PatternCompiler.compile(PatternCompiler.java:49)
    87. [21:18:34 ERROR]: #!#!     at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1220)
    88. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1254)
    89. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:224)
    90. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:177)
    91. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.Condition.parse(Condition.java:77)
    92. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.sections.SecConditional.init(SecConditional.java:83)
    93. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.Section.init(Section.java:69)
    94. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:255)
    95. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:177)
    96. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.Section.lambda$parse$0(Section.java:157)
    97. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.Section$SectionContext.modify(Section.java:190)
    98. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.lang.Section.parse(Section.java:156)
    99. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1128)
    100. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.command.Commands.loadCommand(Commands.java:500)
    101. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:708)
    102. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.lambda$loadScripts$4(ScriptLoader.java:526)
    103. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.lambda$makeFuture$2(ScriptLoader.java:418)
    104. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.makeFuture(ScriptLoader.java:434)
    105. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:525)
    106. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.ScriptLoader.reloadScript(ScriptLoader.java:1061)
    107. [21:18:34 ERROR]: #!#!     at Skript.jar//ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:171)
    108. [21:18:34 ERROR]: #!#!     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
    109. [21:18:34 ERROR]: #!#!     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
    110. [21:18:34 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchCommand(CraftServer.java:869)
    111. [21:18:34 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchServerCommand(CraftServer.java:832)
    112. [21:18:34 ERROR]: #!#!     at net.minecraft.server.dedicated.DedicatedServer.handleCommandQueue(DedicatedServer.java:529)
    113. [21:18:34 ERROR]: #!#!     at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:491)
    114. [21:18:34 ERROR]: #!#!     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1483)
    115. [21:18:34 ERROR]: #!#!     at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1282)
    116. [21:18:34 ERROR]: #!#!     at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319)
    117. [21:18:34 ERROR]: #!#!     at java.base/java.lang.Thread.run(Thread.java:833)
    118. [21:18:34 ERROR]: #!#!
    119. [21:18:34 ERROR]: #!#! Version Information:
    120. [21:18:34 ERROR]: #!#!   Skript: 2.6.3 (latest)
    121. [21:18:34 ERROR]: #!#!     Flavor: skriptlang-github
    122. [21:18:34 ERROR]: #!#!     Date: 00:55:22.847925631
    123. [21:18:34 ERROR]: #!#!   Bukkit: 1.17.1-R0.1-SNAPSHOT
    124. [21:18:34 ERROR]: #!#!   Minecraft: 1.17.1
    125. [21:18:34 ERROR]: #!#!   Java: 17.0.1 (OpenJDK 64-Bit Server VM 17.0.1+12)
    126. [21:18:34 ERROR]: #!#!   OS: Linux amd64 5.13.0-27-generic
    127. [21:18:34 ERROR]: #!#!
    128. [21:18:34 ERROR]: #!#! Server platform: Paper
    129. [21:18:34 ERROR]: #!#!
    130. [21:18:34 ERROR]: #!#! Current node: loop all players: (gen.sk, line 3)
    131. [21:18:34 ERROR]: #!#! Current item: null
    132. [21:18:34 ERROR]: #!#!
    133. [21:18:34 ERROR]: #!#! Thread: Server thread
    134. [21:18:34 ERROR]: #!#!
    135. [21:18:34 ERROR]: #!#! Language: english
    136. [21:18:34 ERROR]: #!#! Link parse mode: DISABLED
    137. [21:18:34 ERROR]: #!#!
    138. [21:18:34 ERROR]: #!#! End of Error.
    139. [21:18:34 ERROR]: #!#!
    140.  
     
  2. ALebab

    ALebab New Member

    Joined:
    Jan 25, 2022
    Messages:
    6
    Likes Received:
    0
    Sometimes Skript addons does that, try removing them one by one
     

Share This Page

Loading...