-
Posts
581 -
Joined
-
Last visited
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Posts posted by iMod
-
-
WoWUnit unit = ObjectManager.GetObjectWoWUnit().OrderBy(u => u.GetDistance2D).FirstOrDefault(u => u.Entry == 1234 && u.IsAlive);
replace 1234 with your id you are looking for.
"Not working" means nothing happens or do you get errors? -
11 hours ago, sowelu said:
I have very noobish question. Where should i insert this code? Quester> action> runCode ?
private Spell _vanish = new Spell("Vanish");
error
int chestId = 42;
but ok
Oh you are working with quester. The vanish thing should be a part of your fight class.
-
Just now, sowelu said:
Also, how can it be looped? I need to call LookingForTheChest function every100 ms.
If you want too loop through something "While(condition)" could be used.
-
public class Ninja { private Spell _vanish = new Spell("Vanish"); int chestId = 42; void LookingForTheChest() { if (ObjectManager.Me.InCombat && Lua.LuaDoString<bool>("IsShiftKeyDown()")) { //use vanish. How can send to game some bind like "shift + V"? //sleep 2000 Thread.Sleep(2000); // Cast vanish this._vanish.Launch(); } if (ObjectManager.Me.InCombat == false && _vanish.IsSpellUsable && IsAnyoneNearMe() == false && ObjectManager.Me.IsCast == false) { LootTheChest(); } } void LootTheChest() { //lets check chest, maybe it looted already //if no chest i need to go to the next step } bool IsAnyoneNearMe() { //get mobs around List<WoWUnit> mobsNearMe = ObjectManager.GetWoWUnitHostile(); //anyone near me? foreach (WoWUnit u in mobsNearMe) { if (ObjectManager.Me.Position.DistanceTo2D(u.Position) < 30) { return true; } } // ok, fine, there are no mobs near me, lets check where is patrol foreach (WoWUnit u in mobsNearMe) { //how to check by id? im using DisplayID, dont know what is it, but i hope you will help if (u.DisplayId == 2017 && ObjectManager.Me.Position.DistanceTo2D(u.Position) < 100) { return true; } } //so cool, patrol are so far and no one near me, time to loot the chest return false; } }
-
16 hours ago, Ceboost said:
Erstmal danke für deine Antwort! :) zu Punkt 3 meinst du das Wrobot Hardware lastiger ist als HB?
Ich habe da keinen Unterschied zu HB gemerkt.
-
On 10.9.2017 at 4:19 PM, Ordush said:
I will just make an example of how i'd love for this to work. :)
SLASH_TOGGLEHUNTERSMARK1 = '/togglehuntersmark'
SlashCmdList.TOGGLEHUNTERSMARK1=function()
if HuntersMarkDisabled then
HuntersMarkDisabled = false
else
HuntersMarkDisabled = true
end
endThen the condition is set to HuntersMarkDisabled false to use hunters mark.
Works very well without any problems. Now the problem is i relog the game HuntersMarkDisabled is reset (due to the variable no longer being true/false).
So camelot10 came up with the code above, so that my HuntersMarkDisabled would be stored with the Fight Class settings. Here the problem is that when it doesLua.LuaDoString("HuntersMarkDisabled = " + HuntersMark);
it doesn't turn HuntersMarkDisabled into what HuntersMark is, but it just sets it to nil.
Hope someone can help with this problem. :)
Never worked with ingame variables but give this a try:
CVar.SetCVar("HuntersMarkDisabled", HuntersMark);
instead of the Lua.DoString();
If you want to read out your variable try:bool test = CVar.GetCVar<bool>("HuntersMarkDisabled");
Hope that helps.
-
17 hours ago, Bajs said:
Yeah, using a VPN. Not sure how to do so the two executables have the same IP? Thought all trafic I use goes through same VPN hence same IP? Really bad at this tho, thx for the reply
Yeah the only limitation is the external IP. Just tunnel the wow traffic through the vpn and leave the bot as it is. there is really no need to connect wrobot though vpn.
-
50 minutes ago, Galexyman said:
Hallo
1.Gibt es eine Möglichkeit eine Trainingspuppe mit WRotation angreifen zu lassen ?
2.Muß ich WOW im 32 bit modus starten oder kann ich auch auf nein klicken und den bot in 64 bit laufen zu lassen ?
3. Gibt es eine Möglichkeit bei einer Rotation die unterbrechungszauber auf eine Taste zu legen also das er sie automatisch ausführt wen ich die Taste gedrückt halte.(zb ist bei Dämonenjäger es echt nerfig das er Metamorphose bei trash mobs aktiviert und beim Bos es auf Cooldown ist.
Danke für eure Antworten.
MfG
1. Unter Einstellungen kannst du festlegen ob der Bot die Puppen ignorieren soll oder nicht.
2. Ja du musst es in 32 Bit starten.
3. Ja z.B mit Lua "IsShiftKeyDown()" oder C# und der KeyboardHook Klasse von WRobot. -
51 minutes ago, Bajs said:
Hey,
Is it possible to run two accounts or more with the WRobot FOR PRIVATE SERVER license? Can´t seem to get it to work for me, only one at the time!
Are you using vpn? You need to make sure that the WRobot executables have the same external IP.
-
13 minutes ago, PainTheMultiboxer said:
I can not get it to work. I put the plugin in the folder and not sure where to go from there on. I get some error. Could you help me out please? @iMod
Its not a plugin, its a product.
-
1 hour ago, PainTheMultiboxer said:
That's pretty great. But how does it work? Does it use /follow command in game or does it scan pixels/read memory to see the location of main and "follow it" without using the /follow command in game?
It simply reads the target object out of the memory and its last position, calculates the path and walks to the position.
-
1 hour ago, Findeh said:
If i get it right, in your example
double cooldownTimer
Will be a constant, right?
But the problem is, it may be different, it's not a constant for the same spell. Spell may be different level (lvl 1 heal may be 1,5s cast and the same lvl 6 spell may be 3,5s cast). Spell cast time may be buffed by talants, or may be not buffed, depending on character. Cast time may be hited back by incoming damage or kicked. If it was hitted back, delay should be longer, if it was kicked, it should be shorter. In a word, it's complicated.
sure it was just a sample how it could be done not a copy paste solution :) And normaly it should be just used if you want to manipulate the known cooldown of each spell.
-
The easier way
public class WoWSpell : Spell { private Timer _timer; #region Constructor /// <summary> /// Creates a new instance of the <see cref="WoWSpell"/> class. /// </summary> /// <param name="spellNameEnglish">The spell name.</param> /// <param name="cooldownTimer">The cooldown time.</param> public WoWSpell(string spellNameEnglish, double cooldownTimer) : base(spellNameEnglish) { // Set timer this._timer = new Timer(cooldownTimer); } #endregion #region Public /// <summary> /// Gets the flag if the timer is ready or not. /// </summary> public bool IsReady { get { return this._timer.IsReady; } } /// <summary> /// Casts the spell if it is ready. /// </summary> public new void Launch() { // Is ready? if (!this.IsReady) { // Return return; } // Call launch base.Launch(); // Reset timer this._timer.Reset(); } #endregion }
Just a sample how it could be done. Hope it helps some people.
-
37 minutes ago, plaetzchen said:
Hi,
den Beitrag habe ich gesehen. Wenn ich allerdings auf Download oben rechts klicke, lade ich nur ein Bild herunter und keine .cs Datei.
Steh ich gerade auf dem Schlauch ? :-(
Ja, du musst es bei dem Entwickler kaufen, deshalb auch das [PAID] davor ;)
-
3 minutes ago, plaetzchen said:
Hi,
gibt es eine neue Version von ServerHop? Die alte Funktioniert nicht mehr.
Da steht immer:
Next:anmelden, dann passiert nix mehr und der bot steht einfach herum...
Jemand einen Tipp?
Danke
Wenn du das Plugin(oben) nicht meinst dann gibt es ein Update, wenn nicht dann solltest du dich an den Ersteller wenden.
-
21 minutes ago, mariothegoat said:
sorry to bother you
can you please explain it to me since i am very new :D
Please use the search function next time. Happy botting.
-
1 hour ago, Findeh said:
Okay, it's not working. Not the code itself, it works perfectly. But not the events. They are not what i expected.
PLAYER_REGEN_ENABLED happens after every combat, even if you don't need to regen, so it's not like "Am i need to regen?" more like "Lets check do i ned it or not"
So any action that happenf with condition id==PLAYER_REGEN_ENABLED will happen after every combat. But will not happen after resurection or bot satart.
The problem is, you may need regen not only after combat. For example after you have buffed or healed or casted something while run. That's what i'd like to chek. The only solution that i can imagine right now is to check in a loop is your current mana less then you regenerate mana setting. And same for health.
And if it's true, force-regen somehow. Don't know how.http://wowprogramming.com/docs/events/PLAYER_REGEN_ENABLED
There is no wow event that will tell you what you have to do. Those events have nothing todo with the bot it self, that a raw wow events.
You can't reg if you are infight if i'm not wrong o.O just take a look at the event list at the site above and i bet you will find some that will match your needs.
Edit: Make sure you use the website with archive.org together to get valid outputs for your game version. -
1. Don't subscribe to events in a loop
2. Don't use delegates if you don't understand them until you did some research about them(just a recommendation)
This looks like you just copied the code without to knowledge what it does you (need) to use it in the initialize method.
Just put it infront of the "While" and you should be fine. -
5 minutes ago, PainTheMultiboxer said:
No I have not. I may aswell tho. Can you just tell me how does it work and what exactly does it do?
Its just a small product that will follow your toon and executes the rotation if it will go under the health number you entered int the settings, nothing special. If you leave the fight class clean it will just follow your toon that you entered in the config, nothing else.
Edit: it also checks if your "leader" is mounted or not and will use a mount aswell. -
On 2.9.2017 at 7:31 PM, PainTheMultiboxer said:
It's fine. So Droidz, or anyone else, there's no way to use it as JUST a follow bot and not anything else? Like, oFollow software, something similar, but used inside a bot. If not, I'd suggest adding it.
Thank you for your time.Do you tried iSupport?
-
19 hours ago, PainTheMultiboxer said:
Is there any way to use Wrobot as just a follow bot for BGs? Ie. for multiboxing, when running multiple toons in BGs but still want to be in control, is there a way to make them just follow with wrobot, and the player is in control of everything else? Answer would be highly appreciated.
Give iSupport a try. Its a old product i wrote for leveling my toons semi afk. Settings should be self explained. If you don't want that your char does anything, just don't choose a fight class. Its mainly made for healing and supporting a lowbie played by hand.
-
20 minutes ago, marcky said:
Hi, is it possible to use the wRobot privat license on Warmane?
greetings
Yes since it is a private server.
-
22 hours ago, Ordush said:
After hours and hours of doing this and that, i finally figured the error lies within wrobot. Apparently it dones't translate \\ into /
So as soon as i changedStatusFrame:SetBackdrop({bgFile = "Interface\\Buttons\\WHITE8X8",});
into
StatusFrame:SetBackdrop({bgFile = "Interface/Buttons/WHITE8X8",});
Everything worked.
Why should wrobot translate \\ to / ?
-
4 hours ago, tobiasdead2 said:
Er soll bG machen habe alles eingestellt aber wenn ich start drücke passiert nix selbst der Start Knopf ändert sich nicht er reagiert nicht
Ich gehe mal davon aus das du auch das Produkt ausgewählt hast. Die Log-Datei wäre eine gute Anlaufstelle um zu sehen was los ist.
check distance
in WRobot for Wow The Burning Crusade - Help and support
Posted
XML is for ppl who have no clue about programming und C#(.cs) is for the advanced ppl. With XML you are forced to the functions droidz implemented and with C# you can create your own functions and stuff like that.