Skocz do zawartości
  • 0

Problem z moim skryptem.


FastDesign
 Udostępnij

Pytanie

6 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

 

W dniu 11.04.2022 o 16:12, xMarmo321 napisał:

Pokażesz błędy?

 

 
[18:10:41 ERROR]: #!#!
[18:10:41 ERROR]: #!#! [Skript] Severe Error:
[18:10:41 ERROR]: #!#!
[18:10:41 ERROR]: #!#! Something went horribly wrong with Skript.
[18:10:41 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[18:10:41 ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[18:10:41 ERROR]: #!#! Here is full list of them:
[18:10:41 ERROR]: #!#! SignShop v3.6.2
[18:10:41 ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
[18:10:41 ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[18:10:41 ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[18:10:41 ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[18:10:41 ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[18:10:41 ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
[18:10:41 ERROR]: #!#!
[18:10:41 ERROR]: #!#! Stack trace:
[18:10:41 ERROR]: #!#! java.lang.ArithmeticException: / by zero
[18:10:41 ERROR]: #!#! at ch.njol.util.Math2.mod(Math2.java:205)
[18:10:41 ERROR]: #!#! at ch.njol.skript.expressions.ExprRandomNumber.get(ExprRandomNumber.java:79)
[18:10:41 ERROR]: #!#! at ch.njol.skript.expressions.ExprRandomNumber.get(ExprRandomNumber.java:41)
[18:10:41 ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:99)
[18:10:41 ERROR]: #!#! at ch.njol.skript.effects.EffChange.execute(EffChange.java:273)
[18:10:41 ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:51)
[18:10:41 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:60)
[18:10:41 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:88)
[18:10:41 ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:56)
[18:10:41 ERROR]: #!#! at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:142)
[18:10:41 ERROR]: #!#! at ch.njol.skript.SkriptEventHandler.access$000(SkriptEventHandler.java:53)
[18:10:41 ERROR]: #!#! at ch.njol.skript.SkriptEventHandler$PriorityListener.lambda$new$0(SkriptEventHandler.java:71)
[18:10:41 ERROR]: #!#! at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[18:10:41 ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[18:10:41 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624)
[18:10:41 ERROR]: #!#! at net.minecraft.world.entity.EntityLiving.s(EntityLiving.java:3697)
[18:10:41 ERROR]: #!#! at net.minecraft.server.level.EntityPlayer.s(EntityPlayer.java:1672)
[18:10:41 ERROR]: #!#! at net.minecraft.world.entity.EntityLiving.a(EntityLiving.java:3562)
[18:10:41 ERROR]: #!#! at net.minecraft.server.level.EntityPlayer.a(EntityPlayer.java:2227)
[18:10:41 ERROR]: #!#! at net.minecraft.world.entity.EntityLiving.B(EntityLiving.java:3543)
[18:10:41 ERROR]: #!#! at net.minecraft.world.entity.EntityLiving.tick(EntityLiving.java:2835)
[18:10:41 ERROR]: #!#! at net.minecraft.world.entity.player.EntityHuman.tick(EntityHuman.java:270)
[18:10:41 ERROR]: #!#! at net.minecraft.server.level.EntityPlayer.playerTick(EntityPlayer.java:671)
[18:10:41 ERROR]: #!#! at net.minecraft.server.network.PlayerConnection.tick(PlayerConnection.java:317)
[18:10:41 ERROR]: #!#! at net.minecraft.network.NetworkManager.a(NetworkManager.java:399)
[18:10:41 ERROR]: #!#! at net.minecraft.server.network.ServerConnection.c(ServerConnection.java:196)
[18:10:41 ERROR]: #!#! at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1576)
[18:10:41 ERROR]: #!#! at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:477)
[18:10:41 ERROR]: #!#! at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1404)
[18:10:41 ERROR]: #!#! at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1180)
[18:10:41 ERROR]: #!#! at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320)
[18:10:41 ERROR]: #!#! at java.base/java.lang.Thread.run(Thread.java:831)
[18:10:41 ERROR]: #!#!
[18:10:41 ERROR]: #!#! Version Information:
[18:10:41 ERROR]: #!#! Skript: 2.6.1 (latest)
[18:10:41 ERROR]: #!#! Flavor: skriptlang-github
[18:10:41 ERROR]: #!#! Date: 22:18:42.554713200
[18:10:41 ERROR]: #!#! Bukkit: 1.17-R0.1-SNAPSHOT
[18:10:41 ERROR]: #!#! Minecraft: 1.17
[18:10:41 ERROR]: #!#! Java: 16.0.1 (OpenJDK 64-Bit Server VM 16.0.1+9-24)
[18:10:41 ERROR]: #!#! OS: Linux amd64 3.10.0-1160.49.1.el7.x86_64
[18:10:41 ERROR]: #!#!
[18:10:41 ERROR]: #!#! Server platform: Paper
[18:10:41 ERROR]: #!#!
[18:10:41 ERROR]: #!#! Current node: null
[18:10:41 ERROR]: #!#! Current item: set {_x} (as java.lang.Object) to a random integer between [[double:0.1]] and [[double:0.4]]
[18:10:41 ERROR]: #!#! Current trigger: eat (dispense/spawn/drop/craft/pickup/consume/break/despawn/merge) (skrypt.sk, line 1)
[18:10:41 ERROR]: #!#!
[18:10:41 ERROR]: #!#! Thread: Server thread
[18:10:41 ERROR]: #!#!
[18:10:41 ERROR]: #!#! Language: english
[18:10:41 ERROR]: #!#! Link parse mode: DISABLED
[18:10:41 ERROR]: #!#!
[18:10:41 ERROR]: #!#! End of Error.
[18:10:41 ERROR]: #!#!
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
on eat:
    set {_x}  to random integer between 0.1 and 0.4
    execute console command "geco give %player% %{_x}% szt."

on death of creature:
    if attacker is a player:
        set {_x}  to random integer between 0.1 and 0.4
        execute console command "geco give %player% %{_x}% szt."

A i podaj bledy z wczesniejszego bledu ale w mc z skripta a nie logi

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
W dniu 13.04.2022 o 18:12, FastDesign napisał:

 

 
[18:10:41 ERROR]: #!#!
[18:10:41 ERROR]: #!#! [Skript] Severe Error:
[18:10:41 ERROR]: #!#!
[18:10:41 ERROR]: #!#! Something went horribly wrong with Skript.
[18:10:41 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[18:10:41 ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[18:10:41 ERROR]: #!#! Here is full list of them:
[18:10:41 ERROR]: #!#! SignShop v3.6.2
[18:10:41 ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
[18:10:41 ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[18:10:41 ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[18:10:41 ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[18:10:41 ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[18:10:41 ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
[18:10:41 ERROR]: #!#!
[18:10:41 ERROR]: #!#! Stack trace:
[18:10:41 ERROR]: #!#! java.lang.ArithmeticException: / by zero
[18:10:41 ERROR]: #!#! at ch.njol.util.Math2.mod(Math2.java:205)
[18:10:41 ERROR]: #!#! at ch.njol.skript.expressions.ExprRandomNumber.get(ExprRandomNumber.java:79)
[18:10:41 ERROR]: #!#! at ch.njol.skript.expressions.ExprRandomNumber.get(ExprRandomNumber.java:41)
[18:10:41 ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:99)
[18:10:41 ERROR]: #!#! at ch.njol.skript.effects.EffChange.execute(EffChange.java:273)
[18:10:41 ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:51)
[18:10:41 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:60)
[18:10:41 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:88)
[18:10:41 ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:56)
[18:10:41 ERROR]: #!#! at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:142)
[18:10:41 ERROR]: #!#! at ch.njol.skript.SkriptEventHandler.access$000(SkriptEventHandler.java:53)
[18:10:41 ERROR]: #!#! at ch.njol.skript.SkriptEventHandler$PriorityListener.lambda$new$0(SkriptEventHandler.java:71)
[18:10:41 ERROR]: #!#! at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[18:10:41 ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[18:10:41 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624)
[18:10:41 ERROR]: #!#! at net.minecraft.world.entity.EntityLiving.s(EntityLiving.java:3697)
[18:10:41 ERROR]: #!#! at net.minecraft.server.level.EntityPlayer.s(EntityPlayer.java:1672)
[18:10:41 ERROR]: #!#! at net.minecraft.world.entity.EntityLiving.a(EntityLiving.java:3562)
[18:10:41 ERROR]: #!#! at net.minecraft.server.level.EntityPlayer.a(EntityPlayer.java:2227)
[18:10:41 ERROR]: #!#! at net.minecraft.world.entity.EntityLiving.B(EntityLiving.java:3543)
[18:10:41 ERROR]: #!#! at net.minecraft.world.entity.EntityLiving.tick(EntityLiving.java:2835)
[18:10:41 ERROR]: #!#! at net.minecraft.world.entity.player.EntityHuman.tick(EntityHuman.java:270)
[18:10:41 ERROR]: #!#! at net.minecraft.server.level.EntityPlayer.playerTick(EntityPlayer.java:671)
[18:10:41 ERROR]: #!#! at net.minecraft.server.network.PlayerConnection.tick(PlayerConnection.java:317)
[18:10:41 ERROR]: #!#! at net.minecraft.network.NetworkManager.a(NetworkManager.java:399)
[18:10:41 ERROR]: #!#! at net.minecraft.server.network.ServerConnection.c(ServerConnection.java:196)
[18:10:41 ERROR]: #!#! at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1576)
[18:10:41 ERROR]: #!#! at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:477)
[18:10:41 ERROR]: #!#! at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1404)
[18:10:41 ERROR]: #!#! at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1180)
[18:10:41 ERROR]: #!#! at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320)
[18:10:41 ERROR]: #!#! at java.base/java.lang.Thread.run(Thread.java:831)
[18:10:41 ERROR]: #!#!
[18:10:41 ERROR]: #!#! Version Information:
[18:10:41 ERROR]: #!#! Skript: 2.6.1 (latest)
[18:10:41 ERROR]: #!#! Flavor: skriptlang-github
[18:10:41 ERROR]: #!#! Date: 22:18:42.554713200
[18:10:41 ERROR]: #!#! Bukkit: 1.17-R0.1-SNAPSHOT
[18:10:41 ERROR]: #!#! Minecraft: 1.17
[18:10:41 ERROR]: #!#! Java: 16.0.1 (OpenJDK 64-Bit Server VM 16.0.1+9-24)
[18:10:41 ERROR]: #!#! OS: Linux amd64 3.10.0-1160.49.1.el7.x86_64
[18:10:41 ERROR]: #!#!
[18:10:41 ERROR]: #!#! Server platform: Paper
[18:10:41 ERROR]: #!#!
[18:10:41 ERROR]: #!#! Current node: null
[18:10:41 ERROR]: #!#! Current item: set {_x} (as java.lang.Object) to a random integer between [[double:0.1]] and [[double:0.4]]
[18:10:41 ERROR]: #!#! Current trigger: eat (dispense/spawn/drop/craft/pickup/consume/break/despawn/merge) (skrypt.sk, line 1)
[18:10:41 ERROR]: #!#!
[18:10:41 ERROR]: #!#! Thread: Server thread
[18:10:41 ERROR]: #!#!
[18:10:41 ERROR]: #!#! Language: english
[18:10:41 ERROR]: #!#! Link parse mode: DISABLED
[18:10:41 ERROR]: #!#!
[18:10:41 ERROR]: #!#! End of Error.
[18:10:41 ERROR]: #!#!

Skrypt nie działa bo Plugin SignShop blokuje jego załadowanie. Plugin jest na złej wersji warto wymienić na wersję 1.17 lub po prostu go usunąć po usunięciu lub wymianie Pluginu na wersję taką jaka powinna być Skrypt Powinien Prawidłowo działać 

Odnośnik do komentarza
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
Odpowiedz na pytanie...

×   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.

 Udostępnij

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

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