Repsys config error

Archive of posts related to former distro versions. Be aware that posts here do not refer to the current distro and may not work.

Moderators: POL Developer, Distro Developer

Locked
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm

Repsys config error

Post by Yukiko »

I have been updating my Distro 97 directory on a regular basis and today I decided to run the 97 server/Distro and play around with the blacksmithy scripts. Well when I try to start the server I get the following error in start.log:
checkpoint: load repsys config
Error reading configuration file config/repsys.cfg:
Unexpected type 'HookList'
Valid types are: General NameColoring
Near line: 41
Element started on line: 41
Server Shutdown: load repsys config
Execution aborted due to: Configuration file error.
My repsys.cfg file is fine according to the SVN green check mark but I'll post a copy of it here anyway.

Code: Select all

# $Id: repsys.cfg 720 2006-08-18 10:09:58Z austinheilman $
#
#
#####################################
# REPSYS.CFG - Reputation System Configuration
#
# Used by Core
#
#####################################

General General
{
	CriminalFlagInterval	120		# Time, in seconds, for which you will be marked criminal
	AggressorFlagTimeout	120		# Time, in seconds, for which you will be marked an aggressor
}

NameColoring NameColoring
{
	Attackable		905
	AttackableHighLight	3

	Criminal		905
	CriminalHighLight	4

	Murderer		38
	MurdererHighLight	6

	Innocent		90
	InnocentHighLight	1

	GuildAlly		68
	GuildAllyHighLight	2

	GuildEnemy		44
	GuildEnemyHighLight	5

	Invulnerable		53
	InvulnerableHighLight	7
}

HookList HookList
{
	// Handles color stuff
	NameColor		:repsys:hook/repsys:NameColor
	HighLightColor		:repsys:hook/repsys:HighLightColor

	// The real reputation processing
	OnAttack		:repsys:hook/repsys:OnAttack
	OnDamage		:repsys:hook/repsys:OnDamage
	OnHelp			:repsys:hook/repsys:OnHelp
}
Any help would be appreciated.
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Post by Austin »

Comment out the hooklist elem.. waiting on a new 097 core to become public.
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm

Post by Yukiko »

Okies. Thanks Aus.
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Post by Austin »

Will work just fine in the latest 097 release.
Locked