Jump to content

Droidz

Administrators
  • Posts

    12618
  • Joined

  • Last visited

Everything posted by Droidz

  1. You need more code using System; using System.Runtime.InteropServices; using System.Windows.Forms; public class Main : wManager.Plugin.IPlugin { [DllImport("user32.dll", SetLastError = true)] static extern int GetWindowLong(IntPtr hWnd, int nIndex); public const uint WS_MINIMIZE = 0x20000000; public const uint WS_MAXIMIZE = 0x01000000; public const int GWL_STYLE = -16; void GetState() { int style = GetWindowLong(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, GWL_STYLE); if ((style & WS_MAXIMIZE) == WS_MAXIMIZE) { MessageBox.Show("maximized"); } else if ((style & WS_MINIMIZE) == WS_MINIMIZE) { MessageBox.Show("minimized"); } else { // normal style? MessageBox.Show("Normal??? > style=" + style.ToString("x8")); } } public void Initialize() { GetState(); robotManager.Helpful.Win32.Native.ShowWindow(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, 6); GetState(); robotManager.Helpful.Win32.Native.ShowWindow(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, 3); GetState(); robotManager.Helpful.Win32.Native.ShowWindow(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, 4); GetState(); } public void Dispose() { } public void Settings() { } }
  2. Hello, wait next update, I added even: wManager.Events.OthersEvents.OnSelectQuestRewardItem += delegate(CancelEventArgs cancelable) { }; if you cancel event WRobot will not select reward item.
  3. I couldn't give a code that works, people here are more specialized in that. But I think you should look at the lua event side (wManager.Wow.Helpers.EventsLuaWithArgs.OnEventsLuaStringWithArgs) Run this code to dump lua event in wrobot log: wManager.Wow.Helpers.EventsLuaWithArgs.OnEventsLuaStringWithArgs += delegate(string eventid, List<string> args) { try { //if (eventid != "COMBAT_LOG_EVENT_UNFILTERED" && eventid != "COMBAT_LOG_EVENT") // return; var argsString = new System.Text.StringBuilder(); var first = true; foreach (var a in args) { if (first) first = false; else argsString.Append(" , "); argsString.Append(a); } robotManager.Helpful.Logging.Write("[L] " + eventid + " > " + argsString.ToString()); } catch { } };
  4. hi, try robotManager.Helpful.Win32.Native.ShowWindow(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, 3); (no tested)
  5. What do you want to do if you are affected by a certain spell? You want check a special spell or check by example if your character is stun?
  6. Wait next update and tell me if problem still happen
  7. Hey, You can increment option "wManager.wManagerSetting.CurrentSetting.BlacklistUnitDefaultTimeMs" (default: 120000 ms (2 minutes)) Or you can increment option "wManager.wManagerSetting.CurrentSetting.MinFreeBagSlotsToGoToTown" (default 2) (you can found this option in advanced general settings) Or you can try plugin like: using wManager.Wow.Bot.States; using wManager.Wow.Helpers; public class Main : wManager.Plugin.IPlugin { public void Initialize() { robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += (engine, state, cancelable) => { if (state is Looting && Bag.GetContainerNumFreeSlotsNormalType == 0) cancelable.Cancel = true; }; } public void Dispose() { } public void Settings() { } }
  8. You use 64bit client, use 32 bit https://wrobot.eu/forums/topic/7716-how-to-starting-wow-in-32-bit/
  9. Hello, try without fightclass. if your problem is not resolved please disable all Wow addons, all WRobot plugins and share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).
  10. Hello, problem is normally resolved
  11. Hello, The better is to use lua for that
  12. and code like: Engine lastEngine = null; robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += delegate(Engine engine, State state, CancelEventArgs cancelable) { try { if (engine == null || engine.States == null) return; if (engine != lastEngine) { if (engine.States.Any(s => s is Idle)) { lastEngine = engine; engine.AddState(new MyCustomState()); // or engine.States.Insert(X, new MyCustomState()); // cancelable.Cancel = true; ?? } } } catch { } };
  13. Hello, try to increment option "Max number of hostile units near the unit to attack", you can also activate radar3d to check if mob is not blacklisted
  14. Sorry, the code I had written could not work correctly, I just rewrite it
  15. if it is not that, it is probably you VM settings or Windows version, Wow works on VMware
  16. Hello, no option to put fake character level. If you can modify profile you can change zones level, but if it is paid profile the file is probably encrypted (and you cannot modify encrypted files, in this case only profile creator can do it). If you can also try to change wow memory with plugin like (not recommanded method): using System.Threading; using wManager.Wow.Helpers; public class Main : wManager.Plugin.IPlugin { const uint LevelChangeOffset = 4; private uint CurrentLevel { get; set; } public void Initialize() { EventsLua.AttachEventLua("PLAYER_LEVEL_UP", context => { CurrentLevel = 0; }); while (Conditions.ProductIsStarted) { if (Conditions.InGameAndConnectedAndProductStartedNotInPause) { var lvl = wManager.Wow.ObjectManager.ObjectManager.Me.Level; if (CurrentLevel == 0) CurrentLevel = lvl; uint newLevel = CurrentLevel + LevelChangeOffset; if (lvl > 0 && lvl != newLevel) wManager.Wow.Memory.WowMemory.Memory.WriteUInt32(wManager.Wow.ObjectManager.ObjectManager.Me.GetDescriptorAddress(wManager.Wow.Patchables.Descriptors.UnitFields.Level), newLevel); } Thread.Sleep(100); } } public void Dispose() { } public void Settings() { } }
  17. Hello, you use last version of WRobot? You have try to download wow client in another website?
  18. when npc is near you (in objectmanager)?
  19. when this happen again, if you can send me by private message result of "all memory info" buton in dev tools
  20. Hi, not quickly but normally the bot blacklist mob (15-30 seconds) and leaving the fight. You have tried to wait?
  21. Hello, in advanced general settings increment your min latency
  22. Hello, you can found upgrade invoice here: https://wrobot.eu/clients/orders/
×
×
  • Create New...