Starting RunUO automatically with FireDaemon Pro
If you would like to have
RunUO start automatically when you boot the system on which it is
installed, you can do so by creating a Windows service for it using
FireDaemon Pro.
[ More Info ]
[/gaming/runuo/firedaemon]
permanent link
Installing RunUO as a Service with FireDaemon
If you are running RunUO as a gaming server, you can use FireDaemon
to run it as a Windows system service, so that it starts automatically
when Windows starts and can be started and stopped with net start
and net stop
commands, which can be issued from another computer
if desired.
[ More Info ]
[/gaming/runuo/firedaemon]
permanent link
RunUO Emote Script
I modified a script for RunUO,
which is a software package that will allow you to run your own
gaming server akin to the Ultima Online
online roleplaying game. The
Emote
script will allow you to issue the command "[emote" to see
a list of emotions or actions your character can display or issue a specific
"[e " command to "emote", e.g. "[e giggle" will play a
sound file for a giggle. The sounds are specific to the character's gender,
e.g. if you issue the command "[e laugh" for a female character, you will
hear a female laugh, whereas, if the command is issued for a male character,
you will hear a male laugh. The same is true when you pick an option from
the menu.
[/gaming/runuo]
permanent link
Installing RunUO 1.0.0
To set up your own RunUO server take
the following steps:
-
Download the RunUO server software from
http://www.runuo.com/downloads/.
-
Unzip the file into the directory where you want it to reside when you run
it.
-
Change the autosave value, i.e. the value that controls how often the shard
saves its state to one of your liking. The default value is to save every
5 minutes. We set ours to 30 minutes, so that the delays that occur when saving
are less frequent. If you wish to change the value
from the default of saving every 5 minutes, edit the Scripts\Misc\AutoSave.cs
file and change the "5.0" in the following line. You can edit the RunUO
scripts with any text editor, e.g. Notepad.
Original Line:
private static TimeSpan m_Delay = TimeSpan.FromMinutes( 5.0 );
New Line:
private static TimeSpan m_Delay = TimeSpan.FromMinutes( 30.0 );
-
If you have a Fully Qualified Domain Name (FQDN) for your server, e.g.
shard.anolonandpointsbeyond.com in our case, you can
put it in Scripts\Misc\ServerList.cs.
Original Line:
public const string Address = null;
New Line:
public const string Address = shard.anolonandpointsbeyond.com;
You may need to change the "null" to your IP address, e.g. 192.168.0.12,
if you don't have a FQDN,
such as shard.anolonandpointsbeyond.com. The comment in the Serverlist.cs
file states the following:
/* Address:
*
* The default setting, a value of 'null', will attempt to detect your IP address automatically:
* private const string Address = null;
*
* This detection, however, does not work for servers behind routers. If you're running behind a router, put in your IP:
* private const string Address = "12.34.56.78";
*
* If you need to resolve a DNS host name, you can do that too:
* private const string Address = "shard.host.com";
*/
Since, if you are connected to the Internet, you are behind a router, whether
it's your own or your Internet Service Provider's (ISP's), I think the
statement about detecting the server's address unless it is behind a router
isn't clear. Maybe the router isn't at your location, e.g. maybe you have only
a cable modem, but it will be connected to your ISP's router in that case.
Perhaps the author meant "a router doing Network Address Translation (NAT)", but
I'm not certain.
-
You should also change the ServerName variable in the Scripts\Misc\ServerList.cs
file to one that fits your game. The default value is "RunUO Test Center".
-
Original Line:
public const string ServerName = "RunUO Test Center";
New Line:
public const string ServerName = "Anolon";
-
By default the server will listen on TCP port 2593. If you want to have it
listen on a different port, change the following line in
Scripts/Misc/ServerList.cs.
Listener.Port = 2593;
Applications listen for connections on specific ports. Think of it like
an office with multiple phone lines. Perhaps there are 10 phone numbers
for the office, but Jane only answers the one that ends in 2593, e.g.
555-555-2593. If you don't know about port numbers, just accept the
default value.
If you have firewall software on the system functioning as the RunUO
server, or that system sits behind a firewall, or behind a router doing
Network Address Translation (NAT), then you will have to create a rule
in the firewall or in the router that will allow outside connections to
be made to the port on the RunUO server, i.e. to TCP port 2593. Otherwise
no one on the other side of that router or firwall will be able to connect
to the RunUO server.
-
If you wish to allow multiple accounts to be created from one IP address,
change the line below in Scripts\Accounting\AccountHandler.cs. E.g.
you could change the "1" to a "5" to allow someone to create 5 accounts.
Original Line:
private static int MaxAccountsPerIP = 1;
New Line:
private static int MaxAccountsPerIP = 5;
-
If you want to control who has accounts on your server, i.e. you don't
want to allow people to automatically create accounts on your server,
then you need to edit Scripts\Accounting\AccountHandler.cs. Change
the value of "AutoAccountCreation" from "true" to "false". The script
language is case sensitive so use "false" not "False".
Original Line:
private static bool AutoAccountCreation = true;
New Line:
private static bool AutoAccountCreation = false;
-
When you are ready to start your RunUO server, get a command prompt
(Click on Start then Run, then type
cmd
and
hit enter). Then switch to the directory where the RunUO software is
stored and type server
and hit enter to start the shard software.
[/gaming/runuo]
permanent link