TagAPI

60 - nickname too long

I have a nickname to 15 characters and when I use tagapi my nickname above head changes color, but I lose the skin because my nickname becomes from the_real_legend to the_real_legen

It's possible to fix?
Sorry for my bad bad english :P

User When Change
mbaxter Jul 27, 2013 at 00:59 UTC
thereallegend Jul 21, 2013 at 05:44 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 4 comments
  • Avatar of mbaxter mbaxter Jul 27, 2013 at 00:59 UTC - 0 likes

    TagAPI cuts the name passed to the event down to 16 characters, mattataki, nor does a long name crash the server. As for this ticket's issue, that cannot be 'fixed' because of the 16 character limit.

    www.joe.to Gaming Community - Over a decade of fun!

    Four Minecraft servers, four TF2 servers, CSS and Garry's Mod.

    http://forums.joe.to

  • Avatar of mattataki mattataki Jul 24, 2013 at 02:18 UTC - 0 likes

    Same issue here, I know color codes counts as characters in the max int string of 16. So if i add a prefix let's say &xplayername, if the playername is above 14 chars, it will crash the server. How do I cut the playername to keep my color codes? TagAPI is not doing so. It is not cutting the name length.

  • Avatar of thereallegend thereallegend Jul 21, 2013 at 17:19 UTC - 0 likes

    in tagapi or in BattleTags? because i'd like to use battletag for towny names Nations belove head

  • Avatar of kamcio96 kamcio96 Jul 21, 2013 at 10:37 UTC - 0 likes

    Use:

    char[] prename = YourClass.getYourTag(player).toCharArray();
    String name = "";	
    for(int i=0;i<Math.min(16, prename.length); i++){
        name = name + prename[i];
    }
    
  • 4 comments

Facts

Last updated
Jul 27, 2013
Reported
Jul 21, 2013
Status
Invalid - This was not a valid report.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
1

Reported by

Possible assignees