Page 1 of 1

Script Errors

Posted: Wed Nov 24, 2010 2:12 pm
by Ebbingford
The following error messages popped up at end of turn processing. Game carried on OK. Playing as Reds, long campaign, with the two AI fixes from Clovis.

12:56:46 (Reporting) FullDebug: Script Engine, while parsing line 24123 Unknown Keyword: RUS F5 Diplomatic Options RED-DOWs.sct
12:56:46 (Reporting) FullDebug: Script Engine, while parsing line 27805 Unknown Keyword: opt_title_WHI_NovorossiyskTankFactory
12:56:46 [Error ] FullDebug: Script Engine Error(s), while parsing line 36969 SetUnitPoolInfos = UNI_WH3_BAT;4;5
12:56:46 [Error ] FullDebug: Script Engine Error(s), while parsing line 36970 SetUnitPoolInfos = UNI_WH3_BTX;6;5
12:56:46 [Error ] FullDebug: Script Engine Error(s), while parsing line 59016 Apply
12:56:46 [Error ] FullDebug: Script Engine Error(s), while parsing line 59082 Apply



Lines are from
Started processing event: evt_nam_WH3_milpoolratio


Line 36969: => SetUnitPoolInfos command, the UnitDef UID given is either negative or above the units definitions UID. -1
Line 36970: => SetUnitPoolInfos command, the UnitDef UID given is either negative or above the units definitions UID. -1


And from
Started processing event: evt_nam_WH3_supply_depot1


Line 59016: => ApplyCreateStruc command A structure of type 2 is already there for faction (UID): 1000002


And from
Started processing event: evt_nam_WH3_supply_depot4


Line 59082: => ApplyCreateStruc command A structure of type 2 is already there for faction (UID): 1000002

Posted: Wed Nov 24, 2010 2:16 pm
by Clovis
Thanks

Milpoolratio and supplydepots bugs are yet fixed in the next patch. For info, these errors have not great incidence on play: for example, milpoolratio hinders Southern White AI to build some naval units :D

Posted: Wed Nov 24, 2010 4:36 pm
by Ebbingford
Another one

15:29:41 [Error ] FullDebug: Script Engine Error(s), while parsing line 28858 EvalWSU = >=10


Line is

Line 28858: => Evaluate War Supply command, syntax is: EvalWSU = <Operator>;<Value_or_Faction_tag>



From event
evt_nam_WH3_IrkutskFactory_Check

Posted: Thu Nov 25, 2010 1:54 pm
by Kotik
Well I have and script error that in the end lead to a "stalling of the engine" and then CTD. Full game, GG version, unpatched by me and playing as the red some time in winter 1919-1919.

here is rar with all the logs and script report.

Posted: Thu Nov 25, 2010 2:05 pm
by Clovis
Kotik wrote:Well I have and script error that in the end lead to a "stalling of the engine" and then CTD. Full game, GG version, unpatched by me and playing as the red some time in winter 1919-1919.

here is rar with all the logs and script report.


Try this. Urar the archive in the RUS/events directory. Go back to the last turn by pressing the 3Home" key on the Load game screen. Replay the turn. It should work

Posted: Thu Nov 25, 2010 2:08 pm
by Clovis
hum...you've lost Tzaritsyn? ;) But you have saved Kazan and Ekaterinodar....Could you give me your AI settings, for information? :)

Posted: Thu Nov 25, 2010 3:41 pm
by Kotik
Clovis wrote:hum...you've lost Tzaritsyn? ;) But you have saved Kazan and Ekaterinodar....Could you give me your AI settings, for information? :)


being a smart ass ehh? ;) yeah but Stalin and the boys put up one heck of a fight but they were brushed out of tzaritsyn like dust in a hurricane. the whites didn't loose a single unit but mine were pulverized in 2 battles, only survivors was the 3 officers.

Ohh for the love of god!! you couldn't make the game stor that kind of info easily accessible in file in the savegame folder? Now I have to sart the game and figure out how to use my screencapture software...You are pain in the ...!! ;)

Grrrr...here you go! ;)

http://www.megaupload.com/?d=FCZ4SEJ0


what do I not do for the game industry!?! I should get paid for this kind of work! ;)

You cant put all these hotfixes into a single file and sticky it on the main forum?

Posted: Fri Nov 26, 2010 6:36 pm
by Kotik
here I come complaining again :D

logs and script report included. I had a message warn at end of the turn process that there were script errors but I didn't end the game until after a couple of turns but in the future I will try to save the report.

Posted: Fri Nov 26, 2010 6:38 pm
by Clovis
Kotik wrote:here I come complaining again :D

