Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 903

Item Transfer Script throwing exception

$
0
0
Hey guys,

I've been trying to write a simple item transfer script so I can get the idea down before I write a larger script with this one incorporated into it. This one, I thought was going to be straight forward...but I keep getting this:

"Caught exception during execution of script: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary'2.get_Item(Tkey key)
at Program.Main(string argument)
at...

Item Transfer Script throwing exception

Viewing all articles
Browse latest Browse all 903

Trending Articles