Releases: shupershuff/Diablo2RLoader
v1.14.0
Ah, our hero returns.
An update with some small improvements, just in time for Season 9!
Good luck for ladder start and may the horks be with you.
Change Notes:
- Added ability to have alternative window layout csv to load settings from (AltLayout.csv). Has to be manually - configured as I'm not keen to make menu more complicated.
- Added better error handling for getd2emutoken if unable to connect. Script can still run albeit with TZ and DClone features disabled.
- Mitigated issues with script window height for very small resolutions or users with high levels of display scaling/zoom.
- Disabled maximise button from script window because it annoys me.
- Hopefully improved window redraw to prevent flickering.
- ID Checker will now not confuse with D2r offline instances launched with the Single Player Launcher (github.com/shupershuff/D2rSPLoader)
- Fixed unavailable options being selectable in options menu for window resizer.
- Fixed connection issue with D2Emu API for users with PowerShell 7.x
- Fixed XML file having blank lines being added in each time options menu is used.
It is good to know that the sun shines again...
v1.13.2
Greetings, mortal. I knew you'd find your way back here.
Just a wee update.
Changes:
- Fixed D2Emu connection issues. Big thanks to Mysterio from D2 Emu! Note that script will take slightly longer to initialise. Please consider donating to D2Emu at http://www.buymeacoffee.com/d2emu.
- Window positioner now restores minimized d2 instances to ensure they're repositioned/resized.
- Gave script launch parameters some McLovin. Now if account parameter is specified and password isn't, it will try use settings from accounts.csv (good for accounts using token auth).
- Made the 'DefaultRegion' config option optional.
Now hurry, mortal... Time is running out for all of us!
v1.13.1
Just a small quick fix that I felt couldn't wait until the next release.
Change notes:
- v1.13.1 Fixed script not detecting when character select screen was reached with window layout feature (Thanks to Spawn for pointing this out).
That's all folks!
v1.13.0
The Order welcomes you.
Hope Season 8 is going well for ya! There are some minor fixes, an options menu and a new optional feature to set your preferred game window layout so when launching you don't have to rearrange your windows.
Change notes:
- New feature! You can now enable 'RememberWindowLocations' so that the script moves the game windows to your preferred locations at launch. To use, go to the options menu and choose to save coordinates (once enabled). Big thanks to Sir-Wilhelm for providing code to repurpose.
- Added Options menu to be able to edit some of the common config from within script.
- Notifications won't announce if todays date is less than publish date.
- Made window size slightly taller.
- Script now checks accounts.csv to see if batches are used. EnableBatchFeature in config.xml is now redundant and will be removed.
- Removed CheckForNextTZ and AskForRegionOnceOnly from config.xml as they're no longer needed.
- Changed 'ConvertPlainTextPasswords' to 'ConvertPlainTextSecrets'. This aligns to both Passwords & tokens for those that would prefer to store in plain text. Will not convert already secured secrets to plain text.
- Fixed up some error handling with the Joke screen.
- Fixed non-numeric account ID's not displaying (thanks loodakrawa)
- Fixed region display not working properly for account labels with brackets (thanks Casanova).
- Fixed display issues for users with lots of accounts.
- Script now removes any empty rows accidentally left in accounts.csv to prevent issues.
- Script now specifies friendly name if none is entered into accounts.csv.
- Improvements to batch screen, now autopicks batch to open if there's only one available.
- Improved Formatting function to work with ANSI coloured text.
- Improved KillHandle function (thanks Sir-Wilhelm)
- Error handling improvements, minor code tidy ups and typo edits.
Thanks as always to folks that helped test or provided feedback.
As usual if there's any issues then please reach out via GitHub. Cheers!
...That which does not kill you makes you stronger.
v1.12.0
Your presence honors me!
Not a hugely exciting update, just wanted to fix some issues, polish some features, add some error handling and make setup a bit easier.
Change notes:
- Improved regex pattern for detecting region from window name (helps with account display names with spaces in them or ID's with 2 digits).
- Fixed script launch parameters from launching accounts using Auth Tokens.
- Fixed an issue with joining using the -region parameter.
- Fixed numpad numbers not working on full sized keyboards.
- Fixed Custom launch arguments not working when enclosed in quotes. An improvement for folks who use Excel to edit accounts.csv.
- Fixed unavailable batch ID's being selectable on batch screen.
- Script now autodetects if mods are being used and will use the appropriate custom save directory for settings.json. Handy for folks launching with Single Player mods.
- Script now reverts back to the main menu on batch, region and setting selection screens if no input is received after 30 seconds.
- Script now detects if there are 2 digit ID's in account csv and allows 2 digit inputs on account select screen.
- Script now downloads handle64.exe from SysInternals if it's not found.
- Script now checks if folk have entered duplicate ID's in accounts.csv.
- Added volume option for DClone Voice alarm so it's not so damn loud.
- Gave the joke screen some McLovin and added two more API sources.
- To make changing passwords easier, script now assesses accounts.csv for secure strings. Thankfully the TokenIsSecureString and PasswordIsSecureString columns in accounts.csv are no longer needed and will be removed.
- Relegated the 'Account last opened' details to debug mode.
- Removed irrelevant references to OCR.
- Several tidy ups to code and error text.
Thanks again to the various testers and folk who've reached out for feedback. As usual if there's any issues then please reach out via GitHub Issues/Discussions.
I trust you know what you're doing... Be careful. You're our last hope...
v1.11.0
Welcome, avenger.
Not a huge update but remedies some core features with d2rapi.fly.dev being decommissioned in favour of d2emu.com for DClone Tracking.
Thanks to Shalzuth for previously providing DClone data and thanks Mysterio for building a new API for us nerds to use via D2emu.com.
Consider thanking Mysterio with a coffee for their DClone and TZ trackers at www.buymeacoffee.com/d2emu.
- Added config for ForceAuthTokenForRegion. You can now specify regions to use auth tokens (in case one regions auth server - goes down).
- Fixed Region display issues on main menu when multiple regions are open.
- Fixed DClone info from Diablo2.io displaying incorrectly.
- Fixed update checker not sorting versions correctly.
- Replaced D2rapi.fly.dev with d2emu.com for DClone tracking in script and in config.
- Many tidy ups to align with better coding practices (thanks to never147).
- Removed unused variables.
You'd best be careful, my friend...
v1.10.0
'How do I know I can trust you hmm?'
Blizz still haven't fixed the authentication on the Asia servers so here's an update that allows you to choose between authenticating via the traditional method (parameters that pass through Username and Password) and via an authentication token (same method that launching through Battle.net uses).
See the Setup Accounts section in the Github readme for instructions.
I've also finally added a means of donation for those who want to say thanks. See www.buymeacoffee.com/shupershuff
- Added Token based authentication capability. There are some setup steps and drawbacks to using this method but this can help when Blizzard Auth servers don't respond to authentication when launching via parameters. This also works for MFA enabled accounts.
- Added notification capability so if I notice one of the auth servers going down I can advise users directly.
- Added a new version of the SetText source code to enable renaming D2r windows based on processID. This prevents issues for people who load an account from Battle.net in addition to using the script.
- Changed Current and Next TZ source to D2Emu.com for faster and more accurate results (no more OCR delays or inaccuracies).
- Script now works if one game instance has been launched outside of this script via battlenet. This is for users who want to keep MFA enabled on one account and launch that account outside of the script.
- Improved Game Window name by adjusting to show more useful information first (ID - Acct Label (region) - Diablo II: Resurrected).
- Improved DClone checker by adding 1 second to DClone timeout as 2 seconds was a bit tight and caused errors.
- Fixed unhandled DClone errors for timeouts.
- Fixed DClone alarm from alarming twice when detecting changes from 6/6 to 1/6 on some sources.
- Minor tidy ups.
Thankyou to the testers for feedback. If anyone notices any issues or improvements, please reach out via the Github issues.
Cheers.
LET US OUT!
v1.9.0
Stay a while and listen!
Never miss a DClone walk while you're online!
A new DClone Alarm feature has been implemented that provides text based and voice based alarms to tell you what status changed and in which region and game mode.
To enable, have a look at config.xml (post update) or see the updated Readme on Github: https://github.com/shupershuff/Diablo2RLoader
- Optional feature for Script to Audibly alarm and show alarm text for DClone changes. Disabled by default. See Readme for more details and how to setup.
- Auto update config.xml with new configs for the above feature.
- Updater slightly improved so I can use Github API to track how many people have downloaded/updated for subsequent updates.
- Script now attempts to autorecover Stats.csv & Accounts.csv from backup if they somehow get corrupted.
- Ability to choose one of three DClone tracker sources in config.
- Adjusted DClone status screen (d) output to be consistent across sources.
- Fixed Next TZ OCR errors when OCR incorrectly detects ": :" instead of "::".
- Reduced chances of NextTZ OCR posting blank results (at a cost of slightly increased processing time).
- Fixed an error statement that incorrectly had a comparison ("-eq") instead of an assignment ("=").
- Fixed character issue in one of the quotes.
- Minor tidy ups.
If you notice any unexpected behaviour, please log an issue on GitHub. Enjoy!
You have done well to restore light to our world...
v1.8.5
Greetings, honored traveler.
I bring to you a small update with some small fixes:
- Fixed time display issue for other regions for Hours Played & Session Time. This should now display as HH:MM wherever in the world you live :)
- Script will now disregard keys such as "Alt" as input options. This will help avoid any unwanted behaviour for those who are alt-tabbing between windows.
- Minor additions to Info screen.
- Small improvements to error messaging for NextTZ (for OCR failures).
- A couple extra quotes.
Thanks to those who provided feedback and testing :)
You will always be welcome in Lut Gholein, my friends.
Take care...
v1.8.4
Good to see you!
Yeah so as I'm an amateur, I also stuffed up the updater in another way that was still causing some of you to receive an error message when launching the script.
As it turns out, other parts of the world use different date and time formats. Absolutely WILD.
As such, this is a very tiny update that now both saves AND reads the date (for LastUpdateCheck) in a distinct and consistent way (yyyy.MM.dd HH:mm:ss).
This should hopefully put to bed all of the update issues that I accidentally introduced with the feature that (ironically) had the intent of reducing chances of update issues.
If you are stuck on version v1.8.1, v1.8.2, or v1.8.3, you'll need to manually update D2Loader.ps1 by overwriting your existing .ps1 file with the one from the latest release.
May the Great Eye watch over you.