RYL2ServerController

Moooooooooooooooo
Joined
Jul 19, 2006
Messages
442
Reaction score
132
A little prog to help the server owners..

Version 1.2.3 updates:
*Everyone who is on AutoListening group (in ini) are auto 3'rd level admins
*Level 3 commands:
* ?reCatch - try's to recatch the server processes. Sometimes happens that some server gets missing and server wont startup.
* ?DoException - Simulates a exception in server controller resulting in controller restart
* ?say %message% - execute a irc command. example: ?say QUIT :i have to go
* ?kill checks the kill processes checkbox and makes restart after restart unchecks it
*IRC server disconnect results now in reconnecting
*?help opens ?commands
*?fromStart removed - too much info. resulted in exceed flood
*Added silent mode for testing purposes

Version 1.2 features:
*One click Startup
*One click Shutdown
*One click Restart
*Process catching - You can close and open the controller and he finds the servers running already.
*Unexpected exeption auto self restarter
*Power failure protection - add to startup: rylservercontroller.exe /startup
*Online count-humans,akhans,maps seperatly,total
*Status file - all counts are saved to a .CSV file for ur webpage
*Log file - to see what has happened when ur AFK
*IRC module - all events & counts in irc + takes commands from admins in channel (restart-start & shutdown) + lots of other commands[Use ?commands in channel]
*System tray - like all other server's from ryl
*Language - VB .NET 2.0
& lot more...

How to conf it?
Look at the end of ini file:
# --- faq ---
# The order of the items will be the startup order.
# Name_nr - The name of the server. No space, no special chars.
# Addr_nr - The exe name. Can be relative or absolute
# Args_nr - Arguments for running the exe (for mapserv usually)
# Must be null if u dont have any arguments for startup
# Code_nr - The code to send to open the log window (really.. dont change them)
# Mapserver should be with different exe names for process hooking(controller startup when server is already running)
#
# [main]
# DoRestart - 1 or 0 depending should the auto-restart be on or off (can be changed in main form)
# LoginServerName - The Name_ tag of the login server. Used to send the "Accept connections" command
# DoMapStart - if map server goes down do we just run the map again? (can be changed in main form)
# MapServer - The ID's of the maps separated with a comma(usually 6,7,8 and 9)
# ProblematicStartup - The iD's of programs that need constant run 'til it gets up(UID server mostly)
# KillProcesses - do we kill the processes or we send them a normal WD_CLOSE command (can be changed in main form)
# LogFile - the full path of the log file (auto set on first run to app dir+app name+.log)
# StatusFile - the full path of the status file (auto set on first run to app dir+app name+_status.csv)
# WaitTime - Time in milliseconds how long to wait 'til next exe startup(normal 2000-3000 (2-3sec))
# ServerDir - The location of the server exe's. Must not be used if this app is in same dir as the server exe's.
#
# [irc]
# useIrcBot - do we connect to a IRC server and use the bot or no
# server - the name of the server. def port 6668. if u dont use the default port write like: server:port
# uname - the nick name of the IRC bot
# topicChanger - the nick of a bot who modifies the topic. Used commands:
# /notice $nick !set online
# /notice $nick !set offline $message (cause of the offline status, crash or admin shutdown)
# channel - the name of the channel where the bot goes
# startup - a IRC RAW type command what will be initialized after sucessful connect. Like:
# PRIVMSG NickServ IDENTIFY myPass
# autoListenUser - after login automatically adds user to the ?listen list. Use comma to separate users

For installation:
Conf the ini a bit and then copy it to ur ryl_server/release directory where all the other exe's are.
And be sure u have .NET Framework 2.0

And thats it..
Comments?
 

Attachments

Last edited:
I have only a local ryl2server. so i really dunno.
 
Seems like it's working only with RYL2 server. I Could make RYL1 servercontroller too in a day but i need a working server for that :S

If i get enought requests for ryl1 then maybe i even make it.
 
Thanks,

2 or 3 weeks full day work :) Even my play count has gone down to 19hours this week :S
 
Grats to skopje. Hes the first one who shows Akhans and Humans and all maps online count seperately in IRC.
 
Grats to skopje. Hes the first one who shows Akhans and Humans and all maps online count seperately in IRC.

lol you mean using your program ;0
it whas done before with the johnd thingy ...
with some copy 'n paste it worked for all maps =)
you can also read from the database what char is online

anyway .. still good job =)
 
lol you mean using your program ;0
it whas done before with the johnd thingy ...
with some copy 'n paste it worked for all maps =)
you can also read from the database what char is online

