well this is how it should be written
What you had..
Code:
1. Open a note pad
2. type this: taskkill /im SRO_Client.exe ( Or put it how ever you have SRO_Client.exe spelled. )
3. Click the X and hit ' Save As ' and type SroClose.bat
4. Save it to you're desktop.
5. Follow baracoudaking's tutorial and once you're done setting up the auto-login / auto-start bot, Go to you're bot, Click ' Alarms ' and Tick ( Check ) ' Disconnected ' click ' Open File ' and look for you're SroClose.bat and from now on, When you D/C it SHOULD... Close SRO and the bot will automatically re-start and re-bot. If it helped... Say thanks, If it helped and you didn't say thanks, Idc... All I know is I helped
this part needs to be
Code:
2. type this: taskkill[COLOR="Red"] /f [/COLOR]/im SRO_Client.exe ( Or put it how ever you have SRO_Client.exe spelled. )
or even better (this will only attempt to kill the task if it's actually running.. so if it does close correctly it don't do anything)
Code:
2. type this: taskkill [COLOR="Red"]/f[/COLOR] /im SRO_Client.exe[COLOR="Red"] /FI "STATUS eq RUNNING"[/COLOR] ( Or put it how ever you have SRO_Client.exe spelled. )
it forces closed rather than just closes the process which should eliminate the clicking issue..
also if you run this in 7/vista you will need to have administrator priv to execute a task kill and just running the batch file from ibot won't give you that..
you need to create a shortcut to the batch file right click properties etc. check always run as administrator then access the batch file in that way using the shortcut instead..
Or.. if your administrator account has a password then do the following
Code:
taskkill [COLOR="Red"]/f /U windowsadminusername /P windowsadminpassword [/COLOR] /im SRO_Client.exe[COLOR="Red"] /FI "STATUS eq RUNNING"[/COLOR]
now if you have UAC turned on (win vista/7) you may still get a different warning asking if you want to make changes to your computer only way to not have that is to turn off UAC