-
Ilość zawartości
600 -
Rejestracja
-
Wygrane w rankingu
5
Treść opublikowana przez piratjsk
-
tak. Smok
-
nie. Smok
-
ktoś chce zażyć trochę matematyki?
-
@offtopic Tak w zasadzie to posty @4up i @5up mógłbym uznać za spam i zawarnować. Skoro skrypt jest według was niepotrzebny, nie warty uwagi to po co poświęcacie mu uwagę i piszecie w temacie, który was nie interesuje? @topic Skrypt ok. Ciekawi mnie tylko linijka: (32) set {_arg1} to "%argument 1%". Nie lepiej porostu odwoływać się do arg 1 zamiast zapisywać ten argument do zmiennej? I tak samo jest kilka linijek set {_arg2} to "%argument 2%", nie lepiej korzystać z arg 2.
-
opis: Gdy chcę skorzystać w funkcji z wyrażenia return true lub return false serwer wypluwa na konsoli błąd i się zawiesza. Gdy najpierw zapiszę, którąś z tych wartości do zmiennej (set {_r} to true) i zwrócę zmienną (return {_r}) wszystko ładnie działa. kod: function "test" {}: return falsecommand /test: trigger: set {_rt} to return of function "test" {} send "%{_rt}%" log z konsoli: [23:23:00] [Server thread/ERROR]: #!#! [23:23:00] [Server thread/ERROR]: #!#! [Skript] Severe Error:[23:23:00] [Server thread/ERROR]: #!#! [23:23:00] [Server thread/ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.[23:23:00] [Server thread/ERROR]: #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/[23:23:00] [Server thread/ERROR]: #!#! and check whether this error has already been reported.[23:23:00] [Server thread/ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,[23:23:00] [Server thread/ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.[23:23:00] [Server thread/ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.[23:23:00] [Server thread/ERROR]: #!#! By following this guide fixing the error should be easy and done fast.[23:23:00] [Server thread/ERROR]: #!#! [23:23:00] [Server thread/ERROR]: #!#! Stack trace:[23:23:00] [Server thread/ERROR]: #!#! ch.njol.skript.SkriptAPIException: UnparsedLiterals must be converted before use[23:23:00] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.UnparsedLiteral.invalidAccessException(UnparsedLiteral.java:275)[23:23:00] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.UnparsedLiteral.getSingle(UnparsedLiteral.java:305)[23:23:00] [Server thread/ERROR]: #!#! at net.dzikoysk.wildskript.collections.functions.elements.EffReturn.execute(EffReturn.java:18)[23:23:00] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:50)[23:23:00] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63)[23:23:00] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91)[23:23:00] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)[23:23:00] [Server thread/ERROR]: #!#! at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:149)[23:23:00] [Server thread/ERROR]: #!#! at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:109)[23:23:00] [Server thread/ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)[23:23:00] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501)[23:23:00] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486)[23:23:00] [Server thread/ERROR]: #!#! at net.dzikoysk.wildskript.collections.functions.Function.call(Function.java:17)[23:23:00] [Server thread/ERROR]: #!#! at net.dzikoysk.wildskript.collections.functions.elements.ExprFunction.get(ExprFunction.java:24)[23:23:00] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:101)[23:23:00] [Server thread/ERROR]: #!#! at ch.njol.skript.effects.EffChange.execute(EffChange.java:270)[23:23:00] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:50)[23:23:00] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63)[23:23:00] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91)[23:23:00] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)[23:23:00] [Server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand$1.call(ScriptCommand.java:220)[23:23:00] [Server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand$1.call(ScriptCommand.java:1)[23:23:00] [Server thread/ERROR]: #!#! at ch.njol.skript.util.Task.callSync(Task.java:139)[23:23:00] [Server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:193)[23:23:00] [Server thread/ERROR]: #!#! at ch.njol.skript.command.Commands.handleCommand(Commands.java:260)[23:23:00] [Server thread/ERROR]: #!#! at ch.njol.skript.command.Commands$1.onServerCommand(Commands.java:171)[23:23:00] [Server thread/ERROR]: #!#! at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[23:23:00] [Server thread/ERROR]: #!#! at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[23:23:00] [Server thread/ERROR]: #!#! at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[23:23:00] [Server thread/ERROR]: #!#! at java.lang.reflect.Method.invoke(Unknown Source)[23:23:00] [Server thread/ERROR]: #!#! at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292)[23:23:00] [Server thread/ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)[23:23:00] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501)[23:23:00] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486)[23:23:00] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_7_R4.DedicatedServer.aB(DedicatedServer.java:290)[23:23:00] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:259)[23:23:00] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:558)[23:23:00] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:469)[23:23:00] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628)[23:23:00] [Server thread/ERROR]: #!#! [23:23:00] [Server thread/ERROR]: #!#! Version Information:[23:23:00] [Server thread/ERROR]: #!#! Skript: 2.1.2[23:23:00] [Server thread/ERROR]: #!#! Bukkit: 1.7.10-R0.1-SNAPSHOT[23:23:00] [Server thread/ERROR]: #!#! Minecraft: 1.7.10[23:23:00] [Server thread/ERROR]: #!#! Java: 1.7.0_67[23:23:00] [Server thread/ERROR]: #!#! [23:23:00] [Server thread/ERROR]: #!#! Running CraftBukkit: false[23:23:00] [Server thread/ERROR]: #!#! [23:23:00] [Server thread/ERROR]: #!#! Current node: null[23:23:00] [Server thread/ERROR]: #!#! Current item: net.dzikoysk.wildskript.collections.functions.elements.EffReturn[23:23:00] [Server thread/ERROR]: #!#! [23:23:00] [Server thread/ERROR]: #!#! Thread: Server thread[23:23:00] [Server thread/ERROR]: #!#! [23:23:00] [Server thread/ERROR]: #!#! End of Error.[23:23:00] [Server thread/ERROR]: #!#!
-
liczy ktoś czy rzeczywiście jest tu 140 znaków?
-
nie. Smok
-
nie. Smok
-
nie. Smok
-
nie. Smok
-
nie. Smok
-
nie. Smok
-
nie. Smok
-
nie. Smok
-
nie. Smok
