Hey there. Im trying to make a King of The Hill Script, but...
I have a problem... When im reloading my script there is no errors, but... When im executing my command that is supossed to make a world guard region it gives me an error.. "An internal error has ocurred while attempting to perform this command" Im gonna post the console error under here, and also some of the code. (I have PirateSK) - Sorry for bad english and im really tired.
CODE: ERROR:
https://hastebin.com/onotetegik.vbs i found out that the error was a little fuckt in the [ CODE ] thingy
Script lines that execute the error:
I have a problem... When im reloading my script there is no errors, but... When im executing my command that is supossed to make a world guard region it gives me an error.. "An internal error has ocurred while attempting to perform this command" Im gonna post the console error under here, and also some of the code. (I have PirateSK) - Sorry for bad english and im really tired.
CODE: ERROR:
Code:
07.08 02:10:01 [Server] INFO TigerPvPzzz [b3014bf6-9aa5-4c63-84ae-6ce9bfb5f291]: /koth accept 07.08 02:10:01 [Server] ERROR #!#! 07.08 02:10:01 [Server] ERROR #!#! [Skript] Severe Error: 07.08 02:10:01 [Server] ERROR #!#! 07.08 02:10:01 [Server] ERROR #!#! If you're developing an add-on for Skript this likely means that you have done something wrong. 07.08 02:10:01 [Server] ERROR #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/ 07.08 02:10:01 [Server] ERROR #!#! and check whether this error has already been reported. 07.08 02:10:01 [Server] ERROR #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it, 07.08 02:10:01 [Server] ERROR #!#! and describe what you did before it happened and/or what you think caused the error. 07.08 02:10:01 [Server] ERROR #!#! If you think that it's a trigger that's causing the error please post the trigger as well. 07.08 02:10:01 [Server] ERROR #!#! By following this guide fixing the error should be easy and done fast. 07.08 02:10:01 [Server] ERROR #!#! 07.08 02:10:01 [Server] ERROR #!#! Stack trace: 07.08 02:10:01 [Server] ERROR #!#! java.lang.IllegalArgumentException: Invalid region ID: <none> 07.08 02:10:01 [Server] ERROR #!#! at com.sk89q.worldguard.protection.regions.ProtectedRegion.<init>(ProtectedRegion.java:78) 07.08 02:10:01 [Server] ERROR #!#! at com.sk89q.worldguard.protection.regions.ProtectedCuboidRegion.<init>(ProtectedCuboidRegion.java:64) 07.08 02:10:01 [Server] ERROR #!#! at com.sk89q.worldguard.protection.regions.ProtectedCuboidRegion.<init>(ProtectedCuboidRegion.java:52) 07.08 02:10:01 [Server] ERROR #!#! at me.sharpjaws.sharpSK.hooks.WorldGuard.EffCreateRegion.execute(EffCreateRegion.java:53) 07.08 02:10:01 [Server] ERROR #!#! at ch.njol.skript.lang.Effect.run(Effect.java:54) 07.08 02:10:01 [Server] ERROR #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63) 07.08 02:10:01 [Server] ERROR #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91) 07.08 02:10:01 [Server] ERROR #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:53) 07.08 02:10:01 [Server] ERROR #!#! at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:222) 07.08 02:10:01 [Server] ERROR #!#! at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:184) 07.08 02:10:01 [Server] ERROR #!#! at ch.njol.skript.command.Commands.handleCommand(Commands.java:269) 07.08 02:10:01 [Server] ERROR #!#! at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:164) 07.08 02:10:01 [Server] ERROR #!#! at sun.reflect.GeneratedMethodAccessor185.invoke(Unknown Source) 07.08 02:10:01 [Server] ERROR #!#! at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 07.08 02:10:01 [Server] ERROR #!#! at java.lang.reflect.Method.invoke(Method.java:497) 07.08 02:10:01 [Server] ERROR #!#! at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) 07.08 02:10:01 [Server] ERROR #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 07.08 02:10:01 [Server] ERROR #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) 07.08 02:10:01 [Server] ERROR #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) 07.08 02:10:01 [Server] ERROR #!#! at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1154) 07.08 02:10:01 [Server] ERROR #!#! at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) 07.08 02:10:01 [Server] ERROR #!#! at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) 07.08 02:10:01 [Server] ERROR #!#! at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) 07.08 02:10:01 [Server] ERROR #!#! at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) 07.08 02:10:01 [Server] ERROR #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
Script lines that execute the error:
Code:
If arg-1 is "Accept":
If {Koth.creating.%player%} is set:
If {Koth.markeret} is set:
If {Pos1} is set:
If {Pos2} is set:
create wg region "%{Koth.set.%{Koth.creating.%player%}%}%" between {Pos1} and {Pos2} in world "KitPvP"
Set {Koth.set.%{Koth.creating.%player%}%} to {Koth.set.%{Koth.creating.%player%}%}
Wait 1 tick
Add {Koth.creating.%player%} to {Koth.List::*}
Wait 1 tick
Delete {Pos1}
Delete {Pos2}
Delete {Koth.markeret}
Send "{@p} &3Du har nu lavet &7%{Koth.creating.%player%}%"
Delete {Koth.creating.%player%}