[Plugin] MSFix - Sarkoth fix (Adria's Hut avoidance & Death Restarter) WORKING on 146
MSFix 1.2.2 - working with db 146
Description
This plugin will stop you from going to Adria's Hut by leaving the game and reloading the profile if you go astray from the normal sarkoth waypoint. If you die, this plugin will immediately leave the game and reload the profile (this solves issues with dying inside the cellar).
Changelog
The only difference between 1.1.0 and 1.2.2 is that the latter has a timeout function.
This plugin will no longer freeze Diablo.
Instructions:
1) Download MSFix.cs
2) Create a folder with any name inside Plugins folder
3) Move MSFix.cs to that newly created folder
4) The plugin will come automatically enabled, if you wish to remove this feature delete this line:
5) To change timeout, open msfix.cs and edit the line below from 2 to how long you wish it to wait (in minutes):
!!ATTENTION!!
DO NOT USE THIS PLUGIN WITH AGB. They already have everything built in.
If you're using Icool or any other sarkoth helper, please comment the lines where it turns on attack after you die, since if you do die, my plugin will restart the game.
For Icool 1.0 & 1.1:
1) Delete this bit of code:
Plugins necessary for maximum performance:
- Notification OK 0.8+
It's awesome to wake up and find your bot is working as it should:
[08:56:22.371 N] [Icool's Sarkoth farm helper v0.1.3] Cellars found in 488/975 games!
[08:56:22.371 N] [Icool's Sarkoth farm helper v0.1.3] This Run took: 13s
[08:56:22.371 N] [Icool's Sarkoth farm helper v0.1.3] The average fail run is: 13s
[08:56:22.372 N] [Icool's Sarkoth farm helper v0.1.3] Money made this run: 0
[08:56:22.372 N] [Icool's Sarkoth farm helper v0.1.3] Money made in total: 3534761
Thanks to:
noobery (Notification OK plugin) - for the advices
sinterlkaas (FixMe) - for the logic
Icool (Icool's Sarkoth Helper) - for the plugin
carguy (carguy DH profile) - for the excellent profile
Please report any problems.
MSFix 1.2.2 - working with db 146
Description
This plugin will stop you from going to Adria's Hut by leaving the game and reloading the profile if you go astray from the normal sarkoth waypoint. If you die, this plugin will immediately leave the game and reload the profile (this solves issues with dying inside the cellar).
Changelog
Code:
1.0.6 - First release.
1.0.7 - Added command to logout and reset every time it dies, doesn't matter where you are.
1.0.8 - It will now check every five seconds to possibly prevent freezing; Restart logic optimized.
1.0.9 - No longer makes use of Thread.Sleep when leaving the game. Freezing issue fixed. No longer goes as far as the bridge before leaving the game.
1.1.0 - No longer starts/stop DB, only leaves the game and reload profile.
1.2.0 - Added a timeout for the run (set to 180 seconds), if it times out the plugin will restart the bot.
1.2.1 - Changed timeout from seconds to minutes. Default timeout: 2 minutes.
1.2.2 - [U][B]Since Notification OK plugin was updated, I removed the bit of code where it clicked OK on game creation error in my code.[/B][/U] - [COLOR=#008000][B]Current Release (WORKING)[/B][/COLOR]
The only difference between 1.1.0 and 1.2.2 is that the latter has a timeout function.
This plugin will no longer freeze Diablo.
Instructions:
1) Download MSFix.cs
2) Create a folder with any name inside Plugins folder
3) Move MSFix.cs to that newly created folder
4) The plugin will come automatically enabled, if you wish to remove this feature delete this line:
Code:
Zeta.Common.Plugins.PluginManager.SetEnabledPlugins(new string[] { "MSFix" });
Code:
private const int CheckInterval = 2;
!!ATTENTION!!
DO NOT USE THIS PLUGIN WITH AGB. They already have everything built in.
If you're using Icool or any other sarkoth helper, please comment the lines where it turns on attack after you die, since if you do die, my plugin will restart the game.
For Icool 1.0 & 1.1:
1) Delete this bit of code:
Code:
if (ZetaDia.Actors.Me.HitpointsCurrentPct == 0.00) {
Log("Wooooa, seems like i just died, lets turn on the attack for 20s");
hasDied = true;
ProfileManager.CurrentProfile.KillMonsters = true;
diedTickCount = System.Environment.TickCount;
return;
}
Plugins necessary for maximum performance:
- Notification OK 0.8+
It's awesome to wake up and find your bot is working as it should:
[08:56:22.371 N] [Icool's Sarkoth farm helper v0.1.3] Cellars found in 488/975 games!
[08:56:22.371 N] [Icool's Sarkoth farm helper v0.1.3] This Run took: 13s
[08:56:22.371 N] [Icool's Sarkoth farm helper v0.1.3] The average fail run is: 13s
[08:56:22.372 N] [Icool's Sarkoth farm helper v0.1.3] Money made this run: 0
[08:56:22.372 N] [Icool's Sarkoth farm helper v0.1.3] Money made in total: 3534761
Thanks to:
noobery (Notification OK plugin) - for the advices
sinterlkaas (FixMe) - for the logic
Icool (Icool's Sarkoth Helper) - for the plugin
carguy (carguy DH profile) - for the excellent profile
Please report any problems.
Attachments
Last edited: