Ожидание темы возможно?



  • Я бы хотел, чтобы, когда он достиг определенной точки, BOT ожидал, пока все потоки достигнут этой точки, чтобы иметь возможность продолжить, есть ли способ сделать это?

    Пример:
    Мой BOT подключается к прокси-серверу, и после этого он выполняет действие, но я бы хотел, чтобы после подключения к прокси-серверу они ждали, пока все другие потоки не подключатся, а затем все вместе выполняли следующее действие.



  • @Escobar через глобальные переменные можно попытаться организовать



  • @smeckoi77 Вы можете привести мне пример XML?



  • @Escobar да можно через глобальные переменные, делюсь скриптом который я писал для отложенного старта в определенное время

    BAS:[{"name":"","code":"/*Dat:eyJzIjoiaW5jZ2xvYmFsdmFyaWFibGUiLCJ2IjoxLCJmIjpbXSwidXciOiIwIiwidXQiOiIwIiwidXRvIjoiMCIsInVtIjoiMCIsImQiOlt7ImlkIjoiU2V0VmFyaWFibGVOYW1lIiwidHlwZSI6InZhciIsImRhdGEiOiJjaGlzdGlsaXNoZSJ9LHsiaWQiOiJJbmNWYXJpYWJsZVZhbHVlIiwidHlwZSI6ImNvbnN0ciIsImRhdGEiOiIxIiwiY2xhc3MiOiJpbnQifV19*/\nPSet(\"basglobal\", \"CHISTILISHE\", parseInt(JSON.parse(P(\"basglobal\", \"CHISTILISHE\") || \"0\")) + parseInt(1))","internal_label_id":"","dat_precomputed":null,"search_precomputed":null,"code_precomputed":null,"parentid":0,"id":972593307,"donotexecuteduringrecord":false,"is_selected":false,"color":"","is_fold":false,"fd":""},{"name":"","code":"/*Dat:eyJzIjoic2V0dmFyaWFibGUiLCJ2IjoxLCJmIjpbXSwidXciOiIwIiwidXQiOiIwIiwidXRvIjoiMCIsInVtIjoiMCIsImQiOlt7ImlkIjoiRXhwcmVzc2lvblZhbHVlIiwidHlwZSI6ImNvbnN0ciIsImRhdGEiOiJ7e9CS0L4g0YHQutC+0LvRjNC60L4/fX0iLCJjbGFzcyI6ImV4cHJlc3Npb24ifSx7ImlkIjoiRXhwcmVzc2lvblZhbHVlQ29uZmlybSIsInR5cGUiOiJjb25zdHIiLCJkYXRhIjoiIiwiY2xhc3MiOiJleHByZXNzaW9uIn0seyJpZCI6IlNldFZhcmlhYmxlTmFtZSIsInR5cGUiOiJ2YXIiLCJkYXRhIjoiY2hpc3RzdGF0aWMifSx7ImlkIjoiU2V0VmFyaWFibGVWYWx1ZSIsInR5cGUiOiJjb25zdHIiLCJkYXRhIjoiW1tHTE9CQUw6Q0hJU1RJTElTSEVdXSIsImNsYXNzIjoic3RyaW5nIn1dfQ==*/\nVAR_CHISTSTATIC = JSON.parse(P(\"basglobal\", \"CHISTILISHE\") || '\"\"')","internal_label_id":"","dat_precomputed":null,"search_precomputed":null,"code_precomputed":null,"parentid":0,"id":773094714,"donotexecuteduringrecord":false,"is_selected":false,"color":"","is_fold":false,"fd":""},{"name":"","code":"/*Dat:eyJzIjoiaWYiLCJ2IjoxLCJmIjpbXSwidXciOiIwIiwidXQiOiIwIiwidXRvIjoiMCIsInVtIjoiMCIsImQiOlt7ImlkIjoiSWZFeHByZXNzaW9uIiwidHlwZSI6ImNvbnN0ciIsImpzb24iOiJbe1wibmFtZVwiOlwicmVzdWx0XCIsXCJpZFwiOlwiMFwiLFwieFwiOjIyMDAsXCJ5XCI6MjAwMH0se1wibmFtZVwiOlwidmFsdWVcIixcImRhdGFcIjpcIltbQ0hJU1RTVEFUSUNdXVwiLFwiZGF0YW9yaWdpbmFsXCI6XCJbW0NISVNUU1RBVElDXV1cIixcImRhdGF0eXBlXCI6XCJzdHJpbmdcIixcImlkXCI6XCIxXCIsXCJ4XCI6MTY4MixcInlcIjoxODY5fSx7XCJuYW1lXCI6XCJ2YWx1ZVwiLFwiZGF0YVwiOlwiMVwiLFwiZGF0YW9yaWdpbmFsXCI6XCIxXCIsXCJkYXRhdHlwZVwiOlwiaW50XCIsXCJpZFwiOlwiMlwiLFwieFwiOjE2NzYsXCJ5XCI6MjA0NH0se1wibmFtZVwiOlwiPFwiLFwiaWRcIjpcIjNcIixcInhcIjoxOTczLFwieVwiOjIwNTd9LHtcInR5cGVcIjpcImxpbmtcIixcInNvdXJjZVwiOntcImlkXCI6XCIxXCIsXCJwb3J0XCI6XCItXCJ9LFwidGFyZ2V0XCI6e1wiaWRcIjpcIjNcIixcInBvcnRcIjpcInZhbHVlMVwifX0se1widHlwZVwiOlwibGlua1wiLFwic291cmNlXCI6e1wiaWRcIjpcIjJcIixcInBvcnRcIjpcIi1cIn0sXCJ0YXJnZXRcIjp7XCJpZFwiOlwiM1wiLFwicG9ydFwiOlwidmFsdWUyXCJ9fSx7XCJ0eXBlXCI6XCJsaW5rXCIsXCJzb3VyY2VcIjp7XCJpZFwiOlwiM1wiLFwicG9ydFwiOlwiLVwifSxcInRhcmdldFwiOntcImlkXCI6XCIwXCIsXCJwb3J0XCI6XCItXCJ9fV0iLCJkYXRhIjoiKFtbQ0hJU1RTVEFUSUNdXSkgPiAoMCkiLCJjbGFzcyI6ImV4cHJlc3Npb24ifSx7ImlkIjoiSWZFbHNlIiwidHlwZSI6ImNoZWNrIiwiZGF0YSI6ZmFsc2V9XX0=*/\n_if((VAR_CHISTSTATIC) > (0),function(){\nsection_insert()\n})!","internal_label_id":"","dat_precomputed":null,"search_precomputed":null,"code_precomputed":null,"parentid":0,"id":998099060,"donotexecuteduringrecord":false,"is_selected":false,"color":"","is_fold":false,"fd":""},{"name":"","code":"/*Dat:eyJzIjoiaWYiLCJ2IjoxLCJmIjpbXSwidXciOiIwIiwidXQiOiIwIiwidXRvIjoiMCIsInVtIjoiMCIsImQiOlt7ImlkIjoiSWZFeHByZXNzaW9uIiwidHlwZSI6ImNvbnN0ciIsImpzb24iOiJbe1wibmFtZVwiOlwicmVzdWx0XCIsXCJpZFwiOlwiMFwiLFwieFwiOjIyMDAsXCJ5XCI6MjAwMH0se1wibmFtZVwiOlwidmFsdWVcIixcImRhdGFcIjpcInt70J7RgtC70L7QttC10L3QvdGL0Lkg0YHRgtCw0YDRgj99fVwiLFwiZGF0YW9yaWdpbmFsXCI6XCJ7e9Ce0YLQu9C+0LbQtdC90L3Ri9C5INGB0YLQsNGA0YI/fX1cIixcImRhdGF0eXBlXCI6XCJzdHJpbmdcIixcImlkXCI6XCIxXCIsXCJ4XCI6MTYyNCxcInlcIjoxODc2fSx7XCJuYW1lXCI6XCJ2YWx1ZVwiLFwiZGF0YVwiOlwiXFxcItCU0LBcXFwiXCIsXCJkYXRhb3JpZ2luYWxcIjpcItCU0LBcIixcImRhdGF0eXBlXCI6XCJzdHJpbmdcIixcImlkXCI6XCIyXCIsXCJ4XCI6MTY0NSxcInlcIjoyMTExfSx7XCJuYW1lXCI6XCI9PVwiLFwiaWRcIjpcIjNcIixcInhcIjoxOTY3LFwieVwiOjIwMzd9LHtcInR5cGVcIjpcImxpbmtcIixcInNvdXJjZVwiOntcImlkXCI6XCIxXCIsXCJwb3J0XCI6XCItXCJ9LFwidGFyZ2V0XCI6e1wiaWRcIjpcIjNcIixcInBvcnRcIjpcInZhbHVlMVwifX0se1widHlwZVwiOlwibGlua1wiLFwic291cmNlXCI6e1wiaWRcIjpcIjJcIixcInBvcnRcIjpcIi1cIn0sXCJ0YXJnZXRcIjp7XCJpZFwiOlwiM1wiLFwicG9ydFwiOlwidmFsdWUyXCJ9fSx7XCJ0eXBlXCI6XCJsaW5rXCIsXCJzb3VyY2VcIjp7XCJpZFwiOlwiM1wiLFwicG9ydFwiOlwiLVwifSxcInRhcmdldFwiOntcImlkXCI6XCIwXCIsXCJwb3J0XCI6XCItXCJ9fV0iLCJkYXRhIjoiKHt7U3RhcnR9fSkgPT0gKFwiWWVzXCIpIiwiY2xhc3MiOiJleHByZXNzaW9uIn0seyJpZCI6IklmRWxzZSIsInR5cGUiOiJjaGVjayIsImRhdGEiOmZhbHNlfV19*/\nRS(\"Start\", false, false)!\nRESOURCE_288352 = _result().get()\n_if((RESOURCE_288352) == (\"Yes\"),function(){\nsection_insert()\n})!","internal_label_id":"","dat_precomputed":null,"search_precomputed":null,"code_precomputed":null,"parentid":998099060,"id":995852204,"donotexecuteduringrecord":false,"is_selected":false,"color":"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CIsXCJkYXRhb3JpZ2luYWxcIjpcIltbQ0hJU1RTVEFUSUNdXVwiLFwiZGF0YXR5cGVcIjpcInN0cmluZ1wiLFwiaWRcIjpcIjNcIixcInhcIjoxNTEwLFwieVwiOjE5MTR9LHtcInR5cGVcIjpcImxpbmtcIixcInNvdXJjZVwiOntcImlkXCI6XCIzXCIsXCJwb3J0XCI6XCItXCJ9LFwidGFyZ2V0XCI6e1wiaWRcIjpcIjFcIixcInBvcnRcIjpcInZhbHVlMVwifX1dIiwiZGF0YSI6IihbW0NISVNUU1RBVElDXV0pID09ICgxKSIsImNsYXNzIjoiZXhwcmVzc2lvbiJ9LHsiaWQiOiJJZkVsc2UiLCJ0eXBlIjoiY2hlY2siLCJkYXRhIjpmYWxzZX1dfQ==*/\n_if((VAR_CHISTSTATIC) == (1),function(){\nsection_insert()\n})!","internal_label_id":"","dat_precomputed":null,"search_precomputed":null,"code_precomputed":null,"parentid":995852204,"id":352398979,"donotexecuteduringrecord":false,"is_selected":false,"color":"","is_fold":false,"fd":""},{"name":"","code":"/*Dat:eyJzIjoiZm9yIiwidiI6MSwiZiI6W10sInV3IjoiMCIsInV0IjoiMCIsInV0byI6IjAiLCJ1bSI6IjAiLCJkIjpbeyJpZCI6IkV4cHJlc3Npb25WYWx1ZSIsInR5cGUiOiJjb25zdHIiLCJkYXRhIjoiMSIsImNsYXNzIjoiaW50In0seyJpZCI6IkV4cHJlc3Npb25WYWx1ZUNvbmZpcm0iLCJ0eXBlIjoiY29uc3RyIiwiZGF0YSI6IiIsImNsYXNzIjoiZXhwcmVzc2lvbiJ9LHsiaWQiOiJGb3JGcm9tIiwidHlwZSI6ImNvbnN0ciIsImRhdGEiOiIxIiwiY2xhc3MiOiJleHByZXNzaW9uIn0seyJpZCI6IkZvclRvIiwidHlwZSI6ImNvbnN0ciIsImRhdGEiOiI5MDAwIiwiY2xhc3MiOiJleHByZXNzaW9uIn1dfQ==*/\n_do(function(){\nVAR_CYCLE_INDEX = _iterator() - 1 + parseInt(1)\nif(VAR_CYCLE_INDEX > parseInt(9000))_break();\nsection_insert()\n})!","internal_label_id":"","dat_precomputed":null,"search_precomputed":null,"code_precomputed":null,"parentid":352398979,"id":541044541,"donotexecuteduringrecord":false,"is_selected":false,"color":"","is_fold":false,"fd":""},{"name":"","code":"/*Dat:eyJzIjoibG9nIiwidiI6MSwiZiI6W10sInV3IjoiMCIsInV0IjoiMCIsInV0byI6IjAiLCJ1bSI6IjAiLCJkIjpbeyJpZCI6IkxvZ1RleHQiLCJ0eXBlIjoiY29uc3RyIiwiZGF0YSI6IldhaXQgZm9yIHt7VGltZX19IGhvdXIiLCJjbGFzcyI6InN0cmluZyJ9XX0=*/\nRS(\"Time\", false, false)!\nRESOURCE_251516 = _result().get()\nlog(\"Wait for \" + RESOURCE_251516 + \" hour\")","internal_label_id":"","dat_precomputed":null,"search_precomputed":null,"code_precomputed":null,"parentid":541044541,"id":159177502,"donotexecuteduringrecord":false,"is_selected":false,"color":"","is_fold":false,"fd":""},{"name":"","code":"/*Dat:eyJzIjoiZGF0ZXRpbWVfZGF0ZW5vdyIsInYiOjEsImYiOltdLCJ1dyI6IjAiLCJ1dCI6IjAiLCJ1dG8iOiIwIiwidW0iOiIwIiwiZCI6W3siaWQiOiJFeHByZXNzaW9uVmFsdWUiLCJ0eXBlIjoiY29uc3RyIiwiZGF0YSI6IjEiLCJjbGFzcyI6ImludCJ9LHsiaWQiOiJFeHByZXNzaW9uVmFsdWVDb25maXJtIiwidHlwZSI6ImNvbnN0ciIsImRhdGEiOiIiLCJjbGFzcyI6ImV4cHJlc3Npb24ifSx7ImlkIjoiU2F2ZSIsInR5cGUiOiJ2YXIiLCJkYXRhIjoiREFURV9OT1cifV19*/\nVAR_DATE_NOW = _parse_date(Date.now(),\"auto\")\nVAR_DATE_NOW.getTimezoneOffset = function(){return parseInt(native(\"datetime\", \"systemtimezone\", \"\")) }","internal_label_id":"","dat_precomputed":null,"search_precomputed":null,"code_precomputed":null,"parentid":541044541,"id":420943412,"donotexecuteduringrecord":false,"is_selected":false,"color":"","is_fold":false,"fd":""},{"name":"","code":"/*Dat:eyJzIjoiZGF0ZXRpbWVfaG91ciIsInYiOjEsImYiOltdLCJ1dyI6IjAiLCJ1dCI6IjAiLCJ1dG8iOiIwIiwidW0iOiIwIiwiZCI6W3siaWQiOiJFeHByZXNzaW9uVmFsdWUiLCJ0eXBlIjoiY29uc3RyIiwiZGF0YSI6IjEiLCJjbGFzcyI6ImludCJ9LHsiaWQiOiJFeHByZXNzaW9uVmFsdWVDb25maXJtIiwidHlwZSI6ImNvbnN0ciIsImRhdGEiOiIiLCJjbGFzcyI6ImV4cHJlc3Npb24ifSx7ImlkIjoiU3RyaW5nIiwidHlwZSI6ImNvbnN0ciIsImRhdGEiOiJbW0RBVEVfTk9XXV0iLCJjbGFzcyI6InN0cmluZyJ9LHsiaWQiOiJTYXZlIiwidHlwZSI6InZhciIsImRhdGEiOiJIT1VSIn1dfQ==*/\nVAR_HOUR = parseInt(_format_date(VAR_DATE_NOW,\"h\"))","internal_label_id":"","dat_precomputed":null,"search_precomputed":null,"code_precomputed":null,"parentid":541044541,"id":432430226,"donotexecuteduringrecord":false,"is_selected":false,"color":"","is_fold":false,"fd":""},{"name":"","code":"/*Dat:eyJzIjoibG9nIiwidiI6MSwiZiI6W10sInV3IjoiMCIsInV0IjoiMCIsInV0byI6IjAiLCJ1bSI6IjAiLCJkIjpbeyJpZCI6IkxvZ1RleHQiLCJ0eXBlIjoiY29uc3RyIiwiZGF0YSI6Ik5vdyBbW0hPVVJdXSBob3VyIiwiY2xhc3MiOiJzdHJpbmcifV19*/\nlog(\"Now \" + VAR_HOUR + \" hour\")","internal_label_id":"","dat_precomputed":null,"search_precomputed":null,"code_precomputed":null,"parentid":541044541,"id":388691653,"donotexecuteduringrecord":false,"is_selected":false,"color":"","is_fold":false,"fd":""},{"name":"","code":"/*Dat:eyJzIjoiaWYiLCJ2IjoxLCJmIjpbXSwidXciOiIwIiwidXQiOiIwIiwidXR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gPT0gKHt7VGltZX19KSIsImNsYXNzIjoiZXhwcmVzc2lvbiJ9LHsiaWQiOiJJZkVsc2UiLCJ0eXBlIjoiY2hlY2siLCJkYXRhIjpmYWxzZX1dfQ==*/\nRS(\"Time\", false, false)!\nRESOURCE_515024 = _result().get()\n_if((VAR_HOUR) == (RESOURCE_515024),function(){\nsection_insert()\n})!","internal_label_id":"","dat_precomputed":null,"search_precomputed":null,"code_precomputed":null,"parentid":541044541,"id":296362861,"donotexecuteduringrecord":false,"is_selected":false,"color":"","is_fold":false,"fd":""},{"name":"","code":"/*Dat:eyJzIjoiaW5jZ2xvYmFsdmFyaWFibGUiLCJ2IjoxLCJmIjpbXSwidXciOiIwIiwidXQiOiIwIiwidXRvIjoiMCIsInVtIjoiMCIsImQiOlt7ImlkIjoiRXhwcmVzc2lvblZhbHVlIiwidHlwZSI6ImNvbnN0ciIsImRhdGEiOiJbW0dMT0JBTDpDSElTVElMSVNIRV1dIiwiY2xhc3MiOiJzdHJpbmcifSx7ImlkIjoiRXhwcmVzc2lvblZhbHVlQ29uZmlybSIsInR5cGUiOiJjb25zdHIiLCJkYXRhIjoiKFtbR0xPQkFMOkNISVNUSUxJU0hFXV0pICogKC01MDAwKSIsImNsYXNzIjoiZXhwcmVzc2lvbiJ9LHsiaWQiOiJTZXRWYXJpYWJsZU5hbWUiLCJ0eXBlIjoidmFyIiwiZGF0YSI6IkNISVNUSUxJU0hFIn0seyJpZCI6IkluY1ZhcmlhYmxlVmFsdWUiLCJ0eXBlIjoiY29uc3RyIiwianNvbiI6Ilt7XCJuYW1lXCI6XCJyZXN1bHRcIixcImlkXCI6XCIwXCIsXCJ4XCI6MjIwMCxcInlcIjoyMDAwfSx7XCJuYW1lXCI6XCIqXCIsXCJpZFwiOlwiMVwiLFwieFwiOjIwMTgsXCJ5XCI6MjA0MH0se1wibmFtZVwiOlwidmFsdWVcIixcImRhdGFcIjpcIi01MDAwXCIsXCJkYXRhb3JpZ2luYWxcIjpcIi01MDAwXCIsXCJkYXRhdHlwZVwiOlwiaW50XCIsXCJpZFwiOlwiMlwiLFwieFwiOjE2OTcsXCJ5XCI6MjA4Mn0se1widHlwZVwiOlwibGlua1wiLFwic291cmNlXCI6e1wiaWRcIjpcIjJcIixcInBvcnRcIjpcIi1cIn0sXCJ0YXJnZXRcIjp7XCJpZFwiOlwiMVwiLFwicG9ydFwiOlwibnVtYmVyMlwifX0se1widHlwZVwiOlwibGlua1wiLFwic291cmNlXCI6e1wiaWRcIjpcIjFcIixcInBvcnRcIjpcIi1cIn0sXCJ0YXJnZXRcIjp7XCJpZFwiOlwiMFwiLFwicG9ydFwiOlwiLVwifX0se1wibmFtZVwiOlwidmFsdWVcIixcImRhdGFcIjpcIltbR0xPQkFMOkNISVNUSUxJU0hFXV1cIixcImRhdGFvcmlnaW5hbFwiOlwiW1tHTE9CQUw6Q0hJU1RJTElTSEVdXVwiLFwiZGF0YXR5cGVcIjpcInN0cmluZ1wiLFwiaWRcIjpcIjNcIixcInhcIjoxNjg2LFwieVwiOjE5Nzh9LHtcInR5cGVcIjpcImxpbmtcIixcInNvdXJjZVwiOntcImlkXCI6XCIzXCIsXCJwb3J0XCI6XCItXCJ9LFwidGFyZ2V0XCI6e1wiaWRcIjpcIjFcIixcInBvcnRcIjpcIm51bWJlcjFcIn19XSIsImRhdGEiOiIoW1tHTE9CQUw6Q0hJU1RJTElTSEVdXSkgKiAoLTUwMDAwKSIsImNsYXNzIjoiZXhwcmVzc2lvbiJ9XX0=*/\nPSet(\"basglobal\", \"CHISTILISHE\", parseInt(JSON.parse(P(\"basglobal\", \"CHISTILISHE\") || \"0\")) + parseInt((JSON.parse(P(\"basglobal\", \"CHISTILISHE\") || '\"\"')) * (-50000)))","internal_label_id":"","dat_precomputed":null,"search_precomputed":null,"code_precomputed":null,"parentid":296362861,"id":791537888,"donotexecuteduringrecord":false,"is_selected":false,"color":"","is_fold":false,"fd":""},{"name":"","code":"/*Dat:eyJzIjoibG9nIiwidiI6MSwiZiI6W10sInV3IjoiMCIsInV0IjoiMCIsInV0byI6IjAiLCJ1bSI6IjAiLCJkIjpbeyJpZCI6IkxvZ1RleHQiLCJ0eXBlIjoiY29uc3RyIiwiZGF0YSI6IlN0YXJ0IFNjcmlwdCEiLCJjbGFzcyI6InN0cmluZyJ9XX0=*/\nlog(\"Start Script!\")","internal_label_id":"","dat_precomputed":null,"search_precomputed":null,"code_precomputed":null,"parentid":296362861,"id":992732346,"donotexecuteduringrecord":false,"is_selected":false,"color":"","is_fold":false,"fd":""},{"name":"","code":"/*Dat:eyJzIjoic3VjY2VzcyIsInYiOjEsImYiOltdLCJ1dyI6IjAiLCJ1dCI6IjAiLCJ1dG8iOiIwIiwidW0iOiIwIiwiZCI6W3siaWQiOiJTdWNjZXNzTWVzc2FnZSIsInR5cGUiOiJjb25zdHIiLCJkYXRhIjoiT3Rsb3poZW5paSBzdGFydCIsImNsYXNzIjoic3RyaW5nIn1dfQ==*/\nsuccess(\"Otlozhenii start\")","internal_label_id":"","dat_precomputed":null,"search_precomputed":null,"code_precomputed":null,"parentid":296362861,"id":97226849,"donotexecuteduringrecord":false,"is_selected":false,"color":"","is_fold":false,"fd":""},{"name":"","code":"/*Dat:eyJzIjoic2xlZXAiLCJ2IjoxLCJmIjpbXSwidXciOiIwIiwidXQiOiIwIiwidXRvIjoiMCIsInVtIjoiMCIsImQiOlt7ImlkIjoic2xlZXBmcm9tIiwidHlwZSI6ImNvbnN0ciIsImRhdGEiOiIxMDAwMCIsImNsYXNzIjoiaW50In0seyJpZCI6InNsZWVwdG8iLCJ0eXBlIjoiY29uc3RyIiwiZGF0YSI6IjEwMDAiLCJjbGFzcyI6ImludCJ9LHsiaWQiOiJzbGVlcGZyb210byIsInR5cGUiOiJjb25zdHIiLCJkYXRhIjoiNjAwMDAwIiwiY2xhc3MiOiJpbnQifSx7ImlkIjoic2xlZXByYW5kb20iLCJ0eXBlIjoiY2hlY2siLCJkYXRhIjpmYWxzZX1dfQ==*/\nsleep(600000)!","internal_label_id":"","dat_precomputed":null,"search_precomputed":null,"code_precomputed":null,"parentid":541044541,"id":725299430,"donotexecuteduringrecord":false,"is_selected":false,"color":"","is_fold":false,"fd":""},{"name":"","code":"/*Dat:eyJzIjoiaWYiLCJ2IjoxLCJmIjpbXSwidXciOiIwIiwidXQiOiIwIiwidXRvIjoiMCIsInVtIjoiMCIsImQiOlt7ImlkIjoiRXhwcmVzc2lvblZhbHVlIiwidHlwZSI6ImNvbnN0ciIsImRhdGEiOiJbW0NISVNUU1RBVElDXV0iLCJjbGFzcyI6InN0cmluZyJ9LHsiaWQiOiJFeHByZXNzaW9uVmFsdWVDb25maXJtIiwidHlwZSI6ImNvbnN0ciIsImRhdGEiOiIoW1tDSElTVFNUQVRJQ11dKSA+ICgxKSIsImNsYXNzIjoiZXhwcmVzc2lvbiJ9LHsiaWQiOiJJZkV4cHJlc3Npb24iLCJ0eXBlIjoiY29uc3RyIiwianNvbiI6Ilt7XCJuYW1lXCI6XCJyZXN1bHRcIixcImlkXCI6XCIwXCIsXCJ4XCI6MjIwMCxcInlcIjoyMDAwfSx7XCJuYW1lXCI6XCI+XCIsXCJpZFwiOlwiMVwiLFwieFwiOjE4NjMsXCJ5XCI6MjAxN30se1wibmFtZVwiOlwidmFsdWVcIixcImRhdGFcIjpcIjFcIixcImRhdGFvcmlnaW5hbFwiOlwiMVwiLFwiZGF0YXR5cGVcIjpcImludFwiLFwiaWRcIjpcIjJcIixcInhcIjoxNjEyLFwieVwiOjIxMTh9LHtcInR5cGVcIjpcImxpbmtcIixcInNvdXJjZVwiOntcImlkXCI6XCIxXCIsXCJwb3J0XCI6XCItXCJ9LFwidGFyZ2V0XCI6e1wiaWRcIjpcIjBcIixcInBvcnRcIjpcIi1cIn19LHtcInR5cGVcIjpcImxpbmtcIixcInNvdXJjZVwiOntcImlkXCI6XCIyXCIsXCJwb3J0XCI6XCItXCJ9LFwidGFyZ2V0XCI6e1wiaWRcIjpcIjFcIixcInBvcnRcIjpcInZhbHVlMlwifX0se1wibmFtZVwiOlwidmFsdWVcIixcImRhdGFcIjpcIltbQ0hJU1RTVEFUSUNdXVwiLFwiZGF0YW9yaWdpbmFsXCI6XCJbW0NISVNUU1RBVElDXV1cIixcImRhdGF0eXBlXCI6XCJzdHJpbmdcIixcImlkXCI6XCIzXCIsXCJ4XCI6MTU2OCxcInlcIjoxOTE4fSx7XCJ0eXBlXCI6XCJsaW5rXCIsXCJzb3VyY2VcIjp7XCJpZFwiOlwiM1wiLFwicG9ydFwiOlwiLVwifSxcInRhcmdldFwiOntcImlkXCI6XCIxXCIsXCJwb3J0XCI6XCJ2YWx1ZTFcIn19XSIsImRhdGEiOiIoW1tDSElTVFNUQVRJQ11dKSA+ICgxKSIsImNsYXNzIjoiZXhwcmVzc2lvbiJ9LHsiaWQiOiJJZkVsc2UiLCJ0eXBlIjoiY2hlY2siLCJkYXRhIjpmYWxzZX1dfQ==*/\n_if((VAR_CHISTSTATIC) > (1),function(){\nsection_insert()\n})!","internal_label_id":"","dat_precomputed":null,"search_precomputed":null,"code_precomputed":null,"parentid":995852204,"id":787275742,"donotexecuteduringrecord":false,"is_selected":false,"color":"","is_fold":false,"fd":""},{"name":"","code":"/*Dat:eyJzIjoiZm9yIiwidiI6MSwiZiI6W10sInV3IjoiMCIsInV0IjoiMCIsInV0byI6IjAiLCJ1bSI6IjAiLCJkIjpbeyJpZCI6IkV4cHJlc3Npb25WYWx1ZSIsInR5cGUiOiJjb25zdHIiLCJkYXRhIjoiMSIsImNsYXNzIjoiaW50In0seyJpZCI6IkV4cHJlc3Npb25WYWx1ZUNvbmZpcm0iLCJ0eXBlIjoiY29uc3RyIiwiZGF0YSI6IiIsImNsYXNzIjoiZXhwcmVzc2lvbiJ9LHsiaWQiOiJGb3JGcm9tIiwidHlwZSI6ImNvbnN0ciIsImRhdGEiOiIxIiwiY2xhc3MiOiJleHByZXNzaW9uIn0seyJpZCI6IkZvclRvIiwidHlwZSI6ImNvbnN0ciIsImRhdGEiOiI5MDAwIiwiY2xhc3MiOiJleHByZXNzaW9uIn1dfQ==*/\n_do(function(){\nVAR_CYCLE_INDEX = _iterator() - 1 + parseInt(1)\nif(VAR_CYCLE_INDEX > parseInt(9000))_break();\nsection_insert()\n})!","internal_label_id":"","dat_precomputed":null,"search_precomputed":null,"code_precomputed":null,"parentid":787275742,"id":8432063,"donotexecuteduringrecord":false,"is_selected":false,"color":"","is_fold":false,"fd":""},{"name":"","code":"/*Dat:eyJzIjoiaWYiLCJ2IjoxLCJmIjpbXSwidXciOiIwIiwidXQiOiIwIiwidXRvIjoiMCIsInVtIjoiMCIsImQiOlt7ImlkIjoiSWZFeHByZXNzaW9uIiwidHlwZSI6ImNvbnN0ciIsImpzb24iOiJbe1wibmFtZVwiOlwicmVzdWx0XCIsXCJpZFwiOlwiMFwiLFwieFwiOjIyMDAsXCJ5XCI6MjAwMH0se1wibmFtZVwiOlwidmFsdWVcIixcImRhdGFcIjpcIltbQ0hJU1RTVEFUSUNdXVwiLFwiZGF0YW9yaWdpbmFsXCI6XCJbW0NISVNUU1RBVElDXV1cIixcImRhdGF0eXBlXCI6XCJzdHJpbmdcIixcImlkXCI6XCIxXCIsXCJ4XCI6MTY0NCxcInlcIjoxOTUwfSx7XCJuYW1lXCI6XCI8XCIsXCJpZFwiOlwiMlwiLFwieFwiOjE4NjIsXCJ5XCI6MjA0OX0se1widHlwZVwiOlwibGlua1wiLFwic291cmNlXCI6e1wiaWRcIjpcIjFcIixcInBvcnRcIjpcIi1cIn0sXCJ0YXJnZXRcIjp7XCJpZFwiOlwiMlwiLFwicG9ydFwiOlwidmFsdWUxXCJ9fSx7XCJ0eXBlXCI6XCJsaW5rXCIsXCJzb3VyY2VcIjp7XCJpZFwiOlwiMlwiLFwicG9ydFwiOlwiLVwifSxcInRhcmdldFwiOntcImlkXCI6XCIwXCIsXCJwb3J0XCI6XCItXCJ9fSx7XCJuYW1lXCI6XCJ2YWx1ZVwiLFwiZGF0YVwiOlwiMVwiLFwiZGF0YW9yaWdpbmFsXCI6XCIxXCIsXCJkYXRhdHlwZVwiOlwiaW50XCIsXCJpZFwiOlwiM1wiLFwieFwiOjE1NjIsXCJ5XCI6MjExOX0se1widHlwZVwiOlwibGlua1wiLFwic291cmNlXCI6e1wiaWRcIjpcIjNcIixcInBvcnRcIjpcIi1cIn0sXCJ0YXJnZXRcIjp7XCJpZFwiOlwiMlwiLFwicG9ydFwiOlwidmFsdWUyXCJ9fV0iLCJkYXRhIjoiKFtbR0xPQkFMOkNISVNUSUxJU0hFXV0pIDwgKDEpIiwiY2xhc3MiOiJleHByZXNzaW9uIn0seyJpZCI6IklmRWxzZSIsInR5cGUiOiJjaGVjayIsImRhdGEiOmZhbHNlfV19*/\n_if((JSON.parse(P(\"basglobal\", \"CHISTILISHE\") || '\"\"')) < (1),function(){\nsection_insert()\n})!","internal_label_id":"","dat_precomputed":null,"search_precomputed":null,"code_precomputed":null,"parentid":8432063,"id":249631712,"donotexecuteduringrecord":false,"is_selected":false,"color":"","is_fold":false,"fd":""},{"name":"","code":"/*Dat:eyJzIjoic3VjY2VzcyIsInYiOjEsImYiOltdLCJ1dyI6IjAiLCJ1dCI6IjAiLCJ1dG8iOiIwIiwidW0iOiIwIiwiZCI6W3siaWQiOiJTdWNjZXNzTWVzc2FnZSIsInR5cGUiOiJjb25zdHIiLCJkYXRhIjoiT3Rsb3poZW5paSBzdGFydDIiLCJjbGFzcyI6InN0cmluZyJ9XX0=*/\nsuccess(\"Otlozhenii start2\")","internal_label_id":"","dat_precomputed":null,"search_precomputed":null,"code_precomputed":null,"parentid":249631712,"id":727693648,"donotexecuteduringrecord":false,"is_selected":false,"color":"","is_fold":false,"fd":""},{"name":"","code":"/*Dat:eyJzIjoic2xlZXAiLCJ2IjoxLCJmIjpbXSwidXciOiIwIiwidXQiOiIwIiwidXRvIjoiMCIsInVtIjoiMCIsImQiOlt7ImlkIjoic2xlZXBmcm9tIiwidHlwZSI6ImNvbnN0ciIsImRhdGEiOiIxMDAwMCIsImNsYXNzIjoiaW50In0seyJpZCI6InNsZWVwdG8iLCJ0eXBlIjoiY29uc3RyIiwiZGF0YSI6IjEwMDAiLCJjbGFzcyI6ImludCJ9LHsiaWQiOiJzbGVlcGZyb210byIsInR5cGUiOiJjb25zdHIiLCJkYXRhIjoiNjIwMDAwIiwiY2xhc3MiOiJpbnQifSx7ImlkIjoic2xlZXByYW5kb20iLCJ0eXBlIjoiY2hlY2siLCJkYXRhIjpmYWxzZX1dfQ==*/\nsleep(620000)!","internal_label_id":"","dat_precomputed":null,"search_precomputed":null,"code_precomputed":null,"parentid":8432063,"id":66105409,"donotexecuteduringrecord":false,"is_selected":false,"color":"","is_fold":false,"fd":""}]
    
    :::


  • @35xakers said in Ожидание темы возможно?:

    Можете ли вы поделиться xml, который я могу воспроизвести в BAS?



  • @Escobar said in Ожидание темы возможно?:

    @35xakers said in Ожидание темы возможно?:

    Можете ли вы поделиться xml, который я могу воспроизвести в BAS?

    Не xml, но подробное описание
    https://community.bablosoft.com/topic/9204/синхронизация-аккаунтов-в-многопотоке/5



  • @Escobar Скопируйте мою строку и вставьте в свой скрипт в самом начале так же создайте 2 ресурса
    Start (Yes No)
    Time (0-23 в числах)



  • @Escobar said in Ожидание темы возможно?:

    Я бы хотел, чтобы, когда он достиг определенной точки, BOT ожидал, пока все потоки достигнут этой точки, чтобы иметь возможность продолжить, есть ли способ сделать это?

    Пример:
    Мой BOT подключается к прокси-серверу, и после этого он выполняет действие, но я бы хотел, чтобы после подключения к прокси-серверу они ждали, пока все другие потоки не подключатся, а затем все вместе выполняли следующее действие.

    Через глобальную переменную.
    При старте потоков она равна 0.
    Как поток подключил ПРОКси плюсуем 1. Ждем пока она (глоб переменная) не станет = кол-ву потоков.
    Не?



  • @Escobar
    Do you understand what they answered you?



  • @IvanM no...


Log in to reply