logs and script report included. I had a message warn at end of the turn process that there were script errors but I didn't end the game until after a couple of turns but in the future I will try to save the report.


Fixed for the next patch and certainly in the Aifix fle I've uploaded, but i will check it again.

Thanks

Posted: Sat Nov 27, 2010 7:22 am
by Kotik
Clovis wrote:Fixed for the next patch and certainly in the Aifix fle I've uploaded, but i will check it again.

Thanks


I forgot to mention I continued to play on savegame after I added the AIfix, that is maybe causing problems? Well I will start a new game just to be sure when I have some spare time.

Posted: Sun Nov 28, 2010 11:13 am
by Kotik
Hi clovis!

I still have problems with line 60592 in the script. Should I reintall the game and apply the AIfix before loading a new game? or should I wait for a patch?

Posted: Sun Nov 28, 2010 11:30 am
by Clovis
Kotik wrote:Hi clovis!

I still have problems with line 60592 in the script. Should I reintall the game and apply the AIfix before loading a new game? or should I wait for a patch?


Send me the scriptreport file, please. :)

Posted: Sun Nov 28, 2010 12:39 pm
by Kotik
Clovis wrote:Send me the scriptreport file, please. :)


here you go, this time I saved the script report for each turn, but I only played 3 turns.

Posted: Mon Dec 06, 2010 5:45 pm
by Baris
Some script warnings from GP as South whites. Some of them:

- "Warning] Event evt_nam_WH3_OmskFactoryConstruction not yet referenced"
- "Line 97644: Started processing event: evt_nam_CMN_RussianGoldTrainWarning
Line 97644: Event already referenced, current occurences 1 Max allowed: 1 >>Sleeping<<
Line 97646: Too many occurences for event evt_nam_CMN_RussianGoldTrainWarning further processing aborted.
Line 97652: Finished processing event: evt_nam_CMN_RussianGoldTrainWarning"

- "[Warning] Event evt_nam_WH3_More_Rail_AIActivatee not yet referenced"

-"Line 7481: Started processing event: evt_nam_CMN_French&GreekWarningB
Line 7481: Event already referenced, current occurences 0 Max allowed: 1 <<Active>>
Line 7484: Min date evaluated: 1920/01/01 converted to turn 4081 current turn 4050 False
Line 7494: Finished processing event: evt_nam_CMN_French&GreekWarningB"

Posted: Mon Dec 06, 2010 5:48 pm
by Clovis
Baris wrote:Some script warnings from GP as South whites. Some of them:

- "Warning] Event evt_nam_WH3_OmskFactoryConstruction not yet referenced"
- "Line 97644: Started processing event: evt_nam_CMN_RussianGoldTrainWarning
Line 97644: Event already referenced, current occurences 1 Max allowed: 1 >>Sleeping<<
Line 97646: Too many occurences for event evt_nam_CMN_RussianGoldTrainWarning further processing aborted.
Line 97652: Finished processing event: evt_nam_CMN_RussianGoldTrainWarning"

- "[Warning] Event evt_nam_WH3_More_Rail_AIActivatee not yet referenced"

-"Line 7481: Started processing event: evt_nam_CMN_French&GreekWarningB
Line 7481: Event already referenced, current occurences 0 Max allowed: 1 <<Active>>
Line 7484: Min date evaluated: 1920/01/01 converted to turn 4081 current turn 4050 False
Line 7494: Finished processing event: evt_nam_CMN_French&GreekWarningB"



Thanks

Event evt_nam_WH3_OmskFactoryConstruction not yet referenced" is maybe a script error.

The rest is normal. :) No errors.

Posted: Mon Dec 06, 2010 10:23 pm
by Baris
My thanks for your support,

There are 2 errors in log after turn processing but game continued ok, as:

"23:08:06 [Error ] FullDebug: Script Engine Error(s), while parsing line 39383 ChgEvtOccurs = evt_nam_RED_UralTheaterprevendcount;MaxOccurs;1;CuOccurs;1;
23:08:06 [Error ] FullDebug: Script Engine Error(s), while parsing line 99132 Apply"

Also a Bolshevik force fortified near Fitskhelauov (hard to spell :D ) force. Bolshevik force looks out of supply in winter but decided to stay near for some turns. near the Region Tzaritsyn.

Edit: Did not attack just waited in adjacent region, I load as Reds, Force had very few supply left.

Edit 2: Actually AI attacked after that turn. I simulated the battle 2 times, in one of them I was defeated(LOL), but the other battle I won, but in 2 examples Reds were left with no supply. But their numbers were twice as mine so it explains why the force waited in adjacent region.

