Вверх ↑
Этот топик читают: Гость
Ответов: 128
Рейтинг: 14
#1: 2019-07-24 05:25:21 ЛС | профиль | цитата
Возможно ли сделать в Hiasm?

Add(Edit,12425388,273,119)
{
Left=12
Top=250
Width=465
link(onEnter,9329205:doString,[(315,132)(315,236)(217,236)(217,174)])
}
Add(StringTable,14927579,343,168)
{
Left=12
Top=10
Width=465
Height=235
Columns=#8:Время=50|5:От=50|7:Чат=350|
}
Add(FormatStr,9329205,259,168)
{
DataCount=3
Mask="%1;%2;%3"
Point(FString)
link(onFString,14927579:doAdd,[])
link(Str1,2309125:FormatTime,[])
link(Str2,14179083:Value,[])
link(Str3,12425388:Text,[])
}
Add(Memory,14179083,266,63)
{
Default=String(Орел1)
}
Add(Time,2309125,259,21)
{
Format="h:m:s"
Point(DateTime)
Point(Minute)
}

карма: 0

0
vip
#1.1контекстная реклама от партнеров
Ответов: 79
Рейтинг: 3
#2: 2019-07-24 05:56:38 ЛС | профиль | цитата
Посмотри пример .HiAsm_AltBuild\Elements\delphi\Example\Internet\TCP_Chat

--- Добавлено в 2019-07-24 06:25:52

Вот, накидал на скорую руку

Сервер

Add(MainForm,2953706,63,98)
{
Width=503
Height=333
Caption="Сервер"
link(onCreate,14383918:doEvent1,[])
}
Add(Label,9985438,280,112)
{
Left=8
Top=8
Width=92
Height=17
Caption="IPадрес сервера:"
}
Add(Hub,14383918,126,112)
{
link(onEvent1,11190306:doStrCat,[])
link(onEvent2,5096279:doOpen,[(175,125)(175,174)])
}
Add(Host,7890437,210,63)
{
}
Add(StrCat,11190306,210,112)
{
Str1="IPадрес сервера: "
link(onStrCat,9985438:doText,[])
link(Str2,7890437:LoacalIP,[])
}
Add(TCP_Server,5096279,210,168)
{
Port=1234
link(onRead,12181092:doEvent1,[(349,174)(349,398)])
link(onConnect,9805170:doString,[(268,181)(268,216)(183,216)(183,244)])
link(onDisconnect,10180613:doString,[(258,188)(258,222)(175,222)(175,293)])
}
Add(StringTable,14927579,392,392)
{
Left=7
Top=30
Width=470
Height=235
Columns=#8:Время=50|5:От=80|7:Чат=320|
}
Add(FormatStr,9329205,203,406)
{
DataCount=3
Mask="%1;%2;%3"
Point(FString)
link(onFString,12888065:doEvent1,[])
link(Str1,14679413:Var2,[(209,394)(125,394)])
link(Str2,14681806:Text,[])
link(Str3,12425388:Text,[(223,393)(258,393)])
}
Add(Edit,12425388,252,334)
{
Left=7
Top=270
Width=470
Text=""
link(onEnter,9329205:doString,[(296,347)(296,387)(191,387)(191,412)])
}
Add(Label,3516053,280,63)
{
Left=223
Top=8
Width=51
Height=17
Caption="Моё имя:"
}
Add(Edit,14681806,210,334)
{
Left=275
Top=5
Width=200
Text="Сервер"
}
Add(Time,2309125,119,175)
{
Format="h:m:s"
Point(DateTime)
Point(Minute)
}
Add(Hub,12888065,280,406)
{
link(onEvent1,5096279:doSend,[(306,412)(306,208)(198,208)(198,188)])
link(onEvent2,12181092:doEvent4,[])
}
Add(Hub,12181092,357,392)
{
InCount=4
OutCount=1
link(onEvent1,14927579:doAdd,[])
}
Add(FormatStr,9805170,210,238)
{
Mask="%2;;Подключение с IP:%1"
Point(FString)
link(onFString,12181092:doEvent2,[(340,244)(340,405)])
link(Str2,9699227:Var3,[(223,229)])
}
Add(FormatStr,10180613,210,287)
{
Mask="%2;;Отключился IP:%1"
Point(FString)
link(onFString,12181092:doEvent3,[(331,293)(331,412)])
link(Str2,14679413:Var3,[(223,278)])
}
Add(GetDataEx,9699227,119,224)
{
link(Data,2309125:FormatTime,[])
}
Add(GetDataEx,14679413,119,273)
{
link(Data,9699227:Var2,[])
}

Клиент

Add(MainForm,9293894,91,175)
{
Width=503
Height=333
Caption="Клиент"
link(onCreate,14383918:doEvent1,[])
}
Add(Label,9985438,154,140)
{
Left=8
Top=8
Width=92
Height=17
Caption="IPадрес сервера:"
}
Add(Hub,14383918,161,189)
{
InCount=2
OutCount=1
link(onEvent1,14726200:doTimer,[])
}
Add(StringTable,14927579,378,343)
{
Left=7
Top=30
Width=470
Height=235
Columns=#8:Время=50|5:От=80|7:Чат=320|
}
Add(FormatStr,9329205,210,343)
{
DataCount=3
Mask="%1;%2;%3"
Point(FString)
link(onFString,12888065:doEvent1,[])
link(Str1,2309125:FormatTime,[(216,331)(181,331)])
link(Str2,14681806:Text,[])
link(Str3,12425388:Text,[(230,330)(265,330)])
}
Add(Edit,12425388,259,271)
{
Left=7
Top=270
Width=470
Text=""
link(onEnter,9329205:doString,[(299,284)(299,324)(198,324)(198,349)])
}
Add(Label,3516053,203,140)
{
Left=223
Top=8
Width=51
Height=17
Caption="Моё имя:"
}
Add(Edit,14681806,217,271)
{
Left=275
Top=5
Width=200
Text="Клиент"
}
Add(Time,2309125,175,273)
{
Format="h:m:s"
Point(DateTime)
Point(Minute)
}
Add(Hub,12888065,287,343)
{
link(onEvent1,12181092:doEvent1,[])
link(onEvent2,10988581:doSend,[(323,356)(323,257)(247,257)(247,209)])
}
Add(Hub,12181092,343,343)
{
InCount=2
OutCount=1
link(onEvent1,14927579:doAdd,[])
}
Add(Edit,312182,259,140)
{
Left=100
Top=5
Width=115
Text="127.0.0.1"
}
Add(Timer,14726200,203,189)
{
Interval=3000
Enable=1
link(onTimer,10988581:doOpen,[])
}
Add(TCP_Client,10988581,259,189)
{
Port=1234
link(onRead,12181092:doEvent2,[(330,195)(330,356)])
link(onConnect,14726200:doStop,[(313,202)(313,237)(191,237)(191,202)])
link(onDisconnect,14383918:doEvent2,[(303,209)(303,247)(144,247)(144,202)])
link(IP,312182:Text,[])
}

Редактировалось 1 раз(а), последний 2019-07-24 06:25:52
карма: 1

0
Ответов: 128
Рейтинг: 14
#3: 2019-07-24 08:40:54 ЛС | профиль | цитата
fox-video
Спасибо.
карма: 0

0
Ответов: 128
Рейтинг: 14
#4: 2019-07-24 11:08:54 ЛС | профиль | цитата
А не как не сделать чтобы, строка начиналась с новой строки если не влазит в окно.
карма: 0

0
Ответов: 79
Рейтинг: 3
#5: 2019-07-26 05:55:26 ЛС | профиль | цитата
Stalevar писал(а):
А не как не сделать чтобы, строка начиналась с новой строки если не влазит в окно.

Вот такой вариант рассмотри

Сервер


Add(MainForm,2953706,77,105)
{
Height=85
Caption="Чат сервер"
BorderStyle=3
Position=1
Point(doHeight)
link(onCreate,2158604:doEvent1,[])
}
Add(Button,14396616,140,126)
{
Left=3
Top=5
Width=45
TabOrder=-1
Caption="Пуск"
Point(doCaption)
link(onClick,2158604:doEvent2,[])
}
Add(ChildPanel,11995,413,133)
{
link(onEvent1,2953706:doHeight,[(453,139)(453,95)(65,95)(65,139)])
}
BEGIN_SDK
Add(EditMulti,16678023,21,21)
{
EventCount=1
WorkCount=4
Width=566
Height=389
link(doWork1,7233297:doString,[(147,27)(147,216)])
link(doWork2,6222559:doString,[(139,34)(139,258)])
link(doWork3,4708751:doTimer,[(39,41)(39,335)])
link(doWork4,2728475:doTimer,[(31,48)(31,342)])
}
Add(DoData,6157529,441,70)
{
Data=Integer(360)
link(onEventData,16227468:doEvent1,[])
}
Add(Panel,2069698,532,112)
{
Left=2
Top=30
Width=390
Height=26
BevelOuter=1
Point(doHeight)
}
Add(Label,14923232,532,161)
{
Left=22
Top=5
Width=72
Height=17
Caption="Показать чат"
}
Add(Button,12278755,189,49)
{
Left=3
Top=3
Width=18
Height=18
Font=[Webdings,8,0,0,2]
TabOrder=-1
Caption="6"
Point(doCaption)
link(onClick,3552820:doSwitch,[])
}
Add(Switch,3552820,252,49)
{
DataOn=String(5)
DataOff=String(6)
Point(onOn)
Point(onOff)
link(onOn,38848:doEvent1,[])
link(onOff,16133724:doEvent1,[])
}
Add(DoData,3129968,441,119)
{
Data=Integer(300)
link(onEventData,12490420:doEvent1,[])
}
Add(DoData,7130192,448,126)
{
Data=Integer(26)
link(onEventData,12490420:doEvent2,[])
}
Add(Hub,12490420,497,119)
{
InCount=2
OutCount=1
link(onEvent1,2069698:doHeight,[])
}
Add(Hub,38848,350,56)
{
OutCount=4
link(onEvent1,3376732:doWork2,[(377,62)(377,41)])
link(onEvent2,3129968:doData,[(406,69)(406,125)])
link(onEvent3,6157529:doData,[])
link(onEvent4,15904316:doData,[(406,83)(406,167)])
}
Add(Hub,16133724,301,63)
{
OutCount=4
link(onEvent1,3376732:doWork3,[(333,69)])
link(onEvent2,7130192:doData,[(381,76)(381,132)])
link(onEvent3,5443875:doData,[])
link(onEvent4,2410566:doData,[(381,90)(381,174)])
}
Add(HubEx,3376732,329,35)
{
Angle=2
link(onEvent,12278755:doCaption,[(177,41)(177,55)])
}
Add(DoData,5443875,448,77)
{
Data=Integer(85)
link(onEventData,16227468:doEvent2,[])
}
Add(Hub,16227468,497,70)
{
InCount=2
OutCount=1
link(onEvent1,16678023:onEvent1,[(556,76)(556,27)])
}
Add(RichEdit,7240894,532,217)
{
Left=2
Top=26
Width=384
Height=270
Color=0
Font=[MS Sans Serif,8,0,16777215,1]
ScrollBars=2
InsertCRLF=1
}
Add(DoData,15904316,441,161)
{
Data=String(Скрыть чат)
link(onEventData,10831709:doEvent1,[])
}
Add(DoData,2410566,448,168)
{
Data=String(Показать чат)
link(onEventData,10831709:doEvent2,[])
}
Add(Hub,10831709,497,161)
{
InCount=2
OutCount=1
link(onEvent1,14923232:doText,[])
}
Add(DoData,6054130,224,336)
{
Data=String(Сервер запущен\r\n;16777215;1)
link(onEventData,10219935:doEvent3,[(281,342)(281,251)])
}
Add(MT_String,3500393,448,217)
{
link(onResult,7240894:doAdd,[])
}
Add(DoData,15822577,224,364)
{
Data=String(Сервер остановлен\r\n;16777215;1)
link(onEventData,10219935:doEvent4,[(281,370)(281,258)])
}
Add(MultiStrData,2211876,224,294)
{
Count=3
link(onPart1,1546658:doString,[])
link(onPart2,15560964:doString,[])
link(onPart3,16769489:doString,[])
}
Add(Timer,2728475,42,336)
{
Interval=0
Enable=1
AutoStop=1
link(onTimer,10988581:doClose,[])
}
Add(TCP_Client,10988581,147,329)
{
Port=1234
IP="127.0.0.1"
link(onRead,2211876:doSplit,[(195,335)(195,300)])
link(onConnect,6054130:doData,[])
link(onDisconnect,15822577:doData,[(201,349)(201,370)])
}
Add(Timer,4708751,98,329)
{
Interval=0
Enable=1
AutoStop=1
link(onTimer,10988581:doOpen,[])
}
Add(Hub,10219935,413,231)
{
InCount=7
OutCount=1
link(onEvent1,3500393:doMTString,[(437,237)(437,237)])
}
Add(FormatStr,7233297,224,210)
{
DataCount=1
Mask="Подключился IP:%1 \r\n\r\n;8421504;0\r\n"
link(onFString,10219935:doEvent1,[(281,216)(281,237)])
}
Add(FormatStr,6222559,224,252)
{
DataCount=1
Mask="Отключился IP:%1 \r\n\r\n;8421504;0\r\n"
link(onFString,10219935:doEvent2,[(281,258)(281,244)])
}
Add(FormatStr,1546658,301,294)
{
DataCount=1
Mask="%1 ;65280;0\r\n"
link(onFString,10219935:doEvent5,[(370,300)(370,265)])
}
Add(FormatStr,15560964,308,301)
{
DataCount=1
Mask="%1\r\n;65535;0\r\n"
link(onFString,10219935:doEvent6,[(376,307)(376,272)])
}
Add(FormatStr,16769489,315,308)
{
DataCount=1
Mask="%1\r\n\r\n;16777215;0\r\n"
link(onFString,10219935:doEvent7,[(383,314)(383,279)])
}
END_SDK
Add(StyleXP,2663964,77,154)
{
}
Add(Edit,2314807,476,168)
{
Left=50
Top=5
Width=340
Color=-16777192
TabOrder=-1
Text="Сервер остановлен"
ReadOnly=0
}
Add(MultiElementEx,10443030,413,175)
{
link(onEvent1,2314807:doText2,[])
link(onEvent11,14396616:doCaption,[(456,188)(456,223)(128,223)(128,132)])
}
BEGIN_SDK
Add(EditMultiEx,9581862,21,21)
{
WorkCount=#8:doEvent1|9:doEvent11|
EventCount=#8:onEvent1|9:onEvent11|
link(doEvent1,7814633:doEvent1,[(45,27)(45,111)])
link(doEvent11,12811373:doEvent1,[(35,34)(35,118)])
}
Add(Host,7890437,119,49)
{
}
Add(DoData,10939507,112,112)
{
Data=String(Сервер остановлен)
link(onEventData,7826394:doEvent2,[])
}
Add(Hub,7826394,196,105)
{
InCount=2
OutCount=1
link(onEvent1,9581862:onEvent1,[(266,111)(266,27)])
}
Add(StrCat,280240,119,105)
{
Str1="Сервер работает IP: "
link(onStrCat,7826394:doEvent1,[])
link(Str2,7890437:LoacalIP,[])
}
Add(Hub,7814633,70,105)
{
link(onEvent1,280240:doStrCat,[])
link(onEvent2,8345842:doData,[(98,118)(98,160)])
}
Add(Hub,12811373,49,112)
{
link(onEvent1,10939507:doData,[])
link(onEvent2,9284430:doData,[(77,125)(77,167)])
}
Add(DoData,8345842,112,154)
{
Data=String(Стоп)
link(onEventData,13986286:doEvent1,[])
}
Add(DoData,9284430,119,161)
{
Data=String(Пуск)
link(onEventData,13986286:doEvent2,[])
}
Add(Hub,13986286,196,154)
{
InCount=2
OutCount=1
link(onEvent1,9581862:onEvent11,[(266,160)(266,34)])
}
END_SDK
Add(TCP_Server,5096279,287,126)
{
Port=1234
Point(onServerConnect)
Point(onServerDisconnect)
link(onRead,5096279:doSend,[(331,132)(331,120)(275,120)(275,146)])
link(onConnect,11995:doWork1,[])
link(onDisconnect,11995:doWork2,[])
link(onServerConnect,4932417:doEvent1,[])
link(onServerDisconnect,1474811:doEvent1,[])
}
Add(Switch,11780780,231,119)
{
Point(onOn)
Point(onOff)
link(onOn,5096279:doOpen,[])
link(onOff,5096279:doClose,[])
}
Add(Hub,2158604,196,119)
{
InCount=2
OutCount=1
link(onEvent1,11780780:doSwitch,[])
}
Add(Hub,4932417,364,147)
{
link(onEvent1,11995:doWork3,[])
link(onEvent2,10443030:doEvent1,[(390,160)(390,181)])
}
Add(Hub,1474811,329,154)
{
link(onEvent1,11995:doWork4,[])
link(onEvent2,10443030:doEvent11,[(363,167)(363,188)])
}
Клиенты


