Lukcraft55
Fırında Isıttığım İlk Taş
- Katılım
- 2 Şubat 2019
- Mesajlar
- 78
- Elmaslar
- 15
- Puan
- 13.405
- Minecraft
- HazarUcar
Discord:
Hazar#0322
arkadaşlar ben bunu kullanıyorum ancak 0.01-0.99 arasında bir sayı gelsin istiyorum ondalıklı olarak fakat hata veriyor
aldığım hata:
Kod:
command /random:
trigger:
set {_d_} to a random integer between 0.01 and 0.99
send "%{_d_}%"
aldığım hata:
Kod:
> [18:20:16] [Server thread/ERROR]: #!#!
> [18:20:16] [Server thread/ERROR]: #!#! [Skript] Severe Error:
> [18:20:16] [Server thread/ERROR]: #!#!
> [18:20:16] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
> [18:20:16] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
> [18:20:16] [Server thread/ERROR]: #!#! You're running outdated version of Skript! Please try updating it NOW; it might fix this.
> [18:20:16] [Server thread/ERROR]: #!#! Run /sk update check to get a download link to latest Skript!
> [18:20:16] [Server thread/ERROR]: #!#! You will be given instructions how to report this error if it persists after update.
> [18:20:16] [Server thread/ERROR]: #!#!
> [18:20:16] [Server thread/ERROR]: #!#! Stack trace:
> [18:20:16] [Server thread/ERROR]: #!#! java.lang.ArithmeticException: / by zero
> [18:20:16] [Server thread/ERROR]: #!#! at ch.njol.util.Math2.mod(Math2.java:209)
> [18:20:16] [Server thread/ERROR]: #!#! at ch.njol.skript.expressions.ExprRandomNumber.get(ExprRandomNumber.java:80)
> [18:20:16] [Server thread/ERROR]: #!#! at ch.njol.skript.expressions.ExprRandomNumber.get(ExprRandomNumber.java:1)
> [18:20:16] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:102)
> [18:20:16] [Server thread/ERROR]: #!#! at ch.njol.skript.effects.EffChange.execute(EffChange.java:278)
> [18:20:16] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:52)
> [18:20:16] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
> [18:20:16] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
> [18:20:16] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:57)
> [18:20:16] [Server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:292)
> [18:20:16] [Server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:251)
> [18:20:16] [Server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.onCommand(ScriptCommand.java:195)
> [18:20:16] [Server thread/ERROR]: #!#! at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
> [18:20:16] [Server thread/ERROR]: #!#! at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149)
> [18:20:16] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_16_R2.CraftServer.dispatchCommand(CraftServer.java:756)
> [18:20:16] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_16_R2.CraftServer.dispatchServerCommand(CraftServer.java:741)
> [18:20:16] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_16_R2.DedicatedServer.handleCommandQueue(DedicatedServer.java:384)
> [18:20:16] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_16_R2.DedicatedServer.b(DedicatedServer.java:353)
> [18:20:16] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_16_R2.MinecraftServer.a(MinecraftServer.java:1007)
> [18:20:16] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:846)
> [18:20:16] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$0(MinecraftServer.java:164)
> [18:20:16] [Server thread/ERROR]: #!#! at java.lang.Thread.run(Thread.java:748)
> [18:20:16] [Server thread/ERROR]: #!#!
> [18:20:16] [Server thread/ERROR]: #!#! Version Information:
> [18:20:16] [Server thread/ERROR]: #!#! Skript: 2.4.1 (OUTDATED)
> [18:20:16] [Server thread/ERROR]: #!#! Flavor: skriptlang-github
> [18:20:16] [Server thread/ERROR]: #!#! Date: 2019-12-22
> [18:20:16] [Server thread/ERROR]: #!#! Bukkit: 1.16.2-R0.1-SNAPSHOT
> [18:20:16] [Server thread/ERROR]: #!#! Minecraft: 1.16.2
> [18:20:16] [Server thread/ERROR]: #!#! Java: 1.8.0_242 (OpenJDK 64-Bit Server VM 25.242-b08)
> [18:20:16] [Server thread/ERROR]: #!#! OS: Linux amd64 4.4.0-176-generic
> [18:20:16] [Server thread/ERROR]: #!#!
> [18:20:16] [Server thread/ERROR]: #!#! Server platform: Spigot
> [18:20:16] [Server thread/ERROR]: #!#!
> [18:20:16] [Server thread/ERROR]: #!#! Current node: null
> [18:20:16] [Server thread/ERROR]: #!#! Current item: set {_d_}(as java.lang.Object) to a random integer between [[double:0.01]] and [[double:0.99]]
> [18:20:16] [Server thread/ERROR]: #!#! Current trigger: command /random (simple event) (fatura.sk, line -1)
> [18:20:16] [Server thread/ERROR]: #!#!
> [18:20:16] [Server thread/ERROR]: #!#! Thread: Server thread
> [18:20:16] [Server thread/ERROR]: #!#!
> [18:20:16] [Server thread/ERROR]: #!#! Language: english
> [18:20:16] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
> [18:20:16] [Server thread/ERROR]: #!#!
> [18:20:16] [Server thread/ERROR]: #!#! End of Error.
> [18:20:16] [Server thread/ERROR]: #!#!
> [18:20:16] [Server thread/INFO]: An internal error occurred while attempting to perform this command.