• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Release] RebornBuddy64 Version 1.0.424 - DirectX11 / x64 bit compatible

    Discussion in 'Rebornbuddy Forum' started by mastahg, Feb 29, 2016.

    1. newb23

      newb23 Community Developer

      Joined:
      Nov 26, 2014
      Messages:
      397
      Likes Received:
      15
      Trophy Points:
      18
      Thank you very much for your answer!

      I have another one for you sir, DutyManager.Commence(); seems to be clicking the withdraw instead of Commence.

      Imgur
       
      cfw34683 likes this.
    2. Mystic

      Mystic Member

      Joined:
      Aug 27, 2016
      Messages:
      46
      Likes Received:
      8
      Trophy Points:
      8
      Upvote for x64 pvp fix. :)
       
    3. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,335
      Likes Received:
      380
      Trophy Points:
      83
      Version 121
      Code:
      Fix running multiple copies at the same time
      Fix Item.ItemRole
      Fix DutyManager.Commence and Withdraw
      
       
    4. newb23

      newb23 Community Developer

      Joined:
      Nov 26, 2014
      Messages:
      397
      Likes Received:
      15
      Trophy Points:
      18
      DutyManager.Commence is working as intended now, thank you very much!
       
    5. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,335
      Likes Received:
      380
      Trophy Points:
      83
      Version 122
      Code:
      Add pvp skills to actionmanager
      Fix ShopItem struct
      
       
    6. newb23

      newb23 Community Developer

      Joined:
      Nov 26, 2014
      Messages:
      397
      Likes Received:
      15
      Trophy Points:
      18
      Good morning!

      Running through the following snippet gets me the correct IsDesynthesizable on the query when made through foreach (var item in InventoryManager.FilledArmorySlots.Where(item => item.BagId == InventoryBagId.EquippedItems)), but fails with a greymagic error on ff14bot.Managers.BagSlot.get_IsDesynthesizable() when run through foreach (var item in InventoryManager.EquippedItems). Are they supposed to return differently, or does it need to get patched up?

      I ran this in RB64, have not tried 32.

      Code:
      ClearLog();
      
      foreach (var item in InventoryManager.FilledArmorySlots.Where(item => item.BagId == InventoryBagId.EquippedItems))
      {
          {
              Log(item.EnglishName);
              foreach (var prop in item.GetType().GetProperties())
              {
                  Log("\t" + prop.Name + ": " + prop.GetValue(item));
              }
          }
      }
      
      
      foreach (var item in InventoryManager.EquippedItems)
      {
          {
              Log(item.EnglishName);
              foreach (var prop in item.GetType().GetProperties())
              {
                  Log("\t" + prop.Name + ": " + prop.GetValue(item));
              }
          }
      }
      Thanks!
       
    7. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,335
      Likes Received:
      380
      Trophy Points:
      83

      It's throwing an exception because your assuming all slots have something in them.
      Check IsFilled first.


      Also, I really wish people would stop using LINQ to sort by the bag you want, its incredibly intensive and very slow.

      Let's do some math.

      There are 12 bags with 25 slots for a total of 325 extra memory reads just to get the bags that you want.


      InventoryManager.FilledArmorySlots.Where(item => item.BagId == InventoryBagId.EquippedItems)

      whereas

      InventoryManager.GetBagByInventoryBagId(InventoryBagId.EquippedItems)
      or

      InventoryBagId.GetBagsByInventoryBagId(...)

      would get only the bags you care about.
       
    8. newb23

      newb23 Community Developer

      Joined:
      Nov 26, 2014
      Messages:
      397
      Likes Received:
      15
      Trophy Points:
      18
      It's throwing an exception halfway through getting one of the properties of an item because one of the other slots isn't full?
       
    9. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,335
      Likes Received:
      380
      Trophy Points:
      83
      Your querying properties for a slot that doesnt have an item in it.
       
    10. newb23

      newb23 Community Developer

      Joined:
      Nov 26, 2014
      Messages:
      397
      Likes Received:
      15
      Trophy Points:
      18
      The item it's failing on, is​ filled.

      Code:
      Sophic Points    IsValid: True
          Count: 1
          RawItemId: 16179
          TrueItemId: 16179
          ActionType: Item
          BagId: EquippedItems
          Slot: 0
          HqFlag: 0
          IsSellable: False
          IsReducable: False
          IsDesynthesizable: False
          CanReduce: False
          CanDesynthesize: False
          Value: 0
          Condition: 110.93
          Collectability: 0
          SpiritBond: 42.42
          IsFilled: True
          IsHighQuality: False
          IsCollectable: False
          Item: Sophic Points
          EnglishName: Sophic Points
          Name: Sophic Points
          Pointer: 963141504
      Prototype Alexandrian Mask of Scouting
          IsValid: True
          Count: 1
          RawItemId: 16427
          TrueItemId: 16427
          ActionType: Item
          BagId: EquippedItems
          Slot: 2
          HqFlag: 0
          IsSellable: False
          IsReducable: False
          IsDesynthesizable: False
          CanReduce: False
          CanDesynthesize: False
          Value: 0
          Condition: 110.8367
          Collectability: 0
          SpiritBond: 83.73
          IsFilled: True
          IsHighQuality: False
          IsCollectable: False
          Item: Prototype Alexandrian Mask of Scouting
          EnglishName: Prototype Alexandrian Mask of Scouting
          Name: Prototype Alexandrian Mask of Scouting
          Pointer: 963141616
      Yafaemi Cyclas of Scouting
          IsValid: True
          Count: 1
          RawItemId: 15342
          TrueItemId: 15342
          ActionType: Item
          BagId: EquippedItems
          Slot: 3
          HqFlag: 0
          IsSellable: True
          IsReducable: False
          IsDesynthesizable: True
          CanReduce: False
          CanDesynthesize: True
          Value: 1201
          Condition: 132.12
          Collectability: 0
          SpiritBond: 100
          IsFilled: True
          IsHighQuality: False
          IsCollectable: False
          Item: Yafaemi Cyclas of Scouting
          EnglishName: Yafaemi Cyclas of Scouting
          Name: Yafaemi Cyclas of Scouting
          Pointer: 963141672
      Prototype Alexandrian Gloves of Scouting
          IsValid: True
          Count: 1
          RawItemId: 16429
          TrueItemId: 16429
          ActionType: Item
          BagId: EquippedItems
          Slot: 4
          HqFlag: 0
          IsSellable: False
          IsReducable: False
          IsDesynthesizable: False
          CanReduce: False
          CanDesynthesize: False
          Value: 0
          Condition: 110.8067
          Collectability: 0
          SpiritBond: 83.36
          IsFilled: True
          IsHighQuality: False
          IsCollectable: False
          Item: Prototype Alexandrian Gloves of Scouting
          EnglishName: Prototype Alexandrian Gloves of Scouting
          Name: Prototype Alexandrian Gloves of Scouting
          Pointer: 963141728
      Prototype Alexandrian Belt of Scouting
          IsValid: True
          Count: 1
          RawItemId: 16432
          TrueItemId: 16432
          ActionType: Item
          BagId: EquippedItems
          Slot: 5
          HqFlag: 0
          IsSellable: False
          IsReducable: False
          IsDesynthesizable: False
          CanReduce: False
          CanDesynthesize: False
          Value: 0
          Condition: 110.91
          Collectability: 0
          SpiritBond: 83.49
          IsFilled: True
          IsHighQuality: False
          IsCollectable: False
          Item: Prototype Alexandrian Belt of Scouting
          EnglishName: Prototype Alexandrian Belt of Scouting
          Name: Prototype Alexandrian Belt of Scouting
          Pointer: 963141784
      Yafaemi Gaskins of Scouting
          IsValid: True
          Count: 1
          RawItemId: 15344
          TrueItemId: 15344
          ActionType: Item
          BagId: EquippedItems
          Slot: 6
          HqFlag: 0
          IsSellable: True
          IsReducable: False
          IsDesynthesizable: True
          CanReduce: False
          CanDesynthesize: True
          Value: 1201
          Condition: 110.74
          Collectability: 0
          SpiritBond: 100
          IsFilled: True
          IsHighQuality: False
          IsCollectable: False
          Item: Yafaemi Gaskins of Scouting
          EnglishName: Yafaemi Gaskins of Scouting
          Name: Yafaemi Gaskins of Scouting
          Pointer: 963141840
      Prototype Alexandrian Thighboots of Scouting
          IsValid: True
          Count: 1
          RawItemId: 16431
          TrueItemId: 16431
          ActionType: Item
          BagId: EquippedItems
          Slot: 7
          HqFlag: 0
          IsSellable: False
          IsReducable: False
          IsDesynthesizable: False
          CanReduce: False
          CanDesynthesize: False
          Value: 0
          Condition: 110.89
          Collectability: 0
          SpiritBond: 83.47
          IsFilled: True
          IsHighQuality: False
          IsCollectable: False
          Item: Prototype Alexandrian Thighboots of Scouting
          EnglishName: Prototype Alexandrian Thighboots of Scouting
          Name: Prototype Alexandrian Thighboots of Scouting
          Pointer: 963141896
      Augmented Primal Earrings of Aiming
          IsValid: True
          Count: 1
          RawItemId: 14446
          TrueItemId: 14446
          ActionType: Item
          BagId: EquippedItems
          Slot: 8
          HqFlag: 0
          IsSellable: True
          IsReducable: False
          IsDesynthesizable: True
          CanReduce: False
          CanDesynthesize: True
          Value: 1701
          Condition: 95.16666
          Collectability: 0
          SpiritBond: 100
          IsFilled: True
          IsHighQuality: False
          IsCollectable: False
          Item: Augmented Primal Earrings of Aiming
          EnglishName: Augmented Primal Earrings of Aiming
          Name: Augmented Primal Earrings of Aiming
          Pointer: 963141952
      Augmented Primal Choker of Aiming
          IsValid: True
          Count: 1
          RawItemId: 14451
          TrueItemId: 14451
          ActionType: Item
          BagId: EquippedItems
          Slot: 9
          HqFlag: 0
          IsSellable: True
          IsReducable: False
          IsDesynthesizable: True
          CanReduce: False
          CanDesynthesize: True
          Value: 1701
          Condition: 95.15667
          Collectability: 0
          SpiritBond: 93.96
          IsFilled: True
          IsHighQuality: False
          IsCollectable: False
          Item: Augmented Primal Choker of Aiming
          EnglishName: Augmented Primal Choker of Aiming
          Name: Augmented Primal Choker of Aiming
          Pointer: 963142008
      Prototype Alexandrian Bracelets of Aiming
          IsValid: True
          Count: 1
          RawItemId: 16457
          TrueItemId: 16457
          ActionType: Item
          BagId: EquippedItems
          Slot: 10
          HqFlag: 0
          IsSellable: False
          IsReducable: False
          IsDesynthesizable: False
          CanReduce: False
          CanDesynthesize: False
          Value: 0
          Condition: 95.15
          Collectability: 0
          SpiritBond: 74.4
          IsFilled: True
          IsHighQuality: False
          IsCollectable: False
          Item: Prototype Alexandrian Bracelets of Aiming
          EnglishName: Prototype Alexandrian Bracelets of Aiming
          Name: Prototype Alexandrian Bracelets of Aiming
          Pointer: 963142064
      Augmented Primal Ring of Aiming
          IsValid: True
          Count: 1
          RawItemId: 14461
          TrueItemId: 14461
          ActionType: Item
          BagId: EquippedItems
          Slot: 11
          HqFlag: 0
          IsSellable: True
          IsReducable: False
          IsDesynthesizable: True
          CanReduce: False
          CanDesynthesize: True
          Value: 1701
          Condition: 95.17333
          Collectability: 0
          SpiritBond: 100
          IsFilled: True
          IsHighQuality: False
          IsCollectable: False
          Item: Augmented Primal Ring of Aiming
          EnglishName: Augmented Primal Ring of Aiming
          Name: Augmented Primal Ring of Aiming
          Pointer: 963142120
      Prototype Alexandrian Ring of Aiming
          IsValid: True
          Count: 1
          RawItemId: 16462
          TrueItemId: 16462
          ActionType: Item
          BagId: EquippedItems
          Slot: 12
          HqFlag: 0
          IsSellable: False
          IsReducable: False
          IsDesynthesizable: False
          CanReduce: False
          CanDesynthesize: False
          Value: 0
          Condition: 95.16666
          Collectability: 0
          SpiritBond: 92.16
          IsFilled: True
          IsHighQuality: False
          IsCollectable: False
          Item: Prototype Alexandrian Ring of Aiming
          EnglishName: Prototype Alexandrian Ring of Aiming
          Name: Prototype Alexandrian Ring of Aiming
          Pointer: 963142176
      Soul of the Ninja
          IsValid: True
          Count: 1
          RawItemId: 7886
          TrueItemId: 7886
          ActionType: Item
          BagId: EquippedItems
          Slot: 13
          HqFlag: 0
          IsSellable: False
          IsReducable: False
          IsDesynthesizable: False
          CanReduce: False
          CanDesynthesize: False
          Value: 0
          Condition: 100
          Collectability: 0
          SpiritBond: 0
          IsFilled: True
          IsHighQuality: False
          IsCollectable: False
          Item: Soul of the Ninja
          EnglishName: Soul of the Ninja
          Name: Soul of the Ninja
          Pointer: 963142232
      Sophic Points
          IsValid: True
          Count: 1
          RawItemId: 16179
          TrueItemId: 16179
          ActionType: Item
          BagId: EquippedItems
          Slot: 0
          HqFlag: 0
          IsSellable: False
          IsReducable: False
          IsDesynthesizable: False
          CanReduce: False
          CanDesynthesize: False
          Value: 0
          Condition: 110.93
          Collectability: 0
          SpiritBond: 42.42
          IsFilled: True
          IsHighQuality: False
          IsCollectable: False
          Item: Sophic Points
          EnglishName: Sophic Points
          Name: Sophic Points
          Pointer: 963141504
          IsValid: True
          Count: 0
          RawItemId: 0
          TrueItemId: 0
          ActionType: Item
          BagId: EquippedItems
          Slot: 1
          HqFlag: 0
          IsSellable: False
          IsReducable: False
      System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
         at ff14bot.Managers.BagSlot.get_IsDesynthesizable()
         --- End of inner exception stack trace ---
         at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
         at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
         at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
         at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
         at Driver.Run() in c:\Users\Omni\Game Data\RB64\Plugins\RebornConsole\Temp\atdbndsv.0.cs:line 56
         --- End of inner exception stack trace ---
         at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
         at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
         at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
         at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
         at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
         at HighVoltz.CodeDriver.CompileAndRun(String input) in C:\Users\Omni\Game Data\RB64\Plugins\RebornConsole\RebornConsole.cs:line 511
      
      
      
      Edit: Nope, I'm wrong. I see where it is now that I am wrong.

      For the empty slot, why does it return as valid if there isn't an item in there?
       
      Last edited: Jan 28, 2017
    11. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,335
      Likes Received:
      380
      Trophy Points:
      83


      Code:
      
      	RawItemId: 0
      	TrueItemId: 0
      
      

      Screenshot your equipped gear please.
       
    12. newb23

      newb23 Community Developer

      Joined:
      Nov 26, 2014
      Messages:
      397
      Likes Received:
      15
      Trophy Points:
      18
      For the empty slot, why does it return as valid if there isn't an item in there?
       
    13. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,335
      Likes Received:
      380
      Trophy Points:
      83
      IsValid refers if the item points to a valid pointer in memory, all objects that inherit remoteobject have that property.
       
    14. newb23

      newb23 Community Developer

      Joined:
      Nov 26, 2014
      Messages:
      397
      Likes Received:
      15
      Trophy Points:
      18
      Okay, so in this case, the item is not an item, but the slot itself?

      Thanks for the clarification, and sorry for wasting time. I didn't see that it had gone on to the next slot.
       
    15. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,335
      Likes Received:
      380
      Trophy Points:
      83
      Slots actually hold most of the properties, ie collectability, durability etc. This is why you can't store damaged things in the armoire.
       
    16. newb23

      newb23 Community Developer

      Joined:
      Nov 26, 2014
      Messages:
      397
      Likes Received:
      15
      Trophy Points:
      18
      That's really interesting, thank you again for the clarification.
       
    17. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,335
      Likes Received:
      380
      Trophy Points:
      83
      Offsets updated, nothing new to download.
       
    18. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,335
      Likes Received:
      380
      Trophy Points:
      83
      Offsets updated, no new version to download.
       
    19. HB3434V31

      HB3434V31 New Member

      Joined:
      May 12, 2011
      Messages:
      6
      Likes Received:
      0
      Trophy Points:
      1
      New to Rebornbuddy

      Hello
      I got some problems trying to start the bot and it doesn't work , i believe am missing something , please help here is the log
       

      Attached Files:

      Last edited: Mar 16, 2017
    20. zzi

      zzi Active Member

      Joined:
      Mar 10, 2016
      Messages:
      308
      Likes Received:
      47
      Trophy Points:
      28
      Code:
       Element ExDisablePlugins is not supported. Please check your XML and try again.
      Looks like you didn't install a plugin or profile correctly.

      also:
      Code:
      [Pre-Requisite Check] You haven't completed The Ultimate Weapon quest yet!
      <- this needs to be done manually. it's a dungeon.
       

    Share This Page