-
[Rhisis]Rhisis Server Restarter
Hi guys. Since i already mentioned that i'm gonna make a server restarter for Rhisis, i'ma just post it here now.
Code:
Current "features":
Start Rhisis
Shutdown Rhisis
Restart Rhisis
Automatic Restart Rhisis
Set "check if crashed" interval
Go to Rhisis site through the menustrip
Minimize to tray
Start Rhisis, Shutdown Rhisis, Restart Rhisis etc. through the context menustrip. [= The menu when you right click the tray icon.]
Sounds are now used [Button sounds: from FlyFF, intro sound from: I have no clue.]
Change label backcolor [When Rhisis is up, the Label will have a green backcolor, otherwise it'll be red.]
Open Rhisis-related sites. [Website, SVN, Development Thread (On RZ)
Run servers manually. [Login Server button, Char Server button, Game Server button]
Mac-style
Save settings (File -> Save Settings)
Restart RhisisSR (File -> Restart RhisisSR)
Change Skin [Bugged!] (Help -> Skin -> Mac or Vista) (Alternative skin change: Rename rsrskin (Mac style) to rsrskin 2 and rename rsrskin1 to rsrskin (That'll change Mac into Vista style. Reverse it and you'll have the Mac style again.)
Code:
RhisisSR V1.5 changes:
Save settings
Change Skin
Special thanks added
"Check if crashed interval" set to 2000
Instructions:
1. Download RhisisSR 1.5 and VC Redistributables.
2. Install the VC Redistributables and put RhisisSR in your RhisisFlyFF Folder.
3. Start Rhisis ServRestarter.exe
4. Just do whatever you want.
[Make sure the servers have their default names! (e.g. LoginServer, CharServer, GameServer)]
Heres a screenshot:
http://holyxsinx.ho.funpic.de/Rhisis...sSRScreen5.PNG
Heres the download: RhisisSR 1.5
New/previous/current version(s): RhisisSR [All versions]
VC Redistributables: VCRedist
RhisisSR 1.5 Source: RhisisSR Source 1.5
Compiling guide for the source:
//First make sure you have Visual Basic 2008 and .NET Framework 3.5 installed!
1. If you have trouble cause of the object called SkinCrafter1, just get rid of it and remove all the codes that involve it.
2. Click on Project -> RSR properties
3. Specify the place you'd like VB to put the compiled version out.
4. Click on Compile and then on Compile RSR.
5. Wait until it's done.
6. You're done ;)
Please report any bug you find.
Credits:
HolySinX (For making the program)
Microsoft (For creating VB08)
Skincrafter (For the mac-skin)
jason145 (For giving me some suggestions on what i should change. // Hes also creating a new background for the picture. [Coming soon])
-
Re: [Rhisis]Rhisis Server Restarter
-
Re: [Rhisis]Rhisis Server Restarter
Looks like I got me some competition!
http://i40.tinypic.com/ekp1lv.png
I like yours. And I like the fact there are two. Yours is simple and mine is a little more complex.
Keep working on it.
Oh, and what language did you code it in?
-
Re: [Rhisis]Rhisis Server Restarter
Quote:
Originally Posted by
GlaphanKing
Looks like I got me some competition!
http://i40.tinypic.com/ekp1lv.png
I like yours. And I like the fact there are two. Yours is simple and mine is a little more complex.
Keep working on it.
Oh, and what language did you code it in?
It's "coded" in Visual basic. I didn't wanna do it in C#/C++.
I'm gonna stop working on mine, since yours is way better.
-
Re: [Rhisis]Rhisis Server Restarter
wow nice Mate :)
keep going
-
Re: [Rhisis]Rhisis Server Restarter
naw man. people like variety. yours is simple and easy to use which is really effective.
mine I wanna see what I can do with it and how much crap I can control with it.
To be honest, until I get my ISC working, its pretty much the same as yours at this point.
And don't worry. I code for a living so whipping these up are nothing for me. You sir, did a good job.
-
Re: [Rhisis]Rhisis Server Restarter
Quote:
Originally Posted by
HolySinX
It's "coded" in Visual basic. I was too lazy to do it in C#/C++.
I'm gonna stop working on mine, since yours is way better.
Dont stop working on it man :)
Unless you have other things to do, keep going with this :P
Visual Basic code is a big mess, I take some codes I did some time ago and it takes me long time to understand what I did, maybe that is because I got used with how C++, C#, java, php and others works :P
-
Re: [Rhisis]Rhisis Server Restarter
Quote:
Originally Posted by
GlaphanKing
naw man. people like variety. yours is simple and easy to use which is really effective.
mine I wanna see what I can do with it and how much crap I can control with it.
To be honest, until I get my ISC working, its pretty much the same as yours at this point.
And don't worry. I code for a living so whipping these up are nothing for me. You sir, did a good job.
I just kinda updated it.
You gave me the idea to change the backcolor of the Labels. [Label backcolor will be green if Rhisis is up, otherwise it'll be red.]
-
Re: [Rhisis]Rhisis Server Restarter
just for coding purposes. I have my interval set at 1000 milliseconds to check for whether the server has crashed. but 3 seconds works as well. It all depends on the machine being hosted on.
I might release the source when I'm finished, but I still haven't decided yet.
-
Re: [Rhisis]Rhisis Server Restarter
I have a sugestion for both you.
Its kind annoying everytime you connect to website it will connect to the 3 servers, that might lag a little and its not good.
I sugest that you make it update a sql table when server is on/off and the website will take server status from there.
-
Re: [Rhisis]Rhisis Server Restarter
Looks good for both of you, probably both will be used, but official one i guess will be Glaphans since he is part of Rhisis :o :)
-
Re: [Rhisis]Rhisis Server Restarter
Quote:
Originally Posted by
BBim
I have a sugestion for both you.
Its kind annoying everytime you connect to website it will connect to the 3 servers, that might lag a little and its not good.
I sugest that you make it update a sql table when server is on/off and the website will take server status from there.
I don't exactly get what you mean. I don't think i'm able to make a program in VB08 that can update a SQL table.
-
Re: [Rhisis]Rhisis Server Restarter
Quote:
Originally Posted by
HolySinX
I don't exactly get what you mean. I don't think i'm able to make a program in VB08 that can update a SQL table.
You know server status at website?
They are "generated" by trying to connect into the 3 servers, and all those connections might lag it.
So, instead of the 3 connections everytime someone reload website, it is updated from the server restarter, then the website read it and show "online" or "offline".
-
Re: [Rhisis]Rhisis Server Restarter
Quote:
Originally Posted by
BBim
I have a sugestion for both you.
Its kind annoying everytime you connect to website it will connect to the 3 servers, that might lag a little and its not good.
I sugest that you make it update a sql table when server is on/off and the website will take server status from there.
As of right now, all it does is check if a process is running on mine. I do have a check every 10 seconds to show how many people are logged in.
Later through ISC I will be able to understand which account is logged in and what character they are using.
-
Re: [Rhisis]Rhisis Server Restarter
Quote:
Originally Posted by
BBim
You know server status at website?
They are "generated" by trying to connect into the 3 servers, and all those connections might lag it.
So, instead of the 3 connections everytime someone reload website, it is updated from the server restarter, then the website read it and show "online" or "offline".
Oh, i see.
-
Re: [Rhisis]Rhisis Server Restarter
you know you have VB08 which is .NET i believe. they work off the same set of methods and functions just worded differently.
PHP can hook into a dll file pretty easily. I know this because I used to write programs for PayPal websites (non-affiliated). Look into making a DLL file and gettin the website to hook into it thereby connecting to the program running.
OR, you can run a cron job and run an algorithm every like 5 minutes to check the servers and dump those results into a table. Which you can then grab and post on the website.
PHP is powerful if you know how to use it.
-
Re: [Rhisis]Rhisis Server Restarter
Wow its simple and cool. Very nice job.
-
Re: [Rhisis]Rhisis Server Restarter
Quote:
Originally Posted by
GlaphanKing
you know you have VB08 which is .NET i believe. they work off the same set of methods and functions just worded differently.
PHP can hook into a dll file pretty easily. I know this because I used to write programs for PayPal websites (non-affiliated). Look into making a DLL file and gettin the website to hook into it thereby connecting to the program running.
OR, you can run a cron job and run an algorithm every like 5 minutes to check the servers and dump those results into a table. Which you can then grab and post on the website.
PHP is powerful if you know how to use it.
I never actually tried doing anything with DLL's.
I'll start working with them soon.
-
Re: [Rhisis]Rhisis Server Restarter
Quote:
Originally Posted by
HolySinX
I never actually tried doing anything with DLL's.
I'll start working with them soon.
Nevermind about that. I probably won't start working with DLL's. I'm gonna learn C# and then remake this program someday.
P.S: Just added a new version. =)
-
Re: [Rhisis]Rhisis Server Restarter
Wow cool layout! Very nice Holy
-
Re: [Rhisis]Rhisis Server Restarter
Nice to hear you haven't given up on this Sin
I really like the design.
-
Re: [Rhisis]Rhisis Server Restarter
Quote:
Originally Posted by
FrostElite
Nice to hear you haven't given up on this Sin
I really like the design.
Thank you. I also just released the source and updated this.
-
Re: [Rhisis]Rhisis Server Restarter
Oh yes, a little competition :p
i post only a picture :p
http://img23.imageshack.us/img23/4750/65377149.th.jpg
-
Re: [Rhisis]Rhisis Server Restarter
Quote:
Originally Posted by
exos58
My server restarter is for Rhisis and not for Osa.. Plus, I'll add features like yours has too, as soon as ISC is done.
-
Re: [Rhisis]Rhisis Server Restarter