Problem with running pol097, vitals.

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 097.
Note: Core 097 is no longer officially supported.
Post Reply
Duskman
New User
Posts: 20
Joined: Mon Apr 03, 2006 1:59 pm

Problem with running pol097, vitals.

Post 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...?
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Post by Austin »

You didn't compile your scripts.
Duskman
New User
Posts: 20
Joined: Mon Apr 03, 2006 1:59 pm

Post by Duskman »

No, scripts are compiled. Maybe something wrong with ecompile.cfg? *ecl files and other are exist.
qrak
Grandmaster Poster
Posts: 198
Joined: Sun Feb 05, 2006 4:35 pm

Post by qrak »

vitals aren't configured properly. Check attributes/config/vitals.cfg

Its not a bug anyway.
Beaud
Novice Poster
Posts: 41
Joined: Tue Feb 14, 2006 2:06 pm

Post 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
User avatar
tekproxy
Forum Regular
Posts: 352
Joined: Thu Apr 06, 2006 5:11 pm

Post 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?
Beaud
Novice Poster
Posts: 41
Joined: Tue Feb 14, 2006 2:06 pm

Post by Beaud »

Well on this website, actually, its like this.
User avatar
tekproxy
Forum Regular
Posts: 352
Joined: Thu Apr 06, 2006 5:11 pm

Post by tekproxy »

Thank you for mentioning this. I'll bother Austin to fix it. :-D
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Post by Austin »

Was a problem I think in the base (bare minimum) setup, not the official distro. Fixed it and uploaded a new zip.
Post Reply