Skocz do zawartości
  • 0

Skript dziwny blad w promieniu


Nieaktywny

Pytanie

Mam dziwny błąd.

[22:09:56] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[22:09:56] [Server thread/ERROR]: #!#!
[22:09:56] [Server thread/ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[22:09:56] [Server thread/ERROR]: #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/
[22:09:56] [Server thread/ERROR]: #!#! and check whether this error has already been reported.
[22:09:56] [Server thread/ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,
[22:09:56] [Server thread/ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[22:09:56] [Server thread/ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[22:09:56] [Server thread/ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[22:09:56] [Server thread/ERROR]: #!#!
[22:09:56] [Server thread/ERROR]: #!#! Stack trace:
[22:09:56] [Server thread/ERROR]: #!#! java.util.NoSuchElementException
[22:09:56] [Server thread/ERROR]: #!#!     at ch.njol.skript.util.AABB$1.next(AABB.java:144)
[22:09:56] [Server thread/ERROR]: #!#!     at ch.njol.skript.util.AABB$1.next(AABB.java:1)
[22:09:56] [Server thread/ERROR]: #!#!     at ch.njol.util.coll.iterator.CheckedIterator.hasNext(CheckedIterator.java:50)
[22:09:56] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Loop.walk(Loop.java:87)
[22:09:56] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91)
[22:09:56] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)
[22:09:56] [Server thread/ERROR]: #!#!     at ch.njol.skript.events.EvtPeriodical.execute(EvtPeriodical.java:94)
[22:09:56] [Server thread/ERROR]: #!#!     at ch.njol.skript.events.EvtPeriodical$1.run(EvtPeriodical.java:120)
[22:09:56] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:53)
[22:09:56] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
[22:09:56] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:587)
[22:09:56] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250)
[22:09:56] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545)
[22:09:56] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457)
[22:09:56] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
[22:09:56] [Server thread/ERROR]: #!#!
[22:09:56] [Server thread/ERROR]: #!#! Version Information:
[22:09:56] [Server thread/ERROR]: #!#!   Skript: 2.1.2
[22:09:56] [Server thread/ERROR]: #!#!   Bukkit: 1.7.2-R0.3
[22:09:56] [Server thread/ERROR]: #!#!   Minecraft: 1.7.2
[22:09:56] [Server thread/ERROR]: #!#!   Java: 1.7.0_80
[22:09:56] [Server thread/ERROR]: #!#!
[22:09:56] [Server thread/ERROR]: #!#! Running CraftBukkit: false
[22:09:56] [Server thread/ERROR]: #!#!
[22:09:56] [Server thread/ERROR]: #!#! Current node: null
[22:09:56] [Server thread/ERROR]: #!#! Current item: loop the blocks in radius 1 around (loop-creature >> ch.njol.skript.classes.data.DefaultConverters$10@2fcadc67: org.bukkit.entity.Creature->org.bukkit.Location)
[22:09:56] [Server thread/ERROR]: #!#!
[22:09:56] [Server thread/ERROR]: #!#! Thread: Server thread
[22:09:56] [Server thread/ERROR]: #!#!
[22:09:56] [Server thread/ERROR]: #!#! End of Error.
[22:09:56] [Server thread/ERROR]: #!#!

Kod:

every 1 second:
    loop all creatures:
        loop blocks in radius 1 of loop-creature:
            loop-block is water
            push loop-creature upward at speed 20

3 linijka jak kolwiek ją zmienie to wywala błędy (gdy potwór będzie za daleko to wraca na swój spawn tak zrobiłem zapisany w pluginie specjalnym) przy przeładowywaniu nie ma błędów i działa normalnie ,ale w konsoli są takie błędy.

Odnośnik do komentarza
https://skript.pl/temat/12440-skript-dziwny-blad-w-promieniu/
Udostępnij na innych stronach

6 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
5 godzin temu, Derpy Hooves napisał:

every 1 second:
    loop all entities:
        loop blocks in radius 1 of loop-entity:
            loop-block is water
            push loop-entity upwards at speed 20

Może to zadziała

to wcześniej próbowałem to pisało że nie znaleziono zlopowanych obiektów i na dodatek ciągle wywalało błąd ten sam ale zamiast creature pisalo entity w logu :/

 

Chociaż ktoś ma pomysł jak można zrobić aby potwory jak dotkną wody albo będą blok od niej czy coś to ich wytepuje gdzieś daleko albo wywala (jak wywali 30 bloków około od ich spawnu to wracają do swojej lokacji twórczej)

Edytowane przez Nieaktywny
Odnośnik do komentarza
https://skript.pl/temat/12440-skript-dziwny-blad-w-promieniu/#findComment-87318
Udostępnij na innych stronach

  • 0
1 godzinę temu, Ixidi napisał:

Masz dwie petle na caly swiat...

Nic dziwnego ze wywala...

To co @up napisał to nadal wywala błąd.

Jak mam zrobić by potwory jak wejdą do wody to ma je wywalać z niej ?

#down Nie rpg tylko na ylathu taki błąd (tepanie na kordy nie działało potwór stał jak stał zresztą tu chodzi o kontakt z wodą nie co się stanie z nim na koniec)

Edytowane przez Nieaktywny
Odnośnik do komentarza
https://skript.pl/temat/12440-skript-dziwny-blad-w-promieniu/#findComment-87324
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ę...