-
Posts
581 -
Joined
-
Last visited
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Everything posted by iMod
-
there are two ways... 1. if(condition) { // Do something } else { // Do something else } 2. if(condition1 || condition 2) { // Do something } For your example i would use if((health < 90) || (health > 50)) { // Do something } Hope that helped.
-
Why does WRobot slow down after it's been running for a little bit?
iMod replied to Marleyjones's topic in General assistance
Well, if you create a new thread you need to call the dispose method if you stop (not pause) the bot for example. If you don't work with your own threads you don't need to take care of it. Since i don't know how you call your routines or pulse it i can't say too much. -
Why does WRobot slow down after it's been running for a little bit?
iMod replied to Marleyjones's topic in General assistance
Do you double checked your fight class that you dispose threads if you dont need them anymore? I would check another fight class to make sure its not an figth class issue. Or are you using the fight class editor? -
i'm not sure if tbc has that kind of LUA Function but yes you could check it like that was and return true or false. second solution would be using c# Something like this: return (ObjectManager.Me.TargetObject?.GetAllBuff().FirstOrDefault(s => s.ToString().Contains("BuffName") && s.Owner == ObjectManager.Me.Guid)?.Stack ?? 0) < 3; You need to change BuffName into your spell name and change the condition at the end if you want another count. Not tested but hope it helps.
-
1. If i'm not wrong you can set that up in the generall options otherwise take a look here List<Vector3> path = new List<Vector3>() {new Vector3(-8770.368f, 842.1389f, 90.03706f)}; // Move to the given position MovementManager.Go(PathFinder.FindPath(path), false); while (MovementManager.InMovement && Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !Conditions.IsAttackedAndCannotIgnore) { Thread.Sleep(100); } // Stop moving MovementManager.StopMove(); Hope that helps.
-
Einfach den Zauber auswählen den du benutzen willst, bei conditions "Buff" auswählen und dann den Namen eingeben von dem Zauber den du haben willst damit er den ausführt. Kurz: Zaubern, wenn XY(Buff) auf dir ist. Liegt es an den Englischkenntnissen oder dem Verständnis wie der FightClassEditor aufgebaut ist?
-
Du kannst doch bei den conditions einstellen das du einen bestimmten buff haben musst damit er den spell ausführt.
-
I bet you get a null exception // Do we need to move? if (ObjectManager.GetWoWGameObjectByyId(190118).FirstOrDefault()?.GetDistance < 75 ?? false) { // Move wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(1006.06f, -6288.57f, 98.98875f)); } This should remove the error if i'm not wrong.
-
It depend at what kind ID you want to use. If you want to use the mob id this could be something for you. ObjectManager.GetWoWGameObjectByyId(1234).FirstOrDefault()?.GetDistance < 75
-
Welcome to wrobot, would be new for me that the quest bot does't work. There are paid profiles for the offical patch in the quest section. About your death problem check your settings and maybe your fight class need some improvements to be more solid against mob groups ect. There should be some other posts about problems with the blacklist. If you have errors just provide us a log file. Happy botting
-
But that means it wont heal until it stops walking right?
-
This should work but not tested. Regrowth.cs
-
Some nice conditions and examples are written from @inselmann at What you are looking for is not in the quest profile, it is in the fight class. You just need to add the C Sharp condition and insert Lua.LuaDoString<bool>($"return IsSpellKnown({new Spell("SpellName").Id});"); Replace SpellName with your spell name! You also can use the lua condition LuaScript: local result = IsSpellKnown(SpellID); VarRet: result ValueRet: true Replace SpellID by the real spell id! Not tested but give it a try. Make sure you de-activate the "Check if know spell". Downside is that you need to add it for all spells.
-
[Wotlk] Looking for WoW API
iMod replied to iMod's topic in WRobot for Wow Wrath of the Lich King - Help and support
Oh damn this was the best idea :D thanks alot I totaly forgot that option. -
[Wotlk] Looking for WoW API
iMod replied to iMod's topic in WRobot for Wow Wrath of the Lich King - Help and support
Thanks alot, but i'm looking for a documentation. Yes the list helps me to search for the right function and check it out at http://wowprogramming.com/docs/api_categories and so far it is working kinda nice. -
Not really you just need to create a lua condition with IsSpellKnown and turn the inbuild check off like @Droidz said. But yes quest profiles are not done in one day :P
-
Battleground bot
iMod replied to Sup123's topic in WRobot for Wow Wrath of the Lich King - Help and support
You can create random paths if you are able to code a bit. People who botted by them self will allways see if a character is botting or a real player is sitting behind it. -
Druid Fight Class
iMod replied to Vectarius's topic in WRobot for Wow The Burning Crusade - Help and support
Problem of Moonfire was the mana condition equal 0. I changed some stuff, hope it helped. vec druid.xml -
Begginer in Wrobot
iMod replied to BevrL's topic in WRobot for Wow Wrath of the Lich King - Help and support
Allright, just tell me if you have some issues. -
Druid Fight Class
iMod replied to Vectarius's topic in WRobot for Wow The Burning Crusade - Help and support
To receive help, please provide your fight class here. -
Short answer: You can't as far i know. I have some equal problems with spells in my dual spec routine. For example you activate your other spec, you are forced to restart your bot.
-
Battleground bot
iMod replied to Sup123's topic in WRobot for Wow Wrath of the Lich King - Help and support
The chance to be reported by a player is verry high in bg.