Page 1 of 1

Default Error Messages

Posted: 11 Dec 2008, 06:11
by JarochoCity
Hey,

How can I change the default error messages, such as "User is already in this room" "Username is already taken" etc. Where can I Located them, to modify them, because I want to change them to spanish.

ThankYou,
JarochoCity

Posted: 11 Dec 2008, 07:40
by Lapo
At the moment error messages are not localize-able.
The feature will be added in the next major update.

We can suggest to simply 'capture' that string and use your own instead.

Posted: 06 Apr 2009, 16:12
by marcos
I catch this topic, to ask another question related to it.

Could you provide us a list of those error messages in order to catch them and translate "over the air"? We have detected some of them testing our application, but we don't know how many different messages are, because the API documentation is not too detailed at that point, for example, onJoinRoomError method says...
"This error could happen, for example, if the user is trying to join a room which is currently full."
The same for zone, login, etc. I think to have a list of different messages it's a valuable resource in order to personalize and translate the messages (it's great that it'll be added in the next major update!)

thanks in advance,

Posted: 06 Apr 2009, 17:49
by Lapo
Here we go:

[LOGIN]
Sorry, this zone is full!
You should provide a non empty user name!
User already logged in
This user name is already taken.
Your username contains badwords!
Too many connections coming from your ip address.

[JOIN]

This room is currently full
All player slots are occupied
All spectator slots are occupied
User is already in this room!
Room does not exist or was just deleted (id=XX)

[ROOM CREATION]
Bad or empty room name.
Room name already taken.
Too many rooms.
You have reached the max. amount of rooms that you can create at once.

[BUDDYLIST]
Unable to load the Buddy List!
Your buddy list is full!

Posted: 06 Apr 2009, 19:37
by marcos
Lapo,

Thank youvery much.
Your support at this forum it's fantastic. Keep it up!

Marcos.

Posted: 07 Apr 2009, 08:41
by marcos
Hi again Lapo,

I think there is at least one message is not included in this list. When you are banned and try to connect to the server, I rememeber you get a message that is not in this list.

I know there is a BannedLoginMessage in the config.xml, is this the message that I'm talking about it?

thanks!

Posted: 07 Apr 2009, 10:28
by Lapo
Correct, that's configurable
Example:

Code: Select all

<BannedLoginMessage>You have been banned!</BannedLoginMessage>

Posted: 04 Jul 2010, 01:03
by xLite
I never get "User already logged in" it's always "This user name is already taken." for me.

What would cause that?