• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Problem with gameobjects. Reporting InventoryManager and teleport issues in 1.0.347

    Discussion in 'Rebornbuddy Support' started by parrot, Nov 10, 2015.

    1. parrot

      parrot Community Developer

      Joined:
      Feb 5, 2012
      Messages:
      222
      Likes Received:
      7
      Trophy Points:
      18
      Accessing a bagslot throws a SystemOutOfMemoryException:

      example rebornconsole:
      Code:
      ClearLog();
      foreach(var bagslot in ff14bot.Managers.InventoryManager.FilledSlots) 
                  {
      		Log(bagslot.Item.CurrentLocaleName);
      	     }
      
      Error:
      Code:
      System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
         at System.Collections.Generic.List`1.set_Capacity(Int32 value)
         at System.Collections.Generic.List`1.EnsureCapacity(Int32 min)
         at System.Collections.Generic.List`1.Add(T item)
         at ff14bot.Managers.Bag..ctor(IntPtr Pointer)
         at ff14bot.Managers.InventoryManager.()
         at ff14bot.Managers.InventoryManager.get_FilledSlots()
         at Driver.Run() in d:\rbuddy\Plugins\RebornConsole\Temp\saqlxiqg.0.cs:line 38
         --- 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 d:\rbuddy\Plugins\RebornConsole\RebornConsole.cs:line 462
      
      Teleport:

      Orderbot profiles using teleport fails:

      Code:
      [22:25:23.516 N] Teleporting to Aetheryte id76
      [22:25:23.527 N] [TeleportTo] Player missing AetheryteId:76 Zone:Tailfeather
      [22:25:23.528 N] Stopping the bot. Reason:Missing AetheryteId
      [22:25:23.530 V] [Poi.Clear] Reason: Current behavior changed to TeleportTo: ZoneId: 0, AetheryteId: 76, Name: null, Force: False, Aetheryte: null, IsDone: False, HighPriority: False, LineNumber: 12, InCombat: False, QuestId: 0, StepId: 0, PostCombatDelay: 0, QuestName: null, IsDoneCache: False, Behavior: TreeSharp.PrioritySelector, .
      
      profile used with log: View attachment Stalk of Ramie btn.xml
       

      Attached Files:

      Last edited: Nov 10, 2015
    2. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      383
      Trophy Points:
      83
      Thanks for the report about the bagslots, thats fixed in 347. I'll look into the teleportation stuff now
       
    3. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      383
      Trophy Points:
      83
      Are you sure thats the correct profile? That profile teleports to grinda. Please post the correct profile if thats not it.
       
    4. parrot

      parrot Community Developer

      Joined:
      Feb 5, 2012
      Messages:
      222
      Likes Received:
      7
      Trophy Points:
      18
      Well i was running multiple profiles but yea it should be the one used with the log. It teleports twice: the first teleport is to dravanian forelands, thats where it fails. When the order is done it should teleport to gridania.

      Code:
      <If Condition="not IsOnMap(398)">
            <LogMessage Message="Teleporting to Aetheryte id76" />
            <TeleportTo AetheryteId="76" /> // Dravanian forelands
          </If>
      
      I could try another profile if you would like?
       
      Last edited: Nov 10, 2015
    5. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      383
      Trophy Points:
      83
      I've isolated the issue, looks like the struct for the atheryte has changed. Working on fixing now
       
    6. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      383
      Trophy Points:
      83
      Version 349
      Code:
      Fixes issues teleporting
      
      
       

    Share This Page