PQR Custom Functions problems menu

User Tag List

Results 1 to 4 of 4
  1. #1
    Alkafir's Avatar Private
    Reputation
    1
    Join Date
    Jun 2013
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PQR Custom Functions problems

    Does anyone else have a problem with the PQR Custom Functions atm , none of the ones i use seem to work

    PQR Custom Functions problems
  2. #2
    Alkafir's Avatar Private
    Reputation
    1
    Join Date
    Jun 2013
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Realy , no one , hmm ok.

    I will give an example on one of the problems i get with the PQR_Custom functions

    here is a bit of code i use

    if PQR_SpellAvailable(20572) and
    UnitBuffID("player",32182) --Heroism
    or UnitBuffID("player",2825) -- Bloodlust
    or UnitBuffID("player",80353) --TimeWarp
    or UnitBuffID("player",11385 -- DarSoul
    or IsRightControlKeyDown()
    then

    CastSpellByName(GetSpellInfo(20572),"player")
    return true
    end
    Now this racial spell should only be cast if. 1, its ready. 2 if one of the buffs is on me or i press the modifier key.

    But the code totally ignores the PQR_SpellAvailable(20572), and is returning true no matter if the spell is ready or not , as long as i got one of the buffs or the modifier key is down.

    This makes me belive there is somethin wrong with the Custom functions.

    Now Is anyone seeing this or is it just me who should delete PQR and reinstall it ??

  3. #3
    Quesadilla's Avatar Sergeant
    Reputation
    9
    Join Date
    Apr 2013
    Posts
    56
    Thanks G/R
    2/1
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It might be the use of "or"

    try this
    if PQR_SpellAvailable(20572) then
    if UnitBuffID("player",32182) --Heroism
    or UnitBuffID("player",2825) -- Bloodlust
    or UnitBuffID("player",80353) --TimeWarp
    or UnitBuffID("player",11385 -- DarSoul 113858 the 8 and ) turns into a so you have to fix that :P
    or IsRightControlKeyDown()
    then
    CastSpellByName(GetSpellInfo(20572),"player")
    return true
    end
    end
    Last edited by Quesadilla; 07-14-2013 at 10:33 PM.

  4. #4
    Alkafir's Avatar Private
    Reputation
    1
    Join Date
    Jun 2013
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I will try that thank you :-)

Similar Threads

  1. Custom Vendor problem please help!
    By dragonowner in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 08-02-2008, 10:40 PM
  2. Customs Mobs Problem!
    By Neth'zul in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 06-19-2008, 04:10 PM
  3. Custom Model Problem
    By Alkahna in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 04-02-2008, 02:33 AM
  4. Custom Model Problem
    By *ChAoS* in forum WoW ME Questions and Requests
    Replies: 7
    Last Post: 03-31-2008, 09:46 PM
  5. Custom texture problem
    By Grymskvll in forum WoW ME Questions and Requests
    Replies: 4
    Last Post: 07-11-2007, 12:45 PM
All times are GMT -5. The time now is 01:19 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