Blockland Forums > Modification Help
RTB Development
M:
You could replace a bunch of the accented letter symbols with regular letters in their place, and strip the rest.
Or just use BL_IDs and a separate nickname. As much as using your current blockland name does relieve confusion, and also effectively prevent impersonation. You could also show the BL_ID and a link to their ID list page on the chat.
Ephialtes:
I'm going to go ahead as planned and users with crazy letters will not be able to use RTB Connect until BL v15.
If I have time later on I will change the authentication so the username doesn't need to be sent to the server, but this is low priority.
mctwist:
--- Quote from: Ephialtes on February 01, 2010, 03:46:48 AM ---PHP handles character encoding fine and Torque handles most character sets. I'm not sure what you're talking about.
--- End quote ---
If you're using AJAX and sending characters not in the UTF-8 character encoding, it will split the string sent. If you instead turns the characters to integers before sending them, and then tries to return them back to the correct character on the server, PHP are only able to turn back UTF-8 characters.
Ephialtes:
FYI, AJAX has nothing to do with php.
--- Quote from: mctwist on February 01, 2010, 11:37:31 AM ---PHP are only able to turn back UTF-8 characters.
--- End quote ---
Since when? I think you need to revise character encoding.
--- Quote from: Jaydee on February 01, 2010, 09:11:03 AM ---I've got another helpful idea:
Since server tracking for online buddies are possible, and we all know all RTB Servers can show what players are in their server, and that non-RTB servers cannot what players they have in the server list, I propose the idea of finding RTB players in a non-RTB server, and therefore, we can see who RTB users are in a certain server, even if it was RTB-powered or not.
Kinda useful if you want to check out who's in the server.
--- End quote ---
I don't understand how you're proposing we "find out" who's in a non-rtb server.
mctwist:
--- Quote from: Ephialtes on February 01, 2010, 12:40:00 PM ---FYI, AJAX has nothing to do with php.
Since when? I think you need to revise character encoding.
--- End quote ---
AJAX can only send UTF-8 characters, meaning that letters like åäö will crop the string from start to the first occurrence of those letters.
PHP otherwise can receive any letter it want. Although, if you from Torque would translate all letter to integers, and then translate them back to the ordinary characters(In this case chr), it fails.