dmitryvhf/L2ScriptMaker

(ItemData Generaror from) Dat Приведение строки "" к типу "Integer" является недопустимым.

Opened this issue · 4 comments

image

************* Текст исключения **************
System.InvalidCastException: Приведение строки "" к типу "Integer" является недопустимым. ---> System.FormatException: Входная строка имела неверный формат.
в Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
в Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
--- Конец трассировки внутреннего стека исключений ---
в Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
в L2ScriptMaker.ItemDataGenerator.StartButton_Click(Object sender, EventArgs e)
в System.Windows.Forms.Control.OnClick(EventArgs e)
в System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.ButtonBase.WndProc(Message& m)
в System.Windows.Forms.Button.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Problem found.
This generator waiting itemdata-e.txt with cnt0 value inside. This use for armor sets collector. But... only CT25 itemdata-e.txt have it.
I cant do universal generator for all chronicles yet. Now, i need update documentation; show information about chronicles script version.

Yes, we too have this problem. What can we do for you to fix it as fast as possible, dmitryvhf?

Yes, we too have this problem. What can we do for you to fix it as fast as possible, dmitryvhf?

I need fully recode this module. I need to do it more universal. Now this support CT15 chronicles only and with "fixed" dat file scructure.
I'll plan this to refactor with high priority level.