Description:
When using the Deployable feature in AutoRetainer to manage submarines on the CN server, I encountered an issue regarding name length and string matching.
Steps to Reproduce / Problem:
- Rename a submarine to a name longer than 6 characters (the CN client allows up to 7 characters for submarines).
- Observe the name in the AutoRetainer UI or the setting json file.
- The characters exceeding the 6-character limit are replaced by a garbled symbol as the picture below.
Impact:
Because multiple submarines may end up with the same "truncated" name in the UI, the plugin's internal logic—which appears to rely on string matching as is shown for the field "EnabledSubs" below—fails. This causes the automation process (such as the Redeploy loop) to get stuck or fail to recognize the correct target.
Once the submarine names are shortened to 6 characters or fewer, all features function normally. This further indicates that the issue is likely related to character length rather than Chinese character encoding.
This has been reproduced consistently on the CN Server. Due to limited time, I have not yet tested this on the Global (EN) client. In the CN version, submarine names can be up to 7 characters, while retainer and player names are limited to 6. This might be why the Retainer module does not exhibit this issue, as it never exceeds the internal buffer/length limit.
Thank you very much for your help in investigating this!
Description:
When using the Deployable feature in AutoRetainer to manage submarines on the CN server, I encountered an issue regarding name length and string matching.
Steps to Reproduce / Problem:
Impact:
Because multiple submarines may end up with the same "truncated" name in the UI, the plugin's internal logic—which appears to rely on string matching as is shown for the field "EnabledSubs" below—fails. This causes the automation process (such as the Redeploy loop) to get stuck or fail to recognize the correct target.
Once the submarine names are shortened to 6 characters or fewer, all features function normally. This further indicates that the issue is likely related to character length rather than Chinese character encoding.
This has been reproduced consistently on the CN Server. Due to limited time, I have not yet tested this on the Global (EN) client. In the CN version, submarine names can be up to 7 characters, while retainer and player names are limited to 6. This might be why the Retainer module does not exhibit this issue, as it never exceeds the internal buffer/length limit.
Thank you very much for your help in investigating this!