Everything posted by Droidz
-
Profil interagissant avec le bot. Possible ?
Salut, Pour savoir si le produit utiliser et le bot de pêche, tu peux utiliser: robotManager.Products.Products.ProductName == "Fisherbot" Pour voir si le personnage pêche tu peux utiliser: ObjectManager.Me.CastingSpellId == 131476 ou: ObjectManager.Me.CastingSpell.Name == "Fishing" ( http://www.wowhead.com/spell=131476/fishing ) ps: Tu peux aussi essayer: wManager.Wow.Bot.Tasks.FishingTask.IsLaunched
-
Possible to search for object?
Yes, replace // Wait during bot in pause while (_isLaunched && Products.InPause && Products.IsStarted) { Thread.Sleep(10); } By: // Wait during bot in pause var pauseTime = new Timer(1000 * 5); // 5 sec = 5000 ms while (!pauseTime.IsReady && _isLaunched && Products.InPause && Products.IsStarted) { Thread.Sleep(10); } Products.InPause = false;
-
WRotation en duel
Essaye avec ObjectManager.Me.InCombatFlagOnly
-
WRotation en duel
"Fight.InFight" retourne "true" quand WRobot est lui-même en combat (qu'il a fait Fight.StartFight(...)), rien à voir avec ce qui ce passe dans wow, WRobot peut être InFight alors que le combat n'a pas encore commencé (il est InFight dès qu'il a choisi la cible (par exemple dans le bot "Grinder", par en étape par étape ca donne: Recherche de la cible > On utilise la fonction Fight.StartFight(...) (InFight = true) > On va vers la cible > Sélection de la cible (ciblage, on clique dessus) > Lance le premier sort des que le joueur est à portée > combat > cible morte > sort de la fonction StartFight(...) (InFight = false)). InCombat, lui vérifie plusieurs éléments: Que le joueur n’est pas mort. Que le portrait du joueur clignote rouge (Me.InCombatFlagOnly). Recherche dans la liste des objets les units qui ont pour cible le joueur, ou le pet du joueur, ou un membre du groupe. UnitCanAttack est limité comme tu le dis, car il faut que le joueur ait pour cible l'unit, c'est à faire en dernier, avant de lancer la rotation, pour vérifier si la cible est bien attaquable.
-
Possible to search for object?
Try it: using System.Collections.Generic; using System.Threading; using System.Windows.Forms; using robotManager.Helpful; using robotManager.Products; using wManager.Plugin; using wManager.Wow.Helpers; using Timer = robotManager.Helpful.Timer; public class Main : IPlugin { private List<string> Names = new List<string> { "Frozen Fury", "Warsong Initiate", "", }; private bool _isLaunched; public void Initialize() { _isLaunched = true; var timer = new Timer(1500); timer.ForceReady(); Logging.Write("[Search Objects] Loaded."); while (_isLaunched && Products.IsStarted) { try { if (timer.IsReady && Conditions.ProductIsStartedNotInPause) { foreach (var o in wManager.Wow.ObjectManager.ObjectManager.GetObjectWoWUnit()) { try { if (o.IsValid && !string.IsNullOrEmpty(o.Name) && Names.Contains(o.Name)) { Logging.Write("NPC found: " + o.Name); ObjectFound(); } } catch { } } foreach (var o in wManager.Wow.ObjectManager.ObjectManager.GetObjectWoWGameObject()) { try { if (o.IsValid && !string.IsNullOrEmpty(o.Name) && Names.Contains(o.Name)) { Logging.Write("Object found: " + o.Name); ObjectFound(); } } catch { } } timer.Reset(); } } catch { } Thread.Sleep(300); } } public void ObjectFound() { // Pause bot: Products.InPause = true; Fight.StopFight(); MovementManager.StopMove(); LongMove.StopLongMove(); // Play sound In Game //Lua.RunMacroText("/console Sound_EnableSFX 1"); Lua.LuaDoString(@"PlaySoundFile('Sound\\Creature\\Rotface\\IC_Rotface_Aggro01.ogg')"); // Play sound from WRobot var myPlayer = new System.Media.SoundPlayer(wResources.Resource.NewWhisper); var tPlay = new Timer(1000 * 5); // 5 sec = 5000 ms while (!tPlay.IsReady) { myPlayer.PlaySync(); } myPlayer.Stop(); // Wait during bot in pause while (_isLaunched && Products.InPause && Products.IsStarted) { Thread.Sleep(10); } } public void Dispose() { _isLaunched = false; Logging.Write("[Search Objects] Disposed."); } public void Settings() { MessageBox.Show("[Search Objects] No settings for this plugin."); } } (Sound is played in method(function) ObjectFound())
-
Cant apply Priorities!!
Hello, Normally priority order is respected, you can try to activate in "Spell Settings" the "Debug mode" option and look in log the raison. Do not hesitate to share your log file/fightclass if you want more help.
-
auto blacklist bugged mobs!
Hello, thank you. If you can wait next update and tell me if bugged mob detection works better. Try to blacklist zone (tab "Tools") when you found bugged mob.
-
Druide equilibre && eclipse
Merci et de rien, pour les transport aérien utilise ObjectManager.Me.IsOnTaxi
-
Druide equilibre && eclipse
Je viens de tester, et il est vrai que Eclipse renvoi un résultat incorrect. Tu peux utiliser ce code pour remplacer "ObjectManager.Me.Eclipse": var eclipse = Lua.LuaDoString<int>("return UnitPower('player',8)"); (le résultat est en -100 et 100: http://wow.gamepedia.com/PowerType ) Normalement InTransfort devrait fonctionner, tu as aussi IsOnTaxi pour détecter si le joueur utilise un taxi, sinon il reste lua: http://wow.gamepedia.com/API_UnitUsingVehicle (tu veux dire quoi par transport ?) EDIT: Je viens de corriger le code, j'ai oublier de mettre le "return" devant "UnitPower"
-
Possible to search for object?
Wow seem play game sound only when window is on foreground. If you want use default wrobot alarm sound use: var myPlayer = new System.Media.SoundPlayer(wResources.Resource.NewWhisper); var tPlay = new robotManager.Helpful.Timer(1000 * 5); // 5 sec = 5000 ms while (!tPlay.IsReady) { myPlayer.PlaySync(); } myPlayer.Stop();
-
sometimes i fiid it blocked in trees ....corners ...
Hello, Can you share your log file (where you get problem) please: http://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/
-
ask how to open Easy profile creator
Hello, Reply here: http://wrobot.eu/bugtracker/quest-editor-r318/
-
Quest editor
Hello, Sorry no, quest editor use a lot the wow memory to get informations to create profiles, work without wow can cause a lot of errors. If currently you haven't wow account , you can create wow trial account and use it to launch WRobot.
- Trouble with profle creator for entrance to a dungeon
-
[Gatherer] No combat possible?
Hello, Normally WRobot dismount only if attacked and near the mine/herb (to avoid to fail farm), or if harvest are cancel (if the player get domage during harvest, farming is cancel). You can avoid nodes with hostiles units near with option "Max unit near...", if you use druid you can activate option "Ignore combat is druid form...", but you cannot skip node if you are attacked.
-
Possible to search for object?
To run lua code: Lua.LuaDoString("PlaySoundFile('Sound\\Creature\\Rotface\\IC_Rotface_Aggro01.ogg')"); To run lua macro: Lua.RunMacroText("/console Sound_EnableSFX 1"); To run lua code and get value: var luaValue = Lua.LuaDoString<string>("return GetUnitName('target');"); To play sound with WRobot (in c#): var myPlayer = new System.Media.SoundPlayer { SoundLocation = Application.StartupPath + "\\Data\\newWhisper.wav" }; var tPlay = new robotManager.Helpful.Timer(1000 * 5); // 5 sec = 5000 ms while (!tPlay.IsReady) { myPlayer.PlaySync(); } myPlayer.Stop();
-
Bot close
Hello, You use trial version (limited at 15 minutes by session). To remove time limit you need to buy WRobot subscription.
- Editing profile (help request)
-
Is it possible?
Hello, You cannot fish in gatherer profile. But you can harvest mines/herbs on fisher profile. The best way is to create fisher profiles and pass to the edge of the water.
-
25 Blcokages
Hello, Can you share your log file please: http://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ . You can disable "blockages" secutiry in tab "General Settings" > "Enter advanced settings..." > tab "Stop game / bot / Security" > "After x Blockages latest 10 minutes".
-
Editing profile (help request)
Hello, To start, go to tab "Map" and activate option "Radar3D" and, click on bouton "Development Tools" in tab "Tools" (use "Me/Target position" to get your current position). If you want remove profile position, open you profile in the editor (Profile Creator), in game go near the position (radar 3D help you) and click on bouton "Remove of path nearest position of your character". If you want edit position, you can also use editor (Profile Creator), double click on the cell to edit the number. If you want add position, the best way is to open profile file with text editor (like blocknote au notepad++), you can add manually xml code.
-
2 Daily quests annoy me
Thank you for giving the solution, I have added license key at your WRobot account.
- 90-92 Draenor (Alliance)
- Druid Restoration Heal Routine
- Traduction Française/French Traduction