PDA

View Full Version : script problem



Asgard7783
06-02-2009, 04:43
I get this in the log file and have no idea to repair it

23:39:41.458 [system.rpt] [always] CPU: SSE2
23:39:41.474 [system.rpt] [always] ==== system log start, build date: Jun 25 2007 version bld-medieval2-update2.1-30 (43169) ===
23:39:41.474 [system.io] [always] mounted pack packs/data_0.pack
23:39:41.489 [system.io] [always] mounted pack packs/data_1.pack
23:39:41.489 [system.io] [always] mounted pack packs/data_2.pack
23:39:41.489 [system.io] [always] mounted pack packs/data_3.pack
23:39:41.489 [system.io] [always] mounted pack packs/data_4.pack
23:39:41.489 [system.io] [always] mounted pack packs/localized.pack
23:40:08.601 [script.err] [error] Script Error in data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 885, column 62
Parent is not old enough to father this child
Kaiser Heinrich the Chivalrous:50 < Kaiser Heinrich the Chivalrous:50


whenever i attempt to start a campaign it takes me back to the main menu

Makanyane
06-02-2009, 18:00
check the relative line in descr_strat where Kaiser Heinrich the Chivalrous is listed...
what age are the generals that are listed after him as his sons?

descr_campaign_db.xml
sets the minimum age difference between fathers and sons, though as its repeating the same name it doesn't seem to be reporting the error quite right so you might have done something stranger, check the ages of all the sons and make sure they are listed with the oldest first then in descending order.

Asgard7783
06-02-2009, 18:18
Thanks i'll check over that after several checks i came up with problems from the descr_strat and descr names