• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Development] PartyBuddy -- Auto Party Manager

    Discussion in 'Archives' started by Smarter, Nov 10, 2011.

    1. starcrafter

      starcrafter New Member

      Joined:
      May 29, 2011
      Messages:
      9
      Likes Received:
      0
      Trophy Points:
      0
      Hi. Have a small problem. Plugin create party and after 20-30 seconds non leader party members leave it. Leader invite them again and they accept it. Another 20-30 secs and party dismised by partymembers.
      What I do wrong?
       

      Attached Files:

    2. Smarter

      Smarter Member

      Joined:
      Jan 15, 2010
      Messages:
      763
      Likes Received:
      9
      Trophy Points:
      18
      The issue seems to be with the username of the parties:
      PHP:
      [1:30:09:438] [PartyBuddy]: PARTY_INVITEFrom - ???????
      [
      1:30:09:438] [PartyBuddy]: PARTY_INVITEI am NOT in a party && I am NOT supposed to be a leader
      [1:30:09:438] [PartyBuddy]: PARTY_INVITEAccepting Group Invite
      [1:30:10:135] [PartyBuddy]: PARTY_MEMBERS_CHANGED
      [1:30:10:135] [PartyBuddy]: PARTY_MEMBERS_CHANGEDI am IN a party.
      [
      1:30:10:502] [PartyBuddy]: BuildPartyList()
      [
      1:30:10:522] [PartyBuddy]: BuildPartyList(): Adding ???????
      [
      1:30:10:522] [PartyBuddy]: BuildPartyList(): Adding ???????
      I am not aware of how to handle special characters, so unfortunately I have no solution to your problem,
       
    3. starcrafter

      starcrafter New Member

      Joined:
      May 29, 2011
      Messages:
      9
      Likes Received:
      0
      Trophy Points:
      0
      It's russian letters.
      Can I increase "WaitTimer _partyCheckTimer = WaitTimer.ThirtySeconds;" from 30 secs to more great value - 300 or 600 seconds? I don't know syntax of this value.
       
    4. Smarter

      Smarter Member

      Joined:
      Jan 15, 2010
      Messages:
      763
      Likes Received:
      9
      Trophy Points:
      18
      Yes, you may however I chose a static one, WaitTimer takes a TimeSpan, so if you'd like to set one that isn't static the syntax would be:
      PHP:
      private readonly WaitTimer _partyCheckTimer = new WaitTimer(new TimeSpan(dayshoursminutesseconds));
       
    5. starcrafter

      starcrafter New Member

      Joined:
      May 29, 2011
      Messages:
      9
      Likes Received:
      0
      Trophy Points:
      0

    Share This Page