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

Page 1 of 2 12 LastLast
Results 1 to 25 of 46
  1. #1
    Horror! Rajito is offline
    MemberRank
    Aug 2010 Join Date
    The NetherlandsLocation
    1,046Posts

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

    Updated to V2.0 , please read below!

    Because Many people liked my Server Restarter, i updated it!
    Whats new?
    Not so much, just a added a little crashlog, so it saves the crashes in a .log file.
    BUT i also made a simple command for Holograph users, so they can see the crashes remotely in-game.
    The command:







    (What is a release without Screenies?)

    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 using System.IO;
    5.) Then insert this command ( at the place where other your other commands are)
    PHP Code:
     #region crashlog

                        
    case "crashlog"//fully coded by Rajito @ RaGEZONE - www.rajitonetworks.tk
                            
    if (rankManager.containsRight(_Rank"fuse_administrator_access"userID) == false)
                                    return 
    false;
                            {
                                
    System.IO.StreamReader readcrashlog = new StreamReader("crashes.log");
                                
    sendData("BK" readcrashlog.ReadToEnd());
                            }
                            break;
                        
    #endregion 
    Debug your server, and you're Finished!

    :restart command for Holograph Emulator
    Spoiler:

    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


    Download:
    Download Rajito's server Restarter V2.0

    Virus Scan:
    Spoiler:

    VirusTotal - Free Online Virus, Malware and URL Scanner
    Don't know if link is working, Virus Total is doing weird.
    I'll add the virus scan tomorrow.
    (or you can scan it for me)



    More information + Rajito's Server Restarter V1.0 (without crashlog)
    Spoiler:

    Heey RaGEZONE!
    I'm proudly releasing() my server Restarter!
    I know that it has been released before, BUT in this there is something new.
    It is not only for Holograph Emulator, or Uber, but for all files.

    Added Command for remote restarting, read below:
    I added a config.ini file, and there you can change the file name.


    Note: This works for every program and server!, not only holograph emulator.
    How to setup:
    1.) Copy Rajito's Server Restarter.exe to the folder where your server is included.
    2.) Open config.ini , and insert the filename name of your server
    (WITHOUT .exe)
    3.) Open Rajito's Server Restarter, ( NOT YOUR SERVER)

    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

    Spoiler:

    Antivirus results
    AhnLab-V3 - 2011.03.20.00 - 2011.03.19 - -
    AntiVir - 7.11.5.2 - 2011.03.20 - -
    Antiy-AVL - 2.0.3.7 - 2011.03.20 - -
    Avast - 4.8.1351.0 - 2011.03.20 - -
    Avast5 - 5.0.677.0 - 2011.03.20 - -
    AVG - 10.0.0.1190 - 2011.03.20 - -
    BitDefender - 7.2 - 2011.03.20 - -
    CAT-QuickHeal - 11.00 - 2011.03.20 - -
    ClamAV - 0.96.4.0 - 2011.03.20 - -
    Commtouch - 5.2.11.5 - 2011.03.20 - -
    Comodo - 8051 - 2011.03.20 - -
    DrWeb - 5.0.2.03300 - 2011.03.20 - -
    Emsisoft - 5.1.0.2 - 2011.03.20 - -
    eSafe - 7.0.17.0 - 2011.03.17 - -
    eTrust-Vet - 36.1.8223 - 2011.03.18 - -
    F-Prot - 4.6.2.117 - 2011.03.20 - -
    F-Secure - 9.0.16440.0 - 2011.03.20 - -
    Fortinet - 4.2.254.0 - 2011.03.20 - -
    GData - 21 - 2011.03.20 - -
    Ikarus - T3.1.1.97.0 - 2011.03.20 - -
    Jiangmin - 13.0.900 - 2011.03.20 - -
    K7AntiVirus - 9.94.4155 - 2011.03.19 - -
    Kaspersky - 7.0.0.125 - 2011.03.20 - -
    McAfee - 5.400.0.1158 - 2011.03.20 - -
    McAfee-GW-Edition - 2010.1C - 2011.03.20 - -
    Microsoft - 1.6603 - 2011.03.20 - -
    NOD32 - 5969 - 2011.03.20 - -
    Norman - 6.07.03 - 2011.03.20 - -
    nProtect - 2011-02-10.01 - 2011.02.15 - -
    Panda - 10.0.3.5 - 2011.03.20 - -
    PCTools - 7.0.3.5 - 2011.03.20 - -
    Prevx - 3.0 - 2011.03.20 - -
    Rising - 23.49.04.05 - 2011.03.18 - -
    Sophos - 4.63.0 - 2011.03.20 - -
    SUPERAntiSpyware - 4.40.0.1006 - 2011.03.20 - -
    Symantec - 20101.3.0.103 - 2011.03.20 - -
    TheHacker - 6.7.0.1.153 - 2011.03.20 - -
    TrendMicro - 9.200.0.1012 - 2011.03.20 - -
    TrendMicro-HouseCall - 9.200.0.1012 - 2011.03.20 - -
    VBA32 - 3.12.14.3 - 2011.03.18 - -
    VIPRE - 8765 - 2011.03.20 - -
    ViRobot - 2011.3.19.4366 - 2011.03.20 - -
    VirusBuster - 13.6.259.2 - 2011.03.20 - -
    File info:
    MD5: e7d393394cc8cd24ba3de148821c3975
    SHA1: 68d5964a4c7852ca32a291fbe588fb06276af690
    SHA256: 26844b1fb3f6a747241ab6d3b0187e66f2de00434765c77c50fafd1ad0299f98
    File size: 8192 bytes
    Scan date: 2011-03-20 21:19:27 (UTC)
    Direct Link: VirusTotal - Free Online Virus, Malware and URL Scanner


    Download: Rajito's Server Restarter v1.0
    Last edited by Rajito; 02-04-11 at 10:39 PM.


  2. #2
    sexiess is a sin. Subway is offline
    MemberRank
    Jun 2010 Join Date
    2,491Posts

    Re: Server Restarter!

    Great release Raj :)
    OFT: let's just wait for negative comments.. and 1st posts!!

  3. #3
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    Re: Server Restarter!

    Negative Comment-

    Already released 3 times.

  4. #4
    Lord of the Onion Rings Loppiant is offline
    MemberRank
    Mar 2007 Join Date
    Cape Breton, NSLocation
    734Posts

    Re: Server Restarter!

    Looks like a very useful program.

    Great job!


    Quote Originally Posted by Tr0ll.™ View Post
    Negative Comment-

    Already released 3 times.
    Too bad if it's already released because this ones better.
    Last edited by Loppiant; 20-03-11 at 09:37 PM.

  5. #5
    sexiess is a sin. Subway is offline
    MemberRank
    Jun 2010 Join Date
    2,491Posts

    Re: Server Restarter!

    Quote Originally Posted by Tr0ll.™ View Post
    Negative Comment-

    Already released 3 times.
    So he said he made it compatible for all servers lol and added a config.inc file iin it.. xD

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

    Re: Server Restarter!

    Quote Originally Posted by Tr0ll.™ View Post
    Negative Comment-

    Already released 3 times.
    It is not something big, but this one you can use with any other server.
    Just change the name in config.ini

    ---------- Post added at 10:29 PM ---------- Previous post was at 09:41 PM ----------

    Added virus scan.

  7. #7
    Dirty capitalists. X1M! is offline
    MemberRank
    Dec 2008 Join Date
    450Posts

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

    Good work bro, me like.

  8. #8
    凸(ಠ益ಠ)凸 Omnija is offline
    MemberRank
    Jun 2008 Join Date
    QuebecLocation
    2,233Posts

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

    from what i remember of re-starters they usually caused issues, maybe this one will actually work as it's suppose to. any feed backs would be useful... also does it restart by when the program closes or does it have a timer?
    Last edited by Omnija; 21-03-11 at 03:52 AM.

  9. #9
    Thanks for the memories! Mithex is offline
    MemberRank
    May 2010 Join Date
    HeavenLocation
    2,014Posts

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

    This is the first I have seen. AMAZING RELEASE! No need anymore for going back and forth. THX SO MUCH!

    ---------- Post added at 04:34 AM ---------- Previous post was at 04:33 AM ----------

    What sets it off so that it will restart?

  10. #10
    Entrepreneur & Investor chadderbox is offline
    MemberRank
    Jun 2008 Join Date
    Look Behind YouLocation
    2,229Posts

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

    Looks good but probably could design it to be more user friendly (for newbs) and more good looking! lmao.
    Posted via Mobile Device

  11. #11
    Horror! Rajito is offline
    MemberRank
    Aug 2010 Join Date
    The NetherlandsLocation
    1,046Posts
    Quote Originally Posted by omnija View Post
    from what i remember of re-starters they usually caused issues, maybe this one will actually work as it's suppose to. any feed backs would be useful... also does it restart by when the program closes or does it have a timer?
    if it crashes or closes.
    i could also make it with a timer if you want?

  12. #12
    Banned c0mma is offline
    BannedRank
    Jan 2011 Join Date
    ^RaGEZONE^Location
    696Posts

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

    awesome release bro, looks great!

  13. #13
    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

    Thanks all =]
    I'm going to add a few things today or tomorrow to make it easier to use =]

  14. #14
    Account Upgraded | Title Enabled! Milw0rm is offline
    MemberRank
    Jul 2007 Join Date
    660Posts

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

    Um.. I don't really see the point of this.. Easier to just do a simple .bat file and thats it..

  15. #15
    Horror! Rajito is offline
    MemberRank
    Aug 2010 Join Date
    The NetherlandsLocation
    1,046Posts
    Quote Originally Posted by Milw0rm View Post
    Um.. I don't really see the point of this.. Easier to just do a simple .bat file and thats it..
    I known, but i'm now learning C# and i'm just testing my skills :p
    From little thing i'm going to huge things ! xD

    ---------- Post added at 10:08 AM ---------- Previous post was at 10:07 AM ----------

    I'm also going to add a crashlog, and that you can see the crashes in-game with a simple command.

  16. #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

  17. #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

  18. #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.

  19. #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

  20. #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.

  21. #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

  22. #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

  23. #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?

  24. #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?

  25. #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?



Page 1 of 2 12 LastLast

Advertisement