Author Topic: ENs - AutoTarget W/Healthbar (Swoops Other)  (Read 15028 times)

0 Members and 1 Guest are viewing this topic.

Offline Endless NightTopic starter

  • Global Moderator
  • *
  • *****
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +786
  • Referrals: 1
    • View Profile
ENs - AutoTarget W/Healthbar (Swoops Other)
« on: May 01, 2009, 06:14:56 PM »
0
Code: [Select]
;==================================
; Script Name: AutoTarget
; Author: JosephAJ
; Version: V1.0
; Client Tested with: 5.0.5a
; EUO version tested with: 1.5 (TV95)
; Shard OSI / FS: OSI
; Revision Date: 11.1.06
; Public Release: 11/2/06
; Purpose:
; Auto Target MOB and open health bar.
; Retarget when MOB Dead/gone.
; Requirments:
; Targeting system On
;==================================
; (C) 2006 All Rights Reserved JosephAJ
;==================================

This little script will automatically find a target, popup its healthbar and set it as the current target. It will also optionally auotmatically attack if set. Once the target is dead/gone it will search for a new matching target.

It will find the MOB and pop its health bar even if it burried under corpses or hidden behind pets other mobs etc.

Default setting is for Swoops/No attack.

set %TargetTypes TC_ ; Swoops   edit these for more
Set %AutoAttack #False  ; set to #true or #false

MUST HAVE the new targetting system turned on .. or will not work.





Usage:
  You are free to use this script for not for profit personal UO gameplay.
You are *not* free to modify and repost or post on other places
or post as part of a script or work you yourself have created
or otherwise distribute without written permision from the author.
This license to use can be changed at any time for any reason.
If in doubt dont do it contact the author.

(C) 2007 All Rights Reserved JosephAJ
Commercial usage requires written permission from the author


NOTE: My scripts or any derivative of them are *not* for use in other players script/s!

There are 1 attachment(s) in this post. You must register and post an acceptable introduction to download
automobtarget.txt
« Last Edit: May 01, 2009, 06:30:50 PM by Endless Night »
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline NObama

  • Everything I need to know, I learned from Miffy's Item Finder.
  • Elite
  • *
  • *
  • Posts: 3454
  • Activity:
    0%
  • Reputation Power: 43
  • NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.
  • Respect: +325
  • Referrals: 2
    • View Profile
Re: ENs - AutoTarget W/Healthbar (Swoops Other)
« Reply #1 on: September 20, 2011, 04:13:17 PM »
0
EN -

Would it be possible to use this as a called sub, in a script that basically does only this:

gosub [automobtarget]
gosub [CLAW autoloot]
When full -> Dump at bank
Rinse/Repeat

Or am I missing something more fundamental?

Offline Endless NightTopic starter

  • Global Moderator
  • *
  • *****
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +786
  • Referrals: 1
    • View Profile
Re: ENs - AutoTarget W/Healthbar (Swoops Other)
« Reply #2 on: September 20, 2011, 04:19:56 PM »
0
EN -

Would it be possible to use this as a called sub, in a script that basically does only this:

gosub [automobtarget]
gosub [CLAW autoloot]
When full -> Dump at bank
Rinse/Repeat

Or am I missing something more fundamental?
wow 120 downloads on this little nothing script + more on Easy im sure... wow

NoBama Do what you wish with it ..called script, a sub , mutilate it and chop it up... just throw me a credit line in the end result.

:)
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline NObama

  • Everything I need to know, I learned from Miffy's Item Finder.
  • Elite
  • *
  • *
  • Posts: 3454
  • Activity:
    0%
  • Reputation Power: 43
  • NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.
  • Respect: +325
  • Referrals: 2
    • View Profile
Re: ENs - AutoTarget W/Healthbar (Swoops Other)
« Reply #3 on: September 20, 2011, 04:22:21 PM »
0
No no, I meant was it programmable.  I'm still trying to code up that Clean Up points farmer, but i can't make my plan work inside of this script.  I'm going to take a stab at the problem from a different angle.

Offline Grandewd

  • Full Member
  • ***
  • Posts: 239
  • Activity:
    0%
  • Reputation Power: 3
  • Grandewd has no influence.
  • Respect: +44
  • Referrals: 0
    • View Profile
