• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] Auto party inviter

    Discussion in 'Archives' started by neodite, Jul 31, 2011.

    1. neodite

      neodite New Member

      Joined:
      Oct 12, 2010
      Messages:
      498
      Likes Received:
      3
      Trophy Points:
      0
      Auto Party Inviter

      This plugin will auto-invite a player you set into a party. This was created due to trying to RaF with IB, but always having to re-invite my RaF partner on dungeon end.

      You will need to install an auto party invite accept addon: Ceaphyrel's Auto Accept Invite - Addons - Curse
      (This should change in the future, im still new to all this)

      This currently has no GUI, so you will need to change CHARACTERNAME in the plugin yourself for now, i will probably update later today with added GUI.

      Code:
      using System;
      using Styx;
      using Styx.Helpers;
      using Styx.Plugins.PluginClass;
      using Styx.WoWInternals;
      
      namespace PartyInviter
      {
          public class PartyInviter : HBPlugin
          {
              public override string Name { get { return "Party Inviter"; } }
              public override string Author { get { return "neoDite"; } }
              public override Version Version { get { return new Version(0, 1, 0, 0);; } }
              public override string ButtonText { get { return "Comming Soon"; } }
              public override bool WantButton { get { return false; } }
      
              public override void Pulse()
              {
                  if (!StyxWoW.Me.IsInParty) 
                  {
                      Logging.Write("PartyInviting : CHARACTERNAME");
                      Lua.DoString("InviteUnit(\"CHARACTERNAME\")");
                  }
              }
          }
      }
      
      COMMING SOON

      The aim of this plugin will be

      Check to see if we are in party, if not invite <player you choose>
      If we are in party <check if player is in party> if not, leave and invite them
      Auto-accept party invite from <player you choose>

      As i said, this is my first plugin and it may take some time to add the other stuff (The GUI version is nearly done, just need to clean up some stuff and test) But if anyone that knows what there doing could let me pick at there brain for an hour i would <3 you forever :)


       
      Last edited: Jul 31, 2011
    2. rooster71

      rooster71 Member

      Joined:
      May 6, 2010
      Messages:
      567
      Likes Received:
      6
      Trophy Points:
      18
      Nice one mate, this will be very useful...
       
    3. jeppe64

      jeppe64 New Member

      Joined:
      Jan 15, 2010
      Messages:
      202
      Likes Received:
      1
      Trophy Points:
      0
      nice this will definetly help when doing RAF
       
    4. poupey57

      poupey57 Member

      Joined:
      Dec 18, 2010
      Messages:
      126
      Likes Received:
      0
      Trophy Points:
      16
      I can't see something to download, need this plugin :p
       
    5. xsilverdicex

      xsilverdicex New Member

      Joined:
      Jan 15, 2010
      Messages:
      1,389
      Likes Received:
      14
      Trophy Points:
      0
      where did the download go?
       
    6. xsilverdicex

      xsilverdicex New Member

      Joined:
      Jan 15, 2010
      Messages:
      1,389
      Likes Received:
      14
      Trophy Points:
      0
      wait, the code snipet is the whole plugin?
       
    7. jeppe64

      jeppe64 New Member

      Joined:
      Jan 15, 2010
      Messages:
      202
      Likes Received:
      1
      Trophy Points:
      0
      worked just as I wanted it using a relogger logged in and autoinvted my raf char and off they went ^^ Awsome!!
       
    8. jeppe64

      jeppe64 New Member

      Joined:
      Jan 15, 2010
      Messages:
      202
      Likes Received:
      1
      Trophy Points:
      0
      could this be made to invite more than one person? since I'm in a 4 person raf party and this only invites 1 person?
       
    9. Ganstar

      Ganstar New Member

      Joined:
      Oct 18, 2010
      Messages:
      26
      Likes Received:
      0
      Trophy Points:
      0
      Jeppe64, yes this can invite several persons, just type in one name per copy of it. So in your case, 4 plugins that invite one person each. Just copy the snippet into wordpad or anything similar, enter the name instead of Charactername, and save as a .cs file! Simple as that!
       
    10. derbetype

      derbetype New Member

      Joined:
      Aug 28, 2011
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      0
      in which folder i have to copy the file with these code?
       
    11. derbetype

      derbetype New Member

      Joined:
      Aug 28, 2011
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      0
      plz say! i dont know :(
       
    12. darkspyre0

      darkspyre0 Member

      Joined:
      Jul 31, 2010
      Messages:
      99
      Likes Received:
      1
      Trophy Points:
      8

      You have to make a file in your Plugins folder in your honorbuddy folder. I made a file called PartyInviter.cs and pasted everything in, and changed CHARACTERNAME to my toons name i wanted to invite.

      Also don't forget to go to curse and get the auto party accept plugin too!
       
    13. derbetype

      derbetype New Member

      Joined:
      Aug 28, 2011
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      0
      ok, thanks!
       
    14. mapleleaf

      mapleleaf Member

      Joined:
      Jan 15, 2010
      Messages:
      48
      Likes Received:
      0
      Trophy Points:
      6
      does this work for acccented characters?
       
    15. Jacan

      Jacan New Member

      Joined:
      Sep 30, 2011
      Messages:
      489
      Likes Received:
      0
      Trophy Points:
      0
      how do you make this work for real id invites? i want to invite someone cross realm.
       
    16. alexrulz422

      alexrulz422 New Member

      Joined:
      Dec 29, 2011
      Messages:
      1
      Likes Received:
      0
      Trophy Points:
      0
      ive got my mate to download the addon, i know where to paste the information for the plugin, but what file do it put the information in for honorbuddy > plugins. notepad? wordpad? all the other plugins are cs.files but i am unable to create cs files. little help?
       
    17. Jandurson

      Jandurson New Member

      Joined:
      Dec 9, 2011
      Messages:
      162
      Likes Received:
      0
      Trophy Points:
      0
      Notepad is easiest....
      sorry for necro-ish but I need this file, hope it still works
       
    18. incognitto

      incognitto New Member

      Joined:
      Aug 15, 2010
      Messages:
      404
      Likes Received:
      3
      Trophy Points:
      0
      Party Invite File

      I just discovered this and it was exactly what i was looking for cheers man works like a charm.

      For those who are using the icecrown raf method duplicate this file, open the file with notepad and put the character name in each file where it says 'PLACECHARACTERNAMEHERE' (yes you will have to put the same name in the plugin twice) be sure to put both plugin files in your leader bot plugin folder. With the addon for wow ensure you go to the addon interface and allow the character name(on each character) to accept invitations from the leader.

      Cheers
      Incog

      btw +rep
       

      Attached Files:

      Last edited: Apr 24, 2012
    19. jeppe64

      jeppe64 New Member

      Joined:
      Jan 15, 2010
      Messages:
      202
      Likes Received:
      1
      Trophy Points:
      0
      any idea how to use this with more than 2 ppl since if the leader fails to invite 1 person as long as he is in a party he wont retry to invite the player who isn't in the party
       
    20. Sidalol

      Sidalol Member

      Joined:
      Jul 1, 2010
      Messages:
      987
      Likes Received:
      18
      Trophy Points:
      18
      Code:
      Lua.DoString("InviteUnit(\"CHARACTERNAME\")");
      Lua.DoString("InviteUnit(\"CHARACTERNAME\")");
      Lua.DoString("InviteUnit(\"CHARACTERNAME\")");
      Lua.DoString("InviteUnit(\"CHARACTERNAME\")");
      
      You could also just extend it with UnitInParty("arg1") to check whether the member is already in your party before inviting.
       
      Last edited: May 27, 2012

    Share This Page