Jump to content

Marleyjones

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by Marleyjones

  1. That's a really good point I'll look into it. The PC I use is very powerful but I do notice weird behavior with other things on my PC while I'm using a few of my fight classes.

     

    Edit: 

    21 hours ago, iMod said:

    Do you double checked your fight class that you dispose threads if you dont need them anymore?
    I would check another fight class to make sure its not an figth class issue.

    Or are you using the fight class editor?

    How can I know if threads are being disposed correctly? I have some C# as one of my spells could this cause that problem?

  2. WRobot always slows down after I've ran ANY product for more than 10 minuets and it stays slow until I restart it. Why is this and how can I manually over ride this? It makes my fight classes extremely clunky. It makes what I'm trying to accomplish impossible and I've tried everything to fix it. It starts out attempting to use a spell every second or less and then it slows down to attempting to use a spell every 5-7 seconds after just a short amount of time.

  3. Cool thank you! I haven't tried it yet but I will when I get home. 

     

    Edit: Dang I couldn't get it to work I tried

    if (ObjectManager.GetWoWGameObjectByyId(190118).FirstOrDefault()?.GetDistance < 75)
    {
    	wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(1006.06f, -6288.57f, 98.98875f));
    }

    and I get errors. Thanks so much for any help.

  4. I know how to find distance in the sense of 

    if (ObjectManager.Me.Position.DistanceTo2D(new Vector3(1006.06f, -6288.57f, 98.98875f)) > 30)

    How can I check for the distance of a game object using an ID? I found the ID's by dumping it with the quest tools like I would for a gather quest. I even noticed that it shows the distance when it dumps all of them.

    Doodad_VR_Elevator_Lift02: 190118 (1680.11 ; -5824.42 ; -72.76543 ; "None", 87.21676y)
    Doodad_VR_Elevator_Gate01: 186452 (1680.11 ; -5824.42 ; 161.518 ; "None", 150.929y)
    Doodad_VR_Elevator_Pulley01: 190119 (1680.11 ; -5824.42 ; 396.1238 ; "None", 384.6783y)
    Zeppelin, Horde (Cloudkisser): 181689 (1997.203 ; -6089.13 ; 85.60023 ; "None", 399.3795y)
    Doodad_VR_Elevator_Lift02: 190118 (951.884 ; -6071.91 ; -50.43643 ; "None", 781.5993y)
    Doodad_VR_Elevator_Gate01: 186452 (951.884 ; -6071.91 ; 183.847 ; "None", 797.8301y)
    Doodad_VR_Elevator_Pulley01: 190119 (951.884 ; -6071.91 ; 418.4529 ; "None", 878.7535y)

     

     

    This is about all I was able to come across after searching rigorously and I can't seem to figure out how to make it work correctly.

    wManager.Wow.ObjectManager.WoWObject.GetDistance(186452) < 75;

     

    If anyone has any input I would be beyond grateful. This forum has been amazing to me so far thanks guys.

  5. I just use the built in settings for eating and drinking and I am not sure how to do it through a FightClass. If you try the built in settings make sure you set the threshold for when you want the bot to go into the restore mode I think it defaults at 35% health and/or mana.

     

    I also use 

    wManager.wManagerSetting.CurrentSetting.FoodName = "Tel'Abim Banana";

    to dynamically change which food I want it to use during a Quester profile with Action type RunCode.

  6. For some reason WRobot keeps black listing this Wind Rider Master in Crossroads. The interesting part is the only time it doesn't work is when its black listed. xD

    Maybe more of what I'm looking for is the ability to permanently white list an NPC that will be immune to being black listed. Alternatively, disabling it would help as well.

    I checked all over using google search with wrobot and on the built in search here on the forums and I can't seem to find it sorry if its been explained before.

     

    I'm using Quester product for WotLK 3.3.5

  7. 2 hours ago, iMod said:

    Not really you just need to create a lua condition with IsSpellKnown and turn the inbuild check off like @Droidz said. But yes quest profiles are not done in one day :P

    Oh cool! Do you happen to have an example of how I could implement this into a Quester profile or a FightClass? And for sure, this will definitely take more than one day lol xD 

  8. I am using Quester with a profile that is configured to interact and learn skills from class trainers. After the new skills are learned the FightClass doesn't detect them until I restart the full WRobot client. It doesn't detect them while using the "If" action type either. Heres an example of what I was trying. 

    wManager.Wow.Helpers.SpellManager.KnowSpell(spell ID)

    I'm relatively inexperienced with this kind of thing so in an attempt to fix it, without knowing exactly what these commands do, I tried to use the Action Type "RunCode" with

    wManager.Wow.Helpers.SpellManager.UpdateSpellBook();

    and

    wManager.Wow.Helpers.CustomClass.ResetCustomClass();

    I am of course using WRobot for WotLK as well.

    Anyone who has any input, ideas, or suggestions would be deeply appreciated! I've spent a crazy amount of time researching a fix just to come up with nothing. xD

     

     

    Edit: So I noticed that it shows this when I first connect WRobot. How can I manually reinitialize it?

    22:21:43 - [SpellManager] Initializing SpellBook - (Wait few seconds)
    22:21:43 - [SpellManager] Initialize SpellBook Finished (31 spell found)
    [D] 22:21:43 - [SpellManager] List of id found in spellbook: 
    
    
    Auto Attack (6603)
    
    All of my spells are listed in this space
    
    Timber Wolf (580)
    
    
    
    22:21:43 - [SpellManager] Please wait, loading spellbook...
    22:21:43 - [SpellManager] Spellbook loaded.

     

  9. [E] 23:35:45 - Compilator Error :
    c:\Users\Adam\AppData\Local\Temp\i0mip0er.0.cs(21,61) : error CS1061: 'wManager.Wow.ObjectManager.WoWLocalPlayer' does not contain a definition for 'KnowsSpell' and no extension method 'KnowsSpell' accepting a first argument of type 'wManager.Wow.ObjectManager.WoWLocalPlayer' could be found (are you missing a using directive or an assembly reference?)
    
    
    [D] 23:35:47 - [Quester] If[10] (ObjectManager.Me.Level == 6  && ObjectManager.Me.KnowsSpell(6673)) | Result: False

    Under the Quests order editor in the Easy Quests Editor I'm trying to do a check to see if a player is a certain level and knows a spell using the Action type "If"

    What I have is this

    ObjectManager.Me.Level == 6  && ObjectManager.Me.KnowsSpell(6673)

    If i run it with just 

    ObjectManager.Me.Level == 6

    It works perfectly and can read that I am level 6

    I'm an amateur when it comes to code and I've tried a hundred different things some examples like 

    ObjectManager.Me.KnowsSpell(6673)
    
    ObjectManager.Me.Knows.Spell(6673)
    
    ObjectManager.Me.KnowSpell(6673)
    
    ObjectManager.Me.Knows.Spell(6673)
    
    ObjectManager.KnowsSpell(6673)

    Thank you so much to anyone that can help me!!!

     

    Edit: Also 6673 is the spell id for level 1 Battle Shout in WotLK 3.3.5 and I would also deeply appreciate if anyone has a link to some documentation on what I can use with ObjectManager

×
×
  • Create New...