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

Crash "An item with the same key has already been added"

T@rget

Active Member
Joined
Jan 15, 2010
Messages
165
Reaction score
28
Hello, I've been using HB for a few days now and so far it's working fine on my druid. I'm using Kaboomkin and it farms smoothly.

My level 63 mage however, is a different story.. It's on a different account which I want to make my bot account but whenever I start it up it mounts up, walks a few meters and crashes saying "An item with the same key has already been added" letting me click Send and Don't Send. There is no option to try going on with the application, like there was in a error I got before.

I tried using Mephiles 2.8 (Configured it to my liking, only using spells I actually have) and the default class, loads of different profiles ect. I made a level 1 mage which ran fine. So on my 63 mage I reset talents, action bars, keybindings, deleted my WTF folder but that all didn't help D:

If someone could help me out here, that would be greatly appreciated
 

Attachments

em have you shared your key or have you bought a key off of someone?
HB is detecting that someone else is using the key/information too i think..
this is just a guess..
nothing to do
 
Hello, I've been using HB for a few days now and so far it's working fine on my druid. I'm using Kaboomkin and it farms smoothly.

My level 63 mage however, is a different story.. It's on a different account which I want to make my bot account but whenever I start it up it mounts up, walks a few meters and crashes saying "An item with the same key has already been added" letting me click Send and Don't Send. There is no option to try going on with the application, like there was in a error I got before.

I tried using Mephiles 2.8 (Configured it to my liking, only using spells I actually have) and the default class, loads of different profiles ect. I made a level 1 mage which ran fine. So on my 63 mage I reset talents, action bars, keybindings, deleted my WTF folder but that all didn't help D:

If someone could help me out here, that would be greatly appreciated

Try the default cc and post back please.
 
I've tried the default CC aswell, the log I posted in my first post was from using the default one

[10:57:47 AM:323] Chose Hawker's Party Mage 2.2 as your combat class!

I installed Mephiles by cleaning out my class folder making sure only the Mephiles folder was in there btw.
And I haven't shared/bought my key from anyone, I doubt it's that anyway because on my druid it runs fine.

Hope this clears some stuff up, thanks for the replies
 
Last edited:
Bumping this post because I'm still having this error.
 
Check if you have "Show all spell ranks" ticked in your spell book. If you do; turn it off. There is currently no real error checking to make sure multiple spells of the same name aren't added.
 
Check if you have "Show all spell ranks" ticked in your spell book. If you do; turn it off. There is currently no real error checking to make sure multiple spells of the same name aren't added.

How did you come to this conclusion?
 
Thanks for the reply Apoc, I didn't have it ticked, to be sure I ticked it, started the bot and it crashed with the same error, then I unticked it like before and tried it again, but that resulted in the same crash sadly

I attached the log even though it doesn't output anything related to the crash as far as I can see
 

Attachments

I too am having this issue.

I have a lvl 80 mage that I am trying to rep farm.

I can use HB with my lvl 80 shaman - no problem.

But when I try with my mage (both the vanilla CC and the Mephiles CC) as soon as the bot does its first "click to move" it crashes.

I am using PanYamas Wintersaber for rep farm with his addon. To rule out problems with that, I tried multiple BGs and removed his addon. No other add-ons running - and still a crash with the same error code of
"An item with the same key has already been added"


Help!
 
em have you shared your key or have you bought a key off of someone?
HB is detecting that someone else is using the key/information too i think..
this is just a guess..

Uh, um, er... What has the key to do with "an item"...... lawls
 
It's not a HonorBuddy specific thing btw, if you google it there are other programs that get it aswell, written in C#
 
The issue comes from inserting the same 'key' into a dictionary twice.

Eg;

Code:
myDictionary.Add("MyKey", "MyValue");
myDictionary.Add("MyKey", "MyOtherValue");

The above will throw the exception you're seeing. Figuring out where it stems from would be quite helpful, but unfortunately, we haven't had a single person give us a way to reproduce it. (Given that it's a completely (or at least seems to be) random crash, having a reproducible list of steps is near impossible)
 
Reproducing the error is easy for me; chose level 80 mage using either default CC or latest Mephiles .. same error occurs then program crashes. Very annoying.
 
I had it happen with my mage once, but i was using Mephiles 2.5, i upgraded to 2.6 (which is all there was) and it worked fine.
 
The issue comes from inserting the same 'key' into a dictionary twice.

Eg;

Code:
myDictionary.Add("MyKey", "MyValue");
myDictionary.Add("MyKey", "MyOtherValue");

The above will throw the exception you're seeing. Figuring out where it stems from would be quite helpful, but unfortunately, we haven't had a single person give us a way to reproduce it. (Given that it's a completely (or at least seems to be) random crash, having a reproducible list of steps is near impossible)

Hmm, given the number of us who are simply saying we are using a lvl80 with either vanilla CC or Meph CC, it seems it would be easily reproducible since it happens when using any profile. Is the mydictionary.add located in a .CS file that is editable? If so, I can edit to take out all spells (which I believe must be the error) that I don't use to see if that corrects it.
 
It does it on my 64 mage every time I start the bot, I tried it on a level 1 mage and nothing. So you can't reproduce it on a level one but anything around 60 should do
 
It does it on my 64 mage every time I start the bot, I tried it on a level 1 mage and nothing. So you can't reproduce it on a level one but anything around 60 should do

That should tell you that it is likely a problem with the mage CC (which, i'm sure share some code) using spells above level 60. So just check out the CC's and see if you can find the offending code. Like Apoc said, it stems from trying to assign 2 values to 1 key in a dictionary. It may or may not be called 'myDictionary'.
 
Back
Top