Add(MainForm,9293894,56,147)
{
Width=503
Height=333
Caption="Клиент"
Position=1
Point(onClose)
link(onCreate,14383918:doEvent1,[])
link(onClose,14902029:oClose,[(105,174)(105,139)])
}
Add(ChildPanelEx,14902029,252,126)
{
link(onFString,10988581:doSend,[(296,132)(296,167)(240,167)(240,209)])
}
BEGIN_SDK
Add(EditMultiEx,7874317,21,21)
{
WorkCount=#11:doSetFocusd|6:oClose|
EventCount=#9:onFString|
VarCount=#4:Text|
Width=545
Height=256
link(Text,11526011:Var2,[(27,259)(279,259)])
link(doSetFocusd,15998751:doEvent1,[(44,27)(44,41)])
link(oClose,1956829:doEvent1,[(37,34)(37,139)])
}
Add(Panel,3902127,504,196)
{
Width=485
Height=55
Align=2
}
Add(Label,9985438,455,196)
{
Left=8
Top=8
Width=92
Height=17
Caption="IPадрес сервера:"
}
Add(FormatStr,9329205,399,98)
{
DataCount=3
Mask="%1;%2;%3"
Point(FString)
link(onFString,7874317:onFString,[(453,104)(453,27)])
link(Str1,2309125:FormatTime,[])
link(Str2,11254333:Var2,[(412,87)(381,87)(381,176)(279,176)])
link(Str3,12425388:Text,[(419,79)(373,79)(373,136)(328,136)])
}
Add(Edit,12425388,322,91)
{
Left=7
Top=30
Width=470
Text=""
Point(doSetFocus)
link(onEnter,9329205:doString,[])
}
Add(Label,3516053,406,196)
{
Left=223
Top=8
Width=51
Height=17
Caption="Моё имя:"
}
Add(Edit,14681806,273,119)
{
Left=275
Top=5
Width=200
Text="Клиент"
}
Add(Time,2309125,399,35)
{
Format="h:m:s"
Point(DateTime)
Point(Minute)
}
Add(Edit,312182,273,189)
{
Left=100
Top=5
Width=115
Text="127.0.0.1"
}
Add(Ini,2569009,133,126)
{
FileName="settings.ini"
Section="SET"
Key="NAME"
Type=1
link(onResult,3919034:doCompare,[])
link(Value,11254333:Var1,[(160,114)(186,114)(186,166)])
}
Add(Ini,7139093,133,196)
{
FileName="settings.ini"
Section="SET"
Key="IP"
Type=1
link(onResult,6591441:doCompare,[])
link(Value,11526011:Var1,[(160,184)(186,184)(186,236)])
}
Add(GetDataEx,11526011,273,231)
{
link(Data,312182:Text,[])
}
Add(GetDataEx,11254333,273,161)
{
link(Data,14681806:Text,[])
}
Add(Hub,1956829,56,133)
{
link(onEvent1,2569009:doWrite,[])
link(onEvent2,7139093:doWrite,[(102,146)(102,209)])
}
Add(Hub,15998751,56,35)
{
OutCount=3
link(onEvent1,12425388:doSetFocus,[(192,41)(192,111)])
link(onEvent2,2569009:doRead,[(119,48)(119,132)])
link(onEvent3,7139093:doRead,[(110,55)(110,202)])
}
Add(If_else,3919034,196,126)
{
Type=5
Op2=String()
link(onTrue,14681806:doText2,[])
}
Add(If_else,6591441,196,196)
{
Type=5
Op2=String()
link(onTrue,312182:doText2,[])
}
END_SDK
Add(Hub,14383918,119,161)
{
link(onEvent1,14902029:doSetFocusd,[(193,167)(193,132)])
link(onEvent2,4791050:doEvent1,[(147,174)(147,195)])
}
Add(RichEdit,7240894,623,175)
{
Left=2
Top=56
Width=479
Height=235
Align=5
Color=0
Font=[MS Sans Serif,8,0,16777215,1]
ScrollBars=2
ReadOnly=0
HideFrames=0
InsertCRLF=1
}
Add(MT_String,3500393,567,175)
{
link(onResult,7240894:doAdd,[])
}
Add(Hub,10219935,532,189)
{
InCount=5
OutCount=1
link(onEvent1,3500393:doMTString,[])
}
Add(FormatStr,16769489,462,203)
{
DataCount=1
Mask="%1\r\n\r\n;16777215;0\r\n"
link(onFString,10219935:doEvent3,[])
}
Add(FormatStr,15560964,455,196)
{
DataCount=1
Mask="%1\r\n;65535;0\r\n"
link(onFString,10219935:doEvent2,[])
}
Add(FormatStr,1546658,448,189)
{
DataCount=1
Mask="%1 ;65280;0\r\n"
link(onFString,10219935:doEvent1,[])
}
Add(Timer,14726200,196,189)
{
Interval=3000
Enable=1
link(onTimer,10988581:doOpen,[])
}
Add(TCP_Client,10988581,252,189)
{
Port=1234
link(onRead,2211876:doSplit,[])
link(onConnect,4982559:doEvent1,[])
link(onDisconnect,2019004:doEvent1,[])
link(IP,14902029:Text,[])
}
Add(MultiStrData,2211876,392,189)
{
Count=3
link(onPart1,1546658:doString,[])
link(onPart2,15560964:doString,[])
link(onPart3,16769489:doString,[])
}
Add(StyleXP,11529189,56,105)
{
}
Add(Hub,4982559,336,196)
{
link(onEvent1,14726200:doStop,[(365,202)(365,237)(186,237)(186,202)])
link(onEvent2,6054130:doData,[(375,209)(375,244)])
}
Add(DoData,6054130,455,238)
{
Data=String(Соединение с сервером установлено\r\n;16777215;1)
link(onEventData,10219935:doEvent4,[(509,244)(509,216)])
}
Add(Hub,2019004,301,203)
{
link(onEvent1,4791050:doEvent2,[(324,209)(324,247)(146,247)(146,202)])
link(onEvent2,9121578:doData,[(335,216)(335,279)])
}
Add(DoData,9121578,455,273)
{
Data=String(Соединение с сервером потеряно\r\n;16777215;1)
link(onEventData,10219935:doEvent5,[(518,279)(518,223)])
}
Add(Hub,4791050,161,189)
{
InCount=2
OutCount=1
link(onEvent1,14726200:doTimer,[])
}
карма: 1

0
Ответов: 128
Рейтинг: 14
#6: 2019-07-30 14:47:53 ЛС | профиль | цитата
fox-video Благодарю, буду разбираться.
карма: 0

0
Ответов: 128
Рейтинг: 14
#7: 2019-07-30 19:14:07 ЛС | профиль | цитата
fox-video
А куда PlaySound?что бы звук был когда только сообщение приходит, а то отправляю со звуком.

