ZE FusionBot v7.9.2
AutoOT Validation + Prefer wild/egg encounters + Asian OT fixes
v7.8.9
- Preserve user language and prefer non-fixed OT encounters while fixing Asian OT/nickname handling and bumping version.
- When legality fails, fully revert to the original valid state (including language, nickname, PID) and refresh checksum to prevent stale data. This preserves user-requested language and trainer info correctly.
- Removed earlier OT-truncation shortcut and added a NON-FIXED-OT encounter preference: if ALM picks a fixed-OT encounter but a wild/egg alternative exists, regenerate using the wild/egg encounter. Set language early, handle Asian 6-char OT limits by clearing trash bytes and assigning a safe OT, avoid using ClearNickname (which stores empty strings) and instead set species-name nicknames via SpeciesName.GetSpeciesNameGeneration. Introduced effectiveLanguage to respect any fixed-OT language fallback and use it in PrepareForTrade.
- Added TryGetAsWildOrEgg to attempt generation using only wild/egg encounters with a semaphore to avoid contention, plus supporting fields for priority control.
These changes prevent false invalids from PKHeX (OT too long / nickname mismatch), allow users to receive partner OTs when possible, and ensure thread-safe retry behavior when searching for non-fixed-OT encounters.
"convert" now works with languages in the same way single and batch trades do
v7.9.0
Fixed an issue where language would not be applied when using "convert" command by clearing the trashbytes after applying the OT, then setting language. For Asian languages, just like with regular and batch trades, if an Asian language is requested, it's temporarily converted to an OT of "王犬米" before AutoOT is applied just in case a user's default bot OT is longer than 6 characters. If the bot's default OT is longer than 6 characters, the bot cannot enforce the requested OT or AutoOT with the language requested. This allows conversions of Pokemon into a specific language regardless of OT, as many people care more about language than the trainer information. This is the same logic that is applied for the AutoOT fixes in previous commits.
Revert slash command commits to previously working
v7.9.1
- Revert last two slash command commits to the more stable and working variant before.
All Alcremie Forms Can Gen w/ Items
v7.9.2
- I overlooked that Alcremie's string created in the BatchCommandNormalizer didn't take into account that items are requested in the same line, so now Alcremie can be genned in every form with an item attachment.