Skocz do zawartości
  • 0

Problem z serwerem


Wojtaso1

Pytanie

Po wpisaniu komendy /drop wyskakują następujące problemy. Jak je rozwiązać? Proszę o pomoc!

#!#! 
[15:07:19] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[15:07:19] [Server thread/ERROR]: #!#! 
[15:07:19] [Server thread/ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[15:07:19] [Server thread/ERROR]: #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/
[15:07:19] [Server thread/ERROR]: #!#! and check whether this error has already been reported.
[15:07:19] [Server thread/ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,
[15:07:19] [Server thread/ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[15:07:19] [Server thread/ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[15:07:19] [Server thread/ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[15:07:19] [Server thread/ERROR]: #!#! 
[15:07:19] [Server thread/ERROR]: #!#! Stack trace:
[15:07:19] [Server thread/ERROR]: #!#! java.lang.IllegalArgumentException: Title cannot be longer than 32 characters
[15:07:19] [Server thread/ERROR]: #!#!     at org.apache.commons.lang.Validate.isTrue(Validate.java:157)
[15:07:19] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_7_R1.inventory.CraftInventoryCustom$MinecraftInventory.<init>(CraftInventoryCustom.java:48)
[15:07:19] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_7_R1.inventory.CraftInventoryCustom.<init>(CraftInventoryCustom.java:26)
[15:07:19] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_7_R1.CraftServer.createInventory(CraftServer.java:1317)
[15:07:19] [Server thread/ERROR]: #!#!     at org.bukkit.Bukkit.createInventory(Bukkit.java:581)
[15:07:19] [Server thread/ERROR]: #!#!     at com.w00tmast3r.skquery.elements.expressions.ExprBlankInventories.get(ExprBlankInventories.java:36)
[15:07:19] [Server thread/ERROR]: #!#!     at com.w00tmast3r.skquery.elements.expressions.ExprBlankInventories.get(ExprBlankInventories.java:14)
[15:07:19] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:101)
[15:07:19] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getSingle(SimpleExpression.java:61)
[15:07:19] [Server thread/ERROR]: #!#!     at ch.njol.skript.effects.EffOpenInventory.execute(EffOpenInventory.java:78)
[15:07:19] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:50)
[15:07:19] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63)
[15:07:19] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91)
[15:07:19] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)
[15:07:19] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.ScriptCommand$1.call(ScriptCommand.java:220)
[15:07:19] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.ScriptCommand$1.call(ScriptCommand.java:1)
[15:07:19] [Server thread/ERROR]: #!#!     at ch.njol.skript.util.Task.callSync(Task.java:139)
[15:07:19] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:193)
[15:07:19] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.Commands.handleCommand(Commands.java:260)
[15:07:19] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:155)
[15:07:19] [Server thread/ERROR]: #!#!     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[15:07:19] [Server thread/ERROR]: #!#!     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[15:07:19] [Server thread/ERROR]: #!#!     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[15:07:19] [Server thread/ERROR]: #!#!     at java.lang.reflect.Method.invoke(Unknown Source)
[15:07:19] [Server thread/ERROR]: #!#!     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
[15:07:19] [Server thread/ERROR]: #!#!     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[15:07:19] [Server thread/ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:481)
[15:07:19] [Server thread/ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:466)
[15:07:19] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:924)
[15:07:19] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:814)
[15:07:19] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28)
[15:07:19] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:47)
[15:07:19] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146)
[15:07:19] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134)
[15:07:19] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655)
[15:07:19] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250)
[15:07:19] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545)
[15:07:19] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457)
[15:07:19] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
[15:07:19] [Server thread/ERROR]: #!#! 
[15:07:19] [Server thread/ERROR]: #!#! Version Information:
[15:07:19] [Server thread/ERROR]: #!#!   Skript: 2.1.2
[15:07:19] [Server thread/ERROR]: #!#!   Bukkit: 1.7.2-R0.2
[15:07:19] [Server thread/ERROR]: #!#!   Minecraft: 1.7.2
[15:07:19] [Server thread/ERROR]: #!#!   Java: 1.8.0_201
[15:07:19] [Server thread/ERROR]: #!#! 
[15:07:19] [Server thread/ERROR]: #!#! Running CraftBukkit: false
[15:07:19] [Server thread/ERROR]: #!#! 
[15:07:19] [Server thread/ERROR]: #!#! Current node: null
[15:07:19] [Server thread/ERROR]: #!#! Current item: open inventory to the player
[15:07:19] [Server thread/ERROR]: #!#! 
[15:07:19] [Server thread/ERROR]: #!#! Thread: Server thread
[15:07:19] [Server thread/ERROR]: #!#! 
[15:07:19] [Server thread/ERROR]: #!#! End of Error.
[15:07:19] [Server thread/ERROR]: #!#! 

Edytowane przez Szifter
Szifter

Dodano spojler

Notatka dodana przez Szifter

Odnośnik do komentarza
https://skript.pl/temat/32708-problem-z-serwerem/
Udostępnij na innych stronach

7 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

options:
    logo: &2&lDR&7&lOP &7>>
    scoal: 3.0
    siron: 2.1
    sredstone: 1.9
    sgold: 1.9
    slapis: 1.8
    semerald: 1.3
    sdiax: 0.9

# Zmienne #    
variables:
    {poziom.%player%} = 0
    {pktstone.%player%} = 0
    {wykopanystone.%player%} = 0
    {diax.%player%} = 0
    {iron.%player%} = 0
    {gold.%player%} = 0
    {emerald.%player%} = 0
    {redstone.%player%} = 0
    {lapis.%player%} = 0
    {coal.%player%} = 0
    
