heart @HiGuy : Please trim Multiplayer Team Names

  • Aayrl
  • Aayrl's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Big Deal!
  • Posts: 1118
  • Thank you received: 370
13 Jun 2014 21:55 #1
See the attached picture for details. <3



~Aayrl
Attachments:
The following user(s) said Thank You: Jeff

Please Log in or Create an account to join the conversation.

  • Jeff
  • Jeff's Avatar
  • Offline
  • Elite Marbler
  • Elite Marbler
  • PlatinumQuest Programmer
  • Posts: 1680
  • Thank you received: 205
13 Jun 2014 21:58 - 13 Jun 2014 21:59 #2
suggested fix:
Code:
$MaxTeamNameChars = 15; function Team::trimName(%name) { %len = strlen(%name); if (%len > $MaxTeamNameChars) %name = getSubStr(%name, 0, $MaxTeamNameChars - 3) @ "..."; return %name; }

I am a programmer. Most here know me for being one of the major contributors to Marble Blast Platinum and PlatinumQuest.
Last edit: 13 Jun 2014 21:59 by Jeff.

Please Log in or Create an account to join the conversation.

  • HiGuy
  • HiGuy's Avatar
  • Offline
  • Lead Developer
  • Lead Developer
  • PQ Developer Emeritus
  • Posts: 1334
  • Thank you received: 605
14 Jun 2014 02:25 #3
I... I... I'm afraid to ask...

Noted, thanks

This signature is real code
Code:
function clientcmd12dothepq() { commandToClient(LocalClientConnection, '34onthedancefloor'); }
The following user(s) said Thank You: Aayrl, Jeff

Please Log in or Create an account to join the conversation.

Moderators: Doomblah
Time to create page: 1.883 seconds