Sign in to follow this  
LittleNightmare

what is the use of encode_user_path

Recommended Posts

I cannot find any explanation about encode_user_path.

 

During my testing,

Master/server.ini

[NETWORK]
server_port = 10999


[SHARD]
is_master = true


[ACCOUNT]
encode_user_path = true

Cave/server.ini

[NETWORK]
server_port = 10998


[SHARD]
is_master = false
name = Caves
id = xxxxxxx


[ACCOUNT]
encode_user_path = true


[STEAM]
master_server_port = 27017
authentication_port = 8767

the player who directly connects the server cannot goto Cave. (c_connect) they will lose connection during loading

 

if I retain Cave/server.ini and change Master/server.ini to

[NETWORK]
server_port = 10999


[SHARD]
is_master = true


[STEAM]
master_server_port = 27019
authentication_port = 8769

all the players need to reselect their character and lose their personal data

Share this post


Link to post
Share on other sites
CarlZalph    3,335

Inside the server's session folder exists the world state and folders for each KleiID user (client).  Encoded paths take the KleiID and transform them into a two-way encoding that's all uppercase characters.  I think it was added to let OSes that are case insensitive handle the filepaths properly since KleiIDs are case sensitive which allows for duplicate looks IDs but with different case.

When you switch it to the non-encoded then the server "loses" the characters as the game is no longer looking for encoded folder names but rather the KleiIDs individually.

It's best to leave it encoded.

 

As for the connection issue with the client failing to connect directly, the c_connect isn't super supported.  It's just there as a debug leftover.

Share this post


Link to post
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

Sign in to follow this