# Blokada surowcow z rud#
    
on break of gold ore:
    cancel event
    set block to air
    
on break of iron ore:
    cancel event
    set block to air
    
on break of coal ore:
    cancel event
    set block to air
    
on break of diamond ore:
    cancel event
    set block to air
    
on break of coal ore:
    cancel event
    set block to air
    
on break of lapis lazuli ore:
    cancel event
    set block to air
    
on break of redstone ore:
    cancel event
    set block to air
    
on break of emerald ore:
    cancel event
    set block to air
    
# DROP ZE STONE #
# BEZ FORTUNY JAK NARAZIE #
    
on mine of stone:
    if player is holding any pickaxe:
        add 1 exp to player
        add 1 to {wykopanystone.%player%}
        add 1 to {pktstone.%player%} 
        chance of {@scoal}%:
            add 1 coal to player
            add 1 to {coal.%player%}
            add 2 exp to player
        chance of {@siron}%:
            add 1 iron ingot to player
            add 1 to {iron.%player%}
            add 3 exp to player
        chance of {@sredstone}%:
            give a random number between 1 and 6 of redstone to player
            add 1 to {redstone.%player%}
            add 6 exp to player
        chance of {@sgold}%:
            add 1 gold ingot to player
            add 1 to {gold.%player%} 
            add 4 exp to player
        chance of {@slapis}%:
            give a random number between 1 and 4 of lapis lazuli to player
            add 1 TO {lapis.%player%}
            add 4 exp to player
        chance of {@semerald}%:
            add 1 emerald to player
            add 1 to {emerald.%player%}
            add 7 exp to player
        chance of {@sdiax}%:
            add 1 diamond to player
            add 1 to {diax.%player%}
            add 15 exp to player
            
# LEVELOWANIE #

on mine of stone:
    if {pktstone.%player%} is bigger than 999:
        set {pkt.%player%} to 0
        shoot a firework
        add 1 to {poziom.%player%}
        send "{@logo} Gratulacje! Osiagnales &b%{poziom.%player%}%&7 poziom!"
        add 1 book named "{@logo} %player% osiagnal wlasnie &b%{poziom.%player%}% &7poziom!" to player
    else:
        stop
        
        
# DROP W GUI #

command /drop [<text>]:
    description: Show your achivement in mine of stone.
    trigger:
        if arg 1 is not set:
            open chest with 3 rows named "{@logo} &7&lINFOR&2&lMACJE" to player
            format slot 0 of player with 1 of diamond with lore "&7[&a+&7] Szansa: &a{@sdiax}||&7[&a+&7] Znaleziono: &a%{diax.%player%}%" to close
            format slot 1 of player with 1 of iron ingot with lore "&7[&a+&7] Szansa: &a{@siron}||&7[&a+&7] Znaleziono: &a%{iron.%player%}%" to close
            format slot 2 of player with 1 of gold ingot with lore "&7[&a+&7] Szansa: &a{@sgold}||&7[&a+&7] Znaleziono: &a%{gold.%player%}%" to close
            format slot 3 of player with 1 of coal with lore "&7[&a+&7] Szansa: &a{@scoal}||&7[&a+&7] Znaleziono: &a%{coal.%player%}%" to close
            format slot 4 of player with 1 of redstone with lore "&7[&a+&7] Szansa: &a{@sredstone}||&7[&a+&7] Znaleziono: &a%{redstone.%player%}%" to close
            format slot 5 of player with 1 of lapis lazuli with lore "&7]&a+&7] Szansa: &a{@slapis}||&7[&a+&7] Znaleziono: &a%{lapis.%player%}%" to close
            format slot 6 of player with 1 of emerald with lore "&7[&a+&7] Szansa: &a{@semerald}||&7[&a+&7] Znaleziono: &a%{emerald.%player%}%" to close
            format slot 27 of player with 1 of diamond pickaxe named "&7Twoj kilof" with lore "&7[&a+&7] Wykopano stone: &a%{wykopanystone.%player%}%||&7[&a+&7] Poziom: &a%{poziom.%player%}%" to close
            format slot 28 of player with 1 of 384 named "&eDoswiadczenie" with lore "&7[&a+&7] Twoje Doswiadczenie: &a%{pktstone.%player%}%||&7[&a+&7] Szczescie: &cW budowie" to close
            format slot 29 of player with 1 of chest named "&6Wymien pkt na:" with lore "&7[&a+&7] Nowe itemy||&7[&a+&7] Lepszy kilof||&7[&a+&7] Efekty" to close then run [make player execute command "/drop sklep"]
        if arg 1 is "sklep":
            open chest with 3 rows named "{@logo} &7&lWymien za pkt" to player
            format slot 0 of player with 1 of stone to close


        

 

Ciągle w budowie...

Edytowane przez Szifter
Szifter

Dodano code i spoiler

Notatka dodana przez Szifter

Odnośnik do komentarza
https://skript.pl/temat/32708-problem-z-serwerem/#findComment-212462
Udostępnij na innych stronach

  • 0
Teraz, Wojtaso1 napisał:

Ale jak że za długa nazwa inventory?

Nie rozumiem mógłbyś wyjaśnić, bo jestem początkujący w tych sprawach.

za długa nazwa invenroty przekracza tam ileś znaków max każdy znak (kolory tez) liczą sie jako litera w logo masz 17 a dalej masz cos ponad 30 max to 32 chyba

Odnośnik do komentarza
https://skript.pl/temat/32708-problem-z-serwerem/#findComment-212465
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

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