Page 1 of 1

Server Shutdown: load_vitals_cfg: load_packed_cfgs error???

Posted: Tue Oct 03, 2006 6:19 pm
by mijimoe
I am having some difficulty converting from pol095 to pol096 - listed below is the error I get when trying to run the pol.exe:

Loading package in pkg/systems/spawnpoint/
Loading package in pkg/systems/spawnregion/
Loading package in pkg/systems/stafflist/
Loading package in pkg/systems/timer/
Loading package in pkg/tools/gmtools/
Loading package in pkg/tools/motd/
Error loading script pkg/foundations/hooks/regen.ecl: Recompile required. Bad version number 3
Unable to read script 'pkg/foundations/hooks/regen.ecl'
Error reading script pkg/foundations/hooks/regen.ecl
Error reading configuration file pkg/foundations/hooks/vitals.cfg:
Export Script pkg/foundations/hooks/regen.ecl not found
Element: Vital Life, found on line 1
Server Shutdown: load_vitals_cfg: load_packed_cfgs
Execution aborted due to: Configuration file error

If anyone can assist me in getting past this point, it would be great.

Thanks!

Mijimoe

Posted: Tue Oct 03, 2006 7:11 pm
by CWO
as it says, recompile required. Whenever changing the core, you should make sure all the files of the new core replace all of the ones for the old core. Next delete ALL .ecl files in your shard's path. Then hit ecompile to recompile all of the scripts on your shard.

Posted: Tue Mar 13, 2007 4:53 am
by Damien.
Hey, i had the same problem and i did as you said CWO :)

Tho now when i ecompile it means all my "re-writing" will begin?
Because i get this error:

Code: Select all

Compiling: I:/program/pol/scripts/ai/animal.src
Warning: local variable 'oldprio' not used.
File: I:/program/pol/scripts/ai/combat/fight.inc, Line 7
Warning: local variable 'opponent' not used.
File: I:/program/pol/scripts/ai/combat/defaultCombatEvent.inc, Line 31
Error compiling statement at I:\program\pol\scripts\ai\animal.src, Line 30
Error in function 'CloseDistance', File: I:\program\pol\scripts\ai\animal.src, L
ine 30

Error in function 'CloseDistance'.
File: I:\program\pol\scripts\ai\animal.src, Line 30
Execution aborted due to: Error compiling file
And im sure there will be more, by the way, i need help with my error, someone know what it means and what i should do? :)

Posted: Tue Mar 13, 2007 7:01 am
by tekproxy
Open up animal.src and paste the lines around line 30, and the function CloseDistance.

What distro are you using?

Posted: Tue Mar 13, 2007 9:05 am
by Damien.
Hail! :) i got it working, thanks for replying thought.

Problem:
case Distance( me, opponent) to
case( Distance( me, opponent))

Big credits to taxman and bracco for helping me ;)
and you for trying to helping me ;)

Posted: Tue Mar 13, 2007 8:22 pm
by CWO
As you might have to find out, if it means a rewrite or redoing of your scripts, thats what you're going to have to do. You must always with any core change, recompile your scripts. I'm not talking just from 095 to 096 to 097 ect... even between subversions of the same core, you must recompile otherwise face a very high possibility or even guarantee of strange crashes.