Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Pytanie] Jaki błąd ma ten skrypt?


TikuPL

Rekomendowane odpowiedzi

Opublikowano

Witam, mam taki oto skrypt na losowetp i jak wpisuje komende losowetp to wyskakuje mi an interval server error...

options:
    x_min: 500 #LosowyTP Gracz min. odleglosc X
    x_max: 1000 #LosowyTP Gracz max. odleglosc X
    z_min: 500 #LosowyTP Gracz min. odleglosc Z
    z_max: 1000 #LosowyTP Gracz max. odleglosc Z
Command /losowetp:
    trigger:
        if player has permissions "losowytp.komenda":
            set {_x} to random integer between {@x_min} and {@x_max}
            set {_y} to 256
            set {_z} to random integer between {@z_min} and {@z_max}
            execute console command "/tppos %player% %{_x}% %{_y}% %{_z}%"

Pomoze ktoś?

 

Opublikowano
execute console command "/tppos %player% %{_x}% %{_y}% %{_z}%"

Powinno być bez "/"

podaj logi z consoli jak wywala an internal error

i czy masz plugin essentials?

 

Polecam

//

 

Losowy teleport

 

https://www.youtube.com/watch?v=YFVj-DQbJYE&list=UUcG6QsiAXM_VkXWx1Kwc9Cw

 

Grupowy i losowy teleport

 

https://www.youtube.com/watch?v=9wyBUwRdGok&list=UUcG6QsiAXM_VkXWx1Kwc9Cw

─────────────────────────────────────────────────────────────────────────────


Moderator to usuwa. EHE...


─────────────────────────────────────────────────────────────────────────────

Opublikowano

Logi konsoli:

[09:44:59] [server thread/INFO]: TikuPL: /losowetp
[09:44:59] [server thread/ERROR]: #!#!
[09:44:59] [server thread/ERROR]: #!#! [skript] Severe Error:
[09:44:59] [server thread/ERROR]: #!#!
[09:44:59] [server thread/ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[09:44:59] [server thread/ERROR]: #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/
[09:44:59] [server thread/ERROR]: #!#! and check whether this error has already been reported.
[09:44:59] [server thread/ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,
[09:44:59] [server thread/ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[09:44:59] [server thread/ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[09:44:59] [server thread/ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[09:44:59] [server thread/ERROR]: #!#!
[09:44:59] [server thread/ERROR]: #!#! Stack trace:
[09:44:59] [server thread/ERROR]: #!#! java.lang.ArithmeticException: / by zero
[09:44:59] [server thread/ERROR]: #!#! at ch.njol.util.Math2.mod(Math2.java:209)
[09:44:59] [server thread/ERROR]: #!#! at ch.njol.skript.expressions.ExprRandomNumber.get(ExprRandomNumber.java:82)
[09:44:59] [server thread/ERROR]: #!#! at ch.njol.skript.expressions.ExprRandomNumber.get(ExprRandomNumber.java:1)
[09:44:59] [server thread/ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:101)
[09:44:59] [server thread/ERROR]: #!#! at ch.njol.skript.effects.EffChange.execute(EffChange.java:270)
[09:44:59] [server thread/ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:50)
[09:44:59] [server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63)
[09:44:59] [server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91)
[09:44:59] [server thread/ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)

[09:44:59] [server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand$1.call(ScriptCommand.java:220)
[09:44:59] [server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand$1.call(ScriptCommand.java:1)
[09:44:59] [server thread/ERROR]: #!#! at ch.njol.skript.util.Task.callSync(Task.java:139)
[09:44:59] [server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:193)
[09:44:59] [server thread/ERROR]: #!#! at ch.njol.skript.command.Commands.handleCommand(Commands.java:260)
[09:44:59] [server thread/ERROR]: #!#! at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:155)
[09:44:59] [server thread/ERROR]: #!#! at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
[09:44:59] [server thread/ERROR]: #!#! at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[09:44:59] [server thread/ERROR]: #!#! at java.lang.reflect.Method.invoke(Unknown Source)
[09:44:59] [server thread/ERROR]: #!#! at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:318)
[09:44:59] [server thread/ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[09:44:59] [server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:486)
[09:44:59] [server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:471)
[09:44:59] [server thread/ERROR]: #!#! at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:944)
[09:44:59] [server thread/ERROR]: #!#! at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:814)
[09:44:59] [server thread/ERROR]: #!#! at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28)
[09:44:59] [server thread/ERROR]: #!#! at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:47)
[09:44:59] [server thread/ERROR]: #!#! at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146)
[09:44:59] [server thread/ERROR]: #!#! at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134)
[09:44:59] [server thread/ERROR]: #!#! at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655)
[09:44:59] [server thread/ERROR]: #!#! at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250)
[09:44:59] [server thread/ERROR]: #!#! at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545)
[09:44:59] [server thread/ERROR]: #!#! at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457)

[09:44:59] [server thread/ERROR]: #!#! at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
[09:44:59] [server thread/ERROR]: #!#!
[09:44:59] [server thread/ERROR]: #!#! Version Information:
[09:44:59] [server thread/ERROR]: #!#! Skript: 2.1.2
[09:44:59] [server thread/ERROR]: #!#! Bukkit: 1.7.2-R0.3
[09:44:59] [server thread/ERROR]: #!#! Minecraft: 1.7.2
[09:44:59] [server thread/ERROR]: #!#! Java: 1.7.0_25
[09:44:59] [server thread/ERROR]: #!#!
[09:44:59] [server thread/ERROR]: #!#! Running CraftBukkit: false
[09:44:59] [server thread/ERROR]: #!#!
[09:44:59] [server thread/ERROR]: #!#! Current node: null
[09:44:59] [server thread/ERROR]: #!#! Current item: set {_x}(as java.lang.Object) to a random integer between [[long:1000]] and [[long:1000]]
[09:44:59] [server thread/ERROR]: #!#!
[09:44:59] [server thread/ERROR]: #!#! Thread: Server thread
[09:44:59] [server thread/ERROR]: #!#!
[09:44:59] [server thread/ERROR]: #!#! End of Error.
[09:44:59] [server thread/ERROR]: #!#!

Nie mam essentialsa. Bez / też nie działa :(

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...