Add(MultiStrData,2898448,308,140)
{
Char="
"
Count=6
}
Так даже проще получилось)
------------ Дoбавленo в 18.12:
Вот еще проблема:Разбиение строк в 4 и 5 потоке выполняется только 1 раз
Add(MainForm,3914287,35,168)
{
Visible=1
link(onCreate,2020862:doEvent1,[])
}
Add(HTTP_Get,3284981,202,168)
{
URL="http://www.havenandhearth.com/portal/srv-state"
link(onDownload,825475:doConvert,[])
link(onURLSize,14131648:doSleepMks,[(246,188)(246,202)(170,202)(170,216)])
}
Add(Convertor,825475,251,175)
{
Mode=11
link(onResult,2898448:doSplit,[])
}
Add(Hub,2020862,126,182)
{
link(onEvent1,8453748:doWork2,[])
}
Add(MultiStrData,2898448,322,175)
{
Char="
"
Count=6
link(onPart4,33617:doSplit,[(390,202)(390,97)])
link(onPart5,12550678:doSplit,[(390,209)(390,139)])
}
Add(GlobalVar,5689563,560,91)
{
Name="Users"
}
Add(StrPart,12550678,427,133)
{
Char=" "
link(onSplit,8767096:doStrCatDlm,[(499,139)(499,167)])
}
Add(StrPart,33617,427,91)
{
Char=" "
link(onSplit,5689563:doValue,[])
}
Add(StrCatDelim,8767096,539,161)
{
Delimiter="
"
link(onStrCatDlm,12713275:doValue,[])
link(Str1,5689563:Var,[(545,133)(566,133)])
}
Add(Sleep,14131648,182,210)
{
Delay=2000
link(onSleep,8453748:doWork3,[(226,216)(226,204)(151,204)])
}
Add(HubEx,8453748,147,182)
{
link(onEvent,3284981:doDownload,[(171,188)(171,174)])
}
Add(GlobalVar,12713275,623,161)
{
Name="temp"
}
------------ Дoбавленo в 18.12:
Подскажите плз
------------ Дoбавленo в 18.33:
Разобрался,спс
------------ Дoбавленo в 20.39:
Вот еще проблема,прошу помочь.
Есть схемма,рабтает правильно,но через рандомное время(до 5 минут) выдает рантайм ерор 216
Add(MainForm,2953706,21,133)
{
Visible=1
link(onCreate,2020862:doEvent1,[(75,153)(75,181)])
}
Add(TrayIcon,8413999,483,525)
{
FormHook=0
Icon=0
Point(doShowBallonTip)
link(onClick,4196561:doEvent1,[(538,531)(538,580)])
}
Add(Case,6394315,245,560)
{
Value=String(up)
link(onTrue,5614333:doData,[(331,573)(331,629)])
}
Add(Icon,9881113,364,574)
{
Icon=[ZIP3E01000078DAC58BBD0D805008843F1207A0B2B6744CE6710A36438E57BFCAC2FB4D8E00D6747784DBE054B7B55C6DE3985BB2438C8858256AEAC8D4578DA85A256AEA787E061FF10279BE6AC3]
}
Add(DoData,5614333,364,623)
{
link(onEventData,1701893:doEvent1,[(419,629)(419,594)])
link(Data,9881113:Icon,[])
}
Add(Case,4393539,581,567)
{
Value=String(1)
link(onTrue,1656221:doEvent1,[(625,580)(625,461)(107,461)(107,300)])
}
Add(Icon,9013138,420,686)
{
Icon=[ZIP3E01000078DAC58BBD0D805008843F1207A0B2B6744CD6701B36438E57BFCAC2FB4D8E00D6747784DBE054B7B55C6DE3985BB2438C8858256AEAC8D4578DA85A256AEA787E061FF10235426243]
}
Add(DoData,11825273,378,672)
{
link(onEventData,1701893:doEvent2,[(419,678)(419,601)])
link(Data,9013138:Icon,[(384,660)(405,660)(405,723)(426,723)])
}
Add(Hub,1701893,427,588)
{
InCount=4
link(onEvent1,8413999:doIcon,[(462,594)(462,545)])
}
Add(Convertor,825475,237,84)
{
Mode=11
link(onResult,2898448:doSplit,[])
}
Add(StrPart,106193,497,483)
{
Char=" "
link(onSplit,15180877:doEvent1,[(541,489)(541,563)(128,563)(128,636)])
}
Add(Hub,2020862,98,175)
{
link(onEvent1,8413999:doHide,[(298,181)(298,538)])
link(onEvent2,10360436:doWork3,[(123,188)])
}
Add(DoData,2906590,378,756)
{
link(onEventData,1701893:doEvent3,[(418,762)(418,608)])
link(Data,9585999:Icon,[(384,744)(412,744)(412,793)(433,793)])
}
Add(Icon,9585999,427,756)
{
Icon=[ZIP3E01000078DAC58B3B0E804008441F8907A0B2B6F498DCCB869B21C3D65B5938DF6408604D7747B80D4E755BCBD5368EB9253BC4888855A2A68E4C7DD588AA55A2A68EE767F0112FBE3A7343]
}
Add(Case,4581096,245,602)
{
Value=String(crashed)
link(onTrue,11825273:doData,[(327,615)(327,678)])
}
Add(Case,13224152,245,644)
{
Value=String(stopping)
link(onTrue,2906590:doData,[(327,657)(327,762)])
}
Add(Hub,15180877,140,630)
{
OutCount=3
link(onEvent1,6394315:doCase,[(200,636)(200,566)])
link(onEvent2,4581096:doCase,[(200,643)(200,608)])
link(onEvent3,13224152:doCase,[])
}
Add(MultiStrData,2898448,308,84)
{
Char="
"
Count=6
link(onPart1,106193:doSplit,[(418,90)(418,489)])
link(onPart4,33617:doSplit,[(376,111)(376,62)])
link(onPart5,12550678:doSplit,[(376,118)(376,104)])
}
Add(GlobalVar,5689563,546,56)
{
Name="Users"
}
Add(Hub,4196561,539,574)
{
link(onEvent1,4393539:doCase,[(567,580)(567,573)])
link(onEvent2,16677292:doCase,[(567,587)(567,629)])
}
Add(Case,16677292,581,623)
{
Value=String(0)
link(onTrue,6835400:doData,[])
}
Add(StrPart,12550678,413,98)
{
Char=" "
link(onSplit,3183939:doStrCat,[(460,104)(460,132)])
}
Add(StrPart,33617,413,56)
{
Char=" "
link(onSplit,10824658:doStrCat,[])
}
Add(StrCatDelim,8767096,525,126)
{
Delimiter="
"
link(onStrCatDlm,12713275:doValue,[])
link(Str1,5689563:Var,[(531,98)(552,98)])
}
Add(GlobalVar,12713275,609,126)
{
Name="temp"
}
Add(DoData,6835400,644,630)
{
link(onEventData,8413999:doShowBallonTip,[(688,636)(688,594)(478,594)(478,552)])
link(Data,12713275:Var,[(650,402)(615,402)])
}
Add(StrCat,10824658,483,56)
{
Str1="Пользователей "
link(onStrCat,5689563:doValue,[])
}
Add(StrCat,3183939,469,126)
{
Str1="Персонажей "
link(onStrCat,8767096:doStrCatDlm,[])
}
Add(HTTP_Get,3284981,188,77)
{
URL="http://www.havenandhearth.com/portal/srv-state"
link(onDownload,825475:doConvert,[])
link(onStop,10360436:doWork1,[(232,104)(232,160)])
}
Add(Hub,1656221,119,294)
{
link(onEvent1,3284981:doStop,[(161,300)(161,90)])
link(onEvent2,2953706:doClose,[(145,307)(145,233)(9,233)(9,160)])
}
Add(HubEx,10360436,119,154)
{
Angle=3
link(onEvent,3284981:doDownload,[(123,153)(157,153)(157,83)])
}