• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Request] Birds Eye View

    Discussion in 'Archives' started by Angully, Jan 27, 2011.

    1. Angully

      Angully Member

      Joined:
      Sep 19, 2010
      Messages:
      764
      Likes Received:
      1
      Trophy Points:
      18
      hey ive been having trouble runnig hb due to low fps but if i put my camera in birds eye view it runs flawlessly so i was wondering if someone could possibly spruce me up a quick plugin that kept the camera at birds eye view because i have tried setting the camera to remember position but it still pans down. Cheeers
       
    2. Ratz241

      Ratz241 Member

      Joined:
      Jan 15, 2010
      Messages:
      550
      Likes Received:
      6
      Trophy Points:
      18
      Would also like this, brilliant idea personally.
       
    3. chinajade

      chinajade Well-Known Member Moderator Buddy Core Dev

      Joined:
      Jul 20, 2010
      Messages:
      17,540
      Likes Received:
      172
      Trophy Points:
      63
      If you hold down the Control key while positioning the camera (in the WoWclient), it should remain locked in place. Probably won't remember this between WoWclient-startups tho.

      cheers,
      chinajade
       
      Angully likes this.
    4. Vertraag

      Vertraag New Member

      Joined:
      May 14, 2010
      Messages:
      286
      Likes Received:
      5
      Trophy Points:
      0
      Not sure if this does what you mean, exactly, and I definitely chose the dirtiest/half-assed possible way to do it (definitely should not be overriding pulse), but it should work. It's also the world's smallest plugin.

      Edit: You'll need to type /script MoveViewUpStop() in your WoW chat to make it stop doing this.
       

      Attached Files:

      Last edited: Jan 27, 2011
      Angully likes this.
    5. Angully

      Angully Member

      Joined:
      Sep 19, 2010
      Messages:
      764
      Likes Received:
      1
      Trophy Points:
      18
      thanks toboth of you if the ctrl method dont work ill try the plugin :)

      Ctrl method worked thankyou
      sorry about making you code the plugin but thanks again +rep to both of you

      Actually havent been able to test if ctrl method will be sustained whislst running hb so your plugin aint out the window yet :p
       
      Last edited: Jan 27, 2011
    6. SammerX

      SammerX New Member

      Joined:
      May 14, 2010
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      Thank you Vertraag! I really needed this. What is your paypal account so I can donate?
       
    7. Angully

      Angully Member

      Joined:
      Sep 19, 2010
      Messages:
      764
      Likes Received:
      1
      Trophy Points:
      18
      Love the name btw :D

      Works flawlessly omg this means i can use hb for levelling again you are godsend :D
       
      Last edited: Jan 27, 2011
    8. Gully

      Gully New Member

      Joined:
      Jan 27, 2011
      Messages:
      154
      Likes Received:
      3
      Trophy Points:
      0
      Slight problem with this once i stop hb its still facing up and until i relog its permanent.
       
    9. Frank1991

      Frank1991 Member

      Joined:
      Jan 15, 2010
      Messages:
      34
      Likes Received:
      0
      Trophy Points:
      6
      he just need to add code to stop the script when honor buddy is stoped
       
    10. Gully

      Gully New Member

      Joined:
      Jan 27, 2011
      Messages:
      154
      Likes Received:
      3
      Trophy Points:
      0
      Yeah anyone got any idea how to do that?

      EDIT: Actually dont worry ill try work it out myself ive gotta start somewhere

      EDIT 2: Ok mbe not :p
       
      Last edited: Jan 28, 2011
    11. chinajade

      chinajade Well-Known Member Moderator Buddy Core Dev

      Joined:
      Jul 20, 2010
      Messages:
      17,540
      Likes Received:
      172
      Trophy Points:
      63
      I haven't tested the following, but it looks something like this:
      PHP:
              public override void Pulse()
              {
                  if (!
      _isRunOnce)
                  {
                      
      Styx.BotEvents.OnBotStopped += botEvents_OnBotStop;
                      
      _isRunOnce true;
                  }

                  
      Lua.DoString("MoveViewUpStart();");
              }
              
              private 
      void            botEvents_OnBotStop(EventArgs eventArgs)
              {
                  
      Lua.DoString("MoveViewUpStop();");
              }
              
              private 
      bool        _isRunOnce        false;

      cheers,
      chinajade
       
    12. Gully

      Gully New Member

      Joined:
      Jan 27, 2011
      Messages:
      154
      Likes Received:
      3
      Trophy Points:
      0
      Thanks ill give it a try now :)

      using System;
      using Styx;
      using Styx.Plugins.PluginClass;
      using Styx.Helpers;
      using Styx.WoWInternals;
      using Styx.WoWInternals.WoWObjects;
      using Styx.Patchables;

      namespace HBPlugins
      {
      class PitchBuddy : HBPlugin
      {


      public override string Author
      { get { return "Vertraag+ChinaJade"; } }
      public override string Name
      { get { return "PitchBuddy"; }}
      Version v = new Version(6, 91);
      public override Version Version
      { get { return v; } }

      public override void Pulse()
      {
      if (!_isRunOnce)
      {
      Styx.BotEvents.OnBotStopped += botEvents_OnBotStop;
      _isRunOnce = true;
      }

      Lua.DoString("MoveViewUpStart();");
      }

      private void botEvents_OnBotStop(EventArgs eventArgs)
      {
      Lua.DoString("MoveViewUpStop();");
      }

      private bool _isRunOnce = false;
      }

      }
      }


      Does that look correct?
       
      Last edited: Jan 28, 2011
    13. chinajade

      chinajade Well-Known Member Moderator Buddy Core Dev

      Joined:
      Jul 20, 2010
      Messages:
      17,540
      Likes Received:
      172
      Trophy Points:
      63
      that's the idea

      If you use
      PHP:
      [/FONTdirectives when you postit will format the code for you. :)

      cheers,
      chinajade
       
      Last edited: Jan 28, 2011
    14. Gully

      Gully New Member

      Joined:
      Jan 27, 2011
      Messages:
      154
      Likes Received:
      3
      Trophy Points:
      0
      Can a coder please help me out with this its lierally a 2 minute job getting it to turn off when honorbuddy is stopped but i dont have the knowledge to do it and this program can be utilized by anyone for multibotting since its drastically improves framerate from birds eye view.

      Also if someone could write up a small line of code to detect when its in water and also stop when it is.
       
    15. chinajade

      chinajade Well-Known Member Moderator Buddy Core Dev

      Joined:
      Jul 20, 2010
      Messages:
      17,540
      Likes Received:
      172
      Trophy Points:
      63
      Okay. This time I put it all together, and actually tested it. :)


      Sorry I didn't have time to do this last night.

      cheers,
      chinajade
       
      Last edited: Jan 28, 2011

    Share This Page