Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 30.06.2007, 07:40   #1
Alamat
Архивный участник
 
Join Date: Jun 2007
Posts: 61
Default L2ScriptMaker

Уважаемые HF. Когда я пытаюсь установить рейты в npcdata.txt с помошью вашей проги L2ScriptMaker. Мне пишет вот такую ошибку. Не могли бы Вы мне подсказать в чем проблема?
Quote:
Conversion from string "14xx.xx2" to type 'Double' is not valid.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidCastException: Conversion from string "14xx.xx2" to type 'Double' is not valid. ---> System.FormatException: Input string was not in a correct format.
at Microsoft.VisualBasic.CompilerServices.Conversions .ParseDouble(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions .ToDouble(String Value, NumberFormatInfo NumberFormat)
--- End of inner exception stack trace ---
at Microsoft.VisualBasic.CompilerServices.Conversions .ToDouble(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions .ToDouble(String Value)
at EDMvgjLHpLufqG8q)hJtA.A8P9iA)2M012.AC1FTFSLAU(Stri ng , String , Double )
at EDMvgjLHpLufqG8q)hJtA.A8P9iA)2M012.ABJZTl9CsRLo7n5 v(Object , EventArgs )
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.507xx.xx (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ezencryption_lib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.507xx.xx (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.507xx.xx (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.507xx.xx (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.507xx.xx (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
License
Assembly Version: 1.0.0.0
Win32 Version: 2.0.507xx.xx (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
ziplib
Assembly Version: 1.0.0.0
Win32 Version: 2.0.507xx.xx (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
L2ScriptMaker
Assembly Version: 4.0.xx.xx736
Win32 Version: 2.0.507xx.xx (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.507xx.xx (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.507xx.xx (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Заранее благодарен.
Alamat is offline  
Old 30.06.2007, 07:53   #2
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by Alamat View Post
Уважаемые HF. Когда я пытаюсь установить рейты в npcdata.txt с помошью вашей проги L2ScriptMaker. Мне пишет вот такую ошибку. Не могли бы Вы мне подсказать в чем проблема?

Заранее благодарен.
Могу.
Во-первых, научитесь пользоваться поиском или просто напросто прочесть Всю тему для этой программы. Решение там уже написано.
Во-вторых, внимательно глянуть первый абзац дебаглога
Quote:
System.InvalidCastException: Conversion from string "14xx.xx2" to type 'Double' is not valid. --->
это значит, что ваши региональные настройки по символу десятичной цифры должны иметь ".", а не ",".
HF is offline  
Old 30.06.2007, 08:17   #3
Alamat
Архивный участник
 
Join Date: Jun 2007
Posts: 61
Default

Спасибо большое
Alamat is offline  
Old 01.07.2007, 06:53   #4
Dimaxx
Архивный участник
 
Join Date: Sep 2006
Posts: 46
Default

Разработчику: я делал проще. Получал разделитель из региональных настроек, проверял не точка ли (если да, то конвертил строку в число), заменял точку на полученный разделитель и конвертил строку в число. Все. Не надо никаких изменений в региональных настройках и подобные вопросы отпадут сами собой.
Dimaxx is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:57.