And here here the modified Merchelpers.cs . You now have more Spechandler.cs need to run, you can delete it and just replace the Merchelpers.cs
View attachment 161847
I Would love to know that too no matter what i try hotkey or editing autotarget is still on any tips?Why auto-target always on? I try change value in file to false and i try use hotkey. I see in log "Hotkey pressed: Target Toggle [JoesCombat] AutoTarget: False" but BW still auto-target mobs
.
I Would love to know that too no matter what i try hotkey or editing autotarget is still on any tips?
for joes he sets the meleedistance inside merchelpers.
If im correct, it has a global and a local setting.
Search you spec (check log what routine joes load), search it inside merchelpers and edit it inside your chars routine.
it should mention something like meleedistance = 1.5f orso
Try it at 0.
The 0 you are refering to is more the range when it wants to engage combat (so more or less pre combat).
if you set it to 0, this means you will be agroed first and then engage.
Do note, this is asking more for deaths then setting it just outside the detection range 2-3.
using System.Linq;
using Buddy.Swtor;
namespace JoesCombat.Routines
{
public static class Global
{
public static bool IsInCover { get { return (BuddyTor.Me.HasBuff("Crouch") || BuddyTor.Me.HasBuff("Cover")); } }
public static bool IsInGroup { get { return Helpers.Group.Count() > 2; } }
public const int EnergyMin = 65;
public const int CellMin = 8;
public const float RangeDist = 2.8f;
[COLOR="#B22222"]public const float MeleeDist = 0.35f;[/COLOR] <- I tried changing it to 1 and 1.5f but the results are the same
public const int FullHealth = 100;
public const int HighHealth = 80;
public const int MidHealth = 50;
public const int LowHealth = 30;
public const int OhShit = 15;
public const int HealthShield = 90;
public const int HealthCritical = 40;
}
}
public static bool MarauderAnnihilationCombat()
{
//WaitForCast();
datLCL = DateTime.Now;
Thread.Sleep(100);
LoadVars();
if (IGAndTargetNotInCombat()) return false;
if (MercCast("Juyo Form", !HaveBuff("Juyo Form"))) return true;
if (MercCast("Unnatural Might", Me, !HaveBuff("Unnatural Might"))) return true;
MoveTo(CT, (float)(.490/Math.Min(1,CT.Scale)), "Force Charge", "Deadly Throw", "Dual Saber Throw", "Force Scream");
if (!IG && BuddyTor.Me.IsMoving) StopMoving();
//Thread.Sleep(100);
if (MercCast("Unleash", IAmStunned())) return true;
if (MercCast("Disruption", TC)) return true;
if (MercCast("Saber Ward", Me, HP <= 50f)) return true;
if (MercCast("Undying Rage", Me, HP <= 20f)) return true;
if (MercCast("Berserk", Me, HaveBuff("Fury") && HP <= 70)) return true;
if (MercCast("Pommel Strike", CT.IsStunned)) return true;
if (MercCast("Rupture")) return true;
if (MercCast("Deadly Saber")) return true;
if (HP <= 30f) UseMedPackInInventory();
if (MercCast("Annihilate")) return true;
if (MercCast("Ravage")) return true;
if (MercCast("Retaliation")) return true;
if (MercCast("Force Scream")) return true;
if (MercCast("Vicious Slash")) return true;
if (MercCast("Smash", TWR5 >= 2)) return true;
if (MercCast("Intimidating Roar", TWR5 >= 4)) return true;
if (HP <= 80f)
{
if (MercCast("Frenzy", Me, !HaveBuff("Fury"))) return true;
if (MercCast("Cloak of Pain", Me)) return true;
if (MercCast("Obfuscate")) return true;
if (MercCast("Intimidating Roar")) return true;
if (MercCast("Deadly Throw")) return true;
if (MercCast("Force Choke", HP >= 40f)) return true;
}
if (MercCast("Bloodthirst", Me)) return true;
if (MercCast("Smash", TWR5 >= 2)) return true;
if (MercCast("Force Scream")) return true;
if (MercCast("Annihilate")) return true;
if (MercCast("Sweeping Slash", TWR10 >= 4)) return true;
if (MercCast("Battering Assault")) return true;
if (MercCast("Vicious Throw", THP <= 30f)) return true;
if (MercCast("Assault")) return true;
return false;
}
MoveTo(CT, (float)(.490/Math.Min(1,CT.Scale)), "Force Charge", "Deadly Throw", "Dual Saber Throw", "Force Scream");
MoveTo(MeleeDist);
if (!IG && BuddyTor.Me.IsMoving) StopMoving();
Advanced Class: Marauder / Discipline: Annihilation
Routine Path: Routines
Reloading AssemblyLoader<Buddy.CommonBot.ICombat> - Initializing
Compiler Error: c:\Users\Leon\Downloads\BuddyWing569\Routines\FightAtJoes\Helpers\MercHelpers.cs(19,7) : warning CS0105: The using directive for 'Buddy.CommonBot' appeared previously in this namespace
Compiler Error: c:\Users\Leon\Downloads\BuddyWing569\Routines\FightAtJoes\Helpers\MercHelpers.cs(10335,32) : warning CS0108: 'JoesCombat.MyTargetingProvider.GetObjectsByWeight()' hides inherited member 'Buddy.CommonBot.DefaultCombatTargetingProvider.GetObjectsByWeight()'. Use the new keyword if hiding was intended.
Compiler Error: c:\Users\Leon\Downloads\BuddyWing569\Routines\FightAtJoes\SpecHandler.cs(162,31) : warning CS0618: 'Buddy.Swtor.Objects.TorPlayer.GetSkillPointsSpentInTree(Buddy.Swtor.SkillTreeId)' is obsolete: 'Obsolete since SWTOR 3.0. Consider using CharacterClass/AdvancedClass combination. Stop caring about trees, they're all passive.'
Compiler Error: c:\Users\Leon\Downloads\BuddyWing569\Routines\FightAtJoes\SpecHandler.cs(163,31) : warning CS0618: 'Buddy.Swtor.Objects.TorPlayer.GetSkillPointsSpentInTree(Buddy.Swtor.SkillTreeId)' is obsolete: 'Obsolete since SWTOR 3.0. Consider using CharacterClass/AdvancedClass combination. Stop caring about trees, they're all passive.'
Compiler Error: c:\Users\Leon\Downloads\BuddyWing569\Routines\FightAtJoes\SpecHandler.cs(164,31) : warning CS0618: 'Buddy.Swtor.Objects.TorPlayer.GetSkillPointsSpentInTree(Buddy.Swtor.SkillTreeId)' is obsolete: 'Obsolete since SWTOR 3.0. Consider using CharacterClass/AdvancedClass combination. Stop caring about trees, they're all passive.'
Compiler Error: c:\Users\Leon\Downloads\BuddyWing569\Routines\FightAtJoes\Helpers\MercHelpers.cs(1461,88) : warning CS0472: The result of the expression is always 'false' since a value of type 'ulong' is never equal to 'null' of type 'ulong?'
Compiler Error: c:\Users\Leon\Downloads\BuddyWing569\Routines\FightAtJoes\Helpers\MercHelpers.cs(3726,13) : error CS1501: No overload for method 'MoveTo' takes 1 arguments
Compiler Error: c:\Users\Leon\Downloads\BuddyWing569\Routines\FightAtJoes\Helpers\MercHelpers.cs(10011,98) : warning CS0162: Unreachable code detected
Reloading AssemblyLoader<Buddy.CommonBot.ICombat> - RoutineManager.Reload !THROTTLED!
Routines were reloaded. New routine list:
Unhandled exception during init: System.InvalidOperationException: No routines were loaded. Please ensure there is a routine for your class before starting the bot.
at Buddy.CommonBot.BotMain.SetCurrentCombatRoutine()
at Buddywing.MainWindow.DoInitialization()
Buddy Wing: The Old Robot is ready!
if i try to edit the file it will be marked red and dont load in the buddywing ... how can i change this ?