• Visit Rebornbuddy
  • Pls help me to update plugins.

    Discussion in 'Requests & Discussion' started by jesper54321, May 17, 2017.

    1. jesper54321

      jesper54321 New Member

      Joined:
      Feb 9, 2017
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      1
      anyone could help me fix/update this to the newest version of demonbuddy?:

      Compiler Error:
      Code:
      C:\Users\Jesper\Documents\Demonbuddy\Plugins\DamageTracker\Trackers\UnitTracker.cs(22,55) : error CS1061: 'DiaUnit' does not contain a definition for 'ACDGuid' and no extension method 'ACDGuid' accepting a first argument of type 'DiaUnit' could be found (are you missing a using directive or an assembly reference?)
      Compiler Error: C:\Users\Jesper\Documents\Demonbuddy\Plugins\DamageTracker\Trackers\UnitTracker.cs(61,78) : error CS1061: 'DiaUnit' does not contain a definition for 'ACDGuid' and no extension method 'ACDGuid' accepting a first argument of type 'DiaUnit' could be found (are you missing a using directive or an assembly reference?)
      Compiler Error: C:\Users\Jesper\Documents\Demonbuddy\Plugins\DamageTracker\Trackers\UnitTracker.cs(75,31) : error CS1061: 'DiaUnit' does not contain a definition for 'ACDGuid' and no extension method 'ACDGuid' accepting a first argument of type 'DiaUnit' could be found (are you missing a using directive or an assembly reference?)
      Compiler Error: C:\Users\Jesper\Documents\Demonbuddy\Plugins\EXPCount\EXPCountPugin.cs(331,30) : error CS0246: The type or namespace name 'RiftInfo' could not be found (are you missing a using directive or an assembly reference?)

      and anyone can help me update this to the newest version of diablo 3 with the different way of storing materials :)
      Code:
              public static long[] myitemCount =     {
                                                  0,
                                                  0,
                                                  0,
                                                  0,
                                                  0,
                                                  0,
                                                  0,
                                                  0,
                                                  0,
                                                  0,
                                                  0,
                                                  0,
                                                  0,
                                                  0,
                                                  0,
                                                  0,
                                                  0,
                                                  0,
                                                  0,
                                                  0
                                                  };   
              private static readonly int[] myitemSNO =     {
                                                          365020,
                                                          408416,
                                                          361989,
                                                          361988,
                                                          361986,
                                                          361985,
                                                          361984,
                                                          364281,
                                                          364290,
                                                          364305,
                                                          364975,
                                                          366946,
                                                          366947,
                                                          366948,
                                                          366949,
                                                          403611,
                                                          364722,
                                                          364723,
                                                          364724,
                                                          364725
                                                          };
              private static readonly string[] myitemName =     {
                                                              "Khanduran Rune",
                                                              "Greater Rift Keystone",
                                                              "Death's Breath",
                                                              "Forgotten Soul",
                                                              "Veiled Crystal",
                                                              "Arcane Dust",
                                                              "Reusable Parts",
                                                              "Caldeum Nightshade",
                                                              "Arreat War Tapestry",
                                                              "Corrupted Angel Flesh",
                                                              "Westmarch Holy Water",
                                                              "Infernal Machine of Regret",
                                                              "Infernal Machine of Putridness",
                                                              "Infernal Machine of Terror",
                                                              "Infernal Machine of Fright",
                                                              "Ramaladni's Gift",
                                                              "Leoric's Regret",
                                                              "Vial of Putridness",
                                                              "Idol of Terror",
                                                              "Heart of Fright"
                                                              };
      
      
              private static bool IsMyItemSno(int sno)
              {
                  return myitemSNO.Any(k => k == sno);
              }
      
              private static void AddToMyItemCount(int sno, long increment)
              {
                  if (IsMyItemSno(sno))
                  {
                      myitemCount[myitemSNO.IndexOf(sno)] += increment;
                  }
              }
       

    Share This Page