Jump to content

B42 Multiplayer - Remove Client hard coded "UI_OnConnectFailed_" on AccessDenied packet


Ralms

Recommended Posts

This is a simple request. 

Currently, the client, when it receives Packet "AccessDenied" during login, will look for the translation reason by prepending "UI_OnConnectFailed_".
In order to allow java modded servers to customize with more freedom the login access denied message, please move this to the server side. 
Otherwise, custom messages are presented as "UI_OnConnectFailed_Whatever reason the server sent back". 

 

The code in question is located on GameClient.receiveAccessDenied(ByteBuffer, short), when doing Translator.getText().

 

Thank you. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...