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

woke up this morning seeing my bot with a magic 2hand weapon instead of skorn or 2x 1hand -.-
and on the other monk it had just 1 weapon left and 1 weapon stashed...

Sorry, but on the long therm this is definitely a bit bugged, mainly when you die or when a relogger is active.
sooner or later it stashes the 1handers...

Can you provide a step by step guide to check if i did something wrong?
Which Giles/Rads/etc. you use?
 
this stats are saved for sweeping wind. so you dont need 1hand weapons with Lifesteal but you get some extra healing from LoH with auto attacks. you dont need wu kim lao cause it does not affect sweeping wind

- Lifesteal

- Dex

- Crit Damage

- Average Damage (also Min/Max Damage)

- Bonus vs Elite

- Bonus vs Demons

- Bonus to Skill Sweeping Wind

technically you can switch your gear to vit/crit/attackspeed/restistances.

Edit: it looks like if you put the lower dps weapon in your mainhand. the bot equips the higher dps weapon(offhand) first. then skorn moves in your inventory cause skorn replaces your offhand weapon.
Neue Bitmap (2).webp

If you equip your higher dps weapon in your mainhand it works for me.
 
Last edited:
Thing is I prefer that it will have a slight delay like it has now otherwise if it swaps rapidly it looks too fishy.
like now it looks more like a macro which is somewhat ok :o

We can set a timer for this I suppose, so it's a measured (randomized?) event. E.g. exactly 500ms or 1500ms or whatever, shouldn't be too difficult.

I personally prefer the instant swap.
 
nice job, ill like to see a guide and a little explanation on the weps i need to help.
 
Last edited:
I observed the bot a bit and I feel like you.. it looks to me like it first activates BF and then swap... hm

EDIT:
I've took a look on the WeaponSwap.cs and I've seen this part:
Code:
	/*Equip(InventorySlot.PlayerHands, "dexcrit");
	Equip(InventorySlot.PlayerNeck, "dexcrit");
	Equip(InventorySlot.PlayerLeftFinger, "dexcrit");
	Equip(InventorySlot.PlayerRightFinger, "dexcrit");
        Equip(InventorySlot.PlayerLeftHand, "dps");*/

As I see it's commented out and compared with the other code only activating them will cause huge problems ^^
Is it much work to show us here how we can implement other Items too? :D
I'd like to add 2 rings, an amulet, gloves, my witching hour and maybe wrists (all items with maxed dex + critdmg!)
Because as we know IAS and CC are not snapshotted by SW ;D
Would be a HUGE DPS-Increase to ignore vit/resistances/ias/cc and focus on max base-dmg.
The Items I've listed would take only 3-4 Inventory slots but compared with the huge dps-increase this will still boost the runs for a huge amount, especially on mp3+ for champion-farming-only, cause you will slain the mobs like hell. ;D
Everyone, who is paragon 70+ will only loot 63+ items for sure (I'm doing so), so it doesn't hurts that much, if there are 3-4 more slots "occupied"...

As I've seen the "swapping-speed" is that huge, that swapping some items for max dmg and min survivability won't hurt that much infight. ;) But it'd bet that it's possible to increase the cyclone-dmg by 50%, if not even more.

I totaly agree with this guy. But adding this
Code:
	Equip(InventorySlot.PlayerNeck);
	Equip(InventorySlot.PlayerLeftFinger);
	Equip(InventorySlot.PlayerRightFinger);
        Equip(InventorySlot.PlayerLeftHand);*/

after
Code:
Equip(InventorySlot.PlayerLeftHand);
doesnot work for me, so it means bot just does swap my skorn for my 1hands and dont mind neck,rings,etc.

What should i change to make him switch those items too?
 
Thing is I prefer that it will have a slight delay like it has now otherwise if it swaps rapidly it looks too fishy.
like now it looks more like a macro which is somewhat ok :o

