Closed ProgrammerDan closed 9 years ago
I lied; this is the offending line: https://github.com/Civcraft/JukeAlert/blob/master/src/com/untamedears/JukeAlert/storage/JukeAlertLogger.java#L1192
It seems to make space for 20 chars. How is that truncating 16 char names? On May 12, 2015 1:20 PM, "Daniel Boston" notifications@github.com wrote:
I lied; this is the offending line: https://github.com/Civcraft/JukeAlert/blob/master/src/com/untamedears/JukeAlert/storage/JukeAlertLogger.java#L1192
— Reply to this email directly or view it on GitHub https://github.com/Civcraft/JukeAlert/issues/25#issuecomment-101409020.
?? Player names are not limited to 16 characters. I routinely see people on snitches who names exceed the displayed value, and as a consequence their name is truncated. I am unable to appropriately pursue them in a bounty as I can't identify that it is indeed them.
Or, are you suggesting that the database itself is hardcoded to only store 16 characters for each actor's name? That's ... well, that's terrible, if it's the case. I had assumed the 16 char DB field was for UNID, not translated actor name.
A players name cannot exceed 16 characters is what he is saying. On May 12, 2015 6:13 PM, "Daniel Boston" notifications@github.com wrote:
Or, are you suggesting that the database itself is hardcoded to only store 16 characters for each actor's name? That's ... well, that's terrible, if it's the case. I had assumed the 16 char DB field was for UNID, not translated actor name.
— Reply to this email directly or view it on GitHub https://github.com/Civcraft/JukeAlert/issues/25#issuecomment-101438400.
And I am saying that that is incorrect. I'll dig up some evidence in a bit.
On Tue, May 12, 2015 at 6:39 PM, rourke750 notifications@github.com wrote:
A players name cannot exceed 16 characters is what he is saying. On May 12, 2015 6:13 PM, "Daniel Boston" notifications@github.com wrote:
Or, are you suggesting that the database itself is hardcoded to only store 16 characters for each actor's name? That's ... well, that's terrible, if it's the case. I had assumed the 16 char DB field was for UNID, not translated actor name.
— Reply to this email directly or view it on GitHub <https://github.com/Civcraft/JukeAlert/issues/25#issuecomment-101438400 .
— Reply to this email directly or view it on GitHub https://github.com/Civcraft/JukeAlert/issues/25#issuecomment-101445812.
Alright, the name length may not be incorrect, but here's an example of the clipping in the client:
The full name is EnderPearlHarbor, but the /jainfo command only displays EnderPearlHar.
This occurs regularly.
That's the group name.
Edit: Teach me to not look at the pic. Let me actually look, but MC names can only be 16 characters.
No, no that's player name. It's something about whatever magic ChatFiller is failing to do properly. Just remove ChatFiller.fillString from that line you pointed out and I would think things would work.
On Tue, May 12, 2015 at 5:09 PM, Nick erocss@gmail.com wrote:
That's the group name.
On Tue, May 12, 2015 at 4:40 PM, Daniel Boston notifications@github.com wrote:
Alright, the name length may not be incorrect, but here's an example of the clipping in the client:
The full name is EnderPearlHarbor, but the /jainfo command only displays EnderPearlHar.
This occurs regularly.
— Reply to this email directly or view it on GitHub https://github.com/Civcraft/JukeAlert/issues/25#issuecomment-101460756.
@erocs I think the fill line is so that each thing is for sure on one line.
But its truncating the name when it shouldn't.
On Tue, May 12, 2015 at 5:56 PM, rourke750 notifications@github.com wrote:
@erocs https://github.com/erocs I think the fill line is so that each thing is for sure on one line.
— Reply to this email directly or view it on GitHub https://github.com/Civcraft/JukeAlert/issues/25#issuecomment-101472155.
https://github.com/Civcraft/JukeAlert/blob/master/src/com/untamedears/JukeAlert/chat/SendSnitchInfo.java#L55
This line has caused me no end of problems, heh. The rationale for artificially limiting the displayed length of some of the most important information from the Juke logs has never sat well with me. I'm happy to address this one myself but figured I'd toss up an issue in case there was an actual legitimate reason.