Author Topic: Nametag puller script  (Read 7077 times)

0 Members and 1 Guest are viewing this topic.

Offline drayghonTopic starter

  • Newbie
  • *
  • Posts: 8
  • Activity:
    0%
  • Reputation Power: 1
  • drayghon has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Nametag puller script
« on: February 21, 2011, 03:29:50 PM »
0
Hi all I was curious if there was a auto tag puller script out there vs reds I am having great difficulty snatching the tag as they usually run very fast and w/o the tags i'm like a fish outa water and if there isn't one may i suggest it be created :) thx

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13166
  • Activity:
    1%
  • Reputation Power: 153
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1343
  • Referrals: 32
    • View Profile
    • ScriptUO
Re: Nametag puller script
« Reply #1 on: February 21, 2011, 03:51:27 PM »
0
EasyUO still has a problem pulling the player gumps.  I'm not sure if this was a feature that was added to OEUO, however.

It actually takes using the mouse and calculating the characters position on the screen, and clicking with the mouse.  So for scripts, this is basically impossible.

People have been asking for this feature forever.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline drayghonTopic starter

  • Newbie
  • *
  • Posts: 8
  • Activity:
    0%
  • Reputation Power: 1
  • drayghon has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Nametag puller script
« Reply #2 on: February 21, 2011, 03:59:02 PM »
0
okay thank you very much at least now i can stop scanning all the scripts that might do it and don't lol

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13166
  • Activity:
    1%
  • Reputation Power: 153
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1343
  • Referrals: 32
    • View Profile
    • ScriptUO
Re: Nametag puller script
« Reply #3 on: February 21, 2011, 05:05:52 PM »
0
I did one for my taming healer, but it was really hard to find the correct(and stable) click positions to perform the necessary pull.  I can't imagine trying that while on the run perusing a fleeing red (or fleeing yourself)
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline gimlet

  • Very Super Secret
  • Global Moderator
  • *
  • *
  • Posts: 5875
  • Activity:
    1.2%
  • Reputation Power: 68
  • gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!
  • Gender: Male
  • Respect: +264
  • Referrals: 3
    • View Profile
Re: Nametag puller script
« Reply #4 on: February 21, 2011, 07:12:49 PM »
0
Pretend I didn't say this but it is a feature of the enhanced client.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13166
  • Activity:
    1%
  • Reputation Power: 153
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1343
  • Referrals: 32
    • View Profile
    • ScriptUO
Re: Nametag puller script
« Reply #5 on: February 21, 2011, 07:21:48 PM »
0
Pretend I didn't say this but it is a feature of the enhanced client.

Lol, you're gonna have to do a whole lot better to get me to play that POS.  ;)
Please read the ScriptUO site RULES
Come play RIFT with me!

Scrripty

  • Guest
Re: Nametag puller script
« Reply #6 on: February 21, 2011, 08:17:03 PM »
0
openEUO has a very nice feature that makes this extremely simple... :)

Offline Alpha

  • Hero Member
  • *
  • Posts: 583
  • Activity:
    0%
  • Reputation Power: 10
  • Alpha barely matters.Alpha barely matters.
  • Respect: +44
  • Referrals: 0
    • View Profile
Re: Nametag puller script
« Reply #7 on: February 21, 2011, 10:06:39 PM »
0
Couldn't you have the script generate the players paperdoll & use an appropriate offset click to get the status bar?  Or perhaps exevent popup and select paperdoll fromt he context menu, but that's the whole clicking a moving target thing over again I think.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13166
  • Activity:
    1%
  • Reputation Power: 153
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1343
  • Referrals: 32
    • View Profile
    • ScriptUO
Re: Nametag puller script
« Reply #8 on: February 21, 2011, 10:50:55 PM »
0
It's certainly possible with EUO, but not that practical when you are trying to run for you life or peruse someone to their death.  But that suggestion is probably about the best way to do it.  You could almost CONTPOS the paperdoll off the screen and click appropriately so it would "seem" like you were able to drag the gump.  Dunno how that would work in practice.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline manwinc

  • Elite
  • *
  • *
  • Posts: 2556
  • Activity:
    0%
  • Reputation Power: 32
  • manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!
  • Gender: Male
  • "The Devs Hard at Work"
  • Respect: +123
  • Referrals: 1
    • View Profile
Re: Nametag puller script
« Reply #9 on: February 21, 2011, 11:36:28 PM »
0
Open Paperdoll, Locate Position, Set a position to close it, Click the Open Status Bar button, move status bar to desired location, Click the close position for the paperdoll, Should only take 1s
Monkeys and Typewriters!

" Oh I know, We'll make a Boss Encounter that requires 3 keys per player to enter, Then we'll make it not a closed instance so you never know if you are going to pop into a fresh room or a boss that has 1% Health left with 20 dudes smashing its face in, wasting your time and effort"

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13166
  • Activity:
    1%
  • Reputation Power: 153
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1343
  • Referrals: 32
    • View Profile
    • ScriptUO
Re: Nametag puller script
« Reply #10 on: February 21, 2011, 11:45:27 PM »
0
Here's one I quickly came up with:

Code: [Select]
set %paperdollx 1074
set %paperdolly 0
set %nextx 0
set %nexty 540
set #LPC 100
set %width 6
repeat
  finditem HS_IS_AV_XU_NCB G
  if #FINDCNT > 0 && #FINDID <> #CHARID
  {
    if #FINDID <> #CHARID
    {
      event property #FINDID
      if #FINDREP <> 7
      {
        set #LOBJECTID #FINDID
        set #NEXTCPOSX %paperdollx
        set #NEXTCPOSY %paperdolly
        event macro 17 0
        gosub GumpWait paperdoll_gump paperdoll_gump
        gosub OffsetClick 215 243
        gosub GumpWait status_gump status_gump
        contpos %nextx %nexty
        set %nextx %nextx + 156
        if %nextx >= %width * 156
        {
          set %nextx 0
          set %nexty %nexty + 62
        }
      }
    }
    ignoreitem #FINDID
  }
until #FALSE


;-------------------------------------------------------------------------------
sub OffsetClick
  set %tempx %1 + #CONTPOSX
  set %tempy %2 + #CONTPOSY
  click %tempx %tempy f
return
;-------------------------------------------------------------------------------
; %1 = Gumpname 1
; %2 = Gumpname 2
sub GumpWait
  wait 10
  set %timedelay #SCNT
  repeat
    if #CONTNAME = %1 || #CONTNAME = %2
      return
  until #SCNT > %timedelay + 7
return
« Last Edit: February 21, 2011, 11:47:41 PM by TrailMyx »
Please read the ScriptUO site RULES
Come play RIFT with me!

Scrripty

  • Guest
Re: Nametag puller script
« Reply #11 on: February 22, 2011, 12:07:12 AM »
0
EUO is very capable of doing this, extremely fast, AND on the run, and in only a few lines of code. :)  I just wish I could remember how...  Sorry, I forgot.

Offline Endless Night

  • 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: +391
  • Referrals: 1
    • View Profile
Re: Nametag puller script
« Reply #12 on: February 22, 2011, 10:02:06 AM »
0
can always use the new targeting system
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."

Scrripty

  • Guest
Re: Nametag puller script
« Reply #13 on: February 22, 2011, 10:09:22 AM »
0
can always use the new targeting system

Oh yea, that could be it.  :)

Tags: