-
05-13-2008, 02:35 PM #16
Re: Kill BF2142 Script
Donate Blood. Ask for a gun and a bucket.




-
05-14-2008, 02:34 PM #17
Re: Kill BF2142 Script
Some process can't be terminated in this way, it seems pnkbstrA is one of them. I do not have PnkBstrB on my system, but I'm guessing it can't be terminated in this fashion either, sorry.
And the space thing is odd, it is not there if you look at the actual text of the post. I'll edit the first post and put the code in a code block to see if that fixes the mysterious typo.




TG Primer - BF2142 Server Rules - Code of Conduct
Contact a Game Admin
"..good sportsmanship shouldn't be sacrificed in the name of teamwork. " --WhiskeySix
-
05-14-2008, 02:43 PM #18
Re: Kill BF2142 Script
That's odd because I know I've noted seeing pnkbstrA and B listed in my Task Manager Processes List. You'd think you could kill anything in that list as long as it wasn't a system process. I'll take what I can get though, and a BF2142 kill script works for me.
Thanks for trying Lorax
Donate Blood. Ask for a gun and a bucket.




-
05-14-2008, 02:47 PM #19
Re: Kill BF2142 Script




TG Primer - BF2142 Server Rules - Code of Conduct
Contact a Game Admin
"..good sportsmanship shouldn't be sacrificed in the name of teamwork. " --WhiskeySix
-
05-14-2008, 02:49 PM #20
Re: Kill BF2142 Script
Punkbuster: More problem than it's worth ^^
Donate Blood. Ask for a gun and a bucket.




-
01-28-2009, 01:17 PM #21
Re: Kill BF2142 Script
Afternoon,
I am bumping this thread up as there was discussion about this script on TS the other day. It might be useful during the recent servers issues we have been experiencing.Imaging a real super kewl 21st signature here
Situational Awareness Deficiency Syndrome
It is a serious disease.
Please Q-Spot! generously
Yah, I got me medals somewhere around here
-
01-28-2009, 01:27 PM #22
Re: Kill BF2142 Script
Good bump. This script is a must. Hasn't failed me yet when 2142 decides to lockup.











-
01-28-2009, 01:53 PM #23
Re: Kill BF2142 Script
I should actually update it to use better/more environmental variables so the bat file will work in XP and Vista alike.




TG Primer - BF2142 Server Rules - Code of Conduct
Contact a Game Admin
"..good sportsmanship shouldn't be sacrificed in the name of teamwork. " --WhiskeySix
-
01-28-2009, 02:12 PM #24
Re: Kill BF2142 Script
Updated for Vista:
Kill_BF2142.bat
Kill_BF2142.vbs unchangedCode:@echo off IF EXIST %systemdrive%\users ( REM Vista cscript %homepath%\Documents\Kill_BF2142.vbs ) ELSE ( REM assume it's XP cscript %homepath%\My Documents\Kill_BF2142.vbs )
Code:strComputer = "." Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colProcessList = objWMIService.ExecQuery ("SELECT * FROM Win32_Process WHERE Name = 'BF2142.exe'") For Each objProcess in colProcessList objProcess.Terminate() Next




TG Primer - BF2142 Server Rules - Code of Conduct
Contact a Game Admin
"..good sportsmanship shouldn't be sacrificed in the name of teamwork. " --WhiskeySix
-
04-20-2009, 01:29 PM #25
Re: Kill BF2142 Script
Once again, I am bumping this post as there seems to be many people on TS who still don't know
Imaging a real super kewl 21st signature here
Situational Awareness Deficiency Syndrome
It is a serious disease.
Please Q-Spot! generously
Yah, I got me medals somewhere around here
-
04-20-2009, 04:10 PM #26
Re: Kill BF2142 Script
Good bump!!
BF3 Soldier: DrSparky














"Cum bellum clamavit, respondivi"
-
04-20-2009, 06:18 PM #27
Re: Kill BF2142 Script
Yeah a good bump, I noticed people mentioning it too. I just use the following code as a batch file (save it in notepad as title.bat) add a hotkey to the file and that's all you need.
Code:TASKKILL /IM "BF2142.exe" /F exit
-
04-22-2009, 12:00 PM #28
Re: Kill BF2142 Script




TG Primer - BF2142 Server Rules - Code of Conduct
Contact a Game Admin
"..good sportsmanship shouldn't be sacrificed in the name of teamwork. " --WhiskeySix
-
04-22-2009, 01:22 PM #29
Re: Kill BF2142 Script
I have been looking around to find a way to add a hotkey with a vanilla keyboard. I am lucky enough to have one of them fancy ones with My Favorites keys that comes with special drivers/software for this. However natively, to my knowledge, Windows XP does not allow one to bind a BAT to a hotkey. Anyone have any insight on this?
Imaging a real super kewl 21st signature here
Situational Awareness Deficiency Syndrome
It is a serious disease.
Please Q-Spot! generously
Yah, I got me medals somewhere around here
-
04-22-2009, 05:23 PM #30
Re: Kill BF2142 Script
Haha it is, some people just like doing things the long way

I havn't looked into the hotkeys business all that much, and I don't have either of the G keyboards. Although I do have an nvidia graphics card and I happened to notice that I can add a hotkey by opening the Control Panel, then opening NVIDIA nView Desktop Manager, clicking on the Hot Keys tab, expanding misc, clicking run application, then add, pressing the key combination I want, clicking browse and finding whatever it is I want linking to, then clicking OK.
This worked for me for a couple of days, then it stopped
but I've got a new computer now (need to set it up still) so I havn't bothered to work out why it isn't working. I think that option comes with all Nvidia cards but I'm not entirely sure (no idea about other cards), if you have an older one check for a new driver. The advantage of that was that it always runs in the background automatically without any hassle.
Only thing I can do for now is reffer you to Pedestrians post:
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)





Reply With Quote


Bookmarks