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!

New error: Sequence contains no elements

Xanathos

Active Member
Joined
Jul 25, 2010
Messages
1,030
Tried to see if BW had been updated today. Updated WingIt and Kick's profiles from their SVN's appropriately. No update for BW specifically.

Run BW and it isn't even done initializing before it shoots out an error now:

Code:
[03:11:42.324 N] Unhandled exception during init: System.InvalidOperationException: Sequence contains no elements
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   at Buddy.XmlEngine.XmlEngine.Save(Object obj, String namespace, XElement parentElement)
   at Buddy.Common.Xml.XmlSettings.Save()
   at Buddy.Common.Xml.XmlSettings..ctor(String path)
   at WingIt.WingItSettings..ctor() in c:\BW\Routines\WingIt\WingItSettings.cs:line 10
   at WingIt.WingItSettings.get_Instance() in c:\BW\Routines\WingIt\WingItSettings.cs:line 16
   at WingIt.Movement.MoveTo(Retrieval`1 position, Single range) in c:\BW\Routines\WingIt\Movement.cs:line 50
   at WingIt.WingIt.CreateBT_CompanionHandler() in c:\BW\Routines\WingIt\WingIt.cs:line 96
   at WingIt.WingIt.Initialize() in c:\BW\Routines\WingIt\WingIt.cs:line 54
   at Buddy.CommonBot.RoutineManager.set_Current(ICombat value)
   at Buddy.CommonBot.BotMain.SetCurrentCombatRoutine()
   at Buddywing.MainWindow.()
[03:11:42.324 N] Buddy Wing: The Old Robot is ready!

I love how the next line is it saying that it is ready. =)

Full log attached.

Someone updated WingIt via the SVN so I'm hoping that means that updates and fixes will be coming. It's been over a week and I'd like to use the bot that I've only got 52 weeks to use total on. That's one week down that I can't get back.
 

Attachments

Looks like someone added support for a new file called WingItSettings.xml. Alas, the code isn't there to create the file if it is missing. For now, create a new file as
[BW_install_dir]/Settings/WingIt/WingItSettings.xml

with the following contents:
<CombatOnly>false</CombatOnly>


For your convenience, I've attached my copy--since updating, mine no longer worked either. :)


cheers,
chinajade
 
Last edited:
Okay, they added it to the WingIt repository but since BW hasn't been updated it wasn't pushed to where it was supposed to go.

Copying it over there now. Thanks. =)
 
Back
Top