Welcome to Tactical Gamer

+ Reply to Thread
Results 1 to 15 of 15
Discussion: Battlefield 2142 / Battlefield 2142 - Technical Support & FAQs - Don't Reboot. Taskkill instead. - It's the first annual "Tip From the 55th"... If you've played 2142 for more than
  1. #1

    Drennyn's Avatar

    Join Date
    May 2008
    Location
    Chicago, IL
    Age
    37
    Posts
    426

    Don't Reboot. Taskkill instead.

    It's the first annual "Tip From the 55th"...

    If you've played 2142 for more than a few days, you'll be able to relate to this...

    You're home from work/school, the children/wife/parents are sleeping/out, you sit down to enjoy a few rounds of 2142 TG style.

    Things are going great--you cap Command Center on Shingle, snag Ruins on Gibraltar, etc...a few minutes later, you're defending South Town on Cerbere when all of a sudden...WHAM...the server has a spasm, an identity crisis, a single bit in the wrong place...the game freezes.

    Frantically, you run through the "Get control of the computer" key strokes--CTRL-ALT-DEL, CTRL-SHIFT-ESC, CTRL-ESC...even go so far as to hammer the Windows™ key multiple times...nothing. You're just left looking at the last frame of action, frozen in time, perhaps with nothing more than a repeating sound loop playing in your ear as the only indication that time hasn't stopped completely.

    What do you do in this situation? Some of you may notice that it looks like the OS is "listening" to you--maybe you see something flash on the screen as if the Task Manager really did open up. Unfortunately, you can't see what you're doing since the game has taken over your screen.

    Fret not, dear friend, there's no need to reach for that power switch, no need to unceremoniously kick Windows™ to the curb. Heck, it's bad enough as it is, let's not make it any worse, right?

    What you need is a little forethought and a little help from taskkill.exe, which should be part of every XP (Pro at least) install.

    Create a new Windows™ shortcut and use this as the "location":

    Code:
    taskkill /F /IM BF2142* /T
    Then name it something memorable like "Kill BF2142 Cuz The Server Crashed Again". (Feel free to further expand upon that file name should you require more detail.)

    Now, get properties of the new shortcut (right-click, choose Properties) and set a Shortcut Key. Something like "CTRL-ALT-K" for Kill...anything you won't accidentally press during game play.

    You're all set. Now, the next time the game freezes when you're just about to celebrate a hard won victory, you should be able to press CTRL-ALT-DEL to get Windows'™ attention, then press your shortcut key, like CTRL-ALT-K.

    In a few seconds (depends on how hosed up the game is) you should see the game disappear as a command prompt window appears briefly and then vanishes--leaving you at your desktop.

    If there's a few games you routinely play, instead of creating a different shortcut for each one, each with its own shortcut key press, create a batch or command file and put a taskkill line in it for each game.

    Code:
    rem Contents of KillGames.cmd
    taskkill /F /IM BF2142* /T
    taskkill /F /IM BF2* /T
    taskkill /F /IM DeusEx* /T
    Then, just create a shortcut to this command file and assign a shortcut key. Now, when you press your shortcut key, Windows will attempt to kill any of the processes you've entered in the file.

    You can read all about the taskkill command by running "taskkill /?" at the command prompt, but to summarize the above commands, we're asking Windows to forcibly kill any process whose executable name begins with "BF2142" (for example) and to kill the whole process tree, the main program and any other child processes it may have launched.

    Stay tuned until next year, when the 55th brings you Tip #2...betcha can't wait, huh?

  2.  
  3. #2

    KoopaTroopa's Avatar

    Join Date
    Nov 2006
    Location
    Clarksville, Tennessee, United States
    Age
    31
    Posts
    2,938

    Re: Don't Reboot. Taskkill instead.

    Thanks for this. Seriously. These random freezes hit me twice yesterday.
    --------------------------------------------------------------------------------
    Blah blah blah.

  4.  
  5. #3

    Zhohar's Avatar

    Join Date
    Jul 2007
    Location
    Vancouver, west coast of Canada
    Posts
    2,833
    Blog Entries
    15

    Re: Don't Reboot. Taskkill instead.

    Quote Originally Posted by Drennyn View Post
    taskkill /F /IM DeusEx* /T
    You can't fight ideas with bullets.

    (You totally made my night Dren.)
    Fight!

  6.  

     
  7. #4

    Tigerblitz's Avatar

    Join Date
    Aug 2008
    Posts
    639

    Re: Don't Reboot. Taskkill instead.

    With Delux do I have to change the path?

    |TG| Sproge "Tiger how did you flip that tank?!"
    |TG-SC| PM07SNV "We need another world war to base more games on..."
    |TG-AIR| DrBeat: "I just dropped my propane tank in the fire again"

  8.  
  9. #5

    INSUNABULA's Avatar

    Join Date
    Mar 2007
    Location
    Toronto
    Age
    34
    Posts
    2,876

    Re: Don't Reboot. Taskkill instead.

    You missed a bit for computer retards like me:

    Quote Originally Posted by Drennyn View Post
    Create a new Windows™ shortcut and use this as the "location":

    Code:
    taskkill /F /IM BF2142* /T
    How in actual fact do you do that ?






  10.  
  11. #6

    TheDarkPenguin's Avatar

    Join Date
    Jun 2008
    Location
    Iowa, U.S.
    Posts
    322

    Re: Don't Reboot. Taskkill instead.

    Quote Originally Posted by INSUNABULA View Post
    You missed a bit for computer retards like me:

    How in actual fact do you do that ?

    Ditto



  12.  

     
  13. #7


    Join Date
    May 2009
    Posts
    36

    Re: Don't Reboot. Taskkill instead.

    You must tell us how this is done Drennyn! *falls to knees*

    I have several games that freeze regularly, and this will help loads

    And because I am either overlooking something obvious, or am just uninformed and unexperienced in this area of computer maintenence, that error message is not helping my situation...

  14.  
  15. #8

    DrakenViator's Avatar

    Join Date
    Apr 2008
    Location
    Michigan
    Posts
    1,799

    Re: Don't Reboot. Taskkill instead.

    It looks like Task kill may be Windows Xp Pro only...

    More Info: http://www.computerhope.com/taskkill.htm

    ~ Draken
    |TG-55| Infantry Division - Captain / JD Student


  16.  
  17. #9

    Drennyn's Avatar

    Join Date
    May 2008
    Location
    Chicago, IL
    Age
    37
    Posts
    426

    Re: Don't Reboot. Taskkill instead.

    Quote Originally Posted by Zhohar View Post
    You can't fight ideas with bullets.

    (You totally made my night Dren.)
    HAHA! I wanted to see who would say something about that first. Not at all surprised it was you. You seem a pretty good judge of games and character.

    I was just replaying it last month--it completely still holds its own both as a game in general and as a game w/a message.

  18.  

     
  19. #10

    Drennyn's Avatar

    Join Date
    May 2008
    Location
    Chicago, IL
    Age
    37
    Posts
    426

    Re: Don't Reboot. Taskkill instead.

    I had a hunch it was XP Pro only. Don't know if the exe will allow itself to be run on XP Home or not, but you're free to try:

    http://www.regalmedia.com/taskkill.zip

    On XP Pro, it's usually located in the \windows\system32 folder, but I'm assuming it will work as long as it's anywhere in your path.

  20.  
  21. #11

    FredWest66's Avatar

    Join Date
    Apr 2008
    Location
    Manchester, United Kingdom
    Posts
    104

    Re: Don't Reboot. Taskkill instead.

    all i do is ctrl-alt-delete, sometimes task man pops up, if it doesn't, after ctrl-alt-delete, press alt-tab to bring task man forward, use arow keys to scroll down to PaceBF2142, press delete, press enter. You are now on your desktop. If you find you can use your mouse with your mouse right click paceBF2142, scroll to 'end process tree', again you should be on your desktop. works every time for me.

    ciao~
    "always go to peoples funerals........ or they wont come to yours!"

  22.  
  23. #12

    RoadWarrior's Avatar

    Join Date
    Dec 2007
    Location
    Toronto, Ontario. Canada
    Posts
    484

    Re: Don't Reboot. Taskkill instead.

    For Vista, the shortcut approach does not work. ( Maybe there is a way, I haven't found it yet. )

    Yes you can use CTL-ALT-DEL to bring up the task manager, but sometimes the screen locks up and you can't see the screen to select task manager. 2142 still keeps control of the full screen mode. This will allow you to kill the task even while the screen is locked up.

    However, if you create the batch file as indicated, most keyboards allow you to assign a special key (hotkey) to a program. I know gaming kybds do this.

    I tagged the batch file to a hotkey on my kybd in Vista and it works like a charm!

    Thanks Drennyn for this helpful tip.
    |TG| RoadWarrior

  24.  

     
  25. #13

    Lorax74's Avatar

    Join Date
    Nov 2006
    Location
    Bridgewater, NJ
    Age
    37
    Posts
    9,824

    Re: Don't Reboot. Taskkill instead.

    Last edited by Lorax74; 05-26-2009 at 04:53 PM.



    TG Primer - BF2142 Server Rules - Code of Conduct
    Contact a Game Admin

    "..good sportsmanship shouldn't be sacrificed in the name of teamwork. " --WhiskeySix

  26.  
  27. #14

    Bladecutter's Avatar

    Join Date
    May 2009
    Location
    Orlando, Florida, United States
    Age
    20
    Posts
    100

    Re: Don't Reboot. Taskkill instead.

    Vista seems a lot better at getting Task Manager up in front of any and all things. Otherwise, I just work with it with the keyboard. Pesky frozen game can't stop me from enjoying my time!

  28.  
  29. #15

    MrJengles's Avatar

    Join Date
    Dec 2008
    Age
    20
    Posts
    618

    Re: Don't Reboot. Taskkill instead.

    Haha, never mind me posting it in Lorax's thread already lol...

    Bladecutter is right, I don't think I've had any moments where CTRL-ALT-DEL has not worked for Vista since I got it recently. It's been perfectly fixed since everyone knows it doesn't always help in XP.

  30.  

     

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


  
 

Back to top