Jump to content

79135

WRobot user
  • Posts

    336
  • Joined

  • Last visited

Posts posted by 79135

  1. Skvarenix/miyateera - warden/sexy gold (магазины голды). Если даже все таки они не покупают у дюпера голд, или не сами дюпают, то скажи мне где эта мразь "хитрый страус" ботит, и я сделаю плагин по нонстопному репорту его ботов

     

  2. 2 hours ago, Droidz said:

    Hello, you have robotManager.Helpful.Mouse.CurseurWindowPosition(IntPtr mainWindowHandle, int posX, int posY) and robotManager.Helpful.Mouse.CurseurWindowPercentagePosition(IntPtr mainWindowHandle, int percentageX, int percentageY)

     

    Look methods in robotManager.Helpful.Mouse and robotManager.Helpful.Display (but simulate click works badly and you need wow window in foreground)

     

     

    Oh, yes, im stupid)

  3. Every 1-3 day i have the error: dissapear file explorer, relogger just open wow and nothing do and with many applications the juxtaposition disappears, either a reboot or a relogin in the Windows profile helps. Can anyone explain what i it?

  4. Bag.GetContainerItemCooldown() is broken?

    [E] 22:01:26 - LuaDoString(string command, Type returnType, string returnVariableName = ''): System.OverflowException: Значение было недопустимо малым или недопустимо большим для Int32.
       в System.Convert.ToInt32(Double value)
       в System.Double.System.IConvertible.ToInt32(IFormatProvider provider)
       в System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
       в System.Convert.ChangeType(Object value, Type conversionType)
       в wManager.Wow.Helpers.Lua.LuaDoString(String command, Type returnType, String returnVariableName)
    [D] 22:01:26 - LuaDoString<T>(string command, string returnVar) > return value is NULL, command: 
                                                    local itemLink= GetContainerItemLink(0, 10);
                                                    if itemLink then
                                                        local _,_,itemId = string.find(itemLink, '.*|Hitem:(%d+):.*');
                                                        if itemId then
                                                            local startTime, duration, isEnabled = GetContainerItemCooldown(0, 10);
                                                            if not isEnabled then return 0 end
                                                            local t = math.floor((startTime + duration - GetTime()) * 1000);
                                                            if t < 0 then
                                                                t = 0;
                                                            end
                                                            return t;
                                                        end
                                                    end
                                                    return 0;

     

    2 hour ago it function is started to write the error. Only at bot for wow TBC

  5. I want to change a character . I start 1st char after some time i need to change the char on the realm.

    I use:  logout -> press button System.Windows.Forms.Keys.Down  -> System.Windows.Forms.Keys.Enter.

    Earlier just restarted the bot and after restart the bot connecting to a 2nd char, now restarting bot and game.
    Please will make what bot just restart himself, without game. thanks

  6. Hi,

    List<int> list= Lua.LuaDoString<List<int>>("local s={}; for i = 1,17 do  _,s=GetInventoryItemLink('player', i):match('item:(%d+):(%d+)')  end return s[1],s[2],s[3],s[4],s[5],s[6],s[7],s[8]");

    How to return all lua array withoun spam(s[1]..s[2]..s[n]) after return?

  7. 1 hour ago, Droidz said:

    Hi,

    It really depends on the dungeons.

    You can look https://wrobot.eu/files/file/453-dungeon-the-temple-of-atalhakkar/?tab=comments (lua code depend of game version), you can also check unit count: wManager.Wow.ObjectManager.ObjectManager.GetWoWUnitByEntry(123456).Count > 0 (if you are in dunjon and if he is small), you must be clever.

     

    wManager.Wow.ObjectManager.ObjectManager.GetWoWUnitByEntry(123456).Count > 0 - yes for big instance dont work, tryed /run print(C_Scenario.GetCriteriaInfo()) - nothing print (WoW 3.3.5).

    I need check if party (LFG) killed last boss and can to leave without dungeon desertire.

    And still one question - What is do it function? "GetLFGInfoLocal" ?

  8. I mean How will bot to know what happens this:

    [D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Idle already launched, ignore it.
    [D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.MovementLoop already launched, ignore it.
    [D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Grinding already launched, ignore it.
    [D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Trainers already launched, ignore it.
    [D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Talents already launched, ignore it.
    [D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.FlightMasterDiscoverState already launched, ignore it.
    [D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.ToTown already launched, ignore it.
    [D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.FlightMasterTakeTaxiState already launched, ignore it


    the main thing here is to clarify to the bot that this error occurred and after that close the game

     

  9. 5 hours ago, Droidz said:

    use code like

    
    wManager.Wow.Class.QuestClass quest;
    var r = wManager.Wow.Helpers.Quest.QuesterCurrentContext.QuestsClasses.TryGetValue("TEST", out quest);
    if (r && quest != null)
    {
        quest.Reset();
    }

    (replace TEST by name of you quest)

    But it is more easy to use "Reset" in quest order editor

    Thanks. I think what the code help to me, but dont.. 

    I use it:

            EventsLuaWithArgs.OnEventsLuaWithArgs += (LuaEventsId id, List<string> args) =>
            {
                if (id == wManager.Wow.Enums.LuaEventsId.PLAYER_DEAD)
                    robotManager.Products.Products.ProductRestart();
            };

    Sometimes happens next:

    [D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Idle already launched, ignore it.
    [D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.MovementLoop already launched, ignore it.
    [D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Grinding already launched, ignore it.
    [D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Trainers already launched, ignore it.
    [D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Talents already launched, ignore it.
    [D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.FlightMasterDiscoverState already launched, ignore it.
    [D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.ToTown already launched, ignore it.
    [D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.FlightMasterTakeTaxiState already launched, ignore it

    I tried use next code:

    robotManager.Events.LoggingEvents.OnAddLog += delegate(robotManager.Helpful.Logging.Log log)
            {
                if (log != null)
                {
                    if (log.Text.Contains("[FSM] State wManager.Wow.Bot.States.Idle already launched, ignore i"))
                        Lua.LuaDoString("ForceQuit()");//close wow
                }
            };

    But dont help.

    How to restart a bot if this error appears?

  10. On 2/27/2020 at 3:12 PM, Droidz said:

    call method Reset() of the quest class

    I badly understand, plaese write it IN DETAIL like:

            var p = Quest.QuesterCurrentContext.Profile as Quester.Profile.QuesterProfile;
            if (p != null)
            {
                for (int i = 0; i < p.QuestsSorted.Count; i++)
                {
                    if (p.QuestsSorted.Action == wManager.Wow.Class.QuestAction.StepName && p.QuestsSorted.NameClass == stepName)
                    {
                        Quest.QuesterCurrentContext.CurrentStep = i;
                        break;
                    }
                }
            }

    I've the step TEST type Follow Path.

    In the Steps, Action list:

    [0] Pulse > TEST

    [1] RunCode > here need the code for reset TEST step

     

×
×
  • Create New...