What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Monk Addon - Switch to high dps 1h weapon prior to casting sweeping winds

Can you please make this work with 1.7.1.4 as well? :D
Would like to test it and try to implement some custom equipslots
 
Guys, how I install it?

Just create a new folder in plugins and throw all this files?

Sorry but I am not gozu on it =/
 
Guys, how I install it?

Just create a new folder in plugins and throw all this files?

Sorry but I am not gozu on it =/

Install trinity first, throw WeaponSwap.cs and Monk.cs in "Abilities" Folder, others in the root (trinity's) folder.
 
Can you please make this work with 1.7.1.4 as well? :D
Would like to test it and try to implement some custom equipslots

It should work if you just take AbilitySelector.cs, Monk.cs and WeaponSwap.cs from the rar i uploaded.
Else just wait a day or two and i will migrate my bots to 1.4 too :)

Guys, how I install it?

Just create a new folder in plugins and throw all this files?

Sorry but I am not gozu on it =/

Download GilesTrinity community version 1.7.1.3
Unrar into <DB Folder>/Plugins
Then take my files and put them like this:

Monk.cs + WeaponSwap.cs -> <DB Folder>/Plugins/GilesTrinity/Abilities/
AbilitySelector.cs -> <DB Folder>/Plugins/GilesTrinity
 
I have noticed a bug that sometimes the bot after swapping to my Skorn just stands there and does nothing and dies since it doesn't succeed in casting sweeping winds because there isn't enough Spirit. I think that occasionally it manages to cast something else in between that consumes the Spirit hence it ends up in this situation, but that's just a theory since I tried to raise the mana checking value in the Monk.cs but it didn't help much.

Any ideas?

After watching it for a while I noticed that this happened again when the bot refereshed Breath of Heaven in between the swapping routine.
 
After watching it for a while I noticed that this happened again when the bot refereshed Breath of Heaven in between the swapping routine.

Well, you don't have Inna's set right? or if you have, how can you have low sp?
 
I don't use Inna's Set.

Search for

// Check if either we don't have sweeping winds, or we do and it's ready to cast in a moment

2 Lines under, raise the CurrentEnergy to 95 or 100, like this :

playerStatus.CurrentEnergy >= 85 (Get a higher value on this.)

Seems like it starts swapping when you dont have the spirit to cast SW, so it stays with 2H after using BoH

PS: Inna's set is awesome and cheap, you should try.
 
Last edited:
Thanks for the quick reply Tony. Seems we were both on to the same change of code :)
I changed that line to a value of 110, but I also changed this line below to a value of 100. However I am not 100% sure if that is needed.

PHP:
                // Check the re-use timer and energy costs
                (playerStatus.CurrentEnergy >= 75 || (Settings.Combat.Monk.HasInnaSet && playerStatus.CurrentEnergy >= 5)))

The reason I don't use Inna's 4 set bonus is because I have some gear far better than some parts. Thanks again.

__Edit__

Looking at the code again I think only the change you suggested should be enough but to 110.
 
Last edited:
Lightseeker look also into AbilitieSelector.cs
Code:
					if (weaponSwap.DpsGearOn() && Settings.Combat.Monk.SweepingWindWeaponSwap && 
						DateTime.Now.Subtract(WeaponSwapTime).TotalMilliseconds >= 200 && !GilesHasBuff(SNOPower.Monk_SweepingWind) &&
						GilesUseTimer(SNOPower.Monk_BlindingFlash) && [B][COLOR="#FF0000"]playerStatus.CurrentEnergy >= 15[/COLOR][/B])
					{
						return new GilesPower(SNOPower.Monk_BlindingFlash, 0f, vNullLocation, iCurrentWorldID, -1, 0, 1, USE_SLOWLY);
					}

Bump up the energy needed there too.
My bad for not making it non-inna friendly :p forgot due to all my bots running inna
 
Bah, just noticed the same happens when the bot buffs the mantra for the 4 second benefit. I think raising the spirit treshold is not a very good idea here. There should be some sort of priority logic at least for mantra and depending on what kind of mantra it is.

_EDIT_

Maybe a quick and dirty solution would be the following on line 173 Monk.cs:

PHP:
                (iAnythingWithinRange[RANGE_15] >= 1 && (Settings.Combat.Monk.HasInnaSet && playerStatus.CurrentEnergy >= 70))) && //intell -- inna
				(!Settings.Combat.Monk.HasInnaSet && GilesHasBuff(SNOPower.Monk_SweepingWind)))
 
Last edited:
I noticed a strange bug that happens sometimes if unlucky and killed in middle of switching weapons (I'm not sure how) the offhand ends up in next free inventory space instead of the last one as it should and then the swapping goes nuts, constantly swapping between the 2h and the main 1h, since it doesn't find the offhand anymore.

Not sure if it's possible to store the ID of the weapons (maybe you already do) and find the offhand in this case if it's out of it's place and put it back where it should be.
 
Lightseeker that will probably be in the next version, though in the latest version i uploaded it should move the offhand to the bottom right corner before doing anything.
Don't understand why it would find its place in some other slot :\
 
I noticed a strange bug that happens sometimes if unlucky and killed in middle of switching weapons (I'm not sure how) the offhand ends up in next free inventory space instead of the last one as it should and then the swapping goes nuts, constantly swapping between the 2h and the main 1h, since it doesn't find the offhand anymore.

Not sure if it's possible to store the ID of the weapons (maybe you already do) and find the offhand in this case if it's out of it's place and put it back where it should be.

I'm working with tesslerc on these fixes, suggested to use IDs instead of random positions or shit, way faster and easier, we are currently testing on a long duration runtime, to avoid any shit. swap is way faster now, and there's also Crash/stop recovery weapon checker, like this no way to stay with 2H because it crashed or stopped while swapping ;)
 
I've updated the developer branch on assembla with all the latest goodies from here. If you know how to use Git then you should test them :)

Been working great with Innas set.

I tested all Innas + Swap /Non-Innas + Swap/Non-Inna Non-Swap and everything's working fine.

https://www.assembla.com/code/unifiedtrinity/git/nodes
 
Anyone can tell me how to reduce the frequency to use mantra of conviction? I do some changes on currentenergy but there is no use. playerStatus.CurrentEnergy >= 50 && GilesUseTimer(SNOPower.Monk_MantraOfEvasion, true))
 
which build for this? (link?)

this swaping sounds cool - I would like to try it!

I read the 14 pages, but it is not 100% clear to me which build exacly is needed.
Is there a link to a build that works best with this?

@tesslerc: I am currently running your Monk Cannon, is the swap-build worth upgrading?
(probably, when your bots run it :D )
How much would the upgrading cost?


Thanx for any answer about required build!

BR ?Golem
 
this swaping sounds cool - I would like to try it!

I read the 14 pages, but it is not 100% clear to me which build exacly is needed.
Is there a link to a build that works best with this?

@tesslerc: I am currently running your Monk Cannon, is the swap-build worth upgrading?
(probably, when your bots run it :D )
How much would the upgrading cost?


Thanx for any answer about required build!

BR ?Golem

Well upgrading costs around 30mil for the inna parts, and in my opinion it's worth it (bumped my items per hour up by at least 25%).
If you buy a 2handed weapon with high DMG (not dps) and high crit and life steal you will have amazing dmg output.

RRRIX posed 2 posts above you a link, he integrated it properly into the latest Trinity version and its working so i suggest using that one :)
 
@rrrix imo you shouldnt push these temp fixes, lot of errors still happening.
 
Back
Top