Jump to content

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...