Closed GalaxyGamingFR closed 2 months ago
I can't reproduce this issue, I don't really see how this could be an skript-itemsadder issue, The addon doesn't modify any Skript syntax, maybe this is an itemsadder issue?
it could also be a result of Pufferfish, outdated Skript, etc, please check and report back
I can't reproduce this issue, I don't really see how this could be an skript-itemsadder issue, The addon doesn't modify any Skript syntax, maybe this is an itemsadder issue?
it could also be a result of Pufferfish, outdated Skript, etc, please check and report back
skript-itemsadder is passing bad information to itemsadder
Skript is 2.9
If I reload my other script, this happens:
(there is no function named this) Logs: [15:21:51] [Server thread/INFO]: GalaxyGaming__ issued server command: /sk reload misc.sk
[15:21:51] [Server thread/ERROR]: #!#! [Skript] Severe Error: [15:21:51] [Server thread/ERROR]: #!#! An error occurred while trying to load a Structure.
[15:21:51] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript. [15:21:51] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either. [15:21:51] [Server thread/ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons). [15:21:51] [Server thread/ERROR]: #!#! Here is full list of them: [15:21:51] [Server thread/ERROR]: #!#! skript-placeholders v1.6.0 (https://github.com/APickledWalrus/skript-placeholders) skript-reflect v2.5.1 (https://github.com/SkriptLang/skript-reflect) skript-gui v1.3 (https://github.com/APickledWalrus/skript-gui) DiSky v4.17.2 ItemsAdder v3.6.3-beta-13 (devs.beer) PoaSK v3.4.4 SkBee v3.5.4 (https://github.com/ShaneBeee/SkBee) skript-itemsadder v1.5 AuctionMaster v4.1 (https://discord.gg/nchk86TKMT) [15:21:51] [Server thread/ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue. [15:21:51] [Server thread/ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it. [15:21:51] [Server thread/ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue. [15:21:51] [Server thread/ERROR]: #!#! In that case, you will be given instruction on how should you report it. [15:21:51] [Server thread/ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin. [15:21:51] [Server thread/ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
[15:21:51] [Server thread/ERROR]: #!#! Stack trace:
[15:21:51] [Server thread/ERROR]: #!#! java.lang.NullPointerException: Cannot invoke "org.bukkit.inventory.ItemStack.clone()" because "
[15:21:51] [Server thread/ERROR]: #!#! Version Information: [15:21:51] [Server thread/ERROR]: #!#! Skript: 2.9.0 (latest) [15:21:51] [Server thread/ERROR]: #!#! Flavor: skriptlang-github [15:21:51] [Server thread/ERROR]: #!#! Date: 16:01:35.354421100 [15:21:51] [Server thread/ERROR]: #!#! Bukkit: 1.20.4-R0.1-SNAPSHOT [15:21:51] [Server thread/ERROR]: #!#! Minecraft: 1.20.4 [15:21:51] [Server thread/ERROR]: #!#! Java: 21.0.3 (OpenJDK 64-Bit Server VM 21.0.3+9-LTS) [15:21:51] [Server thread/ERROR]: #!#! OS: Linux amd64 5.4.0-186-generic
[15:21:51] [Server thread/ERROR]: #!#! Server platform: Paper
[15:21:51] [Server thread/ERROR]: #!#! Current node: set {_1} to anvil (misc.sk, line 12) [15:21:51] [Server thread/ERROR]: #!#! Current item: null
[15:21:51] [Server thread/ERROR]: #!#! Thread: Server thread
[15:21:51] [Server thread/ERROR]: #!#! Language: english [15:21:51] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
[15:21:51] [Server thread/ERROR]: #!#! End of Error.
Does this happen when trying to give yourself any item? (even itemsadder items?) No other users have reported this issue, which is why im a bit perplexed as to why this is happening
It only happens to books atm, the anvil problem was just because I didn't specify what type of anvil. Once I turned set {_} to "book" parsed as itemtype, then it worked
It only happens to books atm
Yeah, this is odd, skript-itemsadder doesn't modify books, im leaning towards this being an itemsadder issue, have you tried making an issue on their repo?
I can do that but I was told by people in the skunity discord that it was from skript-itemsadder is passing bad information to itemsadder
I've sent you a message on discord
Describe the bug When I execute the effect command, "!give me book", it prints out an error
To Reproduce Steps to reproduce the behavior:
Expected behavior Supposed to give me a book
Screenshots
Server Version (/version): 1.20.4
Skript and skript-itemadder version:
Logs:
[13:53:59] [Server thread/ERROR]: #!#! [Skript] Severe Error: [13:53:59] [Server thread/ERROR]: #!#! Unexpected error while executing effect command 'give me book' by 'GalaxyGaming__'
[13:53:59] [Server thread/ERROR]: #!#! You're running outdated version of Skript! Please try updating it NOW; it might fix this. [13:53:59] [Server thread/ERROR]: #!#! Run /sk update check to get a download link to latest Skript! [13:53:59] [Server thread/ERROR]: #!#! You will be given instructions how to report this error if it persists after update.
[13:53:59] [Server thread/ERROR]: #!#! Stack trace: [13:53:59] [Server thread/ERROR]: #!#! java.lang.NullPointerException: Cannot invoke "org.bukkit.inventory.ItemStack.clone()" because "" is null
[13:53:59] [Server thread/ERROR]: #!#! at ItemsAdder_3.6.3-beta-13.jar//dev.lone.itemsadder.api.CustomStack.(SourceFile:35)
[13:53:59] [Server thread/ERROR]: #!#! at ItemsAdder_3.6.3-beta-13.jar//dev.lone.itemsadder.api.CustomStack.(SourceFile:29)
[13:53:59] [Server thread/ERROR]: #!#! at ItemsAdder_3.6.3-beta-13.jar//dev.lone.itemsadder.api.CustomBlock.(SourceFile:35)
[13:53:59] [Server thread/ERROR]: #!#! at ItemsAdder_3.6.3-beta-13.jar//dev.lone.itemsadder.api.CustomBlock.getOriginal(SourceFile:57)
[13:53:59] [Server thread/ERROR]: #!#! at ItemsAdder_3.6.3-beta-13.jar//dev.lone.itemsadder.api.CustomBlock.getInstance(SourceFile:66)
[13:53:59] [Server thread/ERROR]: #!#! at skript-itemsadder-1.5.jar//me.asleepp.SkriptItemsAdder.elements.types.Types$1.parse(Types.java:40)
[13:53:59] [Server thread/ERROR]: #!#! at skript-itemsadder-1.5.jar//me.asleepp.SkriptItemsAdder.elements.types.Types$1.parse(Types.java:26)
[13:53:59] [Server thread/ERROR]: #!#! at Skript-2.8.7.jar//ch.njol.skript.registrations.Classes.parseSimple(Classes.java:481)
[13:53:59] [Server thread/ERROR]: #!#! at Skript-2.8.7.jar//ch.njol.skript.lang.SkriptParser.parseSingleExpr(SkriptParser.java:588)
[13:53:59] [Server thread/ERROR]: #!#! at Skript-2.8.7.jar//ch.njol.skript.lang.SkriptParser.parseExpression(SkriptParser.java:771)
[13:53:59] [Server thread/ERROR]: #!#! at Skript-2.8.7.jar//ch.njol.skript.patterns.TypePatternElement.match(TypePatternElement.java:162)
[13:53:59] [Server thread/ERROR]: #!#! at Skript-2.8.7.jar//ch.njol.skript.patterns.PatternElement.matchNext(PatternElement.java:54)
[13:53:59] [Server thread/ERROR]: #!#! at Skript-2.8.7.jar//ch.njol.skript.patterns.LiteralPatternElement.match(LiteralPatternElement.java:65)
[13:53:59] [Server thread/ERROR]: #!#! at Skript-2.8.7.jar//ch.njol.skript.patterns.PatternElement.matchNext(PatternElement.java:54)
[13:53:59] [Server thread/ERROR]: #!#! at Skript-2.8.7.jar//ch.njol.skript.patterns.TypePatternElement.match(TypePatternElement.java:157)
[13:53:59] [Server thread/ERROR]: #!#! at Skript-2.8.7.jar//ch.njol.skript.patterns.PatternElement.matchNext(PatternElement.java:54)
[13:53:59] [Server thread/ERROR]: #!#! at Skript-2.8.7.jar//ch.njol.skript.patterns.LiteralPatternElement.match(LiteralPatternElement.java:65)
[13:53:59] [Server thread/ERROR]: #!#! at Skript-2.8.7.jar//ch.njol.skript.patterns.SkriptPattern.match(SkriptPattern.java:62)
[13:53:59] [Server thread/ERROR]: #!#! at Skript-2.8.7.jar//ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1293)
[13:53:59] [Server thread/ERROR]: #!#! at Skript-2.8.7.jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:232)
[13:53:59] [Server thread/ERROR]: #!#! at Skript-2.8.7.jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:179)
[13:53:59] [Server thread/ERROR]: #!#! at Skript-2.8.7.jar//ch.njol.skript.lang.Effect.parse(Effect.java:75)
[13:53:59] [Server thread/ERROR]: #!#! at Skript-2.8.7.jar//ch.njol.skript.command.Commands.handleEffectCommand(Commands.java:190)
[13:53:59] [Server thread/ERROR]: #!#! at Skript-2.8.7.jar//ch.njol.skript.command.Commands$2.lambda$onPlayerChat$0(Commands.java:300)
[13:53:59] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftFuture.run(CraftFuture.java:88)
[13:53:59] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:482)
[13:53:59] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1653)
[13:53:59] [Server thread/ERROR]: #!#! at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:450)
[13:53:59] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1532)
[13:53:59] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1227)
[13:53:59] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320)
[13:53:59] [Server thread/ERROR]: #!#! at java.base/java.lang.Thread.run(Thread.java:1583)
[13:53:59] [Server thread/ERROR]: #!#! Version Information: [13:53:59] [Server thread/ERROR]: #!#! Skript: 2.8.7 (OUTDATED) [13:53:59] [Server thread/ERROR]: #!#! Flavor: skriptlang-github [13:53:59] [Server thread/ERROR]: #!#! Date: 14:50:13.592363600 [13:53:59] [Server thread/ERROR]: #!#! Bukkit: 1.20.4-R0.1-SNAPSHOT [13:53:59] [Server thread/ERROR]: #!#! Minecraft: 1.20.4 [13:53:59] [Server thread/ERROR]: #!#! Java: 21.0.3 (OpenJDK 64-Bit Server VM 21.0.3+9-LTS) [13:53:59] [Server thread/ERROR]: #!#! OS: Linux amd64 5.4.0-186-generic
[13:53:59] [Server thread/ERROR]: #!#! Server platform: Paper
[13:53:59] [Server thread/ERROR]: #!#! Current node: null [13:53:59] [Server thread/ERROR]: #!#! Current item: null
[13:53:59] [Server thread/ERROR]: #!#! Thread: Server thread
[13:53:59] [Server thread/ERROR]: #!#! Language: english [13:53:59] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
[13:53:59] [Server thread/ERROR]: #!#! End of Error.