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

Dlaczego ten skrypt nie rejestruje komend? Co jest w nim nie tak?


_xer0s

Rekomendowane odpowiedzi

Opublikowano

Czesc mam problem ze skriptem, w ogole nie rejestruje komend:

 

command /test:
[tab]trigger:
[tab][tab]send "dziala"
 
Zadnych bledow nie ma po wpisaniu /test wyskakuje domyslna wiadomosc z bukkita o nie znanej komendzie, wszystko poza komendami działa
 
Pluginy:
 
WE, Animated Motd, iConomy, Skript, WildSkript, Vault, PEX, SkQuery, WG, Essentials  i authme.

CPU: i5 6500 / RAM: 8GB / GPU: GTX 1070 / MOBO: MSI H110M / HDD: 1TB / SSD: Iridium PRO 

BLACKPRISON.HOSTMC.PL - najlepszy serwer prison w Polsce

Opublikowano

Spróbuj uruchomić taki skript:

command /test [<text>] [<text>]:
    usage: /test 1 2
    trigger:
        if argument 1 is "1": 
            send "q" to player
        if argument 1 is "2":
            send "e" to player
        if argument 2 is "1":
            send "r" to player
        if argument 2 is "2":
            send "w" to player

I sprawdź czy on Ci zadziała.

Jeśli nie to wina pluginu.

784091427630431250239.png

Regulamin sygnatur

Opublikowano

@OldisPL po co takie coś?

@topic wersja skript, masz najnowszą?

to jest dobre pytanie, bo uzywam starej paczki a silnik wgralem najnowszy wiec to moze byc przyczyna zaraz to sprawdze i dam znac ;)

CPU: i5 6500 / RAM: 8GB / GPU: GTX 1070 / MOBO: MSI H110M / HDD: 1TB / SSD: Iridium PRO 

BLACKPRISON.HOSTMC.PL - najlepszy serwer prison w Polsce

Opublikowano

to jest dobre pytanie, bo uzywam starej paczki a silnik wgralem najnowszy wiec to moze byc przyczyna zaraz to sprawdze i dam znac ;)

You're currently running the latest stable version of skript ;x

CPU: i5 6500 / RAM: 8GB / GPU: GTX 1070 / MOBO: MSI H110M / HDD: 1TB / SSD: Iridium PRO 

BLACKPRISON.HOSTMC.PL - najlepszy serwer prison w Polsce

Opublikowano

Zainstalowalem ale to nic nie zmienia ;x poza tym on byl 30kb mniejszy od mojego obecnego wiec mam nowszą wersję od tego co ty mi wyslales

CPU: i5 6500 / RAM: 8GB / GPU: GTX 1070 / MOBO: MSI H110M / HDD: 1TB / SSD: Iridium PRO 

BLACKPRISON.HOSTMC.PL - najlepszy serwer prison w Polsce

Opublikowano

@OldisPL po co takie coś?

@topic wersja skript, masz najnowszą?

Sprawdzenie działania skript? -.-

 

 

 

Daj logi z serwera pełne latest.log

 

784091427630431250239.png

Regulamin sygnatur

Opublikowano
[15:23:05] [server thread/ERROR]: #!#! 

[15:23:05] [server thread/ERROR]: #!#! [skript] Severe Error:

[15:23:05] [server thread/ERROR]: #!#! Could not load sektory.sk

[15:23:05] [server thread/ERROR]: #!#! 

