Chat Messages/GBTimePlayed disconnecting players #2


  • Defect
  • Replied
Open
Assigned to _ForgeUser8323596
  • _ForgeUser7791455 created this issue Feb 12, 2012

    What steps will reproduce the problem?
    1. Type a message longer then normally allowed in Vanilla Minecraft, but is allowed do to a plugin added to my server.

    What is the expected output? What do you see instead?

    Expected output: To see my message and have everyone read it.
    Actual output: Disconnected from server with a message stating "Chat message too long. Disconnected from server."

    What version of the product are you using?

    [INFO] This server is running CraftBukkit version git-Bukkit-1.1-R3-b1846jnks (MC: 1.1) (Implementing API version 1.1-R3)
    [INFO] [GB.TimePlayed] Loading GB.TimePlayed v1.0.2.

    Do you have an error log of what happened?

    http://pastebin.com/HXF6X29B

    Please provide any additional information below.

    This might also be an issue with Vault loading PEX_Chat as my chat plugin instead of EssentialsChat. Why is this a problem? I don't even have PEX Chat. I am filing tickets with Vault and PEX regarding this to see if they are causing the issue but since the error in the console leads to your plugin, I believe it has also something to do with the GB.TimePlayed plugin perhaps.

    Thanks,
    Jason

  • _ForgeUser7791455 added the tags Defect New Feb 12, 2012
  • _ForgeUser8323596 posted a comment Feb 12, 2012

    Could you provide your GB.Timeplayed config as well? If it has something to do with chat-line length, i'd like to see what you have set it up to use.

  • _ForgeUser8323596 removed a tag New Feb 12, 2012
  • _ForgeUser8323596 added a tag Waiting Feb 12, 2012
  • _ForgeUser7791455 posted a comment Feb 12, 2012

    I did also believe it had to do with how I had customized the config file. (Perhaps making those sentences too long) So I deleted the GB.TimePlayed folder and let it generate a fresh config that I made very little changes to.

    http://pastebin.com/9E4LrtpR

    Edit @ 4:40pm (EST) It's not the config file messages disconnecting me by the way. It's when I type a regular message like "Hey, how you doing? blah blah blah...." As soon as I hit enter and it requires 2 chat entries (which it does for me automatically, nomrally) I get disconnected and that error message pops up in the console.


    Edited Feb 12, 2012
  • _ForgeUser7791455 removed a tag Waiting Feb 12, 2012
  • _ForgeUser7791455 added a tag Replied Feb 12, 2012
  • _ForgeUser8323596 posted a comment Feb 12, 2012

    And it still generates those errors?

  • _ForgeUser7791455 posted a comment Feb 12, 2012

    @FlyveHest: Go

    Yes it just happened to me.

  • _ForgeUser8323596 posted a comment Feb 12, 2012

    @NeoScooch: Go

    It happens when you log off? Are you running vanilla, or using Spout? (Server and/or client?)

    I can't seem to reproduce the error here (with yours or my own config), its not that you may run another plugin that modifies or cancels the connnected/joined server events in some way?

    The error in my plugin seems to be the result of the players login-time not being recorded, I can add some handling, but if the join time is not being recorded, the plugin will not work at all.

  • _ForgeUser8323596 posted a comment Feb 12, 2012

    I've uploade a new version, 1.0.3, which should handle this error (file needs to be approved before you can download it)

    If the error is replaced with a SEVERE logline instead, something is making the TimePlayed plugin not being able to register when a player logs on.

    The error can't be handled, except making it give a "nicer" warning, instead of throwing an exception. :(

  • _ForgeUser8323596 removed a tag Replied Feb 12, 2012
  • _ForgeUser8323596 added a tag Waiting Feb 12, 2012
  • _ForgeUser7791455 posted a comment Feb 12, 2012

    @FlyveHest: Go

    The plugin is working as expected. The only issue I have noticed is when I type /gbt help I receive nothing expect /gbtimeplayed help in my chat window. This error is not caused by the config file or me logging in or out. You know how when you type to another player on the server, just to talk to them? (normally you hit T to open your chat window) Well normally there should be a point when your message if cut off and you can't type anymore, you have to continue typing in a second message. Well EssentialsChat allows you to type an unlimited amount and it will separate your chat into multiple entries if needed so everything you typed appears for others to read. Well if I type a message say within 150 characters and hit enter I am fine. If I type a message that requires multiple chat inputs to display what I have said, nothing is displayed and I end up on the disconnect screen to read:

    Disconnected by server Chat too long

    bukkit 1.1-R3 BukkitInventoryTools 3.2.5 CleanroomGenerator 0.0.4 Essentials 2.8.2.2 EssentialsProtect 2.8.2.2 EssentialsChat 2.8.2.2 EssentialsSpawn 2.8.2.2 GB.TimePlayed 1.0.2 Lift 9.0 mcMMO 1.2.11 PermissionsEx 1.18 SimpleBackup 1.1 skySMP 0.1.1 Spout 737 SpoutFlight 1.3 SpoutShops 1.1 Vault 1.2.8 WorldEdit 5.2 WorldGuard 5.5 XPBanker 1.3

    That is everything my server is running. As I said, I also have filed tickets with Vault and PEX as I am unsure why Vault isn't hooking into EssentialsChat (which I do have) instead of hooking into PEXChat (which I don't have).

    Edit:

    Unfortunately "sleaker" the developer of Vault closed my ticket with a ridiculous response. He basically told me Vault loads PEXChat over EssentialsChat because PEXChat is the more compatible chat plugin. This makes no sense at all since I don't even have PEXChat. So he basically avoided answering why his plugin is loading a plugin I don't have.


    Edited Feb 12, 2012
  • _ForgeUser7791455 removed a tag Waiting Feb 12, 2012
  • _ForgeUser7791455 added a tag Replied Feb 12, 2012
  • _ForgeUser7791455 posted a comment Feb 12, 2012

    Okay I found the problem. It's my texture pack. I recently updated to the JohnSmith v9 texture pack. He has done some amazing this with the text. The lettering and everything is so smooth. But I suppose within his texture pack he has defined the amount of characters I am allowed to use which causes your plugin to disconnect me when EssentialsChat lets me go over the max characters my texture pack allows me to? LOL, does that make any sense or is it even possible?

    Anyways, I guess there is nothing you can do regarding this issue, is there? Maybe I should contact the maker of the texture pack and see if there is something he must/can change. Thanks for your time and great plugins you've made. Any chance you can allow users to use a command to see other's total online time? I know this will generate requests for permissions to this plugin and I know you like to keep it simple. I understand if it wouldn't be something your interesting in adding. Other then /gbt help not displaying any help info everything works as expected.


To post a comment, please login or register a new account.