Jump to content

zzzar

WRobot user
  • Posts

    68
  • Joined

  • Last visited

Posts posted by zzzar

  1. Hello, i make own lightweight lame logger/relogger and stuck at press "Start" button of bot.

    at first SetForegroundWindow(p.MainWindowHandle); // focus bot window

    then i try various ways

    1) SendKeys.SendWait("%(c)");

    2)         keybd_event(0x12, 0, 0x02, UIntPtr.Zero); // press alt
                Thread.Sleep(1000);
                keybd_event(0x43, 0, 0x02, UIntPtr.Zero);  // press c
                Thread.Sleep(400);
                keybd_event(0x12, 0, 0x00, UIntPtr.Zero); // unpress alt
                keybd_event(0x43, 0, 0x00, UIntPtr.Zero);  // unpress c

    3) even try to tab between bot window elements

    but none work, like keys not send to window, but tested on notepad and it works . Is there way to press start button?

  2. Hello, you can check lfg roles by lua GetLFGRoles().

    I assume you want to taunt mobs as tank from party members, you can use something like

    var targettotaunt = wManager.Wow.ObjectManager.ObjectManager.GetWoWUnitAttackables().Where(q=>q.InCombat && q.TargetObject != ObjectManager.Me).FirstOrDefault();

    To check wow class you can use wManager.Wow.ObjectManager.WoWUnit.WowClass

  3. Hello, is it possible to cancel current bot state(i need to cancel ToTown), on lua "MAIL_FAILED" event? When bot send items to mule and mule have his mail full, too many attemps auto mutes your account with message  "Your mail and chat prievelegies has been suspended due Game Master review", or something like that . For a while this was not a problem, but recently some servers start ban because of this.

    Nevermind, fixed it, should try more before creating tread. Delete pls.

  4. As i said gm's constantly working on, fixing one quest, broke several others. For example, one profile have 40 quests, one day 30 of them can picked up, second day half of them, third day all of them works. Remove quests is not an option. I look for code like:

    //pseudocode

    if (Log.Contains("you can disable profile step'"))

    {

    int step = wManager.Wow.Helpers.Quest.QuesterCurrentContext.CurrentStep ;

    DisableStep(step);

    }

    Is that possible to do?

  5.  


    Hello there, I try describe problem how i can,hope my writing will be understandable,  english is not my home language:D

    When bot can't pick up quest, he write log like "[Quester] He's trying to pickup quest XXXX for more than 120 secondes, go to next step (if you get this problem again, you can disable profile step '123'."
    I play on server where gm's constantly working on, fixing one quest, broke several others.

    Problem is : When i start\stop bot, he tries to pick up such quests again, and if there are many of them, that can take pretty long.

    What I want : when bot fails to pick up such quest, he disable that quest for that certain character not only for this session, but forever for this profile(by disabling profile step, or somehow blacklist it).

    If someone can help me with code that do it that if its possible, or even Droidz wish to add this feature in future, thats be fantastic.

×
×
  • Create New...