[Uber][Holo][Debbo]&[Any other] [*New] Restart Server at Crash ~ Server Restarter.

Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 46
  1. #16
    Banned NewLights is offline
    BannedRank
    Mar 2011 Join Date
    NorwayLocation
    35Posts

    Re: [Uber][Holo][Debbo]&[Any other] [*New] Restart Server at Crash ~ Server Restarter

    Nice work! But i will use the one who is allready coded in c# who automatic restart your server after 6hours ^.^ ME LIKE :D

  2. #17
    Proud to be Persian DarkBreakX is offline
    MemberRank
    Apr 2009 Join Date
    GermanyLocation
    364Posts

    Re: [Uber][Holo][Debbo]&[Any other] [*New] Restart Server at Crash ~ Server Restarter

    For those who didn't know:
    Quote Originally Posted by DarkBreakX View Post
    Better, a simple Batch File:

    Only change the Path of the Emulator and the Time (here 7200 Seconds, 2 hours)...

    Code:
    @echo off
    :jump
    start "" "C:\Documents and Settings\Administrator\Desktop\EMU\EMU\bin\Debug\uberEmu.exe"
    ping -n 7200 localhost  > nul
    TASKKILL /F /IM uberEmu.exe /T
    goto jump
    -Slaxxer

  3. #18
    Horror! Rajito is offline
    MemberRank
    Aug 2010 Join Date
    The NetherlandsLocation
    1,046Posts
    Quote Originally Posted by DarkBreakX View Post
    For those who didn't know:


    -Slaxxer
    I already told that they can use that way to.
    i only released it because i'm learning c# and i was "testing" my skills.

  4. #19
    Developer Eronisch is offline
    MemberRank
    Jul 2009 Join Date
    The NetherlandsLocation
    1,328Posts

    Re: [Uber][Holo][Debbo]&[Any other] [*New] Restart Server at Crash ~ Server Restarter

    Rajito, could you make it like:
    If the server crashed or closed that it tries to restarts the server for about 5 times after that it starts a timer and then try to restart it every 15 min?

    Hehe

  5. #20
    Horror! Rajito is offline
    MemberRank
    Aug 2010 Join Date
    The NetherlandsLocation
    1,046Posts

    Re: [Uber][Holo][Debbo]&[Any other] [*New] Restart Server at Crash ~ Server Restarter

    Added Command for Remote Restarting =]
    Note: Only for Holograph.

    To add command:
    1.) Go to your server folder > source > virtual > users > VirtualUser.cs
    2.) Open VirtualUser.cs
    3.) Go to the top of VirtualUser.cs and search for
    Code:
    using System.Data;
    4.) Add below:
    Code:
    using System.Diagnostics;
    5.) Then insert this command ( at the place where other your other commands are)
    PHP Code:
    #region Rajito's restarting Command
                        
    case "restart"//Coded by Rajito -  www.rajitonetworks.tk
                            
    {
                                if (
    rankManager.containsRight(_Rank"fuse_administrator_access"userID) == false)
                                    return 
    false;
                                
    userManager.sendData("BK" stringManager.getString("scommand_hotelalert") + "\r" "Server is restarting in 2 Minutes,\r Please finish your last stuff");
                            }
                            {
                                
    Process.GetCurrentProcess().WaitForExit(60000);
                                
    userManager.sendData("BK" stringManager.getString("scommand_hotelalert") + "\r" "1 Minute left till Restart...");

                            }
                            {
                                
    Process.GetCurrentProcess().WaitForExit(30000);
                                
    userManager.sendData("BK" stringManager.getString("scommand_hotelalert") + "\r" "30 seconds left till restart...");

                            }
                            
                            {
                                
    Process.GetCurrentProcess().WaitForExit(30000);
                                
    userManager.sendData("BK" stringManager.getString("scommand_hotelalert") + "\r" " Restarting server...");
                                
    Process.GetCurrentProcess().Kill();
                            }
                            break;
    #endregion 
    6.) Debug Your emulator.
    Finished!
    To remote restart, you can now use the in-game command :restart , it will send a hotel alert first, to say that the server is going to restart, and then it will restart. (You need to run Rajito's Server Restarter
    Last edited by Rajito; 21-03-11 at 11:01 PM.

  6. #21
    Apprentice Servix is offline
    MemberRank
    Jun 2010 Join Date
    16Posts

    Re: [Uber][Holo][Debbo]&[Any other] [*New] Restart Server at Crash ~ Server Restarter

    Looks like an excellent release! I will use this on my hotel, too.
    Thanks! :D

  7. #22
    Not active anymore! Winter is offline
    MemberRank
    Aug 2009 Join Date
    AustraliaLocation
    461Posts

    Re: [Uber][Holo][Debbo]&[Any other] [*New] Restart Server at Crash ~ Server Restarter

    excellent release mate, keep them coming :)

    Decent releases are starting again. yipeee

  8. #23
    Horror! Rajito is offline
    MemberRank
    Aug 2010 Join Date
    The NetherlandsLocation
    1,046Posts

    Re: [Uber][Holo][Debbo]&[Any other] [*New] Restart Server at Crash ~ Server Restarter

    more people that want to give feedback?

  9. #24
    Horror! Rajito is offline
    MemberRank
    Aug 2010 Join Date
    The NetherlandsLocation
    1,046Posts

    Re: [Uber][Holo][Debbo]&[Any other] [*New] Restart Server at Crash ~ Server Restarter

    More people that wants to give feedback?

  10. #25
    Alpha Member Zak© is offline
    MemberRank
    Oct 2007 Join Date
    2,693Posts

    Re: [Uber][Holo][Debbo]&[Any other] [*New] Restart Server at Crash ~ Server Restarter

    wouldnt it fail if Holo Stopped working but doesnt close down?

  11. #26
    Horror! Rajito is offline
    MemberRank
    Aug 2010 Join Date
    The NetherlandsLocation
    1,046Posts
    Quote Originally Posted by Žak™ View Post
    wouldnt it fail if Holo Stopped working but doesnt close down?
    Yes it could...
    but you can also put something in the emu like if it can't connect to the db, or there is a (big)error, it will kill the connection?

  12. #27
    Alpha Member Zak© is offline
    MemberRank
    Oct 2007 Join Date
    2,693Posts

    Re: [Uber][Holo][Debbo]&[Any other] [*New] Restart Server at Crash ~ Server Restarter

    thats highly unstable as Holograph Opens many clients as if one client dies then the server would be killed.

    thats why all the restarters was pointless its better off Using

    if Databuffer,0 etc
    Kill
    Restart();
    Code it interally in the server.

  13. #28
    Horror! Rajito is offline
    MemberRank
    Aug 2010 Join Date
    The NetherlandsLocation
    1,046Posts

    Re: [Uber][Holo][Debbo]&[Any other] [*New] Restart Server at Crash ~ Server Restarter

    I didn't try it, but maybe it is possible to let the restarter ping to the ip+port and if it can't recieve a signal, it will force close the process?
    Correct me if i'm wrong

  14. #29
    Account Upgraded | Title Enabled! salah-salah is offline
    MemberRank
    Jan 2009 Join Date
    UndergroundLocation
    716Posts

    Re: [Uber][Holo][Debbo]&[Any other] [*New] Restart Server at Crash ~ Server Restarter

    Thankyou for this great release:)

    A tip for the haters: Why are you thinking that developers are leaving this forum? NEGATIVE COMMENTS:s So be positive / try it? ;l

  15. #30
    Alpha Member Zak© is offline
    MemberRank
    Oct 2007 Join Date
    2,693Posts

    Re: [Uber][Holo][Debbo]&[Any other] [*New] Restart Server at Crash ~ Server Restarter

    Quote Originally Posted by salah-salah View Post
    Thankyou for this great release:)

    A tip for the haters: Why are you thinking that developers are leaving this forum? NEGATIVE COMMENTS:s So be positive / try it? ;l
    if your Quoteing me then im giving him some Points not hate comments.

    And your wrong Developers are leaving due to Leechers Boredem people Renaming etc.
    Last edited by Zak©; 26-03-11 at 05:48 PM.



Page 2 of 4 FirstFirst 1234 LastLast

Advertisement