+ Reply to Thread
Results 1 to 2 of 2

Thread: Infraction for Earthmon: Post Violation

  1. #1
    Join Date
    Jul 2007

    Infraction for Earthmon: Post Violation

    Post: Warrior The new script SetCVar("targetNearestDistance", 5)
    User: Earthmon
    Infraction: Post Violation
    Points: 1

    Administrative Note:
    Message to User:
    Original Post:
    As most of you know SetCVar("targetNearestDistance", 5) was a function that made the /targetenemy (Tab) function get the range of 5 yards instead of 40. Thus targeting the mobs you were actually tanking instead of the some mobs that weren't even in the fight in the other side of the room.
    This was well used among warriors for:
    /script SetCVar("targetNearestDistance", 5)
    /cast [nostance:2] Defensive Stance
    /castrandom Devastate(Rank 5), revenge
    /cast !Cleave
    /script SetCVar("targetNearestDistance", 40)

    Which basicly was rotated in between TC's and Shockwaves to deal out agro on all the mobs surronding you evenly (for those lazy ppl that want to aoe tank by just using your scrollbutton)

    However, in the 3.0.2 Ptr this API change was made so the function do not exist.
    So how do we bring back our beloved macro?
    This is what we have to work with:
    Configuration Variables
    * NEW - max = GetCVarAbsoluteMax("cvar")
    * NEW - min = GetCVarAbsoluteMin("min")
    * NEW - value = GetCVarBool("cvar") - Returns the value of the cvar as 1 or nil instead of requiring you to compare the cvar value with "0" or "1"
    * NEW - name, defaultValue, serverStoredAccountWide, serverStoredPerCharacter = GetCVarInfo("cvar")
    * NEW - max = GetCVarMax("cvar")
    * NEW - min = GetCVarMin("cvar")
    (World of Warcraft - English (NA) Forums -> 3.0.2 Actual API Changes)

    So now you're like , but hold on, hopefully someone a bit more experienced with programming than us might solve this problem.

    So the reason for this thread is to work around the API change and rekindle the lazyman-aoetank-macro.

  2. #2
    Join Date
    Jan 2009
    I think that thread bump was a calculated move on Kiel's part to make Earthmon feel Satrina's wrath.

+ Reply to Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts