Results 1 to 8 of 8
  1. #1
    LvlAndFarm's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Location
    You don't even....
    Posts
    111
    Reputation
    10
    Thanks
    7
    My Mood
    Amused

    Server Crash detection

    Hello, i'm making a wserver crash checker that checks if an server is off if yes then start it again, the problem is, when the wserver crashes, it doesn't just exit, but shows that this program crashed or whatever popup (thus not closing the process before manually clicking Close program..), I just need to know how to detect a crash (not just scan for processes)

    Attached Thumbnails Attached Thumbnails
    Jqgn2KM.png  

    Last edited by LvlAndFarm; 11-24-2014 at 02:39 PM.
    Open Realms co-founder/co-owner

    PM me for any inquiries or if you need help.

  2. #2
    L̋̾̈́͑ͥͨͨ͞Ò̴ͫͪ͛͋̉͛Lͥ̔̓ ͨ͛ͬ ͩ̀͢
    Premium Member
    C453's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Location
    /dev/null
    Posts
    574
    Reputation
    44
    Thanks
    2,535
    My Mood
    Aggressive
    @krazyshank made a tut a while ago on this + source code
    cant have shit in detroit

  3. #3
    LvlAndFarm's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Location
    You don't even....
    Posts
    111
    Reputation
    10
    Thanks
    7
    My Mood
    Amused
    Quote Originally Posted by C453 View Post
    @krazyshank made a tut a while ago on this + source code
    Link please?
    Open Realms co-founder/co-owner

    PM me for any inquiries or if you need help.

  4. #4
    L̋̾̈́͑ͥͨͨ͞Ò̴ͫͪ͛͋̉͛Lͥ̔̓ ͨ͛ͬ ͩ̀͢
    Premium Member
    C453's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Location
    /dev/null
    Posts
    574
    Reputation
    44
    Thanks
    2,535
    My Mood
    Aggressive
    find it yourself and dont be lazy
    Last edited by C453; 11-24-2014 at 04:23 PM.
    cant have shit in detroit

  5. The Following 2 Users Say Thank You to C453 For This Useful Post:

    BlackRayquaza (11-25-2014),Knorrex (11-25-2014)

  6. #5
    Fucking Moron's Avatar
    Join Date
    Mar 2014
    Gender
    male
    Location
    I need smoke
    Posts
    5,529
    Reputation
    1371
    Thanks
    1,618
    My Mood
    Buzzed
    Quote Originally Posted by LvlAndFarm View Post
    Hello, i'm making a wserver crash checker that checks if an server is off if yes then start it again, the problem is, when the wserver crashes, it doesn't just exit, but shows that this program crashed or whatever popup (thus not closing the process before manually clicking Close program..), I just need to know how to detect a crash (not just scan for processes)

    You could just simply code a script that sees when the wserver crashes and when it does make it close

  7. #6
    LvlAndFarm's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Location
    You don't even....
    Posts
    111
    Reputation
    10
    Thanks
    7
    My Mood
    Amused
    Quote Originally Posted by Sucidial View Post


    You could just simply code a script that sees when the wserver crashes and when it does make it close
    script in the checker i'm making or what? and using the process info and resources, i dont have any way to detect a freeze crash, just plain closes, or maybe i can go the hard way and make it close for EVERY exception that crashes the server....
    Open Realms co-founder/co-owner

    PM me for any inquiries or if you need help.

  8. #7
    Fucking Moron's Avatar
    Join Date
    Mar 2014
    Gender
    male
    Location
    I need smoke
    Posts
    5,529
    Reputation
    1371
    Thanks
    1,618
    My Mood
    Buzzed
    Quote Originally Posted by LvlAndFarm View Post
    script in the checker i'm making or what? and using the process info and resources, i dont have any way to detect a freeze crash, just plain closes, or maybe i can go the hard way and make it close for EVERY exception that crashes the server....
    What the fuck..........

  9. #8
    LvlAndFarm's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Location
    You don't even....
    Posts
    111
    Reputation
    10
    Thanks
    7
    My Mood
    Amused
    nvm found out how, ii just need to add an event handler for exceptions that close the wserv for the app im making to detect the crash, now i learned how much the MPGH community is <?php echo !isMPGHhelpfulBool; ?> @Raple close this thread please
    Open Realms co-founder/co-owner

    PM me for any inquiries or if you need help.

Similar Threads

  1. [Detected] Bug - GodMod-Lifetaker-WeaponSpawn-Server Crash-VoiceSpam and more
    By BACKD00R in forum Combat Arms Brazil Hacks
    Replies: 36
    Last Post: 03-22-2012, 09:18 PM
  2. Private Server - Crash Bot 2000
    By AeroMan in forum General Game Hacking
    Replies: 0
    Last Post: 05-19-2009, 10:13 AM
  3. Server Crashed and Other Related News
    By Dave84311 in forum News & Announcements
    Replies: 10
    Last Post: 10-24-2008, 05:28 PM
  4. [Glitch]Cause server crash
    By crazyfool in forum Combat Arms Hacks & Cheats
    Replies: 19
    Last Post: 10-12-2008, 08:27 PM
  5. server crashing
    By Rajinn in forum Combat Arms Hacks & Cheats
    Replies: 17
    Last Post: 08-06-2008, 01:11 PM