[15:23:05] [server thread/ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.

[15:23:05] [server thread/ERROR]: #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/

[15:23:05] [server thread/ERROR]: #!#! and check whether this error has already been reported.

[15:23:05] [server thread/ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,

[15:23:05] [server thread/ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.

[15:23:05] [server thread/ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.

[15:23:05] [server thread/ERROR]: #!#! By following this guide fixing the error should be easy and done fast.

[15:23:05] [server thread/ERROR]: #!#! 

[15:23:05] [server thread/ERROR]: #!#! Stack trace:

[15:23:05] [server thread/ERROR]: #!#! java.lang.IllegalArgumentException: Illegal group reference

[15:23:05] [server thread/ERROR]: #!#!     at java.util.regex.Matcher.appendReplacement(Matcher.java:808)

[15:23:05] [server thread/ERROR]: #!#!     at ch.njol.util.StringUtils.replaceAll(StringUtils.java:88)

[15:23:05] [server thread/ERROR]: #!#!     at ch.njol.util.StringUtils.replaceAll(StringUtils.java:68)

[15:23:05] [server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.replaceOptions(ScriptLoader.java:582)

[15:23:05] [server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:612)

[15:23:05] [server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:55)

[15:23:05] [server thread/ERROR]: #!#!     at ch.njol.skript.lang.Conditional.<init>(Conditional.java:44)

[15:23:05] [server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:701)

[15:23:05] [server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:55)

[15:23:05] [server thread/ERROR]: #!#!     at ch.njol.skript.lang.Conditional.<init>(Conditional.java:44)

[15:23:05] [server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:701)

[15:23:05] [server thread/ERROR]: #!#!     at ch.njol.skript.command.Commands.loadCommand(Commands.java:449)

[15:23:05] [server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:462)

[15:23:05] [server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:239)

[15:23:05] [server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:193)

[15:23:05] [server thread/ERROR]: #!#!     at ch.njol.skript.Skript$2.run(Skript.java:378)

[15:23:05] [server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftTask.run(CraftTask.java:71)

[15:23:05] [server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:346)

[15:23:05] [server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:638)

[15:23:05] [server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:284)

[15:23:05] [server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:584)

[15:23:05] [server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:490)

[15:23:05] [server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628)

[15:23:05] [server thread/ERROR]: #!#! 

[15:23:05] [server thread/ERROR]: #!#! Version Information:

[15:23:05] [server thread/ERROR]: #!#!   Skript: 2.1.2

[15:23:05] [server thread/ERROR]: #!#!   Bukkit: 1.7.9-R0.3-SNAPSHOT

[15:23:05] [server thread/ERROR]: #!#!   Minecraft: 1.7.9

[15:23:05] [server thread/ERROR]: #!#!   Java: 1.7.0_91

[15:23:05] [server thread/ERROR]: #!#! 

[15:23:05] [server thread/ERROR]: #!#! Running CraftBukkit: false

[15:23:05] [server thread/ERROR]: #!#! 

[15:23:05] [server thread/ERROR]: #!#! Current node: send "{@brakpieniedzy}" (sektory.sk, line 29)

[15:23:05] [server thread/ERROR]: #!#! Current item: null

[15:23:05] [server thread/ERROR]: #!#! 

[15:23:05] [server thread/ERROR]: #!#! Thread: Server thread

[15:23:05] [server thread/ERROR]: #!#! 

[15:23:05] [server thread/ERROR]: #!#! End of Error.

[15:23:05] [server thread/ERROR]: #!#! 

 

 

Taki bład jest skriptu.

CPU: i5 6500 / RAM: 8GB / GPU: GTX 1070 / MOBO: MSI H110M / HDD: 1TB / SSD: Iridium PRO 

BLACKPRISON.HOSTMC.PL - najlepszy serwer prison w Polsce

Opublikowano

@ref kurde moze ktos wie o co chodzi :D

CPU: i5 6500 / RAM: 8GB / GPU: GTX 1070 / MOBO: MSI H110M / HDD: 1TB / SSD: Iridium PRO 

BLACKPRISON.HOSTMC.PL - najlepszy serwer prison w Polsce

Opublikowano

@up korzystasz z silnika bukkita?

Spróbuj zmienić wersję silnika serwera i wtedy wgraj plugin skript

robilem to juz milion razy bawilem sie wersjami silnika, skripta ale to nie pomaga

CPU: i5 6500 / RAM: 8GB / GPU: GTX 1070 / MOBO: MSI H110M / HDD: 1TB / SSD: Iridium PRO 

BLACKPRISON.HOSTMC.PL - najlepszy serwer prison w Polsce

Opublikowano

Wywal dodatki do skrypta (wildskript i skquery)

To nic nie da ;p

 

Juz ogarnalem o co chodzi, "options" bugowały mi komendy że nie działały nie wiem jakim cudem.. po prostu przy użyciu options cały skrypt nie rejestruje komend, obejdę się bez :P mozna zamknac

CPU: i5 6500 / RAM: 8GB / GPU: GTX 1070 / MOBO: MSI H110M / HDD: 1TB / SSD: Iridium PRO 

BLACKPRISON.HOSTMC.PL - najlepszy serwer prison w Polsce

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...