Page 1 of 6 12345 ... LastLast
Results 1 to 10 of 59

Thread: Auto-restart standaloneserver when hang-up

  1. #1
    Hi!
    I have a standalone server (1.49 beta).
    How to configure it for auto-restart when it crash.
    Exemple: some player upload MPmissions that required special add-on, and when they try to play with on my server : it crash.
    I'm looking for an extra tools or standalone server config for do a auto-restart.

    How could I do that ?

    Thanks

  2. #2
    do a server.bat like this:

    :start
    start /W ofp_server.exe
    goto start

    and run it. It will run the server on an infinite loop, every time it crashes it goes to back to start and re runs it. Also, dont run the server in Win9x, instead use WinNT based OS (w2k,xp) and disable the "program has generated errors blaa blaa" dialog from dr watson to make that work correctly.

  3. #3
    Wouldnt that start multiple server exes?

    or is that what the /W prevents?
    http://www.footballpredictor.eu - sports betting made easy!
    \"A man without religion, is like a fish without a bicycle\"

  4. #4
    Private
    Join Date
    Feb 12 2002
    Location
    Paris
    Posts
    10
    Author of the Thread
    It's works ! Without extra utility...
    Thansk a lot !

  5. #5
    </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Espectro @ Mar. 16 2002,18:24)</td></tr><tr><td id="QUOTE">Wouldnt that start multiple server exes?

    or is that what the /W prevents?[/QUOTE]<span id='postcolor'>
    /W = WAIT: Start application and wait for it to terminate

  6. #6

    Thumbs up

    Get FireDaemon... which will allow you to set as a Service. Then you can even specify priority of OFP on the system.

    Running Basic Batch files went out with DOS&#33; ***



    Visit Our Servers Today&#33;
    Website/Forums = www.fraghaus.com
    OFP Server = ofpserver.fraghaus.com
    ArmA Server = armaserver.fraghaus.com

  7. #7
    </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (BigQEd @ Mar. 16 2002,20:45)</td></tr><tr><td id="QUOTE">Get FireDaemon... which will allow you to set as a Service. Then you can even specify priority of OFP on the system.

    Running Basic Batch files went out with DOS&#33; ***[/QUOTE]<span id='postcolor'>
    Bad thing in running the server as service is that you cannot see the console window anymore... And you can set priorities with start too (start /high ofpserver.exe etc.)

    Nothing wrong in batch files

  8. #8
    Cool, i didnt even knew that.

  9. #9
    Sure... however I know for a fact running them in the FOREGround is not as effecient as running them in the BACKGround.

    Now... if you would stop and think about what server runs the fastest with the most players maybe you would understand that maybe running OFP as a Service isn&#39;t such a bad idea.

    Also who needs CONSOLE when running as a Dedicated Server? Do you sit and monitor a Dedicated server via PCA/VNC/RA? Or maybe you have the Dedicated Server running on your home system which in that case what would it matter...




  10. #10
    BigQed,

    Can you explain for us what happens when the dedicated server program abends or is shutdown from inside the application if it is run as a service with FireDaemon? When I shut down the server with #shutdown, my service still shows started. No OFP server restarts for me automagically either.

    Isnt the actual program that is defined to be run the FireDaemon shell, and isnt it (the shell) only it that can benefit from the recovery options available in 2000/XP?

    What is missing?

Page 1 of 6 12345 ... LastLast

Posting Permissions

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