What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

parrot

Community Developer
Joined
Feb 5, 2012
Messages
222
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
 

Attachments

Last edited:
Thanks for the report about the bagslots, thats fixed in 347. I'll look into the teleportation stuff now
 
Are you sure thats the correct profile? That profile teleports to grinda. Please post the correct profile if thats not it.
 
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:
I've isolated the issue, looks like the struct for the atheryte has changed. Working on fixing now
 
Back
Top