Re: ENs - AutoTarget W/Healthbar (Swoops Other)
« Reply #4 on: September 07, 2013, 08:52:55 PM »
0

Hey EN,

My primary is a bard that should have had a script for pulling up a mobs healthbars long ago, but I'm finally getting around to it. So I found your AutoTarget W/Healthbar and am trying to modify it for my needs.

Your code is designed to pull up the first set target and do something until that target is gone.  What I need, is to pull up the first set target (and keep it up) and then look for more and pull theirs up too.  I need all the mob's healthbars up so I can decide which ones to provo on the other.

So I look'd at what your code did and teased out the part that will pull up the healthbar of the set target, but it continues finding anything in the area and pulling up it's healthbar over the previous one.
Here's my code:

Code: [Select]
set %TargetTypes GH
top:
Finditem %TargetTypes G_16
if #findcnt > 0
     {
      set #lobjectID #findid
      event macro 50 5
      wait 15
      contpos 0 0
      wait 10
     }
goto top

What (no doubt obvious) am I missing?

 :-[

Offline Endless NightTopic starter

  • Global Moderator
  • *
  • *****
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +786
  • Referrals: 1
    • View Profile
Re: ENs - AutoTarget W/Healthbar (Swoops Other)
« Reply #5 on: September 08, 2013, 01:43:56 PM »
0
This script/above snippet uses the new target system...  one problem with pulling bars via that method is that thiers only one bar and thats the target bar. Every time you pull a  new one is closes the old one...  


Instead use try using this snippet to open multiple mod bars

Code: [Select]
finditem  blabla
for #findindex 1 #findcnt
   gosub HealthBarOpenNonHumaniod
halt

Sub HealthBarOpenNonHumaniod
  Repeat
    set #lObjectID #findid
    event Macro 17
    wait 5
  Until #Contname = target_status_gump
Return

I pulled this from my healthbar subs .. http://www.easyuo.com/forum/viewtopic.php?t=26234
« Last Edit: September 08, 2013, 01:46:09 PM by Endless Night »
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline Nuscheltier

  • Jr. Member
  • **
  • Posts: 38
  • Activity:
    0%
  • Reputation Power: 1
  • Nuscheltier has no influence.
  • Respect: +9
  • Referrals: 0
    • View Profile
Re: ENs - AutoTarget W/Healthbar (Swoops Other)
« Reply #6 on: October 25, 2014, 06:17:00 AM »
0
hi there,

I tried the script, but actually it just jumps around pretty fast between the targets but doent leed to attacking...
How coul I solve this?

Offline Nouveau

  • Jr. Member
  • **
  • Posts: 95
  • Activity:
    0%
  • Reputation Power: 2
  • Nouveau has no influence.
  • Gender: Female
  • Respect: +14
  • Referrals: 0
    • View Profile
    • My Musings
Re: ENs - AutoTarget W/Healthbar (Swoops Other)
« Reply #7 on: December 30, 2014, 07:50:11 AM »
0
Next time I go to the Swoop, I'm gonna try this.  Thank-you!  :)

Offline Endless NightTopic starter

  • Global Moderator
  • *
  • *****
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +786
  • Referrals: 1
    • View Profile
Re: ENs - AutoTarget W/Healthbar (Swoops Other)
« Reply #8 on: February 09, 2015, 06:46:34 AM »
0
hi there,

I tried the script, but actually it just jumps around pretty fast between the targets but doent leed to attacking...
How coul I solve this?

I havent played in a while... but its probably the target type code needs changing.  And the autoattack needs to be true.

Play around with these settings at top of script.


Code: [Select]
; AutoDisplay Critter/ HealthBars
set %TargetTypes TC_ ; Swoops   edit these for more
Set %AutoAttack #False  ; set to #true or #false
set %MobType 5 ; 5=mobile 1= hostile.

Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline reuvencotero

  • Newbie
  • *
  • Posts: 3
  • Activity:
    0.6%
  • Reputation Power: 1
  • reuvencotero has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: ENs - AutoTarget W/Healthbar (Swoops Other)
« Reply #9 on: October 20, 2024, 01:50:49 AM »
0
thanks for it

Tags: