[HB] Specifying a Target? will tip paypal menu

User Tag List

Results 1 to 7 of 7
  1. #1
    lostinthewoodslol's Avatar Active Member The Coinmaster CoreCoins Purchaser
    Reputation
    73
    Join Date
    Aug 2011
    Posts
    216
    Thanks G/R
    12/5
    Trade Feedback
    15 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [HB] Specifying a Target? will tip paypal

    Hi, so i have been playing around with a plugin that uses abilities that you need to click in a certain position on wow for eg; Angelic Feather, Heroic Leap, Psyfiend etc Basically all of them work for my target, my focus.

    Can someone help, this specific one drops Angelic Feather on my Focus, not sure how to change this so that it just drops it on me.

    Code:
    using System;using Styx;
    using Styx.CommonBot;
    using Styx.Plugins;
    using Styx.WoWInternals;
    
    
    namespace FeatherBuddy
    {
        public class FeatherBuddy : HBPlugin
        {
            static int _featherType;
            WoWPoint _target;
    
    
            public override string Name
            {
                get { return "FeatherBuddy"; }
            }
    
    
            public override string Author
            {
                get { return "xxxxx"; }
            }
    
    
            public override Version Version
            {
                get { return new Version(1, 0, 0, 0); }
            }
    
    
            public override bool WantButton
            {
                get { return false; }
            }
    
    
            public override void Pulse()
            {
                _featherType = Lua.GetReturnVal<int>("return featherNum", 0);
                if (StyxWoW.Me.FocusedUnit == null)
                {
                    Lua.DoString("featherNum = 0;");
                    _featherType = 0;
                    return;
                }
    
    
                switch (_featherType)
                {
                    case 1:
                        _target = GetPoint();
                        SpellManager.Cast("Angelic Feather");
                        SpellManager.ClickRemoteLocation(_target);
                        Lua.DoString("featherNum = 0;");
                        _featherType = 0;
                        break;
                    case 2:
                        _target = GetPoint();
                        SpellManager.Cast("Angelic Feather");
                        SpellManager.ClickRemoteLocation(_target);
                        Lua.DoString("featherNum = 0;");
                        _featherType = 0;
                        break;
                }
            }
    
    
            static WoWPoint GetPoint()
            {
                var focus = StyxWoW.Me.FocusedUnit;
                return focus.Location;
            }
    
    
        }
    }
    Thanks very much, will definitely tip for this information so pm your paypal.

    [HB] Specifying a Target? will tip paypal
  2. #2
    Maccer's Avatar gay secks CoreCoins Purchaser
    Reputation
    707
    Join Date
    Jul 2010
    Posts
    522
    Thanks G/R
    40/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Easy enough,

    Code:
    static WoWPoint GetPoint()
            {
                var focus = StyxWoW.Me; // we changed to this from var focus = StyxWoW.Me.FocusedTarget;
                return focus.Location;
            }
    Last edited by Maccer; 08-21-2013 at 10:23 PM.
    Leecher --> Member --> Contributor --> Elite --> News Team --> Elite --> Legendary --> Lurkin'

  3. #3
    lostinthewoodslol's Avatar Active Member The Coinmaster CoreCoins Purchaser
    Reputation
    73
    Join Date
    Aug 2011
    Posts
    216
    Thanks G/R
    12/5
    Trade Feedback
    15 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Maccer View Post
    Easy enough,

    Code:
    static WoWPoint GetPoint()
            {
                var focus = StyxWoW.Me; // we changed to this from var focus = StyxWoW.Me.FocusedTarget;
                return focus.Location;
            }
    ok sweet

    But on this check> if (StyxWoW.Me.FocusedUnit == null) would it just be if (StyxWoW.Me; == null)? cause i feel like ive tried this before



    fixed: its just> (StyxWoW.Me == null)

    cool works amazing thnx man
    Last edited by lostinthewoodslol; 08-21-2013 at 10:49 PM.

  4. #4
    Maccer's Avatar gay secks CoreCoins Purchaser
    Reputation
    707
    Join Date
    Jul 2010
    Posts
    522
    Thanks G/R
    40/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well that was another cruel ninja edit. Two today. Glad it works.
    Last edited by Maccer; 08-21-2013 at 11:04 PM.
    Leecher --> Member --> Contributor --> Elite --> News Team --> Elite --> Legendary --> Lurkin'

  5. #5
    lostinthewoodslol's Avatar Active Member The Coinmaster CoreCoins Purchaser
    Reputation
    73
    Join Date
    Aug 2011
    Posts
    216
    Thanks G/R
    12/5
    Trade Feedback
    15 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Maccer View Post
    Well that was another cruel ninja edit. Two today. Glad it works.
    yea sry =p thanks so much for the help man, pm your paypal if you would like a tip!

    also one other small thing, im trying to do exactly the same as above with the mage pet nova called "Freeze", now the plugin works because i added ring of frost and its works perfectly but for some reason "Freeze" or its spellid doesn't work, any ideas on how to get around it? thanks again man, you're the best <3

  6. #6
    fav0riddy's Avatar Member
    Reputation
    1
    Join Date
    Aug 2013
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    how would it be if it should put a feather on my current target?

  7. #7
    naveedz's Avatar Private
    Reputation
    1
    Join Date
    Jan 2014
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi man, whats up? Lol I don't know where to start. I just joined this site not too long ago. Tbh the only reason I joined was to try to find a plugin that allows you to put angelic feather / healing spheres down. I found your thread while I was googling for such a plugin wondering if there was one that actually exists and works. Just wondering man, and I really would seriously appreciate it if you could help me by telling me how to use your own coded plugin? Or can you turn it into a download? Again, thanks for taking the time to even read this message this far.

    Sincerely, a newbie.

Similar Threads

  1. [Buying] HearthStone Beta Key (will use Paypal)
    By SmeliPanda in forum Hearthstone Buy Sell Trade
    Replies: 4
    Last Post: 10-10-2013, 08:00 AM
  2. LF corupted ashbringer transmorg ALLAINCE will tip
    By Mashadow in forum WoW Items & Quests
    Replies: 0
    Last Post: 08-06-2013, 03:47 PM
  3. [Request] Script for raid frames (3 players). Will tip with $
    By cdonis84 in forum WoW UI, Macros and Talent Specs
    Replies: 1
    Last Post: 11-29-2012, 12:11 AM
  4. Replies: 0
    Last Post: 06-23-2012, 07:18 PM
  5. [Buying] Middle Man service - Offering 10$ Tip Paypal Verified
    By zinova in forum Diablo 3 Buy Sell Trade
    Replies: 7
    Last Post: 06-15-2012, 04:45 PM
All times are GMT -5. The time now is 08:05 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