<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; Перезаход в игру при краше/вылете]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=13595&amp;type=atom" />
	<updated>2018-04-09T16:59:04Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=13595</id>
		<entry>
			<title type="html"><![CDATA[Re: Перезаход в игру при краше/вылете]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=124568#p124568" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code> 
 Process,Exist, BroCrashReporter.exe
  If !ErrorLevel
   {
    RunWait, cmd.exe /c Taskkill /f /im BroCrashReporter.exe*,, Hide
    Sleep, 1000
    Run, steam://rungameid/578080
    ExitApp 
   }
return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[rowe]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=33506</uri>
			</author>
			<updated>2018-04-09T16:59:04Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=124568#p124568</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Перезаход в игру при краше/вылете]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=124567#p124567" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>a_target=&quot;?&quot;
b_target=&quot;?&quot;
c_target=&quot;?&quot;
;d_target=&quot;?&quot;

Run, %a_target% , , hide
Sleep, 7000
RunWait, %c_target%


WinWaitClose, ahk_exe ?
Process, WaitClose, ?
RunWait, %b_target% , , hide
ExitApp</code></pre></div>]]></content>
			<author>
				<name><![CDATA[rowe]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=33506</uri>
			</author>
			<updated>2018-04-09T16:49:50Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=124567#p124567</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Перезаход в игру при краше/вылете]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=124409#p124409" />
			<content type="html"><![CDATA[<p>В итоге вот что получилось, рабочий вариант:<br /></p><div class="codebox"><pre><code>Start:
Loop {
          Sleep 10000
          Process, Exist, BroCrashReporter.exe
          if ErrorLevel
{
          Process, Close, BroCrashReporter.exe
          Sleep 2000
          Run, steam://rungameid/578080
          Goto start
}
          Process, Exist, Tslgame.exe
          if ErrorLevel = 0
{	 
          Sleep 1000
          Run, steam://rungameid/578080
          Goto start
}
}
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[DiscWave]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39176</uri>
			</author>
			<updated>2018-04-02T22:30:32Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=124409#p124409</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Перезаход в игру при краше/вылете]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=124408#p124408" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Loop {
        Process, Exist, samp.exe
	If ErrorLevel = 0
	{
          Process, Close, samp.exe
          Sleep 7000
          Run, steam://rungameid/578080
         }
     	  else if ErrorLevel = 1
	  Process, Exist, bdcam.exe
          Sleep 7000
          Run, steam://rungameid/578080
}
Return</code></pre></div><p>Вот этот код не работает, самп и бандикам взял для теста, ибо краш вызвать сам не могу.</p>]]></content>
			<author>
				<name><![CDATA[DiscWave]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39176</uri>
			</author>
			<updated>2018-04-02T21:37:19Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=124408#p124408</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Перезаход в игру при краше/вылете]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=124407#p124407" />
			<content type="html"><![CDATA[<p>Привет всем, нужен скрипт для перезахода из игры (PUBG), например, вылетел краш (BroCrashReporter.exe), чтобы ahk увидел этот процесс, закрыл его, после чего запустил игру (Run, steam://rungameid/578080). Или же если просто вылетело из игры, и в процессах не видит ahk TslGame_BE.exe, и он при этом делал команду Run, steam://rungameid/578080</p>]]></content>
			<author>
				<name><![CDATA[DiscWave]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39176</uri>
			</author>
			<updated>2018-04-02T20:35:08Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=124407#p124407</id>
		</entry>
</feed>
