TDRSonar - Underground Information Notifier: Version: v1.3.9 TDRSonar (ThreeDayRespawn Sonar) gives multiple tools while underground for better area awareness. New With 1.3.9: Works with latest CraftBukkit build Features: Lightweight and completely non-conflicting with other plugins Depth determiner. To figure out just how deep you are underground. Sonar sweeper. Searches a 3-dimensional area for a specific block. And returns the amount to you Sonar linear searcher. Checks a certain distance in front of the player for a particular block, then returns the amount and a sketch of where all the blocks lie. Compass. Commands: /sonar depth -returns depth/sonar sweep <itemData#> <radius> -returns how many of <itemData#> are in selected <radius>/sonar linear <itemData#> <radius> -returns how many of <itemData#> are in selected <distance>. Includes a visual printout. (The line of blocks this command checks in reference are the blocks ahead at Knee height, not at eye level). /sonar compass -returns your heading and declaration Future Updates: Permissions Support The ability to change the three-dimensional search pattern to a linear pattern Have '/sonar depth' return nearest block of air above you as well as your relation to sea level Different color text The ability to use the item names instead of just the values Changelog: Versions 1.3.9 Fixed for 600 Version 1.3.8 Fixed for 493 Version 1.3.7 Added linear and compass commands Changed sweep and linear formats Added color on return variables Version 1.3.0 Added color to return variables on Sonar Removed the lonnnnng Constructor Version 1.2.17 Fixed a bug where type World wasn't recognized for sonar sweep. Version 1.2.15 Plugin Release
Can you give me some of the exceptions your server is throwing? and be sure you actually are typing in something like '/sonar sweep 48 50' (will look for mossy cobblestone in a 50 block radius). Anything in the sonar sweep command that does not follow that specific '/sonar sweep <itemData#> <radius>' will fail and throw an exception.
2011-02-23 03:08:44 [INFO] rolli01 tried command: sonar sweep 48 50 <--- nothing happens ?? --- merged: Feb 23, 2011 2:10 AM --- 2011-02-23 03:09:46 [INFO] rolli01 tried command: sonar depth message: you are 65 above the datum plate
So the depth works... but sweep doesn't. And no exceptions being thrown? Strange. I think bukkit for beta .3 is about to release... I'll see what I can do. Anyone else having the same issue? Just found the problem. Give me a sec and I'll repost.... --- merged: Feb 23, 2011 2:57 AM --- Cool rolli01! I just fixed it. Try the new .zip
Just added a new Linear search feature + a new compass feature. Try it out. Should work with the latest build
Player_Command error on CB build #493... I dont have the log as I am away but it won't load due to it :/
Here we go, sorry for the delay Lihad. CB Build #493, TDRSonar v1.3.7 2011-03-05 03:11:49 [SEVERE] Could not pass event PLAYER_COMMAND to TDRSonar java.lang.ArrayIndexOutOfBoundsException: 2 at armstrong.TDRSonar.TDRPlayerListener.onPlayerCommand(TDRPlayerListener.java:35) at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:145) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225) at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:662) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:612) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:606) at net.minecraft.server.Packet3Chat.a(SourceFile:24) at net.minecraft.server.NetworkManager.a(SourceFile:230) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75) at net.minecraft.server.NetworkListenThread.a(SourceFile:100) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272) at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
In the process of fixin this right now, should have a fix shortly --- merged: Mar 5, 2011 9:38 PM --- Done! Try out the new .zip! I haven't tested it yet, so lemme know!
Any plans on updating this for CB 600+? 566+ doesn't work, I get this: Code: 2011-03-30 14:13:28 [SEVERE] Could not load plugins/TDRSonar.jar in plugins: null org.bukkit.plugin.InvalidPluginException at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:102) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:158) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:106) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:62) at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191) at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246) at net.minecraft.server.ThreadServerApplication.run(SourceFile:366) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:98) ... 8 more Caused by: java.lang.VerifyError: class armstrong.TDRSonar.TDRPlayerListener overrides final method onPlayerCommandPreprocess.(Lorg/bukkit/event/player/PlayerChatEvent;)V at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:632) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) at java.net.URLClassLoader.access$000(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:212) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24) at java.lang.ClassLoader.loadClass(ClassLoader.java:319) at java.lang.ClassLoader.loadClass(ClassLoader.java:264) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332) at armstrong.TDRSonar.TDRSonar.<init>(TDRSonar.java:21) ... 13 more
Looking into it right now .... ...Alright. Should be fixed for 600. I havent had a chance to test it yet, so let me know EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Just wanted to let you know that this isnt working with 612 but is with 609 and the only change is the packet's being updated. I get the error: Code: 13:33:19 [INFO] Disconnecting ZeePal [*]: Internal server error 13:33:19 [WARNING] Failed to handle packet: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 I also get this error with QuickStrasse but only once (start server, attempt connection, get error, reattempt connection, get in) but with yours i get it all them time and cant ever get in to the server. I am using SimpleServer but i also tried it without this and still have the same problem.
CB 617 gives me this at login: Code: Nag author: '<NoAuthorGiven>' of 'TDRSonar' about the following: onPlayerJoin has been replaced with a new signature, (PlayerJoinEvent).
Cool! I'll probably get around to updating this later tonight or tomorrow. Been a little busy lately but no worries
maby u could make a very simple plugin with /who and /players commands, global usage no permissons needed cant find a working one
Don't use a plus sign in the version tag. If you really need to use more versions, use [X-Y] or [X,Y].