[EWT][WOTLK] Looking for the real target of a caster menu

User Tag List

Results 1 to 10 of 10
  1. #1
    scriptx's Avatar Active Member
    Reputation
    21
    Join Date
    Feb 2016
    Posts
    34
    Thanks G/R
    6/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [EWT][WOTLK] Looking for the real target of a caster

    Hi guys!

    Im working on a shared wotlk script repository using ewt! (url: GitHub - Romain-P/Ewt-Scripts: Wow wotlk scripts using ewt API
    I would like to know how could I get the real target of a random player casting a spell e.g a mage casting sheep.
    Looked at the offsets but didnt find it

    Asking this cause the target could not be actually the target of the caster. The caster can cast on any unit he wants.
    I know the client got the information, cause if you dont have any target and that someone casts on you, the caster becomes your target. I even used this information to find the real target in a tricky way (I clear my target when someone casts sheep, then I wait and see if my target is affected by someone, then etc...) but that's not optimized

    We can clearly see this here: https://puu.sh/zrAAq/66f496888c.gif


    So I would appreciate any tip! I can call offsets & cie!
    Cheers
    Last edited by scriptx; 02-19-2018 at 10:50 PM.

    [EWT][WOTLK] Looking for the real target of a caster
  2. #2
    scriptx's Avatar Active Member
    Reputation
    21
    Join Date
    Feb 2016
    Posts
    34
    Thanks G/R
    6/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    push push push push

  3. #3
    dealerx's Avatar Member
    Reputation
    9
    Join Date
    May 2016
    Posts
    124
    Thanks G/R
    14/8
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, I asked something like this time ago:

    Fixing the SWD poly script ONLY when it's casted on you (not on everyone)

    If you /eventtrace you can see the cast has no argument relative to the target, don't know why, so I think with lua is impossible. You may try the canceltarget and see if it targets yourself when casting Poly through macro, but a macro can be set to cast to target, focus, mouseover..so I don't know if that could be a valdid option to rely on. On seduction it can be done because the pet actually targets the Seduction target while casting so you basicallly know where the spell will land (on you or on your partner). But I assume you already know all of this stuff, it's lua basic :P

    I kinda give up after discovering that listening to combat log leads to nothing talkng to Polymorph or other casts, but if you find a way that could be interesting, maybe with dr tracker so you avoid swd polymorphs that are immune.
    Last edited by dealerx; 02-20-2018 at 07:30 AM.

  4. Thanks scriptx, bynike (2 members gave Thanks to dealerx for this useful post)
  5. #4
    scriptx's Avatar Active Member
    Reputation
    21
    Join Date
    Feb 2016
    Posts
    34
    Thanks G/R
    6/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ye as I said I already worked with ClearTarget() and made something that work with Lua, but that's not optimized x)
    I think if we can't find it in the client, I would try to listen packets sent by the server then catch it

  6. #5
    scriptx's Avatar Active Member
    Reputation
    21
    Join Date
    Feb 2016
    Posts
    34
    Thanks G/R
    6/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    up..up up up..

  7. Thanks bynike (1 members gave Thanks to scriptx for this useful post)
  8. #6
    scriptx's Avatar Active Member
    Reputation
    21
    Join Date
    Feb 2016
    Posts
    34
    Thanks G/R
    6/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Still up .. i cant believe none worked on since 2012

  9. #7
    scriptx's Avatar Active Member
    Reputation
    21
    Join Date
    Feb 2016
    Posts
    34
    Thanks G/R
    6/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    big upupupup

  10. #8
    scriptx's Avatar Active Member
    Reputation
    21
    Join Date
    Feb 2016
    Posts
    34
    Thanks G/R
    6/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    again upupup

  11. #9
    bynike's Avatar Member
    Reputation
    10
    Join Date
    Mar 2010
    Posts
    50
    Thanks G/R
    26/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hey man, :shh:

  12. #10
    scriptx's Avatar Active Member
    Reputation
    21
    Join Date
    Feb 2016
    Posts
    34
    Thanks G/R
    6/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    soz bynike, this is another up

Similar Threads

  1. Looking for the displayid of elwynn tree
    By Bigwill0208 in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 01-31-2012, 02:45 PM
  2. Looking for the name of this...
    By antahini in forum WoW Bots Questions & Requests
    Replies: 2
    Last Post: 03-13-2011, 05:03 PM
  3. [Trading] Trading a Gamecard, HB or a WOTLK key for the use of a RAPIDSHARE!!
    By 7itanium in forum World of Warcraft Buy Sell Trade
    Replies: 3
    Last Post: 12-28-2010, 06:42 AM
  4. For those of you looking for the Alpha client.
    By Darthareemus in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 05-08-2010, 12:58 AM
  5. Get 2 WoTLK's for the price of 1 at gamestop
    By jarza in forum WoW Scam Prevention
    Replies: 6
    Last Post: 11-14-2008, 10:02 PM
All times are GMT -5. The time now is 12:34 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search