Skocz do zawartości

Rekomendowane odpowiedzi

Jeżeli skrypt będzie dalej ulepszany, to mam pomysł, żeby dodać jedną funkcję. Mianowicie chodzi o "on item damage". Wiele osób pisało, że jest ten event w dodatku do skript "TuSKe". Pobrałem tuske, niby wszystko działa ale na event nie ma mocnych, nie działa. To by było fajne rozwiązanie, dzięki skryptowi by się nie dało niszczyć itemków.

Odnośnik do komentarza
https://skript.pl/temat/23313-skiris-111-1122/#findComment-199363
Udostępnij na innych stronach

  • 2 miesiące temu...

Yeah <3 

Kod:

Spoiler

command /vs [<text>] [<text>]:
	trigger:
		if arg 1 is not set:
			send "/vs create [strings]"
			send "/vs open"
			stop
		if arg 1 is "create":
			if {loc} is not set:
				set {loc} to location of player
			set block at {loc} to sign
			if arg 2 is set:
				set {_list::*} to split arg 2 by ", "
				loop 4 times:
					if length of {_list::%loop-number%} is larger than 16:
						set {_list::%loop-number%} to first 16 characters of {_list::%loop-number%}
				loop 4 times:
					set line loop-number of block at {loc} to {_list::%loop-number%}
			stop
		if arg 1 is "open":
			open virtual sign to player with text on sign at {loc}
on recieve virtual sign change:
	send "%lines%" to player
	send "%1 line%" to player

 

Błędy:

Spoiler

[12:25:38] [Server thread/INFO]: knugi issued server command: /sk reload kkitsaddon
[12:25:38] [Server thread/ERROR]: #!#! 
[12:25:38] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[12:25:38] [Server thread/ERROR]: #!#! Could not load kkitsaddon.sk
[12:25:38] [Server thread/ERROR]: #!#! 
[12:25:38] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
[12:25:38] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[12:25:38] [Server thread/ERROR]: #!#! You're running outdated version of Skript! Please try updating it NOW; it might fix this.
[12:25:38] [Server thread/ERROR]: #!#! You may download new version of Skript at https://github.com/SkriptLang/Skript/releases
[12:25:38] [Server thread/ERROR]: #!#! You will be given instructions how to report this error if it persists with latest Skript.
[12:25:38] [Server thread/ERROR]: #!#! Issue tracker: https://github.com/SkriptLang/Skript/issues (only if you know what you're doing!)
[12:25:38] [Server thread/ERROR]: #!#! 
[12:25:38] [Server thread/ERROR]: #!#! Stack trace:
[12:25:38] [Server thread/ERROR]: #!#! java.lang.NullPointerException
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.VariableString.newInstance(VariableString.java:309)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.VariableString.newInstance(VariableString.java:145)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parseSingleExpr(SkriptParser.java:491)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parseExpression(SkriptParser.java:812)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1530)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1460)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1487)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:225)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:180)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Statement.parse(Statement.java:59)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:972)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:664)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:391)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:403)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:436)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:181)
[12:25:38] [Server thread/ERROR]: #!#!     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[12:25:38] [Server thread/ERROR]: #!#!     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:151)
[12:25:38] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:677)
[12:25:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1472)
[12:25:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1277)
[12:25:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
[12:25:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:5)
[12:25:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14)
[12:25:38] [Server thread/ERROR]: #!#!     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[12:25:38] [Server thread/ERROR]: #!#!     at java.util.concurrent.FutureTask.run(Unknown Source)
[12:25:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46)
[12:25:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:843)
[12:25:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:426)
[12:25:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:767)
[12:25:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665)
[12:25:38] [Server thread/ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[12:25:38] [Server thread/ERROR]: #!#! 
[12:25:38] [Server thread/ERROR]: #!#! Version Information:
[12:25:38] [Server thread/ERROR]: #!#!   Skript: 2.2-dev37c (OUTDATED)
[12:25:38] [Server thread/ERROR]: #!#!   Bukkit: 1.12.2-R0.1-SNAPSHOT
[12:25:38] [Server thread/ERROR]: #!#!   Minecraft: 1.12.2
[12:25:38] [Server thread/ERROR]: #!#!   Java: 1.8.0_171 (Java HotSpot(TM) 64-Bit Server VM 25.171-b11)
[12:25:38] [Server thread/ERROR]: #!#!   OS: Windows 10 amd64 10.0
[12:25:38] [Server thread/ERROR]: #!#! 
[12:25:38] [Server thread/ERROR]: #!#! Server platform: Paper
[12:25:38] [Server thread/ERROR]: #!#! 
[12:25:38] [Server thread/ERROR]: #!#! Current node: send "%lines%" to player (kkitsaddon.sk, line 22)
[12:25:38] [Server thread/ERROR]: #!#! Current item: null
[12:25:38] [Server thread/ERROR]: #!#! 
[12:25:38] [Server thread/ERROR]: #!#! Thread: Server thread
[12:25:38] [Server thread/ERROR]: #!#! 
[12:25:38] [Server thread/ERROR]: #!#! Language: english
[12:25:38] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
[12:25:38] [Server thread/ERROR]: #!#! 
[12:25:38] [Server thread/ERROR]: #!#! End of Error.
[12:25:38] [Server thread/ERROR]: #!#! 
 

To samo jak usunę linijkę 22 :D 

Spoiler

[12:27:27] [Server thread/ERROR]: #!#! 
[12:27:27] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[12:27:27] [Server thread/ERROR]: #!#! Could not load kkitsaddon.sk
[12:27:27] [Server thread/ERROR]: #!#! 
[12:27:27] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
[12:27:27] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[12:27:27] [Server thread/ERROR]: #!#! You're running outdated version of Skript! Please try updating it NOW; it might fix this.
[12:27:27] [Server thread/ERROR]: #!#! You may download new version of Skript at https://github.com/SkriptLang/Skript/releases
[12:27:27] [Server thread/ERROR]: #!#! You will be given instructions how to report this error if it persists with latest Skript.
[12:27:27] [Server thread/ERROR]: #!#! Issue tracker: https://github.com/SkriptLang/Skript/issues (only if you know what you're doing!)
[12:27:27] [Server thread/ERROR]: #!#! 
[12:27:27] [Server thread/ERROR]: #!#! Stack trace:
[12:27:27] [Server thread/ERROR]: #!#! java.lang.NullPointerException
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.VariableString.newInstance(VariableString.java:309)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.VariableString.newInstance(VariableString.java:145)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parseSingleExpr(SkriptParser.java:491)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parseExpression(SkriptParser.java:812)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1530)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1460)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1487)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:225)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:180)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Statement.parse(Statement.java:59)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:972)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:664)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:391)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:403)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:436)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:181)
[12:27:27] [Server thread/ERROR]: #!#!     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[12:27:27] [Server thread/ERROR]: #!#!     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:151)
[12:27:27] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:677)
[12:27:27] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1472)
[12:27:27] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1277)
[12:27:27] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
[12:27:27] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:5)
[12:27:27] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14)
[12:27:27] [Server thread/ERROR]: #!#!     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[12:27:27] [Server thread/ERROR]: #!#!     at java.util.concurrent.FutureTask.run(Unknown Source)
[12:27:27] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46)
[12:27:27] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:843)
[12:27:27] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:426)
[12:27:27] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:767)
[12:27:27] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665)
[12:27:27] [Server thread/ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[12:27:27] [Server thread/ERROR]: #!#! 
[12:27:27] [Server thread/ERROR]: #!#! Version Information:
[12:27:27] [Server thread/ERROR]: #!#!   Skript: 2.2-dev37c (OUTDATED)
[12:27:27] [Server thread/ERROR]: #!#!   Bukkit: 1.12.2-R0.1-SNAPSHOT
[12:27:27] [Server thread/ERROR]: #!#!   Minecraft: 1.12.2
[12:27:27] [Server thread/ERROR]: #!#!   Java: 1.8.0_171 (Java HotSpot(TM) 64-Bit Server VM 25.171-b11)
[12:27:27] [Server thread/ERROR]: #!#!   OS: Windows 10 amd64 10.0
[12:27:27] [Server thread/ERROR]: #!#! 
[12:27:27] [Server thread/ERROR]: #!#! Server platform: Paper
[12:27:27] [Server thread/ERROR]: #!#! 
[12:27:27] [Server thread/ERROR]: #!#! Current node: send "%1 line%" to player (kkitsaddon.sk, line 22)
[12:27:27] [Server thread/ERROR]: #!#! Current item: null
[12:27:27] [Server thread/ERROR]: #!#! 
[12:27:27] [Server thread/ERROR]: #!#! Thread: Server thread
[12:27:27] [Server thread/ERROR]: #!#! 
[12:27:27] [Server thread/ERROR]: #!#! Language: english
[12:27:27] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
[12:27:27] [Server thread/ERROR]: #!#! 
[12:27:27] [Server thread/ERROR]: #!#! End of Error.
[12:27:27] [Server thread/ERROR]: #!#! 
 

:( a już myślałem, że będą kkitsaddon :( 

Odnośnik do komentarza
https://skript.pl/temat/23313-skiris-111-1122/#findComment-204501
Udostępnij na innych stronach

38 minut temu, knugi napisał:

Yeah <3 

Kod:

  Pokaż ukrytą zawartość


command /vs [<text>] [<text>]:
	trigger:
		if arg 1 is not set:
			send "/vs create [strings]"
			send "/vs open"
			stop
		if arg 1 is "create":
			if {loc} is not set:
				set {loc} to location of player
			set block at {loc} to sign
			if arg 2 is set:
				set {_list::*} to split arg 2 by ", "
				loop 4 times:
					if length of {_list::%loop-number%} is larger than 16:
						set {_list::%loop-number%} to first 16 characters of {_list::%loop-number%}
				loop 4 times:
					set line loop-number of block at {loc} to {_list::%loop-number%}
			stop
		if arg 1 is "open":
			open virtual sign to player with text on sign at {loc}
on recieve virtual sign change:
	send "%lines%" to player
	send "%1 line%" to player

 

Błędy:

  Pokaż ukrytą zawartość

[12:25:38] [Server thread/INFO]: knugi issued server command: /sk reload kkitsaddon
[12:25:38] [Server thread/ERROR]: #!#! 
[12:25:38] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[12:25:38] [Server thread/ERROR]: #!#! Could not load kkitsaddon.sk
[12:25:38] [Server thread/ERROR]: #!#! 
[12:25:38] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
[12:25:38] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[12:25:38] [Server thread/ERROR]: #!#! You're running outdated version of Skript! Please try updating it NOW; it might fix this.
[12:25:38] [Server thread/ERROR]: #!#! You may download new version of Skript at https://github.com/SkriptLang/Skript/releases
[12:25:38] [Server thread/ERROR]: #!#! You will be given instructions how to report this error if it persists with latest Skript.
[12:25:38] [Server thread/ERROR]: #!#! Issue tracker: https://github.com/SkriptLang/Skript/issues (only if you know what you're doing!)
[12:25:38] [Server thread/ERROR]: #!#! 
[12:25:38] [Server thread/ERROR]: #!#! Stack trace:
[12:25:38] [Server thread/ERROR]: #!#! java.lang.NullPointerException
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.VariableString.newInstance(VariableString.java:309)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.VariableString.newInstance(VariableString.java:145)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parseSingleExpr(SkriptParser.java:491)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parseExpression(SkriptParser.java:812)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1530)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1460)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1487)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:225)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:180)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Statement.parse(Statement.java:59)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:972)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:664)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:391)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:403)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:436)
[12:25:38] [Server thread/ERROR]: #!#!     at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:181)
[12:25:38] [Server thread/ERROR]: #!#!     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[12:25:38] [Server thread/ERROR]: #!#!     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:151)
[12:25:38] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:677)
[12:25:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1472)
[12:25:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1277)
[12:25:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
[12:25:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:5)
[12:25:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14)
[12:25:38] [Server thread/ERROR]: #!#!     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[12:25:38] [Server thread/ERROR]: #!#!     at java.util.concurrent.FutureTask.run(Unknown Source)
[12:25:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46)
[12:25:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:843)
[12:25:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:426)
[12:25:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:767)
[12:25:38] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665)
[12:25:38] [Server thread/ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[12:25:38] [Server thread/ERROR]: #!#! 
[12:25:38] [Server thread/ERROR]: #!#! Version Information:
[12:25:38] [Server thread/ERROR]: #!#!   Skript: 2.2-dev37c (OUTDATED)
[12:25:38] [Server thread/ERROR]: #!#!   Bukkit: 1.12.2-R0.1-SNAPSHOT
[12:25:38] [Server thread/ERROR]: #!#!   Minecraft: 1.12.2
[12:25:38] [Server thread/ERROR]: #!#!   Java: 1.8.0_171 (Java HotSpot(TM) 64-Bit Server VM 25.171-b11)
[12:25:38] [Server thread/ERROR]: #!#!   OS: Windows 10 amd64 10.0
[12:25:38] [Server thread/ERROR]: #!#! 
[12:25:38] [Server thread/ERROR]: #!#! Server platform: Paper
[12:25:38] [Server thread/ERROR]: #!#! 
[12:25:38] [Server thread/ERROR]: #!#! Current node: send "%lines%" to player (kkitsaddon.sk, line 22)
[12:25:38] [Server thread/ERROR]: #!#! Current item: null
[12:25:38] [Server thread/ERROR]: #!#! 
[12:25:38] [Server thread/ERROR]: #!#! Thread: Server thread
[12:25:38] [Server thread/ERROR]: #!#! 
[12:25:38] [Server thread/ERROR]: #!#! Language: english
[12:25:38] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
[12:25:38] [Server thread/ERROR]: #!#! 
[12:25:38] [Server thread/ERROR]: #!#! End of Error.
[12:25:38] [Server thread/ERROR]: #!#! 
 

To samo jak usunę linijkę 22 :D 

  Pokaż ukrytą zawartość

[12:27:27] [Server thread/ERROR]: #!#! 
[12:27:27] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[12:27:27] [Server thread/ERROR]: #!#! Could not load kkitsaddon.sk
[12:27:27] [Server thread/ERROR]: #!#! 
[12:27:27] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
[12:27:27] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[12:27:27] [Server thread/ERROR]: #!#! You're running outdated version of Skript! Please try updating it NOW; it might fix this.
[12:27:27] [Server thread/ERROR]: #!#! You may download new version of Skript at https://github.com/SkriptLang/Skript/releases
[12:27:27] [Server thread/ERROR]: #!#! You will be given instructions how to report this error if it persists with latest Skript.
[12:27:27] [Server thread/ERROR]: #!#! Issue tracker: https://github.com/SkriptLang/Skript/issues (only if you know what you're doing!)
[12:27:27] [Server thread/ERROR]: #!#! 
[12:27:27] [Server thread/ERROR]: #!#! Stack trace:
[12:27:27] [Server thread/ERROR]: #!#! java.lang.NullPointerException
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.VariableString.newInstance(VariableString.java:309)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.VariableString.newInstance(VariableString.java:145)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parseSingleExpr(SkriptParser.java:491)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parseExpression(SkriptParser.java:812)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1530)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1460)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1487)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:225)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:180)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Statement.parse(Statement.java:59)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:972)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:664)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:391)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:403)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:436)
[12:27:27] [Server thread/ERROR]: #!#!     at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:181)
[12:27:27] [Server thread/ERROR]: #!#!     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[12:27:27] [Server thread/ERROR]: #!#!     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:151)
[12:27:27] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:677)
[12:27:27] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1472)
[12:27:27] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1277)
[12:27:27] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
[12:27:27] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:5)
[12:27:27] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14)
[12:27:27] [Server thread/ERROR]: #!#!     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[12:27:27] [Server thread/ERROR]: #!#!     at java.util.concurrent.FutureTask.run(Unknown Source)
[12:27:27] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46)
[12:27:27] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:843)
[12:27:27] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:426)
[12:27:27] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:767)
[12:27:27] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665)
[12:27:27] [Server thread/ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[12:27:27] [Server thread/ERROR]: #!#! 
[12:27:27] [Server thread/ERROR]: #!#! Version Information:
[12:27:27] [Server thread/ERROR]: #!#!   Skript: 2.2-dev37c (OUTDATED)
[12:27:27] [Server thread/ERROR]: #!#!   Bukkit: 1.12.2-R0.1-SNAPSHOT
[12:27:27] [Server thread/ERROR]: #!#!   Minecraft: 1.12.2
[12:27:27] [Server thread/ERROR]: #!#!   Java: 1.8.0_171 (Java HotSpot(TM) 64-Bit Server VM 25.171-b11)
[12:27:27] [Server thread/ERROR]: #!#!   OS: Windows 10 amd64 10.0
[12:27:27] [Server thread/ERROR]: #!#! 
[12:27:27] [Server thread/ERROR]: #!#! Server platform: Paper
[12:27:27] [Server thread/ERROR]: #!#! 
[12:27:27] [Server thread/ERROR]: #!#! Current node: send "%1 line%" to player (kkitsaddon.sk, line 22)
[12:27:27] [Server thread/ERROR]: #!#! Current item: null
[12:27:27] [Server thread/ERROR]: #!#! 
[12:27:27] [Server thread/ERROR]: #!#! Thread: Server thread
[12:27:27] [Server thread/ERROR]: #!#! 
[12:27:27] [Server thread/ERROR]: #!#! Language: english
[12:27:27] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
[12:27:27] [Server thread/ERROR]: #!#! 
[12:27:27] [Server thread/ERROR]: #!#! End of Error.
[12:27:27] [Server thread/ERROR]: #!#! 
 

:( a już myślałem, że będą kkitsaddon :( 

jak dasz kropke na początku stringa to powinno działać ;)

@knugi jak jeszcze nierozwiązałeś tego problemu to każdy, nw dlaczego tak się robi ;/

Edytowane przez LloydPL
Odnośnik do komentarza
https://skript.pl/temat/23313-skiris-111-1122/#findComment-204504
Udostępnij na innych stronach

W dniu 1.02.2019 o 09:18, szymonjjay napisał:

@ShadowEk

Jak chcesz niezniszczalne itemy to się naucz pluginy pisać. Zrobić niezniszczalne ity w pluginie to niecała minuta roboty xDD

jak chcesz wiedzieć te forum to skript.pl a nie plugin.pl, czemu więc nakłaniasz go do nauczenia się javy i głupiego api bukkita skoro chce to zrobić w skrypcie? Ty w ogóle myślisz użyszkodniku? Poza tym kim ty jesteś żeby mu mówić co ma robić

Edytowane przez SernickLOL
Odnośnik do komentarza
https://skript.pl/temat/23313-skiris-111-1122/#findComment-204930
Udostępnij na innych stronach

3 godziny temu, SernickLOL napisał:

jak chcesz wiedzieć te forum to skript.pl a nie plugin.pl, czemu więc nakłaniasz go do nauczenia się javy i głupiego api bukkita skoro chce to zrobić w skrypcie? Ty w ogóle myślisz użyszkodniku? Poza tym kim ty jesteś żeby mu mówić co ma robić

1. Api Bukkita jest głupie (ale nikt go nie używa, każdy używa spigotapi)

2. Pewnie myśli że jak ma rangę vip to mu wolno :v

Odnośnik do komentarza
https://skript.pl/temat/23313-skiris-111-1122/#findComment-204954
Udostępnij na innych stronach

W dniu 1.02.2019 o 09:18, szymonjjay napisał:

@ShadowEk

Jak chcesz niezniszczalne itemy to się naucz pluginy pisać. Zrobić niezniszczalne ity w pluginie to niecała minuta roboty xDD

Yyy bo w SK się nie da???????

Dla tych co nie wiedzą  to się da

Edytowane przez KsawoX
Odnośnik do komentarza
https://skript.pl/temat/23313-skiris-111-1122/#findComment-204958
Udostępnij na innych stronach

2 godziny temu, KsawoX napisał:

Yyy bo w SK się nie da???????

 

  Pokaż ukrytą zawartość

 

Dla tych co nie wiedzą  to się da

 

 

Ta, da się XD zrobisz item z sharpem 32767 i jak walniesz w armor to i tak się rozwali bo zanim wykona się event on item damage w sk to będzie już za późno xDD

7 godzin temu, SernickLOL napisał:

jak chcesz wiedzieć te forum to skript.pl a nie plugin.pl, czemu więc nakłaniasz go do nauczenia się javy i głupiego api bukkita skoro chce to zrobić w skrypcie? Ty w ogóle myślisz użyszkodniku? Poza tym kim ty jesteś żeby mu mówić co ma robić

Czemu? Bo w sk nie zrobisz.

[Server thread/ERROR]: [Skript] An on item break event cannot be cancelled

 

Edytowane przez szymonjjay
Odnośnik do komentarza
https://skript.pl/temat/23313-skiris-111-1122/#findComment-204964
Udostępnij na innych stronach

1 godzinę temu, szymonjjay napisał:

Ta, da się XD zrobisz item z sharpem 32767 i jak walniesz w armor to i tak się rozwali bo zanim wykona się event on item damage w sk to będzie już za późno xDD

Czemu? Bo w sk nie zrobisz.


[Server thread/ERROR]: [Skript] An on item break event cannot be cancelled

 

Nie wypowiadaj się skoro nie wiesz.

Odnośnik do komentarza
https://skript.pl/temat/23313-skiris-111-1122/#findComment-204979
Udostępnij na innych stronach

W dniu 2.02.2019 o 18:21, szymonjjay napisał:

Ta, da się XD zrobisz item z sharpem 32767 i jak walniesz w armor to i tak się rozwali bo zanim wykona się event on item damage w sk to będzie już za późno xDD

Czemu? Bo w sk nie zrobisz.


[Server thread/ERROR]: [Skript] An on item break event cannot be cancelled

 

w skrypcie się nie da? A jeżeli importujesz event z bukkita przez skmirror?

Poza tym, plugin na unbk potrafię napisać, tylko się chciałem upewnić :)

// set item damage to 0 nie zadziała? 

Edytowane przez ShadowEk
Odnośnik do komentarza
https://skript.pl/temat/23313-skiris-111-1122/#findComment-205150
Udostępnij na innych stronach

W dniu 2.02.2019 o 18:21, szymonjjay napisał:

Ta, da się XD zrobisz item z sharpem 32767 i jak walniesz w armor to i tak się rozwali bo zanim wykona się event on item damage w sk to będzie już za późno xDD

Czemu? Bo w sk nie zrobisz.


[Server thread/ERROR]: [Skript] An on item break event cannot be cancelled

 

Jak twoim zdaniem odwołać event który już się zdarzył? XDDDDDDDDDD

Odnośnik do komentarza
https://skript.pl/temat/23313-skiris-111-1122/#findComment-205193
Udostępnij na innych stronach

W dniu 2.02.2019 o 18:21, szymonjjay napisał:

Ta, da się XD zrobisz item z sharpem 32767 i jak walniesz w armor to i tak się rozwali bo zanim wykona się event on item damage w sk to będzie już za późno xDD

Czemu? Bo w sk nie zrobisz.


[Server thread/ERROR]: [Skript] An on item break event cannot be cancelled

 

Piszesz o evencie on Item damage a pokazujesz error z eventu on Item break.

 

Nie rozumiem. A jak w plg się da to poprzez sk-mirror w skrypcie też się da ;)

Odnośnik do komentarza
https://skript.pl/temat/23313-skiris-111-1122/#findComment-205210
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Dodaj odpowiedź do tematu...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...