Skocz do zawartości
  • 0

Errory


Slupik98
 Udostępnij

Pytanie

Wczoraj wszystko działało. 0 Błędów we wszystkich skryptach. Dziś daje im reload i aż 72 błędy. Mam też problem przy niektórych skrytach, że nie odczytuje komendy i ogólnie jakieś dziwne bugi.

Wina skryptów to nie jest bo wczoraj było ok. Macie jakiś pomysły?

W ciągu nocy chyba nie postanowiły przestać działać....

Odnośnik do komentarza
Udostępnij na innych stronach

6 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

[17:32:24] [Server thread/INFO]: [Skript] Reloading test.sk...[17:32:24] [Server thread/ERROR]: There are multiple loops that match loop-entity. Use loop-entity-1/2/3/etc. to specify which loop's value you want. (test.sk, line 269: push loop-entity above at speed 1.5')[17:32:24] [Server thread/ERROR]: There are multiple loops that match loop-entity. Use loop-entity-1/2/3/etc. to specify which loop's value you want. (test.sk, line 270: push loop-entity behind at speed 2')[17:32:24] [Server thread/ERROR]: There are multiple loops that match loop-entity. Use loop-entity-1/2/3/etc. to specify which loop's value you want. (test.sk, line 309: if loop-entity is a falling block:')[17:32:24] [Server thread/ERROR]: There are multiple loops that match loop-entity. Use loop-entity-1/2/3/etc. to specify which loop's value you want. (test.sk, line 313: if loop-entity is a falling block:')[17:32:24] [Server thread/ERROR]: There are multiple loops that match loop-entity. Use loop-entity-1/2/3/etc. to specify which loop's value you want. (test.sk, line 318: if loop-entity is a falling block:')[17:32:24] [Server thread/ERROR]: There are multiple loops that match loop-entity. Use loop-entity-1/2/3/etc. to specify which loop's value you want. (test.sk, line 323: if loop-entity is a falling block:')[17:32:24] [Server thread/ERROR]: There are multiple loops that match loop-entity. Use loop-entity-1/2/3/etc. to specify which loop's value you want. (test.sk, line 329: if loop-entity is dropped item:')[17:32:24] [Server thread/ERROR]: There are multiple loops that match loop-entity. Use loop-entity-1/2/3/etc. to specify which loop's value you want. (test.sk, line 332: if loop-entity is falling block:')[17:32:24] [Server thread/INFO]: [Skript] Encountered 8 errors while reloading test.sk! 

kod:

on item hit:	event-item is a potion:16386:		create fake explosion		set {_loc} to location of event-location		set {_cel} to location above event-location		set {_nick} to player		loop entities in radius 6 around event-location:			push loop-entity above at speed 1.5			push loop-entity behind at speed 2		loop blocks in radius 6 around event-location:			set {_loc} to location of loop-block			set {_block} to loop-block			set {_location} to location of loop-block			if {_block} is stone:				delete loop-block				spawn falling stone at {_loc}(mało istotny kod - bo wszędzie prawie to samo)		loop entities in radius 8 around event-location:			if loop-entity is a falling block:				push loop-entity above at speed 1		wait 1 second		loop entities in radius 10 around event-location:			if loop-entity is a falling block:				set {_speed} to random integer between 3 and 9				set {_speed} to {_speed} / 10				push loop-entity north or east or west or south or above at speed {_speed}		loop entities in radius 20 around event-location:			if loop-entity is a falling block:				set {_speed} to random integer between 3 and 9				set {_speed} to {_speed} / 10				push loop-entity north or east or west or south or above at speed {_speed}		loop entities in radius 20 around event-location:			if loop-entity is a falling block:				set {_speed} to random integer between 3 and 9				set {_speed} to {_speed} / 10				push loop-entity north or east or west or south or above at speed {_speed}		wait 6 seconds		loop entities in radius 60 around event-location:			if loop-entity is dropped item:				delete loop-entity		loop entities in radius 100 around event-location:			if loop-entity is falling block:				delete loop-entity 

To tylko 1 ze skryptów, który powinień działać, a nie działa. I tak wszędzie. Te same errory :/

A przecież raczej nic nie zmeiniałem. Po Prostu wywala błędy.

A tutaj inny error, trochę odbiegający od reszty :P

