leonyarov / BloonTowerMaker

Tower maker tool for BTD6
10 stars 6 forks source link

Throws errors everywhere after making a single projectile #18

Open TheBusinessPyro opened 2 years ago

TheBusinessPyro commented 2 years ago

After making a projectile and naming it, scrolling up gives it an error, press continue, close the tab, open another path, another error but this time happens on click of the path of choice. You get the point. Also doesnt save them after choosing a projectile and quitting out of the path editor tab.

TheBusinessPyro commented 2 years ago

These happen on ALMOST EVERY POSSIBLE ON SCREEN BUTTON

TheBusinessPyro commented 2 years ago

***** Exception Text ** System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Generic.Dictionary2.get_Item(TKey key) at BloonTowerMaker.Data.DictionaryExtensions.RenameKey[TKey,TValue](IDictionary2 dic, TKey fromKey, TKey toKey) at BloonTowerMaker.ProjectileEditor.dataGridProjectile_CellValueChanged(Object sender, DataGridViewCellEventArgs e) at System.Windows.Forms.DataGridView.OnCellValueChanged(DataGridViewCellEventArgs e) at System.Windows.Forms.DataGridView.OnCellValueChangedInternal(DataGridViewCellEventArgs e) at System.Windows.Forms.DataGridViewCell.SetValue(Int32 rowIndex, Object value) at System.Windows.Forms.DataGridView.PushFormattedValue(DataGridViewCell& dataGridViewCurrentCell, Object formattedValue, Exception& exception) at System.Windows.Forms.DataGridView.CommitEdit(DataGridViewCell& dataGridViewCurrentCell, DataGridViewDataErrorContexts context, DataGridViewValidateCellInternal validateCell, Boolean fireCellLeave, Boolean fireCellEnter, Boolean fireRowLeave, Boolean fireRowEnter, Boolean fireLeave) at System.Windows.Forms.DataGridView.CommitEdit(DataGridViewDataErrorContexts context, Boolean forCurrentCellChange, Boolean forCurrentRowChange) at System.Windows.Forms.DataGridView.OnMouseWheel(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseWheel(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.DataGridView.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

TheBusinessPyro commented 2 years ago

When I delete the projectile, everything works now