[CHAT] tinyWhisperV1.2 - A simple whisper mod [1185]

Discussion in 'Inactive/Unsupported Plugins' started by Onecup, Sep 24, 2011.

     
  1. Offline

    Onecup

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    tinyWhisper - A simple whisper mod(by request):
    Version: v1.2

    Usage is simple:


    Type the code above to send your friends a message.

    For example:

    This sends Onecup the message "Yourname whispers: Hey. What's up?"

    FEATURES:

    Users have a unique colour assigned to their name to easily keep track of who is whispering you. Additionally, you only have to type the first couple letters of the player's name you want to send the message to.

    For example:
    If Onecup, Testing, and Tester are online the commmand "/w o" would be sufficient to send Onecup a message. However, to send Testing a message, you would have to type /w Testi (up to the letter that makes the player's name different than the similar name, Tester.)

    DOWNLOAD:
    tinyWhisper v1.2

    Attention:
    Complete rewrote and tested tinyWhisper. Please upgrade to v1.2

    Changelog:

    Version 1.2.0
    • Completely rewrote and tested tinyWhisper to address a significant bug that existed in previous versions.
    Version 1.1.2
    • Fixed an error that occurred when you tried to whisper a name that had more characters in it than any player currently online.
    Version 1.1
    • Added colours to player whispers - unique to player name.
    • Added simple messaging.
    Version 1.0
    • Release

    Known bugs:
    • There is no way to message John if there is a Johnny online, or Onecup if Onecupper is online(examples).
    • Priority - High: Error when /w is followed by more than one space.
    Please post any bugs you find, or any features you would like to see added to the forum thread or email OnecupBukkit@gmail.com

    This post has been edited 24 times. It was last edited by Onecup Sep 28, 2011.
    recon88 likes this.
  2.  
  3. Offline

    recon88

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thx man for making this plugin for me <3


    Hope u will get fixed the bugs sooner or later
  4. Offline

    Onecup

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'll fix them sometime this weekend I think. At least the main one. The first one is a rare occurrence.
  5. Offline

    Adrenaline

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    aaaa dont work :S i type /w nick message and only got "An internal server error...."
  6. Offline

    Onecup

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you provide any more information than that? I have had to program it fairly blindly because I don't have any players on my server with names that share the same first letter.

    This post has been edited 3 times. It was last edited by Onecup Sep 24, 2011.
  7. Offline

    Adrenaline

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    PHP:
    2011-09-24 05:59:11 [SEVEREnull
    org
    .bukkit.command.CommandExceptionUnhandled exception executing command 'w' in plugin tinyWhisper v1.1
        at org
    .bukkit.command.PluginCommand.execute(PluginCommand.java:41)
        
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
        
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
        
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
        
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
        
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
        
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused byjava.lang.StringIndexOutOfBoundsExceptionString index out of range6
        at java
    .lang.String.substring(String.java:1955)
        
    at me.onecup.tinyWhisper.tinyWhisper.onCommand(tinyWhisper.java:52)
        
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
        ... 
    12 more
  8. Offline

    Onecup

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I understand that there was a null error, there are two bugs causing this at the moment that I know of and I will attend to them shortly. The first happens when you enter too many spaces after /w, the second happens when you try to whisper a name that is longer than anyone who is online. What I'm asking is, how many times did this error occur, and what instances were surrounding it. Is there a player named Nick online? Are there any other players sharing a similar name, ie starting w/ N or Ni or Nic.. etc etc.

    Thank you very much in advance.

    This post has been edited 2 times. It was last edited by Onecup Sep 24, 2011.
  9. Offline

    Adrenaline

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    /w Peyer lol - WORK
    /w Medises lol - Dont work..
    -> error log
    PHP:
    2011-09-24 06:58:56 [SEVEREnull
    org
    .bukkit.command.CommandExceptionUnhandled exception executing command 'w' in plugin tinyWhisper v1.1
        at org
    .bukkit.command.PluginCommand.execute(PluginCommand.java:41)
        
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
        
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
        
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
        
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
        
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
        
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused byjava.lang.StringIndexOutOfBoundsExceptionString index out of range7
        at java
    .lang.String.substring(String.java:1955)
        
    at me.onecup.tinyWhisper.tinyWhisper.onCommand(tinyWhisper.java:52)
        
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
        ... 
    12 more
  10. Offline

    Adrenaline

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Fix: Delete nick length

    When i type

    /w Medi lol <- WORK

    when type:

    /w Medises lol <- dont work

    :)))
  11. Offline

    recon88

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Error occurs when we try to whisper a name with 7 or more charactes
    /w 1234567 Test
    /w abcdefg Test

    This post has been edited 1 time. It was last edited by recon88 Sep 24, 2011.
  12. Offline

    Onecup

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Alright guys, I'm going to fix the bugs I know exist right now and I think that will solve your problems.
  13. Offline

    Onecup

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  14. Offline

    recon88

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Still 1 Bug:

    my ingame nick is recon_

    so: /w recon_ - results in "User not online"
    /w rec - results in correct whisper to recon_
  15. Offline

    Onecup

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Now I understand your guys' problem. You never said it needed to work with nicknames? What addon are you using that uses nicknames?
  16. Offline

    recon88

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No :D
    my minecraft name is recon_
    The name which i use to login in the launcher ;)
  17. Offline

    recon88

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It seems to be only if the other guy u wanna whisper has a uppercase at the beginning
  18. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    title missing description
  19. Offline

    Onecup

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Fixed.
  20. Offline

    Onecup

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @recon88 @Adrenaline

    If either of you are still wanting to use this plugin I have completely rewritten it and tested it on my server. If you still get an error let me know, it might be due to a conflict with another plugin.

    This post has been edited 1 time. It was last edited by Onecup Sep 28, 2011.
    Adrenaline likes this.
  21. Offline

    Adrenaline

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Works fine.. ;P
  22. Offline

    Onecup

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That's so good to hear.
  23. Offline

    Tim Visee

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi, it would be great if you could update the plugin to minecraft 1.2.3 since this is the newest version.
    If you are busy or anything and you could send me the source I'll write a temporary patch for minecraft 1.2.3.
    Thanks in advance. Tim Visée
  24. Offline

    md_5

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Long time no see @Onecup. You will notice that this thread has now been placed into the Inactive Plugin subforum.
    If you wish to revive this plugin, please ensure that you update and test compatibility with the latest recommended Bukkit build before reporting your original post, asking for it to be moved back to the release forum.

    Thanks for your time.
    md_5

Share This Page