Code:
           if (weaponSwap.DpsGearOn() && GilesHasBuff(SNOPower.Monk_SweepingWind) && Settings.Combat.Monk.SweepingWindWeaponSwap && DateTime.Now.Subtract(WeaponSwapTime).TotalMilliseconds >= mt_rand(600,1000)
                weaponSwap.SwapGear();

Just like that.
 
Code:
           if (weaponSwap.DpsGearOn() && GilesHasBuff(SNOPower.Monk_SweepingWind) && Settings.Combat.Monk.SweepingWindWeaponSwap && DateTime.Now.Subtract(WeaponSwapTime).TotalMilliseconds >= mt_rand(600,1000)
                weaponSwap.SwapGear();

Just like that.

That's good!
Still I need to find out how to use a skill from the behavior.cs so I can make the whole swap a higher priority.
And where it starts the identifying upon entering town run / where it starts evaluating the items so I can make sure it won't stash / sell the dual wield.
 
That's good!
Still I need to find out how to use a skill from the behavior.cs so I can make the whole swap a higher priority.
And where it starts the identifying upon entering town run / where it starts evaluating the items so I can make sure it won't stash / sell the dual wield.

Looks like it use skill when the enemy is in range from here:
Code:
{
                        // Unit, use our primary power to attack
                        case GObjectType.Unit:
                            if (currentPower.SNOPower != SNOPower.None)
                            {
                                // Force waiting for global cooldown timer or long-animation abilities
                                if (currentPower.iForceWaitLoopsBefore >= 1 || (currentPower.bWaitWhileAnimating != SIGNATURE_SPAM && DateTime.Now.Subtract(lastGlobalCooldownUse).TotalMilliseconds <= 50))




Also this could be usefull if you want to make delay before equiping or something like that.
Code:
   // See if we should force a long wait AFTERWARDS, too
            // Force waiting AFTER power use for certain abilities
            bWaitingAfterPower = false;
            if (currentPower.iForceWaitLoopsAfter >= 1)
            {
                //Logging.WriteDiagnostic("Force waiting AFTER ability " + powerPrime.powerThis.ToString() + "...");
                bWaitingAfterPower = true;
            }

From here it cheks for room spaces and "bGilesForcedVendoring = true" makes bot teleport to the towns so it can identify item.

Code:
                               // Check if we actually have room for this item first
                                Vector2 ValidLocation = FindValidBackpackLocation(true);
                                if (ValidLocation.X < 0 || ValidLocation.Y < 0)
                                {
                                    Logging.Write("No more space to pickup a 2-slot item, town-run requested at next free moment.");
                                    bGilesForcedVendoring = true;
                                    return RunStatus.Success;
                                }
                                iInteractAttempts = GilesHandleStepItem();
                            }
                            return RunStatus.Running;

Well i tried to do my best to help you, im kinda new to php.
 
does the wep swap exploit still work? my tornados seem like they are critting for my 1h stats instead of the skorn and i have the weapon swap checked in the newest giles unified.
 
Nce work!! Just one more thing, if I want equiped with shield, how can i do that?
 
That's good!
Still I need to find out how to use a skill from the behavior.cs so I can make the whole swap a higher priority.

Code:
ZetaDia.Me.UsePower(INSERT_YOUR_SKILL_HERE, vNullLocation, iCurrentWorldID, -1);

Skills :

- SNOPower.Monk_BreathOfHeaven
- SNOPower.Monk_SweepingWind
- SNOPower.Monk_BlindingFlash

these skills don't need location, so just cast them with vNullLocation.

And where it starts the identifying upon entering town run / where it starts evaluating the items so I can make sure it won't stash / sell the dual wield.

Identifying is done through db, no way to check, the rest should be in the ItemHandling.cs / ItemValuation.cs, HF
 
Last edited:
As you know once sweeping winds is cast it takes a snapshot of your current DPS, meaning if you are able to switch to a REALLY high dps 2h weapon (lets say skorn with 1450dps 200%crit + socket) then you cast sweeping winds and then switch back to dual wielding with realllyyy high attack speed - you will create a ton of tornados.

DOWNLOAD URL
This is the link :) click me click me!

Working with Community v1.7.0.12
https://www.assembla.com/code/unifiedtrinity/git/nodes/master/GilesTrinity-1.7.0.12.zip
And make sure you have the updated combat routine:
https://www.assembla.com/code/unifi.../GilesBlankCombatRoutine/TrinityCombatRoutine

----

Credits: Thanks to Darkfriend77 for a clean code, used it to learn how to implement mine properly
Thanks to Apoc for his MFSwapper which is 99% of the code in this :)

Possible bugs:
  1. If inventory doesn't have room for a 2handed item - it won't be able to switch to your 2h weapon - not sure if trinity issues a town run if only 1box empty

Code:
ChangeLog:
28/11
*Fixed return in wrong order making the 2h weapon jump out of its secure area.


Im having issue with swaping weapons bug, so it does swap weapons normaly but sometimes something is broken and it leaves one of my dual wields at the bag so it gets stashed. There is a log:

Filebeam - Beam up that File Scottie!

couldnot attach the log so i uploaded it.

You need to search for "Отголосок ярости" weapon, thats how it called on russian. This weapon is getting stashed, its in my right hand.
 
does the wep swap exploit still work? my tornados seem like they are critting for my 1h stats instead of the skorn and i have the weapon swap checked in the newest giles unified.
it still works.

but i tried this a few days and had too much troubles with it.
tried several things, but on the long term it always leads to a stashed 1h item... :/ After 1hour or 5 hour... and then you're fucked up if you sleep while the bot is running MP7 with a blue 2hand weapon or only 1x 1hand
(all pots done, 100s of deaths, bot stops with red equip etc.)

Too much troubles for me, sorry.
I shouldn't have invested that much time and items (2x Innas set + 2x Skorn + 2x Radiant Emerald) for this stuff :/


but anyways... the killspeed was fun for a short time...
 
Im having issue with swaping weapons bug, so it does swap weapons normaly but sometimes something is broken and it leaves one of my dual wields at the bag so it gets stashed. There is a log:

Filebeam - Beam up that File Scottie!

couldnot attach the log so i uploaded it.

You need to search for "Отголосок ярости" weapon, thats how it called on russian. This weapon is getting stashed, its in my right hand.

it still works.

but i tried this a few days and had too much troubles with it.
tried several things, but on the long term it always leads to a stashed 1h item... :/ After 1hour or 5 hour... and then you're fucked up if you sleep while the bot is running MP7 with a blue 2hand weapon or only 1x 1hand
(all pots done, 100s of deaths, bot stops with red equip etc.)

Too much troubles for me, sorry.
I shouldn't have invested that much time and items (2x Innas set + 2x Skorn + 2x Radiant Emerald) for this stuff :/


but anyways... the killspeed was fun for a short time...

Read posts above yours before posting, we are actually trying to fix this permanently, and avoid any bugs on this one, so wait for a future release ;) should work perfectly on the next, or nearly
 