Add(MainForm,7975316,189,168)
{
Width=577
Height=306
Caption="Чат сервер"
BorderStyle=3
Position=1
Point(doHeight)
link(onCreate,780897:doEvent1,[])
}
Add(StyleXP,2663964,189,231)
{
}
Add(ChildPanel,4089822,448,189)
{
}
BEGIN_SDK
Add(EditMulti,15805960,14,7)
{
WorkCount=5
Width=867
Height=767
link(doWork1,4346026:doString,[(168,13)(168,34)])
link(doWork2,7550260:doString,[(167,20)(167,76)])
link(doWork3,6972496:doTimer,[(39,27)(39,153)])
link(doWork4,1153509:doTimer,[(31,34)(31,160)])
link(doWork5,11709480:doSetFocus,[(26,41)(26,337)(206,337)(206,412)])
}
Add(Panel,8279888,847,742)
{
Left=-2
Width=574
Height=282
BevelOuter=1
}
Add(DoData,1221341,343,154)
{
Data=String(Сервер запущен\r\n;16777215;1)
link(onEventData,14377881:doEvent3,[(400,160)(400,69)])
}
Add(MT_String,12262993,567,35)
{
link(onResult,7169294:doAdd,[])
}
Add(DoData,5595161,343,196)
{
Data=String(Сервер остановлен\r\n;16777215;1)
link(onEventData,14377881:doEvent4,[(400,202)(400,76)])
}
Add(MultiStrData,11269013,343,112)
{
Count=3
link(onPart1,9817065:doString,[])
link(onPart2,13331848:doString,[])
link(onPart3,15554055:doString,[])
}
Add(Timer,1153509,42,154)
{
Interval=0
Enable=1
AutoStop=1
link(onTimer,3883500:doClose,[])
}
Add(TCP_Client,3883500,147,147)
{
Port=1234
IP="127.0.0.1"
link(onRead,8870328:doEvent1,[(205,153)(205,111)])
link(onConnect,1221341:doData,[])
link(onDisconnect,5595161:doData,[(201,167)(201,202)])
}
Add(Timer,6972496,84,147)
{
Interval=0
Enable=1
AutoStop=1
link(onTimer,3883500:doOpen,[])
}
Add(Hub,14377881,532,49)
{
InCount=7
OutCount=1
link(onEvent1,12262993:doMTString,[])
}
Add(FormatStr,4346026,343,28)
{
DataCount=1
Mask="Подключился IP:%1 \r\n\r\n;8421504;0\r\n"
link(onFString,14377881:doEvent1,[(400,34)(400,55)])
}
Add(FormatStr,7550260,343,70)
{
DataCount=1
Mask="Отключился IP:%1 \r\n\r\n;8421504;0\r\n"
link(onFString,14377881:doEvent2,[(400,76)(400,62)])
}
Add(FormatStr,9817065,420,112)
{
DataCount=1
Mask="%1 ;65280;0\r\n"
link(onFString,14377881:doEvent5,[(489,118)(489,83)])
}
Add(FormatStr,13331848,427,119)
{
DataCount=1
Mask="%1\r\n;65535;0\r\n"
link(onFString,14377881:doEvent6,[(495,125)(495,90)])
}
Add(FormatStr,15554055,434,126)
{
DataCount=1
Mask="%1\r\n\r\n;16777215;0\r\n"
link(onFString,14377881:doEvent7,[(502,132)(502,97)])
}
Add(RichEdit,7169294,623,35)
{
Left=3
Top=27
Width=568
Height=226
Color=0
Font=[MS Sans Serif,8,0,16777215,1]
ScrollBars=2
InsertCRLF=1
}
Add(Label,16274605,518,497)
{
Left=8
Top=8
Width=92
Height=17
Caption="IPадрес сервера:"
}
Add(FormatStr,6035676,462,399)
{
DataCount=3
Mask="%1;%2;%3"
Point(FString)
link(onFString,3883500:doSend,[(506,405)(506,286)(135,286)(135,167)])
link(Str1,15140700:FormatTime,[])
link(Str2,4118167:Text,[(475,388)(395,388)(395,477)(293,477)])
link(Str3,11709480:Text,[(482,380)(387,380)(387,437)(342,437)])
}
Add(Edit,11709480,336,392)
{
Left=3
Top=259
Width=568
Align=4
Text=""
Point(doSetFocus)
link(onEnter,1632559:doCompare,[])
}
Add(Label,10605722,469,497)
{
Left=313
Top=8
Width=51
Height=17
Caption="Моё имя:"
}
Add(Edit,4118167,287,420)
{
Left=370
Top=5
Width=200
Text="Клиент1"
}
Add(Time,15140700,462,336)
{
Format="h:m:s"
Point(DateTime)
Point(Minute)
}
Add(If_else,1632559,406,399)
{
Type=5
Op2=String()
link(onTrue,6035676:doString,[])
}
Add(PlaySound,93377,273,105)
{
Sound=[ZIP0C27000078DAA57A877B5BD795A7B229E36CB23B99196F12B7C476ECD89FBB2DD9B255287612047BEF0048F4DEFB6BE8BDF70E02204880600349B1882A96A22ECB911DCFCCE7EC8CB3CECCB77FC6DE0792926C27B3BBDF3C8AD4C3BBE79E73EE39F79CDFB938AF9FD0DAFA83578E1D1B69186EA1F3A4CFFFECD8B163DF033F2F0E1FABFD7EEFD813C7A81429E5ABDF1E3B861E5EC8A3EB1B4F9452ADD6A8355AAC460C86342A950646753ABD5E8713D488600486610403177806E3F7C8E1F44316285C234530F8E021B8307C1C90AAD46A2D0C617A931E031CF1C91084C0188AE87428E087C1080AC13060A05629B51066B05B6030A0D668311483D430A28551BD115C7A14D268345A04F0072360B6C1A837EA751884A8C1630846313D6600FC6AB23104A702FA0021088AAF0A4855033908A4C300A10EBF0C6091B51F0C51ABB42A8D0A17A6D16A21143598CC368BD56232990D26ABCD6AB7E8557C26796C94C456197DB14434E034C06A2D6AB0F8A2997C39AB209E6B6D383BA04E2C96E7932EE5EC24892E86ED91B9B96C2E5728165CA4D6531FBDF1C1B02EBF75697F3D201C2034779114EE42756BA3944D45122179DFA953278F37D2BD950B9777F23A720FA16342E498AF6E6D96E7A27E9F8D33D8DEDA50D7C777CE2DAF2DC521CA6057FF8CCA3D5F3DBF554A85FC7E27B7A7AEA9B58E28089456D7CA1115A9B77F840505163737361613418F4B35D2451C6A23528DE1783A1D36F2495314B6CA992C2DAF9512216FD82DE83FDB4868EF13F817968A19978C323C3E233546E657D72B99A83FE087491DF5C4D64E8A3E5E2C6483286B726256ACF7E5D63696B3C16028848C369EEB6C25CE9832A5F94C10E38C8D53843A305C2D672291484035DC524F68EAA65B520B85AC1F658F4F50C486406173AB3C178B86DCACB6D30D84A61159B8B8944FB9A4E4A1F119B935B1BCB7514A87C311E350DD1942531B4597282DE56226FEE4C82403F1E437762AB96424E4E5B59D69EA681A92050B9562D2AD200F8F53A4F658797763311D8FC6F4FDA74FB636B4D3ADB96A753EA6670DF68DD0117F61EF62B5108F78CDD30D1FB512DBA6E07871B998F148A787C748124B0C48AEE4D2013BBFE3D499F69611A937B75CCA0661D6D8248987790B9B6B4BF96CCCAD1D6D38D3DEDACDB62416805E46D1F40489A571A456D62AF373F18099D2FC511BA18382C60A4BF329877C76629A26378716ABCBC56C36EAA013CEB4100993EAE05CB190F669585364BA0803065B2AE6F2490FBFBBAE8148189105B205604E88334DA2726157667569319F4BF8D4C32D0DC48E41BE2D999B4F87F482193295ABB5C7CB4BB94C2AE5D7D1BA9A893DBD54349C9DCB446D321A894A979BC3857221974A861D928176426FD784CC95CC64133E884399610A304FBA5CCCA4A2210742E9250E0C8DF2F4C1442AEE334818B374AEDA1ECDE1A341AF453ED1D33F3A3C2DB38663B1B00BE133181CA9DE17CFCFC5C301B745CF1B1F1C9F9C6443CE4024EC3529394CB6406D0DA40BA988DF6B33C0ACC931329922441DBE80CFA557F0B83C31E40CA632C0894E9B09664E4CCE5066C498C3EBF33A31198F2F94A1CE502A15041F8D88864D26D3A80C196A75BBDD365426128A9506773011F3B9ED669063444C0687C5126B74169BC382A9657285D6E4F447824EBBC5A2D321222693C3624A60A3D56637A12AB94209999DDE90DF69B318514CA7E4F2043CA6400982DE66D66BD51A356C72BA7C1EABD96840501326118A854CB64483E82D161386E72ABDD5E1759AF09484988C2A9944CC66F1E55AD46C050914241E9DD9EAB49BF1B482E82C06582317B1585C890231D96C56B341AF3719CD66907BC0B8CE64441148296471F9423964B03A1C56ABD964341841D682C13FBD19E80F2BF94C365B28C39576B9EC16238681340A811C871AAC26BD0E5670C0FA79329D23100CF81C661452ABD51A905FF546B3D5884FA7CED2B8728327928C879C7AB55C2A57C13A8BD9A4D763904629E3F3F822056CF584427E971956CAE54A2D06B21FC8AD5A955C26E20BA42AD4ECF2F93D0E13A2512A551ACC880FEA108D4A29130BC572D86075013F9931AD52A9D62220771A401AD6807C2E9748E42AC460757ADC0E233E59ADC50C2693012C4FAB516B940A99428DE8CD76971D584E0B9002823183C1A0C717A805EC954A0D0CA4D9AC60D13048CC1048F2207F6308F002A4D56AB41A08D1198D2613301884831472083CC0769016870504D31B8C4603EE0B1CB40E610B873408C00918D6E1E33848D46603120CADE1191887211C40F40008B103107C0C3621FC821F1BAE717F380EA6D794D1E1DA1E61E49164700F1F80285643C0031C3E1A3EB8470E60EC00427130C36ACBAAF13D787288E3477FD16F823CB8D161BAC359471681F0CD8BA3387AA4007AF001C26D0B23DF6681D5AE836735F0C78E40BDC60AA7C0B7718D35FE111F06508B43288C1E0A7AFCFAE6A7FFDFEB5B15CCFF8533FAAD0FE87F488B7EE31E45BE53293DFAF090023D62765008210FFD76C8063DE2F6B8DE0FA73F1A7EB82B1F9781227F61CAD1BCEFD2A28FD774E837F5FED6FCC705A2DF50F2316D1E72461F2EFA912EE8638B78EC0639B2CAC36D8C3CAECFE321803C0CC5A329DF3013FA4DC3C08F441C05C7E3BA3C468C1CD9E648F947FF210F8B59143DA80D1F3A0F7DB4A6879BE1A11B1FB9E3F119089EE711F8712BE3917D345307D794461F5A01D0A3B567D8811C183BD4F7A1991FA9713086E1D1F5D07147E487378772B043AD71BEC86190E3B90B9F8A2732705753E3280E1F9A18466B1447B6AD7DA83D46B0C37A1F27C10ECC541388D592227620AEF6178CC2D82173F4406304AFFFF172BE260424375487EA10EC4055EC405F90D821BC5C47F0DC09B287FE20A7A03A831ECFFC28A4524AA512A94C0DEB4D36BBD36635EA11480DC017608C031171391C8E580B90DCAA476AA5BAC16831193080CD56AFDF8F09A9341A8DABB6B8BD6E3B403E995CA6D0008430DB002B97D3ED769AC433241A952ED23B7D3E9FDBA455C8A462895C8D1A2D4E8FD7EB75BB6C76B3923C45A5CF7261BB37E0F7D8756A85442C144955B0D1E60B86033EB7CD6CB3C2B353333432436EF680476E2B2C1372D92C811CB6B8C2F178D00B8E07A8C96511CED0E964B258EF0AC4426E13A216B2680C8E58A5738612A944D46BC5C00A6C5E2D85CCA44FB3114F281AF55B619584334BA573452A833B064E10A06ED301E0347911D2048335C5C042C9643C6887650236953C43E388217B24575C2C66821644A9808376327182353AAE8CE48BF3693F26E7D26749D3E419960876A71757D657E74356AD4AEBF052CF76CE0E77B3422BABD5E5AC55343B3A303C4D610994883594CD97562A7341ABC9E08AD1DF393BD1D332E35DDABEB0B118D232C73B3A86C6A7E912C4169E2B94D6960B312F381F45ED675E270CD475418B5BFB57D6E7ACA2E9FED6E69E2112436E09E6CBE5CDF3A54CC463B347824D2F9F269E6A11CCED5DBB7DA1EC95CE74353734F78C52858660716D7D676F1DB0733923DE73CF9D683E5E2F9CBB7CF7C1C7AB01D914A1EE444BDF04556C09E4CB958DDD6A291B09FAE2A1CE5FBC76EEADE394D8DE9D3FDCDE4EA3B31D274FD637F693A48670796B73F7E24E251B8F4612B217FFE19D775F6A50ADDEFAE29F6E6DF925A3F56FBEFF61F3101DF1CC6FEC5DB878616B31934A641C677EFAFCBBBF7A8D94B8FAC5FFFCFC7745DD6CEB5BAFBF739238A57015B62E5EBE726967259FCA153C4D3F79EA8D5FFE7AC8BFFFF9D77FBCBD6AA1B7BDF3C66B27DBA7C5D6FCC6FEE58F3FDE5F5FC82D2E3A3EFCC9332FFDDD33C381BDCFFFFCAFF7D6ECACD6D75F79F5FD7692D25302F6B97479B75A5EAC2C416FFCF857CFFCF40552ECCA177FFAEA5E594F6A79F7372F9FEC9E918757F6AF5DBF717D6F7DA9B214E8FCDB279FFB6F3F6BC42A77FFE5CF5F5E8948FA4EBEF2CC6BA747B8B6F285EBB76FDFBA582D552A59DE4BFFFDB9BFFFF1CBCCE4A57FFCFA7F3DA8E869F5AF3FFBEC3BCD647572E7FADDFBF76F5E582D2F2F194FFFE4E9279FF85B8265FDFED7FFFBAB2B0161F7BBCFFFFCD5D3437CF7CAC7773FFDFD2757372AEBABFEAEBFFFC52F9FF89BF7E585DFFDF1DFFFED9339EDE4E9577FFEE2F14E9A2EBF77FBFE830737773736AAF1995F3EF9D413DF7F991EDEFBE2DFFEFD9F574DF4C6377EFEABB75A29507AF3E627F71FDCB9B4B1B59566BEF03F9E7AE2BFFC6ADAB3F1E9D77FFE72D3CE26BCF7CB5FBDD532A58A6FDCB87BFFB33B977776AA69C6F34F3FFD37DF7B61CAB57EEF4F5FFF71C3CEEE3AFEEC8BEFB64CAAA3AB57813C40B4773ECB78F1D7CFFDE8D80B1396CAEDAFFEF4E5969BDB7BE29917DE699BD426B76E7CF2E983BB9776B7577C83CFFFE6A91FFEF05D8667EDEEBF7CF579C5CAEC3DFED24BC709D3DAF0FAB5BB9F7E76E7CAEE6E3530F8EB579FF9C1F7DF9E75546EFEF15F3F5F76707A4FBCF8DB931D6428BE71EDD627BFBF7D69F742C5D9FDC2AB4F7DFF898F98EEE5DB5F7E796FD1C2EA39FEFA9BA7BA6791F0F2E5AB773EB97D71776FD3477CF9ED67BFFFC487345BE9C6175FDE5DB072FB4FBCFE767DEF2C1A5BDBBF72EBDE8DFD0B7B6B4EE2AB80E8276718B6D2F53FFCE3CD8295D7FFE17B1F34F4D3D1C0E2F6C5EBB7AF5FDADFDF0AF6BE79E2F91FFCF8245997DDBFFFF9AD92573AD5F0C1C9C65EB2DA53DCD8BD76EBE6952B5736FD03C74FBEF8C3FF7A625415DEBAFDF9DDB5988EDE5EF7615DDBA8C09058D9B97EFF931BD77EB717193C7EEAE51FFDE8AD0191AB72E3C1BDCD9C5DD05B7FFA4C731F1B8BAFECDD7AF0E0F6F5CBEBAEAE8F4EBFF4E37FF86048E42C5DBE7BBD9A734987DAEBEA9A7B18DA5079E7E6679FDDB975A5EAEA3B73F6959F3EF9C100CF9CDFB979AD5AF0A926888D8DCD3D544D70E1FC8D077FB877EBE2B2ADB7AEEED59F3D7B66886BCA6E5EBDB456086848BDAD4D2D3DB30AEFFCE6B54F3FBB77F3D29A7BA4BEF1CD279FFEA89F85C5572F5D5A2F4650DA405B736B1759E6C96F5EBBFFD9FD5BFBABCEE186E6B77FFEDCE9012612A9EC83188AE999A39DCDCD5DD302736AE5CA9D07F76E5E399F6434B59D7AF617EF10C972677EFBE2C652D6299AEA696B691FE51A6295FD3B0F7E7FEB7235C56B69AD7BE9D9F788D3526B7A7DAFBA94F3292803C496B62186C637BFFDBB4FEEDFB9B6B364E86B697BEBE9571A06D9706071676B65216EE08E77B7B77691C4D6D4DA95DBF7EF5FDF5D0D515A88679F7FE174EF8CDC965EDF5A2E65DD32EA48675BC72843E3C99FBF7AE7DEAD2BDB15D34007F1BD675EADEF070F0B9BD5CA62D224240F74B6774F0B8CB1A50B371EDCBDB65B8D3288DD8D2FFFE6A3AE69A1215A592F97737E0D7BAA97481CA4CA6CE9B5CBB73EBD796567C5334DEC3EF3E26FCFF49025D6E4CAEA5229EB54D2C7FB3ABBC6D81A6F6E1308BCBEBBB908F7F7741F7FF1DDE66186DA995B299516622609A0EAEA9FE623FEC2D6B53B77AEED6DE4647DBDC4B77F73A27D940579F24BA5D27CD820A64DF4770F51045860FEFCB5BB201CAA495E4F1FE18DDF9EEC9CE0C2BE7C696121E7C7C48CA9C1FED159910EF0FAF8D68D4BBB6B31DEE020E1CD574E758DB321DFDCFC7C71CE874958D3C3C3133491DE37B77EF1C6CDCBDBEB09DED010E1CD57CFE054DE6CA150CCF874722E657C74922E445CE9E5BD6BD741DA4BC9C7873ADF7BED54C718436D4FCCE5F29980512DA44D8D4DE154A9CAEEB56B17CFAFA76463235DC7DF3C431C63AA6CB16C2E970E9AB542FAD4384EE54C56763E06546B69F9C468F7F1B7CE007F28CC91ECDC5C266483458CE9C9699A08502DEF5EBD7A71AB12124D8C10DF7FAFBE7B1C6051349DCE66425648CC244D919862D49559DDBDF4F185EA82873739DAFEFE072DBD132CB9259C4C66D361BB560C78915852BD3FBF71F1CAC717567306EAF860E389531D4314AEC6198DA7B2C9804923A44E4FCF7295A6F0E2F90B972F6D2FC59494F1DEB3271A7054433D91783A1DF3E854BC5912992E841C89CAEEC5CBFBD5A24730354C3CF5414BFF145B6EF4C792A978C08EC9D9D49959B61473A757B6F72E5E589B33B2A7879B3F38D33140E2AA6DA1782A19038610B366C8349ED2E82F54772E5EDEAEC4B5D4A9BEBAF71BBA46A84218941FA944C863D20818342A53A8B18417AADBFB17B71603D2D989EED31FB6F44E32C498371A4FC4422EBD92CFA4D1D812C41E5FDAD8BEB4BF9E77F028636D1F9E210C92995273201C0354769D82CFA0D13832D491AC54772FEFADCD19D89491C693E788C3336CA52D108E2713410B2AE7D166685C19EACEAD6DEE5FDD5B4E42F4E9FEBA0F1BBBC666391A6730144FC6FD808A4BA332002FEFDCCAE6858F2F94631003507DD4DC3331CBD538FCA1682CE2B722723E93CEE4CB75DEDCCAC6FE95EDC5908236D57DFA745BDF34036C137F281C024B84150236832D52809D5AA9EE5FDD59F048195304A0FCC03443A4F7F8C3D148D86DD04A794C3A5BA834848ACB40AFF3F36E296DAAE3C3B38481298648E7F647228097512BE573591C91DA18CC97D6762F6F16DC520699F8511DB17F8A29D6B903A14838E0326A247C0E9B23D698C285A5EA858B1B0587884E6A3F79B66390C49018BDC1703814741A34121E9BC5936ACCB185F2FADEA5EA9C4D489B6E3F79AE7B648A2E35BA7CA14834E43042521E9BCD15AB4C9142A9BA7F6523E71433486D27EB3B87A6E812A3DB8F7FCB663740623693C911AB2DF18525505FACCFB9C4D4898E8FEA3A87C6A912BDCB0F6C1F769A102997C5620B54A610D07EE76235EF5330667ACFD6770D8C520490D503AACD88C78A4AD94C0628F04CE1FCD2DAF685F3F37E25833C50079C3D4AE28332341C4BC6BCB81F594C36B0BD3FBB50D9DADB2C46510E75BCA58E30303CC9561841259B4DFAEC2635974E67B2A5A83B5D5A397F61A79234F3662708679A7A86C6E9529D33104967422E33FECD1C832D545B63F3E58DBD9D959C574A27F7D537760E8ECE08B416A05826EAB5EB645CA0184F6E08CD95D6B677D70B612D7366B4A5BE636094CCA9894CC7BC0EA3125031B912C49B2EAE6CED9E5F4CDA8594C9EE738D5D83E37411E6F047D2E93010296633F01ADB12C92FAC6DEF2C65821A0665A4B9B1736098CC5599DC415CA4432FC799F115BA40A6B8B2B9B751885A789449625D6BEFE024530AEAF54822197218B4220E93095C698F03CDCE9FAF64FC6A0679B8A99ED83F42E169AC9E603213F5D8740AE070AE50AEF325F395EAF67A31611550A7BBCEB5F40C4E3224E0A4114D25024E1324E2B0D83C89C616CDCEAF6C6D96B321944D1E2534107A87491C85C9134EA4A37E9004B8F87E5560BE4CA1BCB6B55648B8A454CA507373F7C0D82C5F6BF34652C099167C994CAE586D0ECF2D2C550116464D3C0AA9AFA9AD6708EC6B608D583A81EF58218BC1E6CB206722B7B052AD2EA40228736692D848EC1D2281C4E306368B051C988CC3A0819DA1F7658BE5EAE66A36E256CC90C608AD402695AB32BB83C954D467C5E43C260838A50E275BDF5CC9C56DC259F2604B6BF7E0245D00DBFCB15422EC364362DC6840B5606661B9BAB1928F9AB833D3BD0D6DDD8335D57C40B5A0CB8248781CAE40AA36FB93603F562BF9B8914B277536B48315001738FC519030EC6658CAE7F1C572AD3594C895AB1BA5B908C2A64DB43711BA87C96CA5C9154A24233EBB5125E271F86205E649E416D7B737165256117D8A58DFD2D93F51DB8F073201330E2053197CC9B9D2CADACA7CC22666CC0E34B576F501E342361F489E11AF159570D9804C0DDCBEB0B6737E31E553D3A6075B9A887D635481C6EC0EC50195C3A016819C219021AE447E09777BD22DA192FA9B5A3AFBC669421076916432ECB5EB95420E9B2792EBBDA9F9CAC6169069E4D3A63A1B6BE690E29EC213B60D95F1C0EE102A2DA16C717D6BAB920BC1EC9991B64642F7100802832B9848C5822E3304ACC6E18935B67066B17A7EA394F7A9983303CD8D841E7C479A3DE1642AE6731A35622E1B18177146724BD5CD6A39E39432C9BD8DCD849EB1590164F347C126028107322890A9300640486D6EADCD47F502DA38A1BEB56B609229D33B03F13450CD8AD4521588E270A654DD3E5FC905346CCA2090D93D4CE1AAC109389E8AF99D66081897CB1769EDE13420DBACE4BC4A36A5B7A1A9BD6B84C2D75ABDC01C119FC3A816F3B83C0100B9C85C6563B3BA98B2CB18535D0DCD84DE31AA18B1FB62C944189CBA95221EFEA5B8CE139D5B5AAFAE2DA66D5226A5A7B1A5A317AC00B678A3894418F840859309E4465FACB0B2B9BD568C1984B491D6FA968EFE49A6DC0052472A1E745B118510E7A6B6F8E3F36B5B9BCBF3518C4F1D6E696CED189862E1C68D03FC05A778B990C7178854E6403CBFBC510564A88031D6DAD406608021D33B82000F831E1BA210090099C61A88CEAF6EADAF148290803AD0D4D84A1C98668314134E24A301E02A9990CF1788B500B8E7D7CE57970A3E357FB6B7B1A9953808E0DCEC052926EA7799B4729140289440B640A25059AF96733E884F1F686969EB1CC2BB8DEE703C1E0980A85248843899D58FEFB66A39EF8584F4FEE6E6B64E5CA8D1F3884C2C1249617B2096AB6C8173B24B239CED6CAA71E3692DBE483C1EF6038C52484442A10CB507A2F9D5CDB552C6018928C4E6D636A01B2003BAC523476422851EECBEE2EAC6CA7CCCACE24D76B4B677F48CCC88102B808C6808EC70AD52261681A87205E2C595F5E57CC4A2E64D74B41108DD233362F8884CA7554AC52289C6E40A6416D7D6967341BD923DD4DED6DED13B4E97EBECFE480CEF24A11AA55422962100B6B28B2B2BA5AC0755B00608840E10CA4CB91E9045C37EB719512BF06F6E3007D820A5D59562CA89C8A9BD80ACAB7F92A334386ADC5C265403C8806A766F3C5F595B9A8F83E26FAA1B271BA2F071552291A0CF6140D44A9954069B9DFEE4FCF2F2622E68D2F046BA89840E50C589610054D148C063D3432AB954AAC4ACEE70AEB4B2B4907661F2D9FE4E423BB17F927DA05A087814D52AE55299D6E8F0C50BCBCBA542D80C09C77A880442D730403DB32B0898796D0644A394C9F0D64A305DAC94E6331E839A39DCD3D541EC1B6748109074C341BFDBAA83350AB9426BB0E381B0BC988FDA31C9646F77473B7100E099C119888205D80D88562193A9318B33945EA894E7D31EA38631D4DBD581DB560C83948533B3E811C04C09016B4473A5CA423E62D749A6067A8980D9344781D9FCE130B08609839472B91A353B83A9E2520954F2668835D6DF85FB7356A835BA429150C063AD315368F556A059B952CAC75D062979A897D8D6D137C992A1361F2887405AD0C12AB95C859A1C8154B15C5EC8066C307B7CB09BD0DE093CA0D23BF1AA09141418309A4283595CE1EC62B9349FF09895D431708E02F14E154146B08030083D235A5B80DEEA8DE517CB8BB988532F228FF410DA814CA60CB5020F44022EAB1E02A655C2067B30B5B00464061D106B72B0AB0DDFDE5CA5DE198A46C1F636631AB954AE468CAEC85C0990A5FC16396DA28FD0DAD6353223D098BC11BC1A759810BC65A6462D600B952BE542DC6B10CD8C76B7B5B4758FD1C4206EA320F40004C160DFCA3598D59F2C9697CAF9A81BE191873A5B5BDA7BC79952D4118A25703203A4A891D902A90560B5B9A80BE29007892D4D0764AE100E417E501F2A2412B03BAC81D43C4E1673413C0A4ED6D6031C8A01D84BA7E3411728822562A91236FB928552A5944BB861C1CC604773534BD72855843A43C96C2619F19811151E2C5AA3279E5B5C2A15921E544C1D2636373683B30C1F06669ACB651201BB4E2305C943A57346D245E084B4CF206780737843635BDF1407E4BB54A1389F8D7A4C10C85922196CF5250A8B25605E8B8A35DED57CEE5C73D7185389E33E989C0AD810904F7922E0E348B6B8B838177140BCA9DED673758D1DC33499116481CA72291775E9F1242E00D1E74BCC81D365CCAD13CF0C7534D537B60FCC88304FB25859A9CC03E7405201972756E91CC144369789FB4C0AD6445F7B7333A17F9AABB147726510B97311975E2DE1F38452ADD1198C811393DF0A09A963BD1D0462DF044366F0260B65DC027E2BAA140B8462056C72F8C391B01FA02177666CA0A76770822A846CC1546161A19089B871138BC4521562B4BB7D7E2F5EB97366274787472767B90A9D3394CA15F21950441920E07F09D84E7A8BDDE9B283CD25E1D0C85353242A5BA2C5EB9474261D07680AF626C80E78DFD364B159CD7A4425E13169B3B3F82105B5B801C62462613C084140C8E44A0DAC339ACD660388498980C362B2384219883977200C4E2E3E97154F23200C551A18D31B8D063DAA55C944021CEDA42ABC31EB0D04023EB7DD04F28852A150AAB430AAD31BF43A14020954221289654AFC3D1687CBE371BBEC160306E38D5B955A8B3737F11E35A45129E43299026FC51ACC56BBC361B79AF17EAB568DF799F1176FF0C620026BF1894A95468B004DCC16ABD56236EA6BCF35B51774908306C06167B6F6C68ECE60349A70AD7507ED496DAD8F78D8A7A875190FFA8A3AA0B241AF3FE8351E3D7EEC1DA6838E28DE8BC0DFEB396CB9C2479DD26FBDFE74D4CDC40E1BAF87B31F75501FEF9FFDD537A7FEE2F59F2643FE1AE1FF1BB7BFCEEE2FF452FF0336DFEA9BA28F5ACCC8773ABA87ADB347CDB9470DC9EF3664D1EF3CF8CFF5840FAEFF03097F659F]
}
Add(Hub,8870328,231,105)
{
link(onEvent1,93377:doPlay,[])
link(onEvent2,11269013:doSplit,[])
}
END_SDK
Add(TCP_Server,5714549,322,182)
{
Port=1234
Point(onServerConnect)
Point(onServerDisconnect)
link(onRead,5714549:doSend,[(368,188)(368,165)(310,165)(310,202)])
link(onConnect,4089822:doWork1,[])
link(onDisconnect,4089822:doWork2,[])
link(onServerConnect,4089822:doWork3,[])
link(onServerDisconnect,4089822:doWork4,[])
}
Add(Hub,780897,252,182)
{
OutCount=3
link(onEvent1,5714549:doOpen,[])
link(onEvent2,4089822:doWork5,[(289,195)(289,223)])
}

