-
Posts
411 -
Joined
-
Last visited
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Posts posted by Marsbar
-
-
I think the problem isn't having too much water, i assume hes asking how to stop the bot from moving so that it can cast Conjure Food/Water.
@fihuvwix is your fightclass in c# or fightclass editor? (if it's not your own, you may want to contact the author of the fightclass). -
There's a property that changes the spell to be Lua, so you just add your lua code as a spell name and set that property to true.
-
In the picture of your screen (lol) it looks like you have RunMacroText("/cast! Heroic Strike") instead you should have RunMacroText("/cast !Heroic Strike") like Ordush posted above.
-
Have a look at this comment, works very well:
-
add
using System.Linq;
to the top of your file
-
ObjectManager.GetWoWUnitAttackables().Where(x => x.Target == ObjectManager.Me.GetBaseAddress || x.Target == ObjectManager.Pet.GetBaseAddress).Count() >= 2
You could add something like that into your condition ( || means or, if you only care about enemies targetting your pet take the other side out).
-
This is because wRobot reloads the UI when your addon memory gets over its threshold, you have 2 options, increase the threshold or turn off your addons. The topic i linked below should explain things.
-
55 minutes ago, Matenia said:
This guy literally admits to scamming FNV out of his money... even worse, someone sent him those files in the first place.
I'll personally pay the $20 (to replace the lost license if he has to refund), if Droidz bans him, his IP and his MAC address permanently.I second this, @Droidz you shouldn't allow this.
-
I may use the plugin settings and pulse them to let them know the instance is still alive - I'll update if that worked for me. Thanks @Enraged
-
In a plugin I'm writing I create an instance of a class.
I do not want to dispose it when the bot is stopped (which is fine and working) however I don't want to create another instance of it if it already exists as there would then be 2 of them (as I'm not disposing the original).
I can't track it in a variable within my plugin because once the bot is restarted a new instance of the plugin is spawned and would not have those variables.
Is there something I can set in a wrobot variable to track whether my plugin has launched and thus I don't need to track it in my plugin?
-
Use this plugin as an example of creating lua ingame;
(download the Main.cs)
-
maybe something like this?
private bool rangedPull; public float Range { get { if (!Fight.InFight && ObjectManager.GetWoWUnitHostile().Count(u => u.Position.DistanceTo(ObjectManager.Target.Position) <= 30 && u.IsAttackable) > 1) // if there is more than one mob within 30 yards of the your target's position { rangedPull = true; return 29f; } else { rangedPull = false; return 5f; } } }
To note, that will only stay at range while out of fight because if the mob you're attacking is a caster, you'll want to run to it. You can of course edit that and add more logic
-
So what's your problem with it? It starts facing the mob, the rangemanger initiates because your pet has aggro and your bot runs away from the mob until its far enough for it to be able to use ranged attacks again, then it turns and continues attacking. Are you saying after it's run away it does NOT turn around and is now facing away from the mob?
Edit: You can also add further conditions to the rangemanager so that it doesn't run away if the mob is below a certain amount of HP. -
https://wrobot.eu/files/file/1486-paid-humanmasterplugin/
From the features:
- automatically equips better items, based on TBC "Pawn" stat weights
-
I don't think there is a problem here, the problem lies with the fightclass where this happens. I've only personally really seen it happen with iMage.
-
Can you give a little more info?
When you mean it wont rezz do you mean it walks to its corpse, the popup comes up where you can select resurrect and it simply doesn't do it and you want it to? (I have noticed a bug on some private servers where the popup comes up but the rezz button doesnt work unless you move like 3 yards closer)
Or do you mean if for some reason it can't rezz you want it to spirit rezz?
-
1 hour ago, Ordush said:
Has it been renamed? :O When? I have a few chars running there, that has been for some days, haven't changed anything?
This was half a year ago when lightshope first changed the name
-
16 minutes ago, Avvi said:
Yes this is exactly how I achieve it in my code. Not the best solution, but an easy one.
A possible enhancement would be to also make sure to not re-enable while "Resting" (Inn's & major cities) as well as maybe using Usefuls.SubMapZoneName to compare it to a list of all the towns and again not re-enable.
-
-
I recommend you just set it to higher than 40%. 40% is very low for a bot already and it will likely struggle. Up it to something like 65%-70% and see if the results are different.
I am surprised that you say it goes in when it has less that 40%, it shouldn't be doing that.
-
4 hours ago, cornholio216 said:
I have one question about botting my rogue.
I set the food he has to eat and the percentage when he should, but in some cases he just doesnt eat but run into the next mob to die. Anyone know this problem?
What are your settings?
Min Food % | Max Food % ?
Min Water % | Max Water % ?
-
This may help, if you run it on your followers.
-
Untested but, c# condition:
ObjectManager.GetObjectWoWPlayer().Where(x => x.PlayerFaction == ObjectManager.Me.PlayerFaction && !x.HaveBuff("Mark of the Wild") && x.GetDistance2D < 40).Count() > 0
Not Spell is C# Code - True in spell settings:
Interact.InteractGameObject(ObjectManager.GetObjectWoWPlayer().Where(x => x.PlayerFaction == ObjectManager.Me.PlayerFaction && !x.HaveBuff("Mark of the Wild") && x.GetDistance2D < 40).FirstOrDefault().GetBaseAddress); SpellManager.CastSpellByNameLUA("Mark of the Wild");
Again.. completely untested. Might work for you.
Also you'd want to add another condition to make sure you only do this out of combat.
Edit: As a side note, I saw that in the fightclass editor there is a Optional General Setting called Additional C# code we could add a function in there which can be used in the conditions/spells and make it more clean.
We could add:
public List<WoWPlayer> GetUnbuffedFriendlies(string buffname) { return ObjectManager.GetObjectWoWPlayer().Where(x => x.PlayerFaction == ObjectManager.Me.PlayerFaction && !x.HaveBuff(buffname) && x.GetDistance2D < 40).ToList(); }
Then in the condition and spell we can do things like - Condition:
GetUnbuffedFriendlies("Mark of the Wild").Count() > 0
and spell:
Interact.InteractGameObject(GetUnbuffedFriendlies("Mark of the Wild").FirstOrDefault().GetBaseAddress); SpellManager.CastSpellByNameLUA("Mark of the Wild");
Once again though... its all sudo code and is untested...
-
C# code:
wManager.Wow.Helpers.Vendor.BuyItem("Skinning Knife",1);
distance to party member
in WRobot for Wow Vanilla - Help and support
Posted
No simple way that I can think of ?
You'd probably want a small plugin that checks how far your other char is and if the distance gets too high, stop any fight with the current target (or finish it first) and run to your party member. The problem is you're likely wanting to do this on northdale with the unit view distance being quite low (probably for performance reasons) so you'd have to make the range quite low.