[17:26:55] [Server thread/ERROR]: #!#! [17:26:55] [Server thread/ERROR]: #!#! [Skript] Severe Error:[17:26:55] [Server thread/ERROR]: #!#! Could not load SkyWars.sk[17:26:55] [Server thread/ERROR]: #!#! [17:26:55] [Server thread/ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.[17:26:55] [Server thread/ERROR]: #!#! If you're a server admin however please go toZarejestruj się lub zaloguj, aby zobaczyć ukrytą treść! [Server thread/ERROR]: #!#! and check whether this error has already been reported.[17:26:55] [Server thread/ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,[17:26:55] [Server thread/ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.[17:26:55] [Server thread/ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.[17:26:55] [Server thread/ERROR]: #!#! By following this guide fixing the error should be easy and done fast.[17:26:55] [Server thread/ERROR]: #!#! [17:26:55] [Server thread/ERROR]: #!#! Stack trace:[17:26:55] [Server thread/ERROR]: #!#! java.lang.IllegalArgumentException: Illegal group reference[17:26:55] [Server thread/ERROR]: #!#!     at java.util.regex.Matcher.appendReplacement(Matcher.java:808)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.util.StringUtils.replaceAll(StringUtils.java:88)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.util.StringUtils.replaceAll(StringUtils.java:68)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.replaceOptions(ScriptLoader.java:582)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:612)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:55)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Conditional.<init>(Conditional.java:44)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:701)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Loop.<init>(Loop.java:74)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:651)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:55)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Conditional.<init>(Conditional.java:44)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:701)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:55)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Conditional.<init>(Conditional.java:44)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:701)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:55)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Conditional.<init>(Conditional.java:44)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:701)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:55)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Conditional.<init>(Conditional.java:44)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:701)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.Commands.loadCommand(Commands.java:449)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:462)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:239)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:193)[17:26:55] [Server thread/ERROR]: #!#!     at ch.njol.skript.Skript$2.run(Skript.java:378)[17:26:55] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:53)[17:26:55] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)[17:26:55] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:587)[17:26:55] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250)[17:26:55] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545)[17:26:55] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457)[17:26:55] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)[17:26:55] [Server thread/ERROR]: #!#! [17:26:55] [Server thread/ERROR]: #!#! Version Information:[17:26:55] [Server thread/ERROR]: #!#!   Skript: 2.1.2[17:26:55] [Server thread/ERROR]: #!#!   Bukkit: 1.7.2-R0.3[17:26:55] [Server thread/ERROR]: #!#!   Minecraft: 1.7.2[17:26:55] [Server thread/ERROR]: #!#!   Java: 1.7.0_51[17:26:55] [Server thread/ERROR]: #!#! [17:26:55] [Server thread/ERROR]: #!#! Running CraftBukkit: false[17:26:55] [Server thread/ERROR]: #!#! [17:26:55] [Server thread/ERROR]: #!#! Current node: set {_mess} to "{@SkyWars.info.wygrano.arene.pl}" (SkyWars.sk, line 223)[17:26:55] [Server thread/ERROR]: #!#! Current item: null[17:26:55] [Server thread/ERROR]: #!#! [17:26:55] [Server thread/ERROR]: #!#! Thread: Server thread[17:26:55] [Server thread/ERROR]: #!#! [17:26:55] [Server thread/ERROR]: #!#! End of Error.[17:26:55] [Server thread/ERROR]: #!#! 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

ale ty czytaj chłopie kod i moje wypowiedzi...

dzięki za odpowiedź, ale tam kurde nie ma 2 pętli, a pokazuje że jest właśnie wiele pętli i to mój problem. Dodatkowo nie można wczytac 1 skryptu, a wczoraj WSZYSTKIE skrypty działały, a teraz mamją awarię. Po nocy jakoś im się tak stało.

Bo gdzie tu masz 2 pętle:

on item hit:    event-item is a potion:16386:        create fake explosion        set {_loc} to location of event-location        set {_cel} to location above event-location        set {_nick} to player        loop entities in radius 6 around event-location:            push loop-entity above at speed 1.5            push loop-entity behind at speed 2        loop blocks in radius 6 around event-location:            set {_loc} to location of loop-block            set {_block} to loop-block            set {_location} to location of loop-block            if {_block} is stone:                delete loop-block                spawn falling stone at {_loc}

są obok siebie, ale petla 2 nie jest zapętlona w 1, są od siebie niezależne...

Pozatym, sry że tak się uniosę rangą, ale jestem w SDT i nie popełniłbym takiego błędu.

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Hahaha. JU MEJD MAJ DEJ

Pozatym, sry że tak się uniosę rangą, ale jestem w SDT i nie popełniłbym takiego błędu. 

Tak jakby to miało jakieś znaczenie ^_^

Spróbowałbym jednak w pętli z tym '-numer', bo skript ma tendencję do bugowania prostych spraw ;P 

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

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