карма: 0

0
Ответов: 79
Рейтинг: 3
#8: 2019-07-31 05:41:36 ЛС | профиль | цитата
Вот так можно
Костыль


Add(MainForm,7975316,140,91)
{
Width=577
Height=306
Caption="Чат сервер"
BorderStyle=3
Position=1
Point(doHeight)
link(onCreate,780897:doEvent1,[])
}
Add(StyleXP,2663964,140,154)
{
}
Add(ChildPanel,4089822,399,112)
{
}
BEGIN_SDK
Add(EditMulti,15805960,14,7)
{
WorkCount=5
Width=867
Height=767
link(doWork1,4346026:doString,[(168,13)(168,34)])
link(doWork2,7550260:doString,[(158,20)(158,76)])
link(doWork3,6972496:doTimer,[(39,27)(39,153)])
link(doWork4,1153509:doTimer,[(31,34)(31,160)])
link(doWork5,11709480:doSetFocus,[(26,41)(26,337)(206,337)(206,412)])
}
Add(Panel,8279888,847,742)
{
Left=-2
Width=574
Height=282
BevelOuter=1
}
Add(DoData,1221341,462,154)
{
Data=String(Сервер запущен\r\n;16777215;1)
link(onEventData,14377881:doEvent3,[(519,160)(519,69)])
}
Add(MT_String,12262993,686,35)
{
link(onResult,7169294:doAdd,[])
}
Add(DoData,5595161,462,196)
{
Data=String(Сервер остановлен\r\n;16777215;1)
link(onEventData,14377881:doEvent4,[(519,202)(519,76)])
}
Add(MultiStrData,11269013,462,112)
{
Count=3
link(onPart1,9817065:doString,[])
link(onPart2,13331848:doString,[])
link(onPart3,15554055:doString,[])
}
Add(Timer,1153509,42,154)
{
Interval=0
Enable=1
AutoStop=1
link(onTimer,3883500:doClose,[])
}
Add(TCP_Client,3883500,147,147)
{
Port=1234
IP="127.0.0.1"
link(onRead,8870328:doEvent1,[(205,153)(205,118)])
link(onConnect,1221341:doData,[])
link(onDisconnect,5595161:doData,[(201,167)(201,202)])
}
Add(Timer,6972496,84,147)
{
Interval=0
Enable=1
AutoStop=1
link(onTimer,3883500:doOpen,[])
}
Add(Hub,14377881,651,49)
{
InCount=7
OutCount=1
link(onEvent1,12262993:doMTString,[])
}
Add(FormatStr,4346026,462,28)
{
DataCount=1
Mask="Подключился IP:%1 \r\n\r\n;8421504;0\r\n"
link(onFString,14377881:doEvent1,[(519,34)(519,55)])
}
Add(FormatStr,7550260,462,70)
{
DataCount=1
Mask="Отключился IP:%1 \r\n\r\n;8421504;0\r\n"
link(onFString,14377881:doEvent2,[(519,76)(519,62)])
}
Add(FormatStr,9817065,539,112)
{
DataCount=1
Mask="%1 ;65280;0\r\n"
link(onFString,14377881:doEvent5,[(608,118)(608,83)])
}
Add(FormatStr,13331848,546,119)
{
DataCount=1
Mask="%1\r\n;65535;0\r\n"
link(onFString,14377881:doEvent6,[(614,125)(614,90)])
}
Add(FormatStr,15554055,553,126)
{
DataCount=1
Mask="%1\r\n\r\n;16777215;0\r\n"
link(onFString,14377881:doEvent7,[(621,132)(621,97)])
}
Add(RichEdit,7169294,742,35)
{
Left=3
Top=27
Width=568
Height=226
Color=0
Font=[MS Sans Serif,8,0,16777215,1]
ScrollBars=2
InsertCRLF=1
}
Add(Label,16274605,518,497)
{
Left=8
Top=8
Width=92
Height=17
Caption="IPадрес сервера:"
}
Add(FormatStr,6035676,462,399)
{
DataCount=3
Mask="%1;%2;%3"
Point(FString)
link(onFString,3883500:doSend,[(506,405)(506,286)(135,286)(135,167)])
link(Str1,15140700:FormatTime,[])
link(Str2,4118167:Text,[(475,388)(395,388)(395,477)(286,477)])
link(Str3,11709480:Text,[(482,380)(387,380)(387,437)(342,437)])
}
Add(Edit,11709480,336,392)
{
Left=3
Top=259
Width=568
Align=4
Text=""
Point(doSetFocus)
link(onEnter,1632559:doCompare,[])
}
Add(Label,10605722,469,497)
{
Left=313
Top=8
Width=51
Height=17
Caption="Моё имя:"
}
Add(Edit,4118167,280,420)
{
Left=370
Top=5
Width=200
Text="Клиент1"
}
Add(Time,15140700,462,336)
{
Format="h:m:s"
Point(DateTime)
Point(Minute)
}
Add(If_else,1632559,406,399)
{
Type=5
Op2=String()
link(onTrue,6035676:doString,[])
}
Add(PlaySound,93377,378,119)
{
Sound=[ZIP0C27000078DAA57A877B5BD795A7B229E36CB23B99196F12B7C476ECD89FBB2DD9B255287612047BEF0048F4DEFB6BE8BDF70E02204880600349B1882A96A22ECB911DCFCCE7EC8CB3CECCB77FC6DE0792926C27B3BBDF3C8AD4C3BBE79E73EE39F79CDFB938AF9FD0DAFA83578E1D1B69186EA1F3A4CFFFECD8B163DF033F2F0E1FABFD7EEFD813C7A81429E5ABDF1E3B861E5EC8A3EB1B4F9452ADD6A8355AAC460C86342A950646753ABD5E8713D488600486610403177806E3F7C8E1F44316285C234530F8E021B8307C1C90AAD46A2D0C617A931E031CF1C91084C0188AE87428E087C1080AC13060A05629B51066B05B6030A0D668311483D430A28551BD115C7A14D268345A04F0072360B6C1A837EA751884A8C1630846313D6600FC6AB23104A702FA0021088AAF0A4855033908A4C300A10EBF0C6091B51F0C51ABB42A8D0A17A6D16A21143598CC368BD56232990D26ABCD6AB7E8557C26796C94C456197DB14434E034C06A2D6AB0F8A2997C39AB209E6B6D383BA04E2C96E7932EE5EC24892E86ED91B9B96C2E5728165CA4D6531FBDF1C1B02EBF75697F3D201C2034779114EE42756BA3944D45122179DFA953278F37D2BD950B9777F23A720FA16342E498AF6E6D96E7A27E9F8D33D8DEDA50D7C777CE2DAF2DC521CA6057FF8CCA3D5F3DBF554A85FC7E27B7A7AEA9B58E28089456D7CA1115A9B77F840505163737361613418F4B35D2451C6A23528DE1783A1D36F2495314B6CA992C2DAF9512216FD82DE83FDB4868EF13F817968A19978C323C3E233546E657D72B99A83FE087491DF5C4D64E8A3E5E2C6483286B726256ACF7E5D63696B3C16028848C369EEB6C25CE9832A5F94C10E38C8D53843A305C2D672291484035DC524F68EAA65B520B85AC1F658F4F50C486406173AB3C178B86DCACB6D30D84A61159B8B8944FB9A4E4A1F119B935B1BCB7514A87C311E350DD1942531B4597282DE56226FEE4C82403F1E437762AB96424E4E5B59D69EA681A92050B9562D2AD200F8F53A4F658797763311D8FC6F4FDA74FB636B4D3ADB96A753EA6670DF68DD0117F61EF62B5108F78CDD30D1FB512DBA6E07871B998F148A787C748124B0C48AEE4D2013BBFE3D499F69611A937B75CCA0661D6D8248987790B9B6B4BF96CCCAD1D6D38D3DEDACDB62416805E46D1F40489A571A456D62AF373F18099D2FC511BA18382C60A4BF329877C76629A26378716ABCBC56C36EAA013CEB4100993EAE05CB190F669585364BA0803065B2AE6F2490FBFBBAE8148189105B205604E88334DA2726157667569319F4BF8D4C32D0DC48E41BE2D999B4F87F482193295ABB5C7CB4BB94C2AE5D7D1BA9A893DBD54349C9DCB446D321A894A979BC3857221974A861D928176426FD784CC95CC64133E884399610A304FBA5CCCA4A2210742E9250E0C8DF2F4C1442AEE334818B374AEDA1ECDE1A341AF453ED1D33F3A3C2DB38663B1B00BE133181CA9DE17CFCFC5C301B745CF1B1F1C9F9C6443CE4024EC3529394CB6406D0DA40BA988DF6B33C0ACC931329922441DBE80CFA557F0B83C31E40CA632C0894E9B09664E4CCE5066C498C3EBF33A31198F2F94A1CE502A15041F8D88864D26D3A80C196A75BBDD365426128A9506773011F3B9ED669063444C0687C5126B74169BC382A9657285D6E4F447824EBBC5A2D321222693C3624A60A3D56637A12AB94209999DDE90DF69B318514CA7E4F2043CA6400982DE66D66BD51A356C72BA7C1EABD96840501326118A854CB64483E82D161386E72ABDD5E1759AF09484988C2A9944CC66F1E55AD46C050914241E9DD9EAB49BF1B482E82C06582317B1585C890231D96C56B341AF3719CD66907BC0B8CE64441148296471F9423964B03A1C56ABD964341841D682C13FBD19E80F2BF94C365B28C39576B9EC16238681340A811C871AAC26BD0E5670C0FA79329D23100CF81C661452ABD51A905FF546B3D5884FA7CED2B8728327928C879C7AB55C2A57C13A8BD9A4D763904629E3F3F822056CF584427E971956CAE54A2D06B21FC8AD5A955C26E20BA42AD4ECF2F93D0E13A2512A551ACC880FEA108D4A29130BC572D86075013F9931AD52A9D62220771A401AD6807C2E9748E42AC460757ADC0E233E59ADC50C2693012C4FAB516B940A99428DE8CD76971D584E0B9002823183C1A0C717A805EC954A0D0CA4D9AC60D13048CC1048F2207F6308F002A4D56AB41A08D1198D2613301884831472083CC0769016870504D31B8C4603EE0B1CB40E610B873408C00918D6E1E33848D46603120CADE1191887211C40F40008B103107C0C3621FC821F1BAE717F380EA6D794D1E1DA1E61E49164700F1F80285643C0031C3E1A3EB8470E60EC00427130C36ACBAAF13D787288E3477FD16F823CB8D161BAC359471681F0CD8BA3387AA4007AF001C26D0B23DF6681D5AE836735F0C78E40BDC60AA7C0B7718D35FE111F06508B43288C1E0A7AFCFAE6A7FFDFEB5B15CCFF8533FAAD0FE87F488B7EE31E45BE53293DFAF090023D62765008210FFD76C8063DE2F6B8DE0FA73F1A7EB82B1F9781227F61CAD1BCEFD2A28FD774E837F5FED6FCC705A2DF50F2316D1E72461F2EFA912EE8638B78EC0639B2CAC36D8C3CAECFE321803C0CC5A329DF3013FA4DC3C08F441C05C7E3BA3C468C1CD9E648F947FF210F8B59143DA80D1F3A0F7DB4A6879BE1A11B1FB9E3F119089EE711F8712BE3917D345307D794461F5A01D0A3B567D8811C183BD4F7A1991FA9713086E1D1F5D07147E487378772B043AD71BEC86190E3B90B9F8A2732705753E3280E1F9A18466B1447B6AD7DA83D46B0C37A1F27C10ECC541388D592227620AEF6178CC2D82173F4406304AFFFF172BE260424375487EA10EC4055EC405F90D821BC5C47F0DC09B287FE20A7A03A831ECFFC28A4524AA512A94C0DEB4D36BBD36635EA11480DC017608C031171391C8E580B90DCAA476AA5BAC16831193080CD56AFDF8F09A9341A8DABB6B8BD6E3B403E995CA6D0008430DB002B97D3ED769AC433241A952ED23B7D3E9FDBA455C8A462895C8D1A2D4E8FD7EB75BB6C76B3923C45A5CF7261BB37E0F7D8756A85442C144955B0D1E60B86033EB7CD6CB3C2B353333432436EF680476E2B2C1372D92C811CB6B8C2F178D00B8E07A8C96511CED0E964B258EF0AC4426E13A216B2680C8E58A5738612A944D46BC5C00A6C5E2D85CCA44FB3114F281AF55B619584334BA573452A833B064E10A06ED301E0347911D2048335C5C042C9643C6887650236953C43E388217B24575C2C66821644A9808376327182353AAE8CE48BF3693F26E7D26749D3E419960876A71757D657E74356AD4AEBF052CF76CE0E77B3422BABD5E5AC55343B3A303C4D610994883594CD97562A7341ABC9E08AD1DF393BD1D332E35DDABEB0B118D232C73B3A86C6A7E912C4169E2B94D6960B312F381F45ED675E270CD475418B5BFB57D6E7ACA2E9FED6E69E2112436E09E6CBE5CDF3A54CC463B347824D2F9F269E6A11CCED5DBB7DA1EC95CE74353734F78C52858660716D7D676F1DB0733923DE73CF9D683E5E2F9CBB7CF7C1C7AB01D914A1EE444BDF04556C09E4CB958DDD6A291B09FAE2A1CE5FBC76EEADE394D8DE9D3FDCDE4EA3B31D274FD637F693A48670796B73F7E24E251B8F4612B217FFE19D775F6A50ADDEFAE29F6E6DF925A3F56FBEFF61F3101DF1CC6FEC5DB878616B31934A641C677EFAFCBBBF7A8D94B8FAC5FFFCFC7745DD6CEB5BAFBF739238A57015B62E5EBE726967259FCA153C4D3F79EA8D5FFE7AC8BFFFF9D77FBCBD6AA1B7BDF3C66B27DBA7C5D6FCC6FEE58F3FDE5F5FC82D2E3A3EFCC9332FFDDD33C381BDCFFFFCAFF7D6ECACD6D75F79F5FD7692D25302F6B97479B75A5EAC2C416FFCF857CFFCF40552ECCA177FFAEA5E594F6A79F7372F9FEC9E918757F6AF5DBF717D6F7DA9B214E8FCDB279FFB6F3F6BC42A77FFE5CF5F5E8948FA4EBEF2CC6BA747B8B6F285EBB76FDFBA582D552A59DE4BFFFDB9BFFFF1CBCCE4A57FFCFA7F3DA8E869F5AF3FFBEC3BCD647572E7FADDFBF76F5E582D2F2F194FFFE4E9279FF85B8265FDFED7FFFBAB2B0161F7BBCFFFFCD5D3437CF7CAC7773FFDFD2757372AEBABFEAEBFFFC52F9FF89BF7E585DFFDF1DFFFED9339EDE4E9577FFEE2F14E9A2EBF77FBFE830737773736AAF1995F3EF9D413DF7F991EDEFBE2DFFEFD9F574DF4C6377EFEABB75A29507AF3E627F71FDCB9B4B1B59566BEF03F9E7AE2BFFC6ADAB3F1E9D77FFE72D3CE26BCF7CB5FBDD532A58A6FDCB87BFFB33B977776AA69C6F34F3FFD37DF7B61CAB57EEF4F5FFF71C3CEEE3AFEEC8BEFB64CAAA3AB57813C40B4773ECB78F1D7CFFDE8D80B1396CAEDAFFEF4E5969BDB7BE29917DE699BD426B76E7CF2E983BB9776B7577C83CFFFE6A91FFEF05D8667EDEEBF7CF579C5CAEC3DFED24BC709D3DAF0FAB5BB9F7E76E7CAEE6E3530F8EB579FF9C1F7DF9E75546EFEF15F3F5F76707A4FBCF8DB931D6428BE71EDD627BFBF7D69F742C5D9FDC2AB4F7DFF898F98EEE5DB5F7E796FD1C2EA39FEFA9BA7BA6791F0F2E5AB773EB97D71776FD3477CF9ED67BFFFC487345BE9C6175FDE5DB072FB4FBCFE767DEF2C1A5BDBBF72EBDE8DFD0B7B6B4EE2AB80E8276718B6D2F53FFCE3CD8295D7FFE17B1F34F4D3D1C0E2F6C5EBB7AF5FDADFDF0AF6BE79E2F91FFCF8245997DDBFFFF9AD92573AD5F0C1C9C65EB2DA53DCD8BD76EBE6952B5736FD03C74FBEF8C3FF7A625415DEBAFDF9DDB5988EDE5EF7615DDBA8C09058D9B97EFF931BD77EB717193C7EEAE51FFDE8AD0191AB72E3C1BDCD9C5DD05B7FFA4C731F1B8BAFECDD7AF0E0F6F5CBEBAEAE8F4EBFF4E37FF86048E42C5DBE7BBD9A734987DAEBEA9A7B18DA5079E7E6679FDDB975A5EAEA3B73F6959F3EF9C100CF9CDFB979AD5AF0A926888D8DCD3D544D70E1FC8D077FB877EBE2B2ADB7AEEED59F3D7B66886BCA6E5EBDB456086848BDAD4D2D3DB30AEFFCE6B54F3FBB77F3D29A7BA4BEF1CD279FFEA89F85C5572F5D5A2F4650DA405B736B1759E6C96F5EBBFFD9FD5BFBABCEE186E6B77FFEDCE9012612A9EC83188AE999A39DCDCD5DD302736AE5CA9D07F76E5E399F6434B59D7AF617EF10C972677EFBE2C652D6299AEA696B691FE51A6295FD3B0F7E7FEB7235C56B69AD7BE9D9F788D3526B7A7DAFBA94F3292803C496B62186C637BFFDBB4FEEDFB9B6B364E86B697BEBE9571A06D9706071676B65216EE08E77B7B77691C4D6D4DA95DBF7EF5FDF5D0D515A88679F7FE174EF8CDC965EDF5A2E65DD32EA48675BC72843E3C99FBF7AE7DEAD2BDB15D34007F1BD675EADEF070F0B9BD5CA62D224240F74B6774F0B8CB1A50B371EDCBDB65B8D3288DD8D2FFFE6A3AE69A1215A592F97737E0D7BAA97481CA4CA6CE9B5CBB73EBD796567C5334DEC3EF3E26FCFF49025D6E4CAEA5229EB54D2C7FB3ABBC6D81A6F6E1308BCBEBBB908F7F7741F7FF1DDE66186DA995B299516622609A0EAEA9FE623FEC2D6B53B77AEED6DE4647DBDC4B77F73A27D940579F24BA5D27CD820A64DF4770F51045860FEFCB5BB201CAA495E4F1FE18DDF9EEC9CE0C2BE7C696121E7C7C48CA9C1FED159910EF0FAF8D68D4BBB6B31DEE020E1CD574E758DB321DFDCFC7C71CE874958D3C3C3133491DE37B77EF1C6CDCBDBEB09DED010E1CD57CFE054DE6CA150CCF874722E657C74922E445CE9E5BD6BD741DA4BC9C7873ADF7BED54C718436D4FCCE5F29980512DA44D8D4DE154A9CAEEB56B17CFAFA76463235DC7DF3C431C63AA6CB16C2E970E9AB542FAD4384EE54C56763E06546B69F9C468F7F1B7CE007F28CC91ECDC5C266483458CE9C9699A08502DEF5EBD7A71AB12124D8C10DF7FAFBE7B1C6051349DCE66425648CC244D919862D49559DDBDF4F185EA82873739DAFEFE072DBD132CB9259C4C66D361BB560C78915852BD3FBF71F1CAC717567306EAF860E389531D4314AEC6198DA7B2C9804923A44E4FCF7295A6F0E2F90B972F6D2FC59494F1DEB3271A7054433D91783A1DF3E854BC5912992E841C89CAEEC5CBFBD5A24730354C3CF5414BFF145B6EF4C792A978C08EC9D9D49959B61473A757B6F72E5E589B33B2A7879B3F38D33140E2AA6DA1782A19038610B366C8349ED2E82F54772E5EDEAEC4B5D4A9BEBAF71BBA46A84218941FA944C863D20818342A53A8B18417AADBFB17B71603D2D989EED31FB6F44E32C498371A4FC4422EBD92CFA4D1D812C41E5FDAD8BEB4BF9E77F028636D1F9E210C92995273201C0354769D82CFA0D13832D491AC54772FEFADCD19D89491C693E788C3336CA52D108E2713410B2AE7D166685C19EACEAD6DEE5FDD5B4E42F4E9FEBA0F1BBBC666391A6730144FC6FD808A4BA332002FEFDCCAE6858F2F94631003507DD4DC3331CBD538FCA1682CE2B722723E93CEE4CB75DEDCCAC6FE95EDC5908236D57DFA745BDF34036C137F281C024B84150236832D52809D5AA9EE5FDD59F048195304A0FCC03443A4F7F8C3D148D86DD04A794C3A5BA834848ACB40AFF3F36E296DAAE3C3B38481298648E7F647228097512BE573591C91DA18CC97D6762F6F16DC520699F8511DB17F8A29D6B903A14838E0326A247C0E9B23D698C285A5EA858B1B0587884E6A3F79B66390C49018BDC1703814741A34121E9BC5936ACCB185F2FADEA5EA9C4D489B6E3F79AE7B648A2E35BA7CA14834E43042521E9BCD15AB4C9142A9BA7F6523E71433486D27EB3B87A6E812A3DB8F7FCB663740623693C911AB2DF18525505FACCFB9C4D4898E8FEA3A87C6A912BDCB0F6C1F769A102997C5620B54A610D07EE76235EF5330667ACFD6770D8C520490D503AACD88C78A4AD94C0628F04CE1FCD2DAF685F3F37E25833C50079C3D4AE28332341C4BC6BCB81F594C36B0BD3FBB50D9DADB2C46510E75BCA58E30303CC9561841259B4DFAEC2635974E67B2A5A83B5D5A397F61A79234F3662708679A7A86C6E9529D33104967422E33FECD1C832D545B63F3E58DBD9D959C574A27F7D537760E8ECE08B416A05826EAB5EB645CA0184F6E08CD95D6B677D70B612D7366B4A5BE636094CCA9894CC7BC0EA3125031B912C49B2EAE6CED9E5F4CDA8594C9EE738D5D83E37411E6F047D2E93010296633F01ADB12C92FAC6DEF2C65821A0665A4B9B1736098CC5599DC415CA4432FC799F115BA40A6B8B2B9B751885A789449625D6BEFE024530AEAF54822197218B4220E93095C698F03CDCE9FAF64FC6A0679B8A99ED83F42E169AC9E603213F5D8740AE070AE50AEF325F395EAF67A31611550A7BBCEB5F40C4E3224E0A4114D25024E1324E2B0D83C89C616CDCEAF6C6D96B321944D1E2534107A87491C85C9134EA4A37E9004B8F87E5560BE4CA1BCB6B55648B8A454CA507373F7C0D82C5F6BF34652C099167C994CAE586D0ECF2D2C550116464D3C0AA9AFA9AD6708EC6B608D583A81EF58218BC1E6CB206722B7B052AD2EA40228736692D848EC1D2281C4E306368B051C988CC3A0819DA1F7658BE5EAE66A36E256CC90C608AD402695AB32BB83C954D467C5E43C260838A50E275BDF5CC9C56DC259F2604B6BF7E0245D00DBFCB15422EC364362DC6840B5606661B9BAB1928F9AB833D3BD0D6DDD8335D57C40B5A0CB8248781CAE40AA36FB93603F562BF9B8914B277536B48315001738FC519030EC6658CAE7F1C572AD3594C895AB1BA5B908C2A64DB43711BA87C96CA5C9154A24233EBB5125E271F86205E649E416D7B737165256117D8A58DFD2D93F51DB8F073201330E2053197CC9B9D2CADACA7CC22666CC0E34B576F501E342361F489E11AF159570D9804C0DDCBEB0B6737E31E553D3A6075B9A887D635481C6EC0EC50195C3A016819C219021AE447E09777BD22DA192FA9B5A3AFBC669421076916432ECB5EB95420E9B2792EBBDA9F9CAC6169069E4D3A63A1B6BE690E29EC213B60D95F1C0EE102A2DA16C717D6BAB920BC1EC9991B64642F7100802832B9848C5822E3304ACC6E18935B67066B17A7EA394F7A9983303CD8D841E7C479A3DE1642AE6731A35622E1B18177146724BD5CD6A39E39432C9BD8DCD849EB1590164F347C126028107322890A9300640486D6EADCD47F502DA38A1BEB56B609229D33B03F13450CD8AD4521588E270A654DD3E5FC905346CCA2090D93D4CE1AAC109389E8AF99D66081897CB1769EDE13420DBACE4BC4A36A5B7A1A9BD6B84C2D75ABDC01C119FC3A816F3B83C0100B9C85C6563B3BA98B2CB18535D0DCD84DE31AA18B1FB62C944189CBA95221EFEA5B8CE139D5B5AAFAE2DA66D5226A5A7B1A5A317AC00B678A3894418F840859309E4465FACB0B2B9BD568C1984B491D6FA968EFE49A6DC0052472A1E745B118510E7A6B6F8E3F36B5B9BCBF3518C4F1D6E696CED189862E1C68D03FC05A778B990C7178854E6403CBFBC510564A88031D6DAD406608021D33B82000F831E1BA210090099C61A88CEAF6EADAF148290803AD0D4D84A1C98668314134E24A301E02A9990CF1788B500B8E7D7CE57970A3E357FB6B7B1A9953808E0DCEC052926EA7799B4729140289440B640A25059AF96733E884F1F686969EB1CC2BB8DEE703C1E0980A85248843899D58FEFB66A39EF8584F4FEE6E6B64E5CA8D1F3884C2C1249617B2096AB6C8173B24B239CED6CAA71E3692DBE483C1EF6038C52484442A10CB507A2F9D5CDB552C6018928C4E6D636A01B2003BAC523476422851EECBEE2EAC6CA7CCCACE24D76B4B677F48CCC88102B808C6808EC70AD52261681A87205E2C595F5E57CC4A2E64D74B41108DD233362F8884CA7554AC52289C6E40A6416D7D6967341BD923DD4DED6DED13B4E97EBECFE480CEF24A11AA55422962100B6B28B2B2BA5AC0755B00608840E10CA4CB91E9045C37EB719512BF06F6E3007D820A5D59562CA89C8A9BD80ACAB7F92A334386ADC5C265403C8806A766F3C5F595B9A8F83E26FAA1B271BA2F071552291A0CF6140D44A9954069B9DFEE4FCF2F2622E68D2F046BA89840E50C589610054D148C063D3432AB954AAC4ACEE70AEB4B2B4907661F2D9FE4E423BB17F927DA05A087814D52AE55299D6E8F0C50BCBCBA542D80C09C77A880442D730403DB32B0898796D0644A394C9F0D64A305DAC94E6331E839A39DCD3D541EC1B6748109074C341BFDBAA83350AB9426BB0E381B0BC988FDA31C9646F77473B7100E099C119888205D80D88562193A9318B33945EA894E7D31EA38631D4DBD581DB560C83948533B3E811C04C09016B4473A5CA423E62D749A6067A8980D9344781D9FCE130B08609839472B91A353B83A9E2520954F2668835D6DF85FB7356A835BA429150C063AD315368F556A059B952CAC75D062979A897D8D6D137C992A1361F2887405AD0C12AB95C859A1C8154B15C5EC8066C307B7CB09BD0DE093CA0D23BF1AA09141418309A4283595CE1EC62B9349FF09895D431708E02F14E154146B08030083D235A5B80DEEA8DE517CB8BB988532F228FF410DA814CA60CB5020F44022EAB1E02A655C2067B30B5B00464061D106B72B0AB0DDFDE5CA5DE198A46C1F636631AB954AE468CAEC85C0990A5FC16396DA28FD0DAD6353223D098BC11BC1A759810BC65A6462D600B952BE542DC6B10CD8C76B7B5B4758FD1C4206EA320F40004C160DFCA3598D59F2C9697CAF9A81BE191873A5B5BDA7BC79952D4118A25703203A4A891D902A90560B5B9A80BE29007892D4D0764AE100E417E501F2A2412B03BAC81D43C4E1673413C0A4ED6D6031C8A01D84BA7E3411728822562A91236FB928552A5944BB861C1CC604773534BD72855843A43C96C2619F19811151E2C5AA3279E5B5C2A15921E544C1D2636373683B30C1F06669ACB651201BB4E2305C943A57346D245E084B4CF206780737843635BDF1407E4BB54A1389F8D7A4C10C85922196CF5250A8B25605E8B8A35DED57CEE5C73D7185389E33E989C0AD810904F7922E0E348B6B8B838177140BCA9DED673758D1DC33499116481CA72291775E9F1242E00D1E74BCC81D365CCAD13CF0C7534D537B60FCC88304FB25859A9CC03E7405201972756E91CC144369789FB4C0AD6445F7B7333A17F9AABB147726510B97311975E2DE1F38452ADD1198C811393DF0A09A963BD1D0462DF044366F0260B65DC027E2BAA140B8462056C72F8C391B01FA02177666CA0A76770822A846CC1546161A19089B871138BC4521562B4BB7D7E2F5EB97366274787472767B90A9D3394CA15F21950441920E07F09D84E7A8BDDE9B283CD25E1D0C85353242A5BA2C5EB9474261D07680AF626C80E78DFD364B159CD7A4425E13169B3B3F82105B5B801C62462613C084140C8E44A0DAC339ACD660388498980C362B2384219883977200C4E2E3E97154F23200C551A18D31B8D063DAA55C944021CEDA42ABC31EB0D04023EB7DD04F28852A150AAB430AAD31BF43A14020954221289654AFC3D1687CBE371BBEC160306E38D5B955A8B3737F11E35A45129E43299026FC51ACC56BBC361B79AF17EAB568DF799F1176FF0C620026BF1894A95468B004DCC16ABD56236EA6BCF35B51774908306C06167B6F6C68ECE60349A70AD7507ED496DAD8F78D8A7A875190FFA8A3AA0B241AF3FE8351E3D7EEC1DA6838E28DE8BC0DFEB396CB9C2479DD26FBDFE74D4CDC40E1BAF87B31F75501FEF9FFDD537A7FEE2F59F2643FE1AE1FF1BB7BFCEEE2FF452FF0336DFEA9BA28F5ACCC8773ABA87ADB347CDB9470DC9EF3664D1EF3CF8CFF5840FAEFF03097F659F]
}
Add(Hub,8870328,238,112)
{
link(onEvent1,11269013:doSplit,[])
link(onEvent2,4732508:doCompare,[])
}
Add(If_else,4732508,273,119)
{
Type=5
link(onTrue,93377:doPlay,[])
link(onFalse,16756805:doPlay,[])
link(Op2,6035676:FString,[(286,96)(321,96)(321,443)(468,443)])
}
Add(PlaySound,16756805,329,126)
{
Sound=[ZIP850D000078DA1D56498FE4C8796DDD7C3160DF7D989365C00701F6C910061AC933F25833B0C63DDD5D4B57755556AE95594966720D3222C85818DCC95C986B55656D5DD58D5E0633D3C28CB5D8802C081E40800CF8A0FFE32831C12482FCF8C58BF7DEF7311EFEEB4F7F8AFFF2C183AD1F3FF9A8D537DEFBAB070F1E7C4FFEFEFAEF1FFCF9FCDE83BF78D0A819B51D19137233F6CCD475C603AFDAA9FEA858F347A3E46F46BFFCF866F3FD5FFDCF8FCE82BFFB72FDFE4BF5C77F081F7ED3AAFFB1B3FBF273EF571FA8571F9EFFF67DF1EEC9DDEB7F7457BB4BEF9F9749F797E6CF7F9BED7EDB7FFF6BFEB3AAB7F33284CB46FE4D8B2C3F245F7E7874B61DBD3B364FC569DA63C3C1B2F1D90C9DBCE6F59B335C5AC78C38EA2E2CF064D42DDF103FAC8369BFA1AB624C42915DE7B67F624DFBBB7008CE88359B8C6696810019EE581E98C783E54530161DC4FBDD8EC243C19DF16DC4A2637DD4DDB74FC0C233F26239078E3D88CCC7261D4E4A25BFCC72DA47BE3968F4024E33377E5E42A61B3138EA6A5EC991C89615B25C8BDA072A77A3C40917D394988EEBDACDAECFD21C27EB3C62BA4BF581A2E2346274BCCE98AF01019A7D8BA4110DA6CB1C421370AD3584240F51349DC58EE359D0ACEB01492267B4C9A8A7436A0DBA46189330289639860622C3E321903748369A24D874A06DAAAA13E4C2CFC6A3185BD0B1ADEE90311E05715532DFB5115055CB613115E9782A10B64CAC74012005162B47DB2C40326F7E74104FC1B1F8FAEBA48B46F6C36D670677DDD76FCAC6F0D5FCD1B691AF06CDD965691C65D7FD9A172D782FBF24C787DAC8D83167B7A7367FBE1C3EDE83EEB3437C793B1B5F6FE8D15EBFF7F8A1BE3A4FCA57EF569D9A3ED8FD74373A4DB3B3BB5BDAD49DFAD6336F1D3AF9F58D3838899CC303FB7443BCE92A6AEE0D3CB58DCFAFA662B4627B8F6B8679A45DBEBD196597F3C6673BB556AB9DBC7871B33CBBB076EA4747B567F0EA62B5DADC65AD7AABA31EB647978BF9A8AA60A7AFE9BD7E763A8EE25161D53BD033F4E4E2AA4224B20E0F7A007AE5F5ABF3304C873B5BCF14DB10B7EF5E8CB392B63FFFEC4855F1ECEACD55391D0F77776BDDAE22CEAF16793545AD5A473386B89A4F8B28F44F5AAA8B503C5B940C21D8DEEDD330C896D7A7A16B0FEA3B351D05E3D3BBE763C6B4C3ADADB68383C5CDCB4D4A90F2ECC9E1C0C2F9F2FA7AC443AB556F0EA045E6AB65E663CFE8DCEBCDA26A12BBA6AD7614272CC7E3F592694ABFDB6C18623A5F9C5E8CE049BDD5DCEDF0B0BA3CBDBAA4A6D538383830C26CB238BB292D5B6F1F1D9D885894F36A4C0D57EBF47492315A2DB8AD0C917E02D2E924CA47BED6EFA8FD1E9A54F3D96415F79ACD4EB7A545F38BD5F46CE22ACDC34EBDED15D57C7D3E8F40F7A45F6BE961954C96E5C43FB6873D4B27E3A09CF0DCEEF8C6D0378B959806EEB8D7027B2C3EBA5DA1DF0D7FF64537FEBFF71E7DF79EFABF3FBCF8EF0F7EB3F9FEDBFE0F6E7EF2E40F0FF33F3DFCFABBF7CFF83FBCACFDD3BBAEF9EBBDC56F3EBF5E7EF49A7CFAEAF8E9F3C7FD97B5FCB4763D1BBC7507978F8EC28F51BC73776AFDD79C7F75B4CF7EB4DFFBC974E1FEE7CDE977A632FBE061FF076A50FFEAB6FAD3DCFF6A77CFFEDB6DF64971CD7FFF2AFC0FD6271F6D9B9F9891FED56DF2E538981C76AD2D47AB6F42F0B6C8EE4EB4BCE978F5042973882E5D7166467183A30367A09558AC8BB3198C70ABBFDD825D7F593E7F5E9D7355DFDAEAEC0C02F1E6D5F28B15F29F3E697CBA67EAEBE7AB5FBC1C4D94C3E34F3E6B1E88E5E8CD9BD3EB5819EC6E1F6EF778B0B8BCBE9984546DD5F73B8A1E05939BAC38A3083414B5E9985A91258B743C0798B6D5417D68692C9D9FCFD6334A0687CDFD3D59D1EBF5EB2F369BA8AF6C7DF2F4493B482E7EF1FA9B173CE8FEDBF6BF7C7CAC042FAEBFFDF5E6BAACB51FFD70EBE9A1282FBE7DF3EA2EF54FB6F63FFFF9F1909E9FDEBE5E2F22E99367EDFD136446E7CB8B7936965DABDE18D406C82C66C5D5325D52D5AA1F760E549F549BCDDD7A92E99DDAD641BDCD92C99BE79BBB8218BBBBBBFF7E6CC3F3E7376F6FAA6470B4FF78FF4889A7E72F36171B6AF777F66B0D00A38BF5C54D1EF2935EFB40D59C32196D469391655A3D5353A84FF2381D0BC181670D30D07C14247E326659045CB36F0E340F8B32A9AA2825CA50AD77074E54CCD7B36A44EC6EADDE6CDB3439BF395B15C26ED76B4F1BBA9F2FCE6F2EAAC83A69EE1FB48F513E595FAEAB82688D837AB36F93623D9FCF53E66ABDE38E62B93CCB4755160866AB035DD701A251984CF3280DA1D157B581663129C5725244D0E8369ADDA11B8CD79BB35549F45EF3A0D133783EBDBA5D8F04E8356BB5D69015B3D3B35515395AB376AC28389B2C57D352405B3DE92916E4B2319771E003DDD60C0C110BE288F3C0831079B68DE415D3800409F319029661C8D61424699E061CCBD63E342109B25139CAB06176FB83A12E47F3AA083DBBDBEE9D68888D5655351650EF765B5D0BC9C6512D8B800C955E473581C865B32A234972AF3FD0110A46F9A864CC377453B580CD0489331105C4C7B6611B9AE3639294791286BE65EAFD9E0670508EAB79C1B0A6F45A2DCDE1E57CBE98969E299DDCE95A41343D5DCC2B6E29DD5EAB63FB62345B2EB3806AFD7E5B759048B3D938121E00BAA201C8459CC631F73CCF060040EC798C531E868CF81CDBC0747DE427519CCAE93D2099D0DD300847651E53571FEA9A8E685A946599725B1BF615DDE669369D1631B135A5AB0EB18C9D9623E1214D514E3448E2A2A8F22070B581A2B9962B92A208C3C0772CD3B42C97D0200AA34410CF01D03411C28C8B228A224EA094C1301109E2B4C873061D303C567540B26C329F44D43187DDEED0F442F985A8C601B64F646F964A64E3C95C72E70C87AA6A003F48C7655E70844C553380EB47715608CE7D07488D2DCC8810611C52462084AE0D7C04E390A721E7C87174CBB6A453D22C0A430E251A434E2FC22CCB62026C53D7878E47E5FAB22490D835C574A1C8B2220D986F1ADAD0703D16A67912F92E3406A6ED403F8AC23420D4B51DDD76211541CC58CCA02B65B031823CA0921BE673DF7491CC8683802742C4D29EBA050C07F9511A17921B601B034D7783209D24494E813990D8E4C72D4FD271127812E9404E40C27894E521044882B100E6719A440193D459960520A522948BE710C9FD0B70B124830B1A26C483B6DC46592E6641988940600FE936B02025611A261163C8B42D53568E4813E952E6BA32BB2B8D75EF2B991F4ADE5C08451C864204D8050E741C3F8CC220E21EC30E701D9F32CE434EA5110872097609916F0A867CCFC5AEEB01C4A92F0B03511FCA042EC0CCA78213463DE4DA922F5990D2C822A00839D228324E3297C43E86E0DEB448A64F33C12982409736F7B988A27BE89E14CE963306411846121C76E5EE0DC86C81DCACB190C8CD84234F8C691C069C716908D7918B219C05492808818E0BA494922AB93ECE2832806340E6F9F726A1043B9624CFC194474226852E9235E642B917149C799822CB41F2822520F9AE87A1044C88CFA82F5597230C3DEC524A251F147AB2143D87FA480EA42D7C28D9F1A8AC114A989041DE7DB82F75202C649CC9527624589FC86114502984EBBAD0C19C4821E4EC0401A9EB7DF393070F0806122AC0BE27BF02120D95469154DC3FA781E0B2133A003B362244722DAD49658DC8F41812E91C41253E499314177B4C2E2F200C238CA4D632508E4386A907E47EDCF3EEC99510992F9361E8FA128B349A2FB541F76430E9059FC812953640D097DCC887BE84256F40D9A624AB8412CFF35DC4A472922C5F0E3146F7879C5C12E1CB7F4F1691EB49B0F72EC6F7010060EC51FE675BBB1E743D194E05258120BE8FFE1F5003A40A]
}
END_SDK
Add(TCP_Server,5714549,273,105)
{
Port=1234
Point(onServerConnect)
Point(onServerDisconnect)
link(onRead,5714549:doSend,[(319,111)(319,88)(261,88)(261,125)])
link(onConnect,4089822:doWork1,[])
link(onDisconnect,4089822:doWork2,[])
link(onServerConnect,4089822:doWork3,[])
link(onServerDisconnect,4089822:doWork4,[])
}
Add(Hub,780897,203,105)
{
OutCount=3
link(onEvent1,5714549:doOpen,[])
link(onEvent2,4089822:doWork5,[(240,118)(240,146)])
}
карма: 1

