Blog Archives

Rune Classic 1.07 And 1.01 Servers

It is not only possible to play versions 1.01 and 1.07 with Rune Classic, but also to host servers for these versions of the game.

To run a Rune 1.01 server from Rune Classic you need to:

1. Open Rune.ini located in your Rune Classic games System folder
2. Comment out the following lines by putting ‘ or // infront of them:

//ServerPackages=VWCreatures
//ServerPackages=JunModel
//ServerPackages=HallsOfValhalla

3. Rename JunModel.u to OldJunModel.u
4. Rename HallsOfValhalla.u to OldHallsOfValhalla.u
5. Start the server with the following command:

rune.exe DM-Hildir?Listen -VERS=101 -server

That is all! Now you can host a dedicated 1.01 server from you Rune Classic game and people who have normal Rune will be able to join your server! You do not even have to be connected to Steam when you start the server this way.

To run a Rune 1.07 server you would just change -VERS=101 to -VERS=107.

Server Mod CountryFilter

CountryFilter is a server mod which lets you choose which countries can connect to your server. You can block connections from certain countries and allow all others or allow connections from certain countries and block all others. It does not have to be downloaded by players, it should exist only on the server.

DOWNLOAD:

Rune 1.00-1.04
CountryFilter100.zip

Rune 1.07-1.08
CountryFilter107.zip

Code
CountryFilterSrc.zip

The settings can be changed in CountryFilter.ini, to block or allow a certain country just add the country’s two letter code to the correct line. Countries are separated by commas.

The country codes can be found here:

http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2

Example 1:

[CountryFilter.CountryFilter]
BlockedCountries=it,no,fr
AllowedCountries=

Block connections from Italy,Norway and France and allow everything else.

Example 2:

[CountryFilter.CountryFilter]
BlockedCountries=
AllowedCountries=pl

Only allow connections from Poland, block everything else.

You need to have Nephthys server security mod installed for CountryFilter mod to work. It can be downloaded from here for versions 1.01 and 1.07:

http://zzora.altervista.org/Nephthys.html

If you need Nephthys for versions 1.00 or 1.04 leave a comment here and maybe I can help you.

Server Demo Recorder

Usually you record demos in Rune by typing the command “demorec” as a player, but it is also possible to record demos directly on a server.

The problem with a demo recorded by a player is that you will not see all players, and sounds will go away or be weird. This will not happen when you record the demo on the server, a server recorded demo will play back everything exactly as it happened.

I made this simple ServerActor which will automatically start recording a demo when there is someone playing on the server, and stop the demo when the server is empty. It does not need to be downloaded by players so don’t add it to ServerPackages, only to ServerActors!

DOWNLOAD:
ServerDemoRecorder.zip | ServerDemoRecorderSrc.zip

Put ServerDemoRecorder.u in System folder, then add to Rune.ini:

ServerActors=ServerDemoRecorder.ServerDemoRecorder

under all other ServerActors=.

A Simple Bot

A VERY simple bot. Works with all versions of Rune. It’s actually just a scriptpawn that automatically restarts when it dies.

To use it on your server, put all the files into your game System folder. Then when you make a server, select the ASimpleBot mutator from the list. Also add ServerPackages=ASimpleBot under all the other ServerPackages in Rune.ini.

DOWNLOAD:
ASimpleBot.zip | ASimpleBotSrc.zip

CODE:

//=============================================================================
// ASimpleBot
//=============================================================================
Class ASimpleBot extends LokiGuard;

function InitPlayerReplicationInfo()
{
	if (PlayerReplicationInfo.PlayerName == "")
		PlayerReplicationInfo.PlayerName = "ASimpleBot";
}

state Dying
{

PostDeath:
	if( Level.Game.RestartPlayer(self))
    {
		Enemy = None;
		StowWeapon = None;
		ClientReStart();
    }
    else
		log("ASimpleBot failed to restart!");
}

DefaultProperties
{
	bIsPlayer=True
	Intelligence=BRAINS_HUMAN
	Health=100
	MaxHealth=100
	bCanJump=True
	bCanWalk=True
	bCanSwim=True
	bCanFly=True
	bCanOpenDoors=True
	bCanDoSpecial=True
	bAdvancedTactics=True
	bCanStrafe=True
	bCanGrabEdges=True
	Skill=2.000000
	StartStowWeapon=None
	StartShield=None
	StartWeapon=None
	BlockChance=1.000000
	FightOrDefend=0.500000
}