Well okay, thank you.
Another question, maybe wrong section but still, how do you handle "Reflect damage" mobs? Its imposible to handle my own damage on my ass. Got 400 allres, 5k armor, 58%dodge, bot is still being raped by my own reflected damage. Do i need to install special script or plugin to make a "special tactic" for a bot? or just deal with it? If i were not dieing it could be 900k g/h 24kk xp/h
 
Well okay, thank you.
Another question, maybe wrong section but still, how do you handle "Reflect damage" mobs? Its imposible to handle my own damage on my ass. Got 400 allres, 5k armor, 58%dodge, bot is still being raped by my own reflected damage. Do i need to install special script or plugin to make a "special tactic" for a bot? or just deal with it? If i were not dieing it could be 900k g/h 24kk xp/h

Lifesteal :) most of your skills handle it (tornadoes, auto-attacks, frenzy, 7sided punch, anything)
 
Lifesteal :) most of your skills handle it (tornadoes, auto-attacks, frenzy, 7sided punch, anything)

I have Skorn with 6% lifesteal, but looks like its not enough. Each tornado doing 85k+ damage with crit, i have 195k damage blindingflash+breath of light+swap gear. Skorn outdamage its own lifesteal, great lol
 
Well okay, thank you.
Another question, maybe wrong section but still, how do you handle "Reflect damage" mobs? Its imposible to handle my own damage on my ass. Got 400 allres, 5k armor, 58%dodge, bot is still being raped by my own reflected damage. Do i need to install special script or plugin to make a "special tactic" for a bot? or just deal with it? If i were not dieing it could be 900k g/h 24kk xp/h


Get more resist? im running with 780AR 5K armor and ~50 dodge (50khp too)
 
Read posts above yours before posting, we are actually trying to fix this permanently, and avoid any bugs on this one, so wait for a future release ;) should work perfectly on the next, or nearly

yeah, sorry - of course it is great stuff that needs to be continued.
I just wanted to give a constant feedback because there are only few people posting here.
 
Get more resist? im running with 780AR 5K armor and ~50 dodge (50khp too)

62k hp and 2.99 attack per second with my dual wields. Well i dont think this is going to help =\ What is percent of damage reduce at 780 AR? i got about 58% AR damage reduce.
 
Back
Top