0
Ответов: 128
Рейтинг: 14
#9: 2019-08-02 10:37:53 ЛС | профиль | цитата
А если сделать сервер и клиент в одном файле, и сервер запускать там где IP адрес нужный.
Вот так правильно?

Add(MainForm,7975316,126,196)
{
Width=572
Height=303
Caption="Чат сервер"
BorderStyle=3
Position=1
Point(doHeight)
link(onCreate,4089822:doWork5,[])
}
Add(StyleXP,2663964,91,350)
{
}
Add(ChildPanel,4089822,462,182)
{
link(onEvent1,3023513:doCompare,[(532,188)(532,130)(212,130)(212,181)])
}
BEGIN_SDK
Add(EditMulti,15805960,14,7)
{
EventCount=1
WorkCount=5
VarCount=1
Width=867
Height=767
link(doWork1,4346026:doString,[(168,13)(168,34)])
link(doWork2,7550260:doString,[(158,20)(158,76)])
link(doWork3,6972496:doTimer,[(39,27)(39,153)])
link(doWork4,1153509:doTimer,[(31,34)(31,160)])
link(doWork5,4878113:doEvent1,[(26,41)(26,412)])
link(Var1,16662710:Text,[(20,652)(125,652)])
}
Add(Panel,8279888,847,742)
{
Left=-7
Width=574
Height=277
BevelOuter=1
}
Add(DoData,1221341,462,154)
{
Data=String(Сервер запущен\r\n;16777215;1)
link(onEventData,14377881:doEvent3,[(519,160)(519,69)])
}
Add(MT_String,12262993,686,35)
{
link(onResult,7169294:doAdd,[])
}
Add(DoData,5595161,462,196)
{
Data=String(Сервер остановлен\r\n;16777215;1)
link(onEventData,14377881:doEvent4,[(519,202)(519,76)])
}
Add(MultiStrData,11269013,462,112)
{
Count=3
link(onPart1,9817065:doString,[])
link(onPart2,13331848:doString,[])
link(onPart3,15554055:doString,[])
}
Add(Timer,1153509,42,154)
{
Interval=0
Enable=1
AutoStop=1
link(onTimer,3883500:doClose,[])
}
Add(TCP_Client,3883500,147,147)
{
Port=1234
IP="127.0.0.1"
link(onRead,8870328:doEvent1,[(205,153)(205,118)])
link(onConnect,1221341:doData,[])
link(onDisconnect,5595161:doData,[(201,167)(201,202)])
}
Add(Timer,6972496,84,147)
{
Interval=0
Enable=1
AutoStop=1
link(onTimer,3883500:doOpen,[])
}
Add(Hub,14377881,651,49)
{
InCount=7
OutCount=1
link(onEvent1,12262993:doMTString,[])
}
Add(FormatStr,4346026,462,28)
{
DataCount=1
Mask="Подключился IP:%1 \r\n\r\n;8421504;0\r\n"
link(onFString,14377881:doEvent1,[(519,34)(519,55)])
}
Add(FormatStr,7550260,462,70)
{
DataCount=1
Mask="Отключился IP:%1 \r\n\r\n;8421504;0\r\n"
link(onFString,14377881:doEvent2,[(519,76)(519,62)])
}
Add(FormatStr,9817065,539,112)
{
DataCount=1
Mask="%1 ;65280;0\r\n"
link(onFString,14377881:doEvent5,[(608,118)(608,83)])
}
Add(FormatStr,13331848,546,119)
{
DataCount=1
Mask="%1\r\n;65535;0\r\n"
link(onFString,14377881:doEvent6,[(614,125)(614,90)])
}
Add(FormatStr,15554055,553,126)
{
DataCount=1
Mask="%1\r\n\r\n;16777215;0\r\n"
link(onFString,14377881:doEvent7,[(621,132)(621,97)])
}
Add(RichEdit,7169294,742,35)
{
Left=3
Top=27
Width=568
Height=226
Color=0
Font=[MS Sans Serif,8,0,16777215,1]
ScrollBars=2
InsertCRLF=1
}
Add(Label,16274605,805,742)
{
Left=8
Top=8
Width=92
Height=17
Caption="IPадрес сервера:"
}
Add(FormatStr,6035676,462,399)
{
DataCount=3
Mask="%1;%2;%3"
Point(FString)
link(onFString,3883500:doSend,[(506,405)(506,286)(135,286)(135,167)])
link(Str1,15140700:FormatTime,[])
link(Str2,4118167:Text,[(475,388)(395,388)(395,477)(286,477)])
link(Str3,11709480:Text,[(482,380)(387,380)(387,437)(342,437)])
}
Add(Edit,11709480,336,392)
{
Left=3
Top=259
Width=568
Align=4
Text=""
Point(doSetFocus)
link(onEnter,1632559:doCompare,[])
}
Add(Label,10605722,756,742)
{
Left=313
Top=8
Width=51
Height=17
Caption="Моё имя:"
}
Add(Edit,4118167,280,420)
{
Left=370
Top=5
Width=200
Text="Клиент2"
}
Add(Time,15140700,462,336)
{
Format="h:m:s"
Point(DateTime)
Point(Minute)
}
Add(If_else,1632559,406,399)
{
Type=5
Op2=String()
link(onTrue,6035676:doString,[])
}
Add(PlaySound,93377,378,119)
{
Sound=[ZIP0C27000078DAA57A877B5BD795A7B229E36CB23B99196F12B7C476ECD89FBB2DD9B255287612047BEF0048F4DEFB6BE8BDF70E02204880600349B1882A96A22ECB911DCFCCE7EC8CB3CECCB77FC6DE0792926C27B3BBDF3C8AD4C3BBE79E73EE39F79CDFB938AF9FD0DAFA83578E1D1B69186EA1F3A4CFFFECD8B163DF033F2F0E1FABFD7EEFD813C7A81429E5ABDF1E3B861E5EC8A3EB1B4F9452ADD6A8355AAC460C86342A950646753ABD5E8713D488600486610403177806E3F7C8E1F44316285C234530F8E021B8307C1C90AAD46A2D0C617A931E031CF1C91084C0188AE87428E087C1080AC13060A05629B51066B05B6030A0D668311483D430A28551BD115C7A14D268345A04F0072360B6C1A837EA751884A8C1630846313D6600FC6AB23104A702FA0021088AAF0A4855033908A4C300A10EBF0C6091B51F0C51ABB42A8D0A17A6D16A21143598CC368BD56232990D26ABCD6AB7E8557C26796C94C456197DB14434E034C06A2D6AB0F8A2997C39AB209E6B6D383BA04E2C96E7932EE5EC24892E86ED91B9B96C2E5728165CA4D6531FBDF1C1B02EBF75697F3D201C2034779114EE42756BA3944D45122179DFA953278F37D2BD950B9777F23A720FA16342E498AF6E6D96E7A27E9F8D33D8DEDA50D7C777CE2DAF2DC521CA6057FF8CCA3D5F3DBF554A85FC7E27B7A7AEA9B58E28089456D7CA1115A9B77F840505163737361613418F4B35D2451C6A23528DE1783A1D36F2495314B6CA992C2DAF9512216FD82DE83FDB4868EF13F817968A19978C323C3E233546E657D72B99A83FE087491DF5C4D64E8A3E5E2C6483286B726256ACF7E5D63696B3C16028848C369EEB6C25CE9832A5F94C10E38C8D53843A305C2D672291484035DC524F68EAA65B520B85AC1F658F4F50C486406173AB3C178B86DCACB6D30D84A61159B8B8944FB9A4E4A1F119B935B1BCB7514A87C311E350DD1942531B4597282DE56226FEE4C82403F1E437762AB96424E4E5B59D69EA681A92050B9562D2AD200F8F53A4F658797763311D8FC6F4FDA74FB636B4D3ADB96A753EA6670DF68DD0117F61EF62B5108F78CDD30D1FB512DBA6E07871B998F148A787C748124B0C48AEE4D2013BBFE3D499F69611A937B75CCA0661D6D8248987790B9B6B4BF96CCCAD1D6D38D3DEDACDB62416805E46D1F40489A571A456D62AF373F18099D2FC511BA18382C60A4BF329877C76629A26378716ABCBC56C36EAA013CEB4100993EAE05CB190F669585364BA0803065B2AE6F2490FBFBBAE8148189105B205604E88334DA2726157667569319F4BF8D4C32D0DC48E41BE2D999B4F87F482193295ABB5C7CB4BB94C2AE5D7D1BA9A893DBD54349C9DCB446D321A894A979BC3857221974A861D928176426FD784CC95CC64133E884399610A304FBA5CCCA4A2210742E9250E0C8DF2F4C1442AEE334818B374AEDA1ECDE1A341AF453ED1D33F3A3C2DB38663B1B00BE133181CA9DE17CFCFC5C301B745CF1B1F1C9F9C6443CE4024EC3529394CB6406D0DA40BA988DF6B33C0ACC931329922441DBE80CFA557F0B83C31E40CA632C0894E9B09664E4CCE5066C498C3EBF33A31198F2F94A1CE502A15041F8D88864D26D3A80C196A75BBDD365426128A9506773011F3B9ED669063444C0687C5126B74169BC382A9657285D6E4F447824EBBC5A2D321222693C3624A60A3D56637A12AB94209999DDE90DF69B318514CA7E4F2043CA6400982DE66D66BD51A356C72BA7C1EABD96840501326118A854CB64483E82D161386E72ABDD5E1759AF09484988C2A9944CC66F1E55AD46C050914241E9DD9EAB49BF1B482E82C06582317B1585C890231D96C56B341AF3719CD66907BC0B8CE64441148296471F9423964B03A1C56ABD964341841D682C13FBD19E80F2BF94C365B28C39576B9EC16238681340A811C871AAC26BD0E5670C0FA79329D23100CF81C661452ABD51A905FF546B3D5884FA7CED2B8728327928C879C7AB55C2A57C13A8BD9A4D763904629E3F3F822056CF584427E971956CAE54A2D06B21FC8AD5A955C26E20BA42AD4ECF2F93D0E13A2512A551ACC880FEA108D4A29130BC572D86075013F9931AD52A9D62220771A401AD6807C2E9748E42AC460757ADC0E233E59ADC50C2693012C4FAB516B940A99428DE8CD76971D584E0B9002823183C1A0C717A805EC954A0D0CA4D9AC60D13048CC1048F2207F6308F002A4D56AB41A08D1198D2613301884831472083CC0769016870504D31B8C4603EE0B1CB40E610B873408C00918D6E1E33848D46603120CADE1191887211C40F40008B103107C0C3621FC821F1BAE717F380EA6D794D1E1DA1E61E49164700F1F80285643C0031C3E1A3EB8470E60EC00427130C36ACBAAF13D787288E3477FD16F823CB8D161BAC359471681F0CD8BA3387AA4007AF001C26D0B23DF6681D5AE836735F0C78E40BDC60AA7C0B7718D35FE111F06508B43288C1E0A7AFCFAE6A7FFDFEB5B15CCFF8533FAAD0FE87F488B7EE31E45BE53293DFAF090023D62765008210FFD76C8063DE2F6B8DE0FA73F1A7EB82B1F9781227F61CAD1BCEFD2A28FD774E837F5FED6FCC705A2DF50F2316D1E72461F2EFA912EE8638B78EC0639B2CAC36D8C3CAECFE321803C0CC5A329DF3013FA4DC3C08F441C05C7E3BA3C468C1CD9E648F947FF210F8B59143DA80D1F3A0F7DB4A6879BE1A11B1FB9E3F119089EE711F8712BE3917D345307D794461F5A01D0A3B567D8811C183BD4F7A1991FA9713086E1D1F5D07147E487378772B043AD71BEC86190E3B90B9F8A2732705753E3280E1F9A18466B1447B6AD7DA83D46B0C37A1F27C10ECC541388D592227620AEF6178CC2D82173F4406304AFFFF172BE260424375487EA10EC4055EC405F90D821BC5C47F0DC09B287FE20A7A03A831ECFFC28A4524AA512A94C0DEB4D36BBD36635EA11480DC017608C031171391C8E580B90DCAA476AA5BAC16831193080CD56AFDF8F09A9341A8DABB6B8BD6E3B403E995CA6D0008430DB002B97D3ED769AC433241A952ED23B7D3E9FDBA455C8A462895C8D1A2D4E8FD7EB75BB6C76B3923C45A5CF7261BB37E0F7D8756A85442C144955B0D1E60B86033EB7CD6CB3C2B353333432436EF680476E2B2C1372D92C811CB6B8C2F178D00B8E07A8C96511CED0E964B258EF0AC4426E13A216B2680C8E58A5738612A944D46BC5C00A6C5E2D85CCA44FB3114F281AF55B619584334BA573452A833B064E10A06ED301E0347911D2048335C5C042C9643C6887650236953C43E388217B24575C2C66821644A9808376327182353AAE8CE48BF3693F26E7D26749D3E419960876A71757D657E74356AD4AEBF052CF76CE0E77B3422BABD5E5AC55343B3A303C4D610994883594CD97562A7341ABC9E08AD1DF393BD1D332E35DDABEB0B118D232C73B3A86C6A7E912C4169E2B94D6960B312F381F45ED675E270CD475418B5BFB57D6E7ACA2E9FED6E69E2112436E09E6CBE5CDF3A54CC463B347824D2F9F269E6A11CCED5DBB7DA1EC95CE74353734F78C52858660716D7D676F1DB0733923DE73CF9D683E5E2F9CBB7CF7C1C7AB01D914A1EE444BDF04556C09E4CB958DDD6A291B09FAE2A1CE5FBC76EEADE394D8DE9D3FDCDE4EA3B31D274FD637F693A48670796B73F7E24E251B8F4612B217FFE19D775F6A50ADDEFAE29F6E6DF925A3F56FBEFF61F3101DF1CC6FEC5DB878616B31934A641C677EFAFCBBBF7A8D94B8FAC5FFFCFC7745DD6CEB5BAFBF739238A57015B62E5EBE726967259FCA153C4D3F79EA8D5FFE7AC8BFFFF9D77FBCBD6AA1B7BDF3C66B27DBA7C5D6FCC6FEE58F3FDE5F5FC82D2E3A3EFCC9332FFDDD33C381BDCFFFFCAFF7D6ECACD6D75F79F5FD7692D25302F6B97479B75A5EAC2C416FFCF857CFFCF40552ECCA177FFAEA5E594F6A79F7372F9FEC9E918757F6AF5DBF717D6F7DA9B214E8FCDB279FFB6F3F6BC42A77FFE5CF5F5E8948FA4EBEF2CC6BA747B8B6F285EBB76FDFBA582D552A59DE4BFFFDB9BFFFF1CBCCE4A57FFCFA7F3DA8E869F5AF3FFBEC3BCD647572E7FADDFBF76F5E582D2F2F194FFFE4E9279FF85B8265FDFED7FFFBAB2B0161F7BBCFFFFCD5D3437CF7CAC7773FFDFD2757372AEBABFEAEBFFFC52F9FF89BF7E585DFFDF1DFFFED9339EDE4E9577FFEE2F14E9A2EBF77FBFE830737773736AAF1995F3EF9D413DF7F991EDEFBE2DFFEFD9F574DF4C6377EFEABB75A29507AF3E627F71FDCB9B4B1B59566BEF03F9E7AE2BFFC6ADAB3F1E9D77FFE72D3CE26BCF7CB5FBDD532A58A6FDCB87BFFB33B977776AA69C6F34F3FFD37DF7B61CAB57EEF4F5FFF71C3CEEE3AFEEC8BEFB64CAAA3AB57813C40B4773ECB78F1D7CFFDE8D80B1396CAEDAFFEF4E5969BDB7BE29917DE699BD426B76E7CF2E983BB9776B7577C83CFFFE6A91FFEF05D8667EDEEBF7CF579C5CAEC3DFED24BC709D3DAF0FAB5BB9F7E76E7CAEE6E3530F8EB579FF9C1F7DF9E75546EFEF15F3F5F76707A4FBCF8DB931D6428BE71EDD627BFBF7D69F742C5D9FDC2AB4F7DFF898F98EEE5DB5F7E796FD1C2EA39FEFA9BA7BA6791F0F2E5AB773EB97D71776FD3477CF9ED67BFFFC487345BE9C6175FDE5DB072FB4FBCFE767DEF2C1A5BDBBF72EBDE8DFD0B7B6B4EE2AB80E8276718B6D2F53FFCE3CD8295D7FFE17B1F34F4D3D1C0E2F6C5EBB7AF5FDADFDF0AF6BE79E2F91FFCF8245997DDBFFFF9AD92573AD5F0C1C9C65EB2DA53DCD8BD76EBE6952B5736FD03C74FBEF8C3FF7A625415DEBAFDF9DDB5988EDE5EF7615DDBA8C09058D9B97EFF931BD77EB717193C7EEAE51FFDE8AD0191AB72E3C1BDCD9C5DD05B7FFA4C731F1B8BAFECDD7AF0E0F6F5CBEBAEAE8F4EBFF4E37FF86048E42C5DBE7BBD9A734987DAEBEA9A7B18DA5079E7E6679FDDB975A5EAEA3B73F6959F3EF9C100CF9CDFB979AD5AF0A926888D8DCD3D544D70E1FC8D077FB877EBE2B2ADB7AEEED59F3D7B66886BCA6E5EBDB456086848BDAD4D2D3DB30AEFFCE6B54F3FBB77F3D29A7BA4BEF1CD279FFEA89F85C5572F5D5A2F4650DA405B736B1759E6C96F5EBBFFD9FD5BFBABCEE186E6B77FFEDCE9012612A9EC83188AE999A39DCDCD5DD302736AE5CA9D07F76E5E399F6434B59D7AF617EF10C972677EFBE2C652D6299AEA696B691FE51A6295FD3B0F7E7FEB7235C56B69AD7BE9D9F788D3526B7A7DAFBA94F3292803C496B62186C637BFFDBB4FEEDFB9B6B364E86B697BEBE9571A06D9706071676B65216EE08E77B7B77691C4D6D4DA95DBF7EF5FDF5D0D515A88679F7FE174EF8CDC965EDF5A2E65DD32EA48675BC72843E3C99FBF7AE7DEAD2BDB15D34007F1BD675EADEF070F0B9BD5CA62D224240F74B6774F0B8CB1A50B371EDCBDB65B8D3288DD8D2FFFE6A3AE69A1215A592F97737E0D7BAA97481CA4CA6CE9B5CBB73EBD796567C5334DEC3EF3E26FCFF49025D6E4CAEA5229EB54D2C7FB3ABBC6D81A6F6E1308BCBEBBB908F7F7741F7FF1DDE66186DA995B299516622609A0EAEA9FE623FEC2D6B53B77AEED6DE4647DBDC4B77F73A27D940579F24BA5D27CD820A64DF4770F51045860FEFCB5BB201CAA495E4F1FE18DDF9EEC9CE0C2BE7C696121E7C7C48CA9C1FED159910EF0FAF8D68D4BBB6B31DEE020E1CD574E758DB321DFDCFC7C71CE874958D3C3C3133491DE37B77EF1C6CDCBDBEB09DED010E1CD57CFE054DE6CA150CCF874722E657C74922E445CE9E5BD6BD741DA4BC9C7873ADF7BED54C718436D4FCCE5F29980512DA44D8D4DE154A9CAEEB56B17CFAFA76463235DC7DF3C431C63AA6CB16C2E970E9AB542FAD4384EE54C56763E06546B69F9C468F7F1B7CE007F28CC91ECDC5C266483458CE9C9699A08502DEF5EBD7A71AB12124D8C10DF7FAFBE7B1C6051349DCE66425648CC244D919862D49559DDBDF4F185EA82873739DAFEFE072DBD132CB9259C4C66D361BB560C78915852BD3FBF71F1CAC717567306EAF860E389531D4314AEC6198DA7B2C9804923A44E4FCF7295A6F0E2F90B972F6D2FC59494F1DEB3271A7054433D91783A1DF3E854BC5912992E841C89CAEEC5CBFBD5A24730354C3CF5414BFF145B6EF4C792A978C08EC9D9D49959B61473A757B6F72E5E589B33B2A7879B3F38D33140E2AA6DA1782A19038610B366C8349ED2E82F54772E5EDEAEC4B5D4A9BEBAF71BBA46A84218941FA944C863D20818342A53A8B18417AADBFB17B71603D2D989EED31FB6F44E32C498371A4FC4422EBD92CFA4D1D812C41E5FDAD8BEB4BF9E77F028636D1F9E210C92995273201C0354769D82CFA0D13832D491AC54772FEFADCD19D89491C693E788C3336CA52D108E2713410B2AE7D166685C19EACEAD6DEE5FDD5B4E42F4E9FEBA0F1BBBC666391A6730144FC6FD808A4BA332002FEFDCCAE6858F2F94631003507DD4DC3331CBD538FCA1682CE2B722723E93CEE4CB75DEDCCAC6FE95EDC5908236D57DFA745BDF34036C137F281C024B84150236832D52809D5AA9EE5FDD59F048195304A0FCC03443A4F7F8C3D148D86DD04A794C3A5BA834848ACB40AFF3F36E296DAAE3C3B38481298648E7F647228097512BE573591C91DA18CC97D6762F6F16DC520699F8511DB17F8A29D6B903A14838E0326A247C0E9B23D698C285A5EA858B1B0587884E6A3F79B66390C49018BDC1703814741A34121E9BC5936ACCB185F2FADEA5EA9C4D489B6E3F79AE7B648A2E35BA7CA14834E43042521E9BCD15AB4C9142A9BA7F6523E71433486D27EB3B87A6E812A3DB8F7FCB663740623693C911AB2DF18525505FACCFB9C4D4898E8FEA3A87C6A912BDCB0F6C1F769A102997C5620B54A610D07EE76235EF5330667ACFD6770D8C520490D503AACD88C78A4AD94C0628F04CE1FCD2DAF685F3F37E25833C50079C3D4AE28332341C4BC6BCB81F594C36B0BD3FBB50D9DADB2C46510E75BCA58E30303CC9561841259B4DFAEC2635974E67B2A5A83B5D5A397F61A79234F3662708679A7A86C6E9529D33104967422E33FECD1C832D545B63F3E58DBD9D959C574A27F7D537760E8ECE08B416A05826EAB5EB645CA0184F6E08CD95D6B677D70B612D7366B4A5BE636094CCA9894CC7BC0EA3125031B912C49B2EAE6CED9E5F4CDA8594C9EE738D5D83E37411E6F047D2E93010296633F01ADB12C92FAC6DEF2C65821A0665A4B9B1736098CC5599DC415CA4432FC799F115BA40A6B8B2B9B751885A789449625D6BEFE024530AEAF54822197218B4220E93095C698F03CDCE9FAF64FC6A0679B8A99ED83F42E169AC9E603213F5D8740AE070AE50AEF325F395EAF67A31611550A7BBCEB5F40C4E3224E0A4114D25024E1324E2B0D83C89C616CDCEAF6C6D96B321944D1E2534107A87491C85C9134EA4A37E9004B8F87E5560BE4CA1BCB6B55648B8A454CA507373F7C0D82C5F6BF34652C099167C994CAE586D0ECF2D2C550116464D3C0AA9AFA9AD6708EC6B608D583A81EF58218BC1E6CB206722B7B052AD2EA40228736692D848EC1D2281C4E306368B051C988CC3A0819DA1F7658BE5EAE66A36E256CC90C608AD402695AB32BB83C954D467C5E43C260838A50E275BDF5CC9C56DC259F2604B6BF7E0245D00DBFCB15422EC364362DC6840B5606661B9BAB1928F9AB833D3BD0D6DDD8335D57C40B5A0CB8248781CAE40AA36FB93603F562BF9B8914B277536B48315001738FC519030EC6658CAE7F1C572AD3594C895AB1BA5B908C2A64DB43711BA87C96CA5C9154A24233EBB5125E271F86205E649E416D7B737165256117D8A58DFD2D93F51DB8F073201330E2053197CC9B9D2CADACA7CC22666CC0E34B576F501E342361F489E11AF159570D9804C0DDCBEB0B6737E31E553D3A6075B9A887D635481C6EC0EC50195C3A016819C219021AE447E09777BD22DA192FA9B5A3AFBC669421076916432ECB5EB95420E9B2792EBBDA9F9CAC6169069E4D3A63A1B6BE690E29EC213B60D95F1C0EE102A2DA16C717D6BAB920BC1EC9991B64642F7100802832B9848C5822E3304ACC6E18935B67066B17A7EA394F7A9983303CD8D841E7C479A3DE1642AE6731A35622E1B18177146724BD5CD6A39E39432C9BD8DCD849EB1590164F347C126028107322890A9300640486D6EADCD47F502DA38A1BEB56B609229D33B03F13450CD8AD4521588E270A654DD3E5FC905346CCA2090D93D4CE1AAC109389E8AF99D66081897CB1769EDE13420DBACE4BC4A36A5B7A1A9BD6B84C2D75ABDC01C119FC3A816F3B83C0100B9C85C6563B3BA98B2CB18535D0DCD84DE31AA18B1FB62C944189CBA95221EFEA5B8CE139D5B5AAFAE2DA66D5226A5A7B1A5A317AC00B678A3894418F840859309E4465FACB0B2B9BD568C1984B491D6FA968EFE49A6DC0052472A1E745B118510E7A6B6F8E3F36B5B9BCBF3518C4F1D6E696CED189862E1C68D03FC05A778B990C7178854E6403CBFBC510564A88031D6DAD406608021D33B82000F831E1BA210090099C61A88CEAF6EADAF148290803AD0D4D84A1C98668314134E24A301E02A9990CF1788B500B8E7D7CE57970A3E357FB6B7B1A9953808E0DCEC052926EA7799B4729140289440B640A25059AF96733E884F1F686969EB1CC2BB8DEE703C1E0980A85248843899D58FEFB66A39EF8584F4FEE6E6B64E5CA8D1F3884C2C1249617B2096AB6C8173B24B239CED6CAA71E3692DBE483C1EF6038C52484442A10CB507A2F9D5CDB552C6018928C4E6D636A01B2003BAC523476422851EECBEE2EAC6CA7CCCACE24D76B4B677F48CCC88102B808C6808EC70AD52261681A87205E2C595F5E57CC4A2E64D74B41108DD233362F8884CA7554AC52289C6E40A6416D7D6967341BD923DD4DED6DED13B4E97EBECFE480CEF24A11AA55422962100B6B28B2B2BA5AC0755B00608840E10CA4CB91E9045C37EB719512BF06F6E3007D820A5D59562CA89C8A9BD80ACAB7F92A334386ADC5C265403C8806A766F3C5F595B9A8F83E26FAA1B271BA2F071552291A0CF6140D44A9954069B9DFEE4FCF2F2622E68D2F046BA89840E50C589610054D148C063D3432AB954AAC4ACEE70AEB4B2B4907661F2D9FE4E423BB17F927DA05A087814D52AE55299D6E8F0C50BCBCBA542D80C09C77A880442D730403DB32B0898796D0644A394C9F0D64A305DAC94E6331E839A39DCD3D541EC1B6748109074C341BFDBAA83350AB9426BB0E381B0BC988FDA31C9646F77473B7100E099C119888205D80D88562193A9318B33945EA894E7D31EA38631D4DBD581DB560C83948533B3E811C04C09016B4473A5CA423E62D749A6067A8980D9344781D9FCE130B08609839472B91A353B83A9E2520954F2668835D6DF85FB7356A835BA429150C063AD315368F556A059B952CAC75D062979A897D8D6D137C992A1361F2887405AD0C12AB95C859A1C8154B15C5EC8066C307B7CB09BD0DE093CA0D23BF1AA09141418309A4283595CE1EC62B9349FF09895D431708E02F14E154146B08030083D235A5B80DEEA8DE517CB8BB988532F228FF410DA814CA60CB5020F44022EAB1E02A655C2067B30B5B00464061D106B72B0AB0DDFDE5CA5DE198A46C1F636631AB954AE468CAEC85C0990A5FC16396DA28FD0DAD6353223D098BC11BC1A759810BC65A6462D600B952BE542DC6B10CD8C76B7B5B4758FD1C4206EA320F40004C160DFCA3598D59F2C9697CAF9A81BE191873A5B5BDA7BC79952D4118A25703203A4A891D902A90560B5B9A80BE29007892D4D0764AE100E417E501F2A2412B03BAC81D43C4E1673413C0A4ED6D6031C8A01D84BA7E3411728822562A91236FB928552A5944BB861C1CC604773534BD72855843A43C96C2619F19811151E2C5AA3279E5B5C2A15921E544C1D2636373683B30C1F06669ACB651201BB4E2305C943A57346D245E084B4CF206780737843635BDF1407E4BB54A1389F8D7A4C10C85922196CF5250A8B25605E8B8A35DED57CEE5C73D7185389E33E989C0AD810904F7922E0E348B6B8B838177140BCA9DED673758D1DC33499116481CA72291775E9F1242E00D1E74BCC81D365CCAD13CF0C7534D537B60FCC88304FB25859A9CC03E7405201972756E91CC144369789FB4C0AD6445F7B7333A17F9AABB147726510B97311975E2DE1F38452ADD1198C811393DF0A09A963BD1D0462DF044366F0260B65DC027E2BAA140B8462056C72F8C391B01FA02177666CA0A76770822A846CC1546161A19089B871138BC4521562B4BB7D7E2F5EB97366274787472767B90A9D3394CA15F21950441920E07F09D84E7A8BDDE9B283CD25E1D0C85353242A5BA2C5EB9474261D07680AF626C80E78DFD364B159CD7A4425E13169B3B3F82105B5B801C62462613C084140C8E44A0DAC339ACD660388498980C362B2384219883977200C4E2E3E97154F23200C551A18D31B8D063DAA55C944021CEDA42ABC31EB0D04023EB7DD04F28852A150AAB430AAD31BF43A14020954221289654AFC3D1687CBE371BBEC160306E38D5B955A8B3737F11E35A45129E43299026FC51ACC56BBC361B79AF17EAB568DF799F1176FF0C620026BF1894A95468B004DCC16ABD56236EA6BCF35B51774908306C06167B6F6C68ECE60349A70AD7507ED496DAD8F78D8A7A875190FFA8A3AA0B241AF3FE8351E3D7EEC1DA6838E28DE8BC0DFEB396CB9C2479DD26FBDFE74D4CDC40E1BAF87B31F75501FEF9FFDD537A7FEE2F59F2643FE1AE1FF1BB7BFCEEE2FF452FF0336DFEA9BA28F5ACCC8773ABA87ADB347CDB9470DC9EF3664D1EF3CF8CFF5840FAEFF03097F659F]
}
Add(Hub,8870328,238,112)
{
link(onEvent1,11269013:doSplit,[])
link(onEvent2,4732508:doCompare,[])
}
Add(If_else,4732508,273,119)
{
Type=5
link(onTrue,93377:doPlay,[])
link(onFalse,16756805:doPlay,[])
link(Op2,6035676:FString,[(286,96)(321,96)(321,443)(468,443)])
}
Add(PlaySound,16756805,329,126)
{
Sound=[ZIP850D000078DA1D56498FE4C8796DDD7C3160DF7D989365C00701F6C910061AC933F25833B0C63DDD5D4B57755556AE95594966720D3222C85818DCC95C986B55656D5DD58D5E0633D3C28CB5D8802C081E40800CF8A0FFE32831C12482FCF8C58BF7DEF7311EFEEB4F7F8AFFF2C183AD1F3FF9A8D537DEFBAB070F1E7C4FFEFEFAEF1FFCF9FCDE83BF78D0A819B51D19137233F6CCD475C603AFDAA9FEA858F347A3E46F46BFFCF866F3FD5FFDCF8FCE82BFFB72FDFE4BF5C77F081F7ED3AAFFB1B3FBF273EF571FA8571F9EFFF67DF1EEC9DDEB7F7457BB4BEF9F9749F797E6CF7F9BED7EDB7FFF6BFEB3AAB7F33284CB46FE4D8B2C3F245F7E7874B61DBD3B364FC569DA63C3C1B2F1D90C9DBCE6F59B335C5AC78C38EA2E2CF064D42DDF103FAC8369BFA1AB624C42915DE7B67F624DFBBB7008CE88359B8C6696810019EE581E98C783E54530161DC4FBDD8EC243C19DF16DC4A2637DD4DDB74FC0C233F26239078E3D88CCC7261D4E4A25BFCC72DA47BE3968F4024E33377E5E42A61B3138EA6A5EC991C89615B25C8BDA072A77A3C40917D394988EEBDACDAECFD21C27EB3C62BA4BF581A2E2346274BCCE98AF01019A7D8BA4110DA6CB1C421370AD3584240F51349DC58EE359D0ACEB01492267B4C9A8A7436A0DBA46189330289639860622C3E321903748369A24D874A06DAAAA13E4C2CFC6A3185BD0B1ADEE90311E05715532DFB5115055CB613115E9782A10B64CAC74012005162B47DB2C40326F7E74104FC1B1F8FAEBA48B46F6C36D670677DDD76FCAC6F0D5FCD1B691AF06CDD965691C65D7FD9A172D782FBF24C787DAC8D83167B7A7367FBE1C3EDE83EEB3437C793B1B5F6FE8D15EBFF7F8A1BE3A4FCA57EF569D9A3ED8FD74373A4DB3B3BB5BDAD49DFAD6336F1D3AF9F58D3838899CC303FB7443BCE92A6AEE0D3CB58DCFAFA662B4627B8F6B8679A45DBEBD196597F3C6673BB556AB9DBC7871B33CBBB076EA4747B567F0EA62B5DADC65AD7AABA31EB647978BF9A8AA60A7AFE9BD7E763A8EE25161D53BD033F4E4E2AA4224B20E0F7A007AE5F5ABF3304C873B5BCF14DB10B7EF5E8CB392B63FFFEC4855F1ECEACD55391D0F77776BDDAE22CEAF16793545AD5A473386B89A4F8B28F44F5AAA8B503C5B940C21D8DEEDD330C896D7A7A16B0FEA3B351D05E3D3BBE763C6B4C3ADADB68383C5CDCB4D4A90F2ECC9E1C0C2F9F2FA7AC443AB556F0EA045E6AB65E663CFE8DCEBCDA26A12BBA6AD7614272CC7E3F592694ABFDB6C18623A5F9C5E8CE049BDD5DCEDF0B0BA3CBDBAA4A6D538383830C26CB238BB292D5B6F1F1D9D885894F36A4C0D57EBF47492315A2DB8AD0C917E02D2E924CA47BED6EFA8FD1E9A54F3D96415F79ACD4EB7A545F38BD5F46CE22ACDC34EBDED15D57C7D3E8F40F7A45F6BE961954C96E5C43FB6873D4B27E3A09CF0DCEEF8C6D0378B959806EEB8D7027B2C3EBA5DA1DF0D7FF64537FEBFF71E7DF79EFABF3FBCF8EF0F7EB3F9FEDBFE0F6E7EF2E40F0FF33F3DFCFABBF7CFF83FBCACFDD3BBAEF9EBBDC56F3EBF5E7EF49A7CFAEAF8E9F3C7FD97B5FCB4763D1BBC7507978F8EC28F51BC73776AFDD79C7F75B4CF7EB4DFFBC974E1FEE7CDE977A632FBE061FF076A50FFEAB6FAD3DCFF6A77CFFEDB6DF64971CD7FFF2AFC0FD6271F6D9B9F9891FED56DF2E538981C76AD2D47AB6F42F0B6C8EE4EB4BCE978F5042973882E5D7166467183A30367A09558AC8BB3198C70ABBFDD825D7F593E7F5E9D7355DFDAEAEC0C02F1E6D5F28B15F29F3E697CBA67EAEBE7AB5FBC1C4D94C3E34F3E6B1E88E5E8CD9BD3EB5819EC6E1F6EF778B0B8BCBE9984546DD5F73B8A1E05939BAC38A3083414B5E9985A91258B743C0798B6D5417D68692C9D9FCFD6334A0687CDFD3D59D1EBF5EB2F369BA8AF6C7DF2F4493B482E7EF1FA9B173CE8FEDBF6BF7C7CAC042FAEBFFDF5E6BAACB51FFD70EBE9A1282FBE7DF3EA2EF54FB6F63FFFF9F1909E9FDEBE5E2F22E99367EDFD136446E7CB8B7936965DABDE18D406C82C66C5D5325D52D5AA1F760E549F549BCDDD7A92E99DDAD641BDCD92C99BE79BBB8218BBBBBBFF7E6CC3F3E7376F6FAA6470B4FF78FF4889A7E72F36171B6AF777F66B0D00A38BF5C54D1EF2935EFB40D59C32196D469391655A3D5353A84FF2381D0BC181670D30D07C14247E326659045CB36F0E340F8B32A9AA2825CA50AD77074E54CCD7B36A44EC6EADDE6CDB3439BF395B15C26ED76B4F1BBA9F2FCE6F2EAAC83A69EE1FB48F513E595FAEAB82688D837AB36F93623D9FCF53E66ABDE38E62B93CCB4755160866AB035DD701A251984CF3280DA1D157B581663129C5725244D0E8369ADDA11B8CD79BB35549F45EF3A0D133783EBDBA5D8F04E8356BB5D69015B3D3B35515395AB376AC28389B2C57D352405B3DE92916E4B2319771E003DDD60C0C110BE288F3C0831079B68DE415D3800409F319029661C8D61424699E061CCBD63E342109B25139CAB06176FB83A12E47F3AA083DBBDBEE9D68888D5655351650EF765B5D0BC9C6512D8B800C955E473581C865B32A234972AF3FD0110A46F9A864CC377453B580CD0489331105C4C7B6611B9AE3639294791286BE65EAFD9E0670508EAB79C1B0A6F45A2DCDE1E57CBE98969E299DDCE95A41343D5DCC2B6E29DD5EAB63FB62345B2EB3806AFD7E5B759048B3D938121E00BAA201C8459CC631F73CCF060040EC798C531E868CF81CDBC0747DE427519CCAE93D2099D0DD300847651E53571FEA9A8E685A946599725B1BF615DDE669369D1631B135A5AB0EB18C9D9623E1214D514E3448E2A2A8F22070B581A2B9962B92A208C3C0772CD3B42C97D0200AA34410CF01D03411C28C8B228A224EA094C1301109E2B4C873061D303C567540B26C329F44D43187DDEED0F442F985A8C601B64F646F964A64E3C95C72E70C87AA6A003F48C7655E70844C553380EB47715608CE7D07488D2DCC8810611C52462084AE0D7C04E390A721E7C87174CBB6A453D22C0A430E251A434E2FC22CCB62026C53D7878E47E5FAB22490D835C574A1C8B2220D986F1ADAD0703D16A67912F92E3406A6ED403F8AC23420D4B51DDD76211541CC58CCA02B65B031823CA0921BE673DF7491CC8683802742C4D29EBA050C07F9511A17921B601B034D7783209D24494E813990D8E4C72D4FD271127812E9404E40C27894E521044882B100E6719A440193D459960520A522948BE710C9FD0B70B124830B1A26C483B6DC46592E6641988940600FE936B02025611A261163C8B42D53568E4813E952E6BA32BB2B8D75EF2B991F4ADE5C08451C864204D8050E741C3F8CC220E21EC30E701D9F32CE434EA5110872097609916F0A867CCFC5AEEB01C4A92F0B03511FCA042EC0CCA78213463DE4DA922F5990D2C822A00839D228324E3297C43E86E0DEB448A64F33C12982409736F7B988A27BE89E14CE963306411846121C76E5EE0DC86C81DCACB190C8CD84234F8C691C069C716908D7918B219C05492808818E0BA494922AB93ECE2832806340E6F9F726A1043B9624CFC194474226852E9235E642B917149C799822CB41F2822520F9AE87A1044C88CFA82F5597230C3DEC524A251F147AB2143D87FA480EA42D7C28D9F1A8AC114A989041DE7DB82F75202C649CC9527624589FC86114502984EBBAD0C19C4821E4EC0401A9EB7DF393070F0806122AC0BE27BF02120D95469154DC3FA781E0B2133A003B362244722DAD49658DC8F41812E91C41253E499314177B4C2E2F200C238CA4D632508E4386A907E47EDCF3EEC99510992F9361E8FA128B349A2FB541F76430E9059FC812953640D097DCC887BE84256F40D9A624AB8412CFF35DC4A472922C5F0E3146F7879C5C12E1CB7F4F1691EB49B0F72EC6F7010060EC51FE675BBB1E743D194E05258120BE8FFE1F5003A40A]
}
Add(Host,7890437,112,448)
{
}
Add(Hub,4878113,35,406)
{
link(onEvent1,11709480:doSetFocus,[])
link(onEvent2,16662710:doText,[(84,419)(84,503)])
}
Add(Edit,16662710,119,497)
{
Left=100
Top=10
Width=100
Height=15
Color=-16777201
Ctl3D=1
link(onChange,15805960:onEvent1,[(834,503)(834,13)])
link(Str,7890437:LoacalIP,[])
}
END_SDK
Add(TCP_Server,5714549,301,175)
{
Port=1234
Point(onServerConnect)
Point(onServerDisconnect)
link(onRead,5714549:doSend,[(347,181)(347,158)(289,158)(289,195)])
link(onConnect,4089822:doWork1,[])
link(onDisconnect,4089822:doWork2,[])
link(onServerConnect,4424800:doEvent1,[])
link(onServerDisconnect,4089822:doWork4,[])
}
Add(If_else,3023513,224,175)
{
Op1=String()
Op2=String(192.168.1.4)
link(onTrue,5714549:doOpen,[])
link(onFalse,4424800:doEvent2,[(268,188)(268,209)])
link(Op1,4089822:Var1,[(230,105)(573,105)(573,239)(468,239)])
}
Add(Hub,4424800,378,196)
{
InCount=2
OutCount=1
link(onEvent1,4089822:doWork3,[])
}