Posted: Mon Dec 06, 2010 10:37 pm
by Clovis
Baris wrote:My thanks for your support,

There are 2 errors in log after turn processing but game continued ok, as:

"23:08:06 [Error ] FullDebug: Script Engine Error(s), while parsing line 39383 ChgEvtOccurs = evt_nam_RED_UralTheaterprevendcount;MaxOccurs;1;CuOccurs;1;
23:08:06 [Error ] FullDebug: Script Engine Error(s), while parsing line 99132 Apply"

Also a Bolshevik force fortified near Fitskhelauov (hard to spell :D ) force. Bolshevik force looks out of supply in winter but decided to stay near for some turns. near the Region Tzaritsyn.


That is an error. Thanks :)

Fixed for the next patch.

Posted: Wed Dec 15, 2010 12:08 pm
by Baris
If it is important, time to time script report checking cities owned by SB white, says Prokovsk not known city. See I can read script reports :D

> EvalRgnOwned: Param0 is not a known region (check if the alias is valid): PROKOVSK

Edit: I think in game is it is called POKROVSK

Posted: Wed Dec 15, 2010 12:40 pm
by Clovis
Baris wrote:If it is important, time to time script report checking cities owned by SB white, says Prokovsk not known city. See I can read script reports :D

> EvalRgnOwned: Param0 is not a known region (check if the alias is valid): PROKOVSK

Edit: I think in game is it is called POKROVSK


indeed. i will enlarge the hotfix tonight. This one has very minor consequences on game though.

Posted: Mon Dec 20, 2010 3:08 pm
by Baris
Playing as Southern Whites.
There is script error or warning (?) with the end of ww1, about unit created. or etc:if important.

ine 97982: [REPORTING] ApplyCreateGroup command, no region selected
Line 97988: [Warning] ApplyCreateUnit command, no group selected
Line 97993: [Warning] ApplyCreateUnit command, no group selected
Line 97998: [Warning] ApplyCreateUnit command, no group selected
Line 98003: [Warning] ApplyCreateUnit command, no group selected
Line 98008: [Warning] ApplyCreateUnit command, no group selected
Line 98014: [Warning] ApplyCreateUnit command, no group selected
Line 98019: [Warning] ApplyCreateUnit command, no group selected

and 99529:
Line 99529: => ApplyCreateUnit command, not enough units declared or possible for the recombination: 1


Edit: Thanks Clovis and the team :)

Posted: Mon Dec 20, 2010 6:28 pm
by Clovis
Baris wrote:Playing as Southern Whites.
There is script error or warning (?) with the end of ww1, about unit created. or etc:if important.

ine 97982: [REPORTING] ApplyCreateGroup command, no region selected
Line 97988: [Warning] ApplyCreateUnit command, no group selected
Line 97993: [Warning] ApplyCreateUnit command, no group selected
Line 97998: [Warning] ApplyCreateUnit command, no group selected
Line 98003: [Warning] ApplyCreateUnit command, no group selected
Line 98008: [Warning] ApplyCreateUnit command, no group selected
Line 98014: [Warning] ApplyCreateUnit command, no group selected
Line 98019: [Warning] ApplyCreateUnit command, no group selected

and 99529:
Line 99529: => ApplyCreateUnit command, not enough units declared or possible for the recombination: 1


Fixed for the next patch

Posted: Fri Dec 24, 2010 3:30 pm
by Baris
I think there wasnt an error before but,czech legion leaving event has an error.
They left, only a single brigade and 1 unit remained as wad.

[ATTACH]14176[/ATTACH]

and some script warnings if important:
Min date evaluated: 1918/11/01 converted to turn 4053 current turn 4053 True
Max date evaluated: 1921/12/30 converted to turn 4129 current turn 4053 True SelectSubUnits finished Regions Selected: 0 SubUnits Selected: 0
Evaluate Sub Unit Selected : True
Entering triggered actions for event evt_nam_WH3_JaninDoubleFaceH
SelectSubUnits finished Regions Selected: 0 SubUnits Selected: 0
[WARNING] AlterCuSubUnit: Selection is empty (Apply To List)
Finished processing event: evt_nam_WH3_JaninDoubleFaceH

also -----------------------------
Line 15759: [WARNING] SelectFaction, no faction selected, criteria: 0
Line 15761: [WARNING] SelectFaction, no faction selected, criteria: 0
Line 15762: Started processing event: evt_nam_FIN_Supply2

And cacacus and Azeri army no faction selected or reinforcements.

edit: script error if important:

Line 103003: 1st Osset Cavalry Rgt created in group Osset Division
Line 103003: => ApplyCreateUnit command, not enough units declared or possible for the recombination: 1