anyway .. still good job =)

But why nobody used it then?
 
Well.. i cant belive it.

First i was surfing in skopje's forum and found a post from metadon where he said that he has made this launcher.. ok i thought it was just a joke or he needs a bit attention. But when i surfed more i found a damn arrogant post. I attached it here as a pic.

The location is or was:
hxxp://lamja.11.forumer.com/viewtopic.php?t=115
on 29.09.2006 18:34 GMT+3
Depends on did he delete or edit the post.

So really.. this isnt funny anymore.
 

Attachments

  • meta - RYL2ServerController - RaGEZONE Forums
    meta.webp
    39 KB · Views: 292
Last edited:
OMFG

Ya bro that does suck ... Happened to me a few times so i know how it feels =C
 
Well.. i cant belive it.

First i was surfing in skopje's forum and found a post from metadon where he said that he has made this launcher.. ok i thought it was just a joke or he needs a bit attention. But when i surfed more i found a damn arrogant post. I attached it here as a pic.

The location is or was:
hxxp://lamja.11.forumer.com/viewtopic.php?t=115
on 29.09.2006 18:34 GMT+3
Depends on did he delete or edit the post.

So really.. this isnt funny anymore.

alphaest - RYL2ServerController - RaGEZONE Forums
 
hi - nice work (again ^^)

killing the processes could be a bad idea (think of the db)
however if u send a windows shutdown signal to the ryl processes they end themself correctly.

perhaps add a service controller to the list and connect it with the sqlserver would allow to manage this one too from the application.

have a nice day and keep up the good work ^^
 
hi - nice work (again ^^)

killing the processes could be a bad idea (think of the db)
however if u send a windows shutdown signal to the ryl processes they end themself correctly.

perhaps add a service controller to the list and connect it with the sqlserver would allow to manage this one too from the application.

have a nice day and keep up the good work ^^

1. Killing processes is a option. You can use the WM_QUIT message sending if the checkbox is unchecked.
2. You can add whatever program to the list. You can make it even for ryl1. But for ryl1 doesnt work the online showing, log windows opening, and login server enabling.
 
Online counts showing on web page:

Just copy-paste the code to somewhere on ur webpage and edit the status_file modifier.
I added a php file in the attachments. You can use the <?php include("ryl_online.php"); ?> for that. Anyway.. i cant make it more simpler.

Code:
<?php

// Edit this to show the real location of the status file.
// The status file doesnt have to be in the server's release directory.
// Open your ini file and change the StatusFile= key in section [main]

$status_file="D:/RYLServerController_status.csv";


$l=file( $status_file );
$obVal=array( );
foreach( $l as $m => $s )
	{
	list( $n, $v )=explode( ";", $s );
	if( $m>0 && $n )
		{
		$objVal[$n]=$v;
		}
	}
?>
</font><b>Total Online:</b>
<font color=#FFD700><?php echo $objVal["OnlineNr"]; ?><br>
</font><b>Humans:</b>
<font color=#FFD700><?php echo $objVal["Humans"]; ?><br>
</font><b>Akhans:</b>
<font color=#FFD700><?php echo $objVal["Akkans"]; ?><br>
</font><b>Map1:</b>
<font color=#FFD700><?php echo $objVal["[MAP]Map1_Almighty_Ground[zone:12]"]; ?><br>
</font><b>Map2:</b>
<font color=#FFD700><?php echo $objVal["[MAP]Map2_Caernarvon[zone:8]"]; ?><br>
</font><b>Map3:</b>
<font color=#FFD700><?php echo $objVal["[MAP]Map3_Caernarvon[zone:16]"]; ?><br>
</font><b>Most Online:</b>
<font color=#FFD700><?php echo $objVal["MostOnlineNr"]; ?><br>
</font><b>on:</b>
<font color=#FFD700><?php echo $objVal["MostOnlineDate"]; ?><br>
 

Attachments

1. Killing processes is a option. You can use the WM_QUIT message sending if the checkbox is unchecked.
2. You can add whatever program to the list. You can make it even for ryl1. But for ryl1 doesnt work the online showing, log windows opening, and login server enabling.
sry for the confusion then - i didnt get the part with the wm_quit before

...just wondering then why u include the process kill option that is sort of unsafe?

have a nice day
 
sry for the confusion then - i didnt get the part with the wm_quit before

...just wondering then why u include the process kill option that is sort of unsafe?

have a nice day

Just in case.. maybe someone has problems that servers are un-responding then he can use this option.
 
Back