карма: 0

0
Ответов: 79
Рейтинг: 3
#10: 2019-08-02 12:20:35 ЛС | профиль | цитата
В TCP клиенте нужно указать адрес сервера
>

--- Добавлено в 2019-08-02 12:21:37

В Вашем случае 192.168.1.4

Редактировалось 1 раз(а), последний 2019-08-02 12:21:37
карма: 1

0
Ответов: 161
Рейтинг: 2
#11: 2019-08-05 18:20:44 ЛС | профиль | цитата
Stalevar, спрашивай лучше про видео chat, если такое возможно?
карма: 0

0
Ответов: 79
Рейтинг: 3
#12: 2019-08-10 14:41:55 ЛС | профиль | цитата
Как то скучно сегодня на работе... Слабал схему локального мини-чата.
https://yadi.sk/d/henPXSvXCIu9xA

Редактировалось 5 раз(а), последний 2019-08-10 15:01:21
карма: 1

0
Ответов: 128
Рейтинг: 14
#13: 2019-08-11 11:33:52 ЛС | профиль | цитата
fox-video, Ошибку выдаёт.
Безымянный.jpg
Так хочется глянуть.
карма: 0

0
Ответов: 79
Рейтинг: 3
#14: 2019-08-11 11:42:07 ЛС | профиль | цитата
Упс... С чего бы это? Проверял на Windows 8.1, 10

Попробуй уменьшить число одновременных проверок портов с 16 до 8.
Замени 16 на 8 в выделенных элементах

--- Добавлено в 2019-08-11 11:49:06

Только что проверил на Windows 7 и XP, работает!

--- Добавлено в 2019-08-11 11:50:06

Схема собрана на штатных элементах, может обновиться надо?

--- Добавлено в 2019-08-11 11:53:04

Коллеги, кто скачивал схему, у Вас работает?

Редактировалось 3 раз(а), последний 2019-08-11 11:53:04
карма: 1

0
Ответов: 128
Рейтинг: 14
#15: 2019-08-11 12:08:53 ЛС | профиль | цитата
с 16 до 8, не помогло
карма: 0

0
Сообщение
...
Прикрепленные файлы
(файлы не залиты)