Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 16.05.2005, 14:12   #1
kembl
Архивный участник
 
Join Date: May 2005
Posts: 63
Default Решена проблема Input string was not in a correct format

Поменяйте в ..\L2Admin\Config\SqlResource.xml
как написанов английской секции, заработает статистика сервера и управление чарами.
---------------------------------

If you have this string: Input string was not in a correct format, so you prob use MS 2003 Server, or last version of .Net.

Open ..\L2Admin\Config\SqlResource.xml
Find string
FLOOR(hp), FLOOR(mp)

chage it to
cast(FLOOR(hp) as char), cast(FLOOR(mp) as char)

Find string
SELECT TOP @top convert(char, act_time, 112), convert(char,act_time, 114), etc_num1, etc_num2, etc_num3, etc_num4

chage it to
SELECT TOP @top convert(char, act_time, 112), convert(char,act_time, 114), cast(etc_num1 as char), cast(etc_num2 as char), etc_num3, etc_num4

Find string
SELECT TOP 600 convert(char, act_time, 112), convert(char, act_time, 114), etc_num1, etc_num2,etc_num3, etc_num4

chage it to
SELECT TOP 600 convert(char, act_time, 112), convert(char, act_time, 114), cast(etc_num1 as char), cast(etc_num2 as char), etc_num3, etc_num4

that change type of variable from int to char, for me its work nice.

http://forum.ragezone.com/showthread...976#post616976
kembl is offline  
Old 07.07.2005, 12:31   #2
s00r
Архивный участник
 
Join Date: Jul 2005
Posts: 47
Default

ага, класс, управление чарами заработало,
а стата сервера нет (
s00r is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 16:30.