Jump to content

zze

Members
  • Posts

    7
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

zze's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. internal void Rotation() { while (_running) { try { if (!ObjectManager.Me.IsDeadMe) { if (!ObjectManager.Pet.IsValid && !ObjectManager.Me.IsMounted) { // Thread.Sleep(300); Fight.StopFight(); MovementManager.StopMove(); PSpawn(); // pet spawner } Buff(); if (Fight.InFight && ObjectManager.Me.Target > 0) { Pull(); CombatRotation(); } ..................... its not after the fight but seems to have fixed it just carrying out to the next target without resummoning ?
  2. I am trying to get the bots logic to loop through a little better in the sense of checking itself after each fight, I would like to have it stop itself after each fight for check of (do I have a pet, is my hp/mp above X %) that kinda thing so far I've tried something like internal void Rotation() { while (_running) { try { if (!ObjectManager.Me.IsDeadMe) { if (!ObjectManager.Pet.IsAlive) { PSpawn(); //Pet spawner return; } Buff(); if (Fight.InFight && ObjectManager.Me.Target > 0) { Pull(); CombatRotation(); } ..................... which seems to help but not quite full proof, so just wondering is there a better way to basically have it reinitialize, or just have a section of code it executes after it exits combat each time ?
  3. after messing around with it more found was just the area desolace being werid with pathing after i died :3 now its working ? if (!ObjectManager.Me.IsMounted && ItemsManager.GetItemCountById(6265) <= 8 && ObjectManager.Target.HealthPercent <= 15) { DrainSoul.Launch(); System.Threading.Thread.Sleep(700); return; } thank you very much for you help ?
  4. its something with the fightclass forsure, without it or with normal xml one it works ? think its just my hacked together thing thats breaking it for some reason
  5. next silly question is, how do i get the the bot to path back to the body after it dies? currently just stands still after death :<
  6. hello, trying to do a warlock fightclass, and one thing i am working on is trying to have it drain soul shards when im getting low... I tried if (!ObjectManager.Me.IsMounted && ItemsManager.HasItemById(6265) && ObjectManager.Target.HealthPercent <= 10) { // drain soul } works but only checks for one shard... so then tried if (!ObjectManager.Me.IsMounted && ItemsManager.HasItemById(6265) <= 10 && ObjectManager.Target.HealthPercent <= 10) { // drain soul } but doesn't seem to like the idea of stacks... also tried ItemsManager.HasItemStacksById but dont think that exists ? any ideas?
×
×
  • Create New...