[Guide] Writing a profile in PE for beginners. menu

User Tag List

Page 3 of 3 FirstFirst 123
Results 31 to 45 of 45
  1. #31
    Mackdaddy2887's Avatar Knight-Lieutenant
    Reputation
    43
    Join Date
    Mar 2011
    Posts
    265
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Lightbrand View Post
    Well in PQR what I had was a "Setting" ability which does nothing, so essentially "pause" in which I put conditions for it to trigger such as when target is not attackable, when they have divine shield, when target is dead, AND lastly SpellIsTargeting()

    if IsLeftAltKeyDown()
    or IsMounted()
    or SpellIsTargeting()
    or UnitBuffID("player",80169)
    or UnitBuffID("player",87959)
    or UnitChannelInfo("player")
    or UnitIsDeadOrGhost("player")
    or UnitIsDeadOrGhost("target")
    then return true end

    Is that something PE is able to reproduce?
    Yes.

    It would look like:
    {"Pause", "modifier.lalt" }
    {"Pause", "player.buff(80169)" }
    {"Pause", "player.buff(87959)" }
    {"Pause", "player.dead" }
    {"Pause", "target.dead" }

    Not sure about mounted or spells targeting. Although player dead and mounted it's redundant because pe only runs if your dismounted and alive

    [Guide] Writing a profile in PE for beginners.
  2. #32
    automationarmy's Avatar Member CoreCoins Purchaser
    Reputation
    3
    Join Date
    Apr 2013
    Posts
    172
    Thanks G/R
    1/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for this post +rep

  3. #33
    leonel916's Avatar Member
    Reputation
    1
    Join Date
    Jun 2011
    Posts
    54
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  4. #34
    zeldaboch's Avatar Member
    Reputation
    1
    Join Date
    Apr 2013
    Posts
    52
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by leonel916 View Post
    have you looked in the forum???

  5. #35
    ImogenOC's Avatar Contributor ProbablyEngine Community Manager
    Reputation
    173
    Join Date
    Nov 2013
    Posts
    364
    Thanks G/R
    0/8
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by leonel916 View Post
    Originally Posted by zeldaboch View Post
    have you looked in the forum???
    Theres a guide to making your own profile around here somewhere.
    ProbablyEngine - Developer and Lead Support
    A Powerful Rotation Bot: ProbablyEngine

  6. #36
    divio's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What am I doing wrong with this range?

    { "Dragon Roar", "target.range <= 8", "modifier.cooldowns" },

    That works fine without the target range , but when I put it in there it is never used. What am I doing wrong?

  7. #37
    StinkyTwitch's Avatar Active Member
    Reputation
    40
    Join Date
    Nov 2014
    Posts
    172
    Thanks G/R
    19/13
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Might try nesting the conditionals, see if that works.
    Code:
    { "Dragon Roar", { "target.range <= 8", "modifier.cooldowns", }, },

  8. #38
    divio's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by StinkyTwitch View Post
    Might try nesting the conditionals, see if that works.
    Code:
    { "Dragon Roar", { "target.range <= 8", "modifier.cooldowns", }, },
    Thanks, figured this out last night. Ended up using:

    { "Dragon Roar", { "!player.buff(Shield Charge)", "player.buff(Bloodbath)", "target.range <= 6", "modifier.cooldowns" } },

    On another note. Is there a list of available hotkeys to use with "modifier.?"

  9. #39
    StinkyTwitch's Avatar Active Member
    Reputation
    40
    Join Date
    Nov 2014
    Posts
    172
    Thanks G/R
    19/13
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    in PE you can use the following:
    Code:
    modifier.lshift
    modifier.lcontrol
    modifier.lalt
    modifier.rshift
    modifier.rcontrol
    modifier.ralt
    As well as globals that would capture left or right (mainly implemented for mac users):
    Code:
    modifier.shift
    modifier.control
    modifier.alt
    Last edited by StinkyTwitch; 02-06-2015 at 03:04 AM. Reason: additional info

  10. #40
    Shark5060's Avatar Corporal
    Reputation
    1
    Join Date
    Jul 2009
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    is it possible to use an "OR" statement?

    I would like to use a spell if
    -> potion is ticking OR (potion is on CD + (Legendary ring Proc OR trinket proc))

    or should I split this up into several spellcasts with the according conditions?

    also how do I check for item cooldowns and how does the "ttd" condition work?

    is this code correct (assuming there is no OR statement, since I haven't seen one being used in any CR I've looked at)

    Code:
    { "Stampede", {
    		"player.spell(Stampede).exists",
    		"player.buff(Draenic Agility Potion)",
    		"modifier.cooldowns",
    	},
    }, -- Stampede if Potion is up
    { "Stampede", {
    		"player.spell(Stampede).exists",
    		"#109217.cooldown > 0"
    		"player.buff(Archmage's Greater Incandescence)"
    		"modifier.cooldowns",
    	}
    }, -- Stampede if Potion is on CD, but Legendary Ring Proc
    { "Stampede", {
    		"player.spell(Stampede).exists",
    		"#109217.cooldown > 0"
    		"player.buff(Lub-Dub)"
    		"modifier.cooldowns",
    	}
    }, -- Stampede if Potion is on CD, but On-Use Trinket is up
    { "Stampede", {
    		"player.spell(Stampede).exists",
    		"ttd <=25",
    		"modifier.cooldowns",
    	}
    }, -- Stampede if Target dies in 25 sec
    Last edited by Shark5060; 02-11-2015 at 04:58 AM.
    The rush of battle is often a potent and lethal addiction, for war is a drug

  11. #41
    StinkyTwitch's Avatar Active Member
    Reputation
    40
    Join Date
    Nov 2014
    Posts
    172
    Thanks G/R
    19/13
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Shark5060 View Post
    is it possible to use an "OR" statement?

    I would like to use a spell if
    -> potion is ticking OR (potion is on CD + (Legendary ring Proc OR trinket proc))

    or should I split this up into several spellcasts with the according conditions?

    also how do I check for item cooldowns and how does the "ttd" condition work?

    is this code correct (assuming there is no OR statement, since I haven't seen one being used in any CR I've looked at)

    Code:
    { "Stampede", {
    		"player.spell(Stampede).exists",
    		"player.buff(Draenic Agility Potion)",
    		"modifier.cooldowns",
    	},
    }, -- Stampede if Potion is up
    { "Stampede", {
    		"player.spell(Stampede).exists",
    		"#109217.cooldown > 0"
    		"player.buff(Archmage's Greater Incandescence)"
    		"modifier.cooldowns",
    	}
    }, -- Stampede if Potion is on CD, but Legendary Ring Proc
    { "Stampede", {
    		"player.spell(Stampede).exists",
    		"#109217.cooldown > 0"
    		"player.buff(Lub-Dub)"
    		"modifier.cooldowns",
    	}
    }, -- Stampede if Potion is on CD, but On-Use Trinket is up
    { "Stampede", {
    		"player.spell(Stampede).exists",
    		"ttd <=25",
    		"modifier.cooldowns",
    	}
    }, -- Stampede if Target dies in 25 sec
    Split it up into a couple of lines with the same spellcast, just with the different conditionals.
    "Shootings easy, Aimings hard!" Stinky

  12. #42
    Shark5060's Avatar Corporal
    Reputation
    1
    Join Date
    Jul 2009
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Awesome. That worked like a charm.

    One question tho - does "#109217.cooldown > 0" (to check for Agi Potion cooldown) work, or is that a different syntax?
    The rush of battle is often a potent and lethal addiction, for war is a drug

  13. #43
    ImogenOC's Avatar Contributor ProbablyEngine Community Manager
    Reputation
    173
    Join Date
    Nov 2013
    Posts
    364
    Thanks G/R
    0/8
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Shark5060 View Post
    Awesome. That worked like a charm.

    One question tho - does "#109217.cooldown > 0" (to check for Agi Potion cooldown) work, or is that a different syntax?
    Wouldn't work, improper target syntax.

    Or it shouldn't, at least. IF it does thats pretty cool.

    You would want to use a direct api poll, I can't remember how our item CD check works.
    ProbablyEngine - Developer and Lead Support
    A Powerful Rotation Bot: ProbablyEngine

  14. #44
    StinkyTwitch's Avatar Active Member
    Reputation
    40
    Join Date
    Nov 2014
    Posts
    172
    Thanks G/R
    19/13
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What we need is an item.cooldown register.
    "Shootings easy, Aimings hard!" Stinky

  15. #45
    ImogenOC's Avatar Contributor ProbablyEngine Community Manager
    Reputation
    173
    Join Date
    Nov 2013
    Posts
    364
    Thanks G/R
    0/8
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Chances are it would be very resource intensive unless we did a once per second check.
    ProbablyEngine - Developer and Lead Support
    A Powerful Rotation Bot: ProbablyEngine

Page 3 of 3 FirstFirst 123

Similar Threads

  1. [Guide] Setting Up Glider For Beginners
    By Kartio in forum World of Warcraft Bots and Programs
    Replies: 178
    Last Post: 11-29-2008, 09:10 PM
  2. [Guide] How to setup 2.4.X for Beginners (Non-Hamachi Guide Included)
    By Mango Jerry in forum WoW EMU Guides & Tutorials
    Replies: 17
    Last Post: 06-03-2008, 12:14 PM
  3. [Guide] Importing Warcraft 3 Models Into WoW *Not for Beginners*
    By Derision in forum WoW ME Tools & Guides
    Replies: 7
    Last Post: 02-07-2008, 11:05 PM
  4. guide for beginners
    By soulbleed in forum World of Warcraft Guides
    Replies: 7
    Last Post: 01-07-2008, 12:33 PM
  5. Guide for beginner mac scripters interested in learning how to use Xcode!
    By Domminust in forum World of Warcraft Bots and Programs
    Replies: 13
    Last Post: 05-23-2007, 01:04 AM
All times are GMT -5. The time now is 12:47 PM. 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