Page 1 of 1

097 Distro lettercase errors

Posted: Fri Mar 09, 2007 8:15 am
by Haos
The following errors are small and not causing problems on win32... but as linux systems are case sensitive, it is causing reading errors during POL startup:

1.
/pkg/items/trash/config/itemdesc.cfg
Trashcan line:
ControlScript trashCan/Control
Control should be in lowercase (as i seen the style requirements), same as the file control.ecl:

ControlScript trashCan/control


2.
/pkg/skills/mining/itemdesc.cfg
OreVein lines:
Script orevein/use
DestroyScript orevein/onDestroy
MethodScript orevein/method
directory name should be oreVein, as it is in pkg.

Script oreVein/use
DestroyScript oreVein/onDestroy
MethodScript oreVein/method

Posted: Fri Mar 09, 2007 8:23 am
by tekproxy
Thanks. Fixed. Keep them coming. ;)

Posted: Fri Mar 09, 2007 8:28 am
by Haos
Rest seems to be working:) but no worries, as our server is running linux POL, no error will be omitted.

Posted: Fri Mar 09, 2007 6:12 pm
by Haos
3. A prolonged run caused following errors (pol.log):
[03/09 15:39:37] [pkg/systems/spawnSystem/spawnSystem.ecl]: Error: Unable to start engine (itemFill) for group (basicreagents) in region (britannia-britain-swamp-reagents). ->Script pkg/systems/spawnSystem/engines/itemFill/spawncycle.ecl does not exist.
[03/09 15:39:37] [pkg/systems/spawnSystem/spawnSystem.ecl]: Error: Unable to start engine (npcFill) for group (simple_swamp) in region (britannia-trinsic-swamp). ->Script pkg/systems/spawnSystem/engines/npcFill/spawncycle.ecl does not exist.

Quick investigation allowed me to find a suspect:

/pkg/systems/spawnSystem/include/engines.inc

function SS_GetEnginePath(engine_name)
return ":spawnsystem:engines/"+engine_name+"/spawncycle";
endfunction

should be:
return ":spawnsystem:engines/"+engine_name+"/spawnCycle";

as all three systems in engine have script named spawnCycle. But i may be wrong:)

4. Another one from pol startup:

syslog [pkg/utils/servmgmt/start.ecl]: Error starting bandwidth recorder ->Script pkg/utils/servmgmt/recorder/recBandwidth.ecl does not exist.

start script from that package calls "recorder/recBandwidth", but the script filename in fact is recbandwidth - should be reBandwidth.

Posted: Wed Apr 18, 2007 3:15 pm
by tekproxy
Forgot to note that these issues have been addressed in the distro. Thanks again. Sorry for the late response.