Jump to content

pravicovy

Members
  • Posts

    17
  • Joined

  • Last visited

Posts posted by pravicovy

  1. 21 minutes ago, headcrab said:

    try to increase in 4rd string 200 -> 300...400...

    Does it helps or every time it writes Me.IsCast=False?

    If helps, but requires big value (>500), just forget this server. 

    It always returns Me.IsCast=False.

    Yet it gathers the herb when the value is +5000.

     

    It is a well known and big vanilla server, without telling its name and it is NO lag since my latency to the server is 10-15ms. The gathering simply takes 5 seconds and not the programmed 2.5 seconds. 

  2. I fired up wrobot and tried your code. There seems to be some argument missmatch.

     

    Log:

    [E] 16:07:00 - Compilator Error :
    c:\Users\asd\AppData\Local\Temp\fqmnizcl.0.cs(41,25) : error CS1502: The best overloaded method match for 'wManager.Wow.Helpers.Interact.InteractGameObject(uint, bool, bool)' has some invalid arguments
    c:\Users\asd\AppData\Local\Temp\fqmnizcl.0.cs(41,53) : error CS1503: Argument 1: cannot convert from 'ulong' to 'uint'


    [E] 16:07:00 - Cannot run code, look log.

  3. I started WRotation again and went to a nearby herb.

     

    My latency is 15ms. The bot itself is still configured for a minimum latency of 200ms and max latency of 300ms. So i guess it is still reasonable.

     

    I executed your code.

    Return:

    WoWObject _t = ObjectManager.GetWoWGameObjectByName("Peacebloom").OrderBy(o => o.GetDistance).FirstOrDefault();
    Interact.InteractGameObject(_t.GetBaseAddress, true, false);
    // this code works like Usefuls.WaitIsCasting();
    robotManager.Helpful.Timer timer = new robotManager.Helpful.Timer((double)(Usefuls.Latency + 200));
    while (!timer.IsReady && !ObjectManager.Me.IsCast) {
    	Thread.Sleep(5);
    }
    Logging.Write("Me.IsCast="+ObjectManager.Me.IsCast);
    while (ObjectManager.Me.IsCast) {
    	Thread.Sleep(30);
    }
    Usefuls.WaitIsLooting();
    Move.JumpOrAscend();
    // wManager.DevelopmentTools.OutPutCSharp= 
    // Execute time: 1438

     

    And the log file says (had to fight a mob):

    [F] 15:36:55 - [Spell] Cast Lightning Shield (Lightning Shield)

    [F] 15:36:57 - [Spell] Cast Earth Shock (Earth Shock)
    15:37:06 - Me.IsCast=False

     

    Behaviour of the bot harvesting attempt: Start gathering -> jump (cancel gathering) -> idle

  4. Okay so i started WRotation and tested, that the bot is functioning. It is. It just fought against a boar.

    I then looked for a nearby herb and ran the following code...

    WoWObject _t = ObjectManager.GetWoWGameObjectByName("Peacebloom").OrderBy(o => o.GetDistance).FirstOrDefault();
    Interact.InteractGameObject(_t.GetBaseAddress, true, false);
    Usefuls.WaitIsCasting();
    Usefuls.WaitIsLooting();
    Move.JumpOrAscend();
    
    // wManager.DevelopmentTools.OutPutCSharp= 
    // Execute time: 1422

     

    Same behaviour as before. The bot starts gathering for a few mili seconds, jumps (and interrupts the gathering process), then does nothing. Even after some time (~2min) of waiting it does not resume the gather process.

  5. Добрый день headcrab =)

    Yes it works fine with "minimum" latency(min: 200ms, max: 300ms).

     

    When i run this piece of code

    WoWObject _t = ObjectManager.GetWoWGameObjectByName("Peacebloom").OrderBy(o => o.GetDistance).FirstOrDefault();
    Interact.InteractGameObject(_t.GetBaseAddress, true, false);
    Usefuls.WaitIsCasting();
    Usefuls.WaitIsLooting();
    Move.JumpOrAscend();
    
    // wManager.DevelopmentTools.OutPutCSharp= 
    // Execute time: 938

    The bot starts gathering for a few mili seconds, then jumps and then does nothing.

  6. no i am not able to target a herb by left clicking. i can only "mouse focus" it by hovering over it or right clicking, which is mining.

     

    I will shortly.

     

    Edit:

     

    WoWObject _t = ObjectManager.GetWoWGameObjectByName("Peacebloom").OrderBy(o => o.GetDistance).FirstOrDefault();
    Interact.InteractGameObject(_t.GetBaseAddress, true, false);
    Usefuls.WaitIsCasting();
    Usefuls.WaitIsLooting();
    // wManager.DevelopmentTools.OutPutCSharp= 
    // Execute time: 703

     

    without any problems. Started gathering for the whole 5 sec.

    So maybe there is a problem between swtiching profiles?!

  7. i am sorry to disappoint but i am not able to get it to work. i stand in front of an herb. then i hover over it with the cursor and alt+tab into the dev. tools and hit c#.

     

    it doesnt do anything. neither with a paused bot nor with an "idle" wrobot.

     

    is my procedure wrong?

     

    edit:

    i made another interesting observation:

    if start the bot completly fresh and it is next to a herb, then it will pick it up. But after the questing profile has started and he transitions into "farming" then he does not wait the entire cast time. Wrobot executes the next step of the leveling profile, switches into farming, aborts herb picking after 2.5 sec and switches pack to the quest profil step.

    Maybe there is a bug with switching between "profiles" or "bot-modes"?

  8. Sadly deactivating the Human Master Plugin (HMP) did not solve the problem. Exactly the same behaviour.

     

    Well my the latency setting of Wrobot differs from the latency that we experience as players. At least this matches my test results. When i set the latency for a minimum of 2500 ms then the bot behaves like this "Harvest Herbs" -> "Wait the initial 2.5 sec for harvesting" -> "Wait another 2.5sec for lag". And it must be something like this because the bot is then able to gather herbs. While this is great for gather, it is really bad for combat. Because the bot turns really slow, reacts really slow to low health etc...

    gather_herb_without_hmp.html

  9. Hey,

     

    first of all, i would like to apologize for the doubel post but i just saw that the topic was posted in the wrong forum

     

     

    As much as i am enjoying the bot, i am having some serious problems with running a quest profile and occasionally harvesting herbs. The bot in general is behaving as promised. It keeps on grinding and questing and detecting herbs. It then runs to the herb and trys to pick it up. The only problem is: gathering herbs in vanilla takes 5 seconds and not 2.5 seconds. Thus i would have to increase the minimum lag up to 2500ms in order to get to a total time of ~5sec gathering.

    This is not acceptable for me, because the bot will become realy sluggish and decreasing its performance in combat and in general. And besides it isnt fun to watch.

     

    Is there any workaround or any "secret" settings that may fix this issue?

    gather_stop.html

  10. Hey,

     

    enjoying your bot so far. Sadly the gather problem is still present. My Quest-Profil is running until a herb is detected. It then walks over and trys to pick it up. Sadly the program does not recognize that the herbs take 5 seconds to pick up instead of the new 2.5 sec.

    I am also not willing to increase lag up to 2500 ms to adress that problem because this makes the bot super slow in general which is annjoying to look at. Could you adjust the timer?

     

    The log looks like this:

    fight mob

    [F] 54:26 - [Spell] Cast Earth Shock (Earth Shock)
    [F] 54:27 - [Spell] Cast Earth Shock (Earth Shock)
    54:27 - [Farming] Farm Peacebloom > 481.501 ; -4376.18 ; 36.1501 ; "None"
    [N] 54:27 - [Path-Finding] FindPath from 528.2233 ; -4392.652 ; 33.26404 ; "None" to 481.501 ; -4376.18 ; 36.1501 ; "None" (Kalimdor)
    [N] 54:27 - [Path-Finding] Path Count: 2 (49.62496y)
    54:36 - [Farming] Farm successful

     

    sadly no herb gathered :(

    gather_stop.html

×
×
  • Create New...