Page 1 of 1

Problem with running pol097, vitals.

Posted: Tue Nov 14, 2006 1:44 pm
by Duskman

Code: Select all

=========================
Starting pol.exe
=========================

POL097-2006-10-29 RC Coregina (VS.NET 2003)
compiled on Oct 29 2006 02:41:02
Copyright (C) 1993-2006 Eric N. Swanson

Reading Configuration.
Loading Realm britannia.
Validating statics files: Completed in 10 ms.
hostname is falcon
address: 192.168.12.123
LAN IP address is 192.168.12.123
Loading combat.cfg options...Done!
Loading package in pkg/connect/
Loading package in pkg/attributes/
INSTALLING: Exported Vital - RegenRate and MaxValue functions ...
Error reading configuration file pkg/attributes/config/vitals.cfg:
        Exported Function GetHitsRegenRate not found in pkg/attributes/hooks/vitalInit.ecl
        Element: Vital Life, found on line 1
Server Shutdown: load_vitals_cfg: load_packed_cfgs
Execution aborted due to: Configuration file error


=========================
POL has finished running
=========================
Any ideas, what's wrong...?

Posted: Tue Nov 14, 2006 1:53 pm
by Austin
You didn't compile your scripts.

Posted: Tue Nov 14, 2006 3:25 pm
by Duskman
No, scripts are compiled. Maybe something wrong with ecompile.cfg? *ecl files and other are exist.

Posted: Wed Nov 15, 2006 2:03 am
by qrak
vitals aren't configured properly. Check attributes/config/vitals.cfg

Its not a bug anyway.

Posted: Sun Dec 17, 2006 5:49 pm
by Beaud
Its an error in the distro.

vitals.cfg says GetLifeRegenRate and GetLifeMaximumValue

Code: Select all

Vital Life
{
	RegenRateFunction	:attributes:hooks/vitalInit:GetLifeRegenRate
	MaximumFunction		:attributes:hooks/vitalInit:GetLifeMaximumValue
}

vitalInit.src says GetHitsRegenRate and GetHitsMaximumValue

Code: Select all

exported function GetHitsRegenRate(mobile)
	return 100;
endfunction

exported function GetHitsMaximumValue(mobile)
	return 100;
endfunction

Posted: Mon Dec 18, 2006 10:04 am
by tekproxy
It was an error in the distro, but I don't think it has been for a while. When did you last update?

Posted: Wed Dec 20, 2006 2:38 am
by Beaud
Well on this website, actually, its like this.

Posted: Wed Dec 20, 2006 8:17 am
by tekproxy
Thank you for mentioning this. I'll bother Austin to fix it. :-D

Posted: Thu Dec 21, 2006 2:55 am
by Austin
Was a problem I think in the base (bare minimum) setup, not the official distro. Fixed it and uploaded a new zip.