User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

Missing event notification

Mon Dec 15, 2008 3:57 pm

I noticed sometimes I got not notification for an occured event!

Down here an example: see attached EXL file for the full events description.

Basically we have to events:
N13; evt_nam_FRA_TorgauThielmann_b
A13; evt_nam_COA_TorgauThielmann_b

The second one is just the notification to Coalition side, (A13) first event occurred:
EvalEvent; evt_nam_FRA_TorgauThielmann_b|=|1

Now out of many tests I had no COA side event notification.

Here is also abstract from ScriptReport file:

Line 858: ------------------------------
Line 860: SelectFactions, 1 Faction selected: French Empire
Line 862: Started processing event: evt_nam_FRA_TorgauThielmann_b
Line 862: Event already referenced, current occurences 0 Max allowed: 1 <<Active>>
Line 865: Min date evaluated: 1813/04/22 converted to turn 3040 current turn 3041 True
Line 866: Unique unit: Thielmann found
Line 867: SelectRegion, 548 Torgau selected (simple mode)
Line 868: Pick From Region List: Torgau selected
Line 870: Probability evaluated: Probability 33 rolled 31 True
Line 872: Entering triggered actions for event evt_nam_FRA_TorgauThielmann_b
Line 874: Group Thielmann Column has now this fixation value: 0 in region Torgau
Line 875: Select Unique sub unit, found: French Empire Thielmann Column Johann von Thielmann Johann von Thielmann in Torgau
Line 876: RemoveCuSubUnit, operation done on Johann von Thielmann Unit: Johann von Thielmann Group: Thielmann Column Faction: French Empire in region: Torgau
Line 877: SelectSubUnits 1001408 1. Btn Ldw Rgt. Tougau added, List Count now at: 1
Line 877: SelectSubUnits 1001411 2. Bat added, List Count now at: 2
Line 877: SelectSubUnits 1001410 1. Bat. added, List Count now at: 3
Line 877: SelectSubUnits 1001381 Sahr added, List Count now at: 4
Line 877: SelectSubUnits 1001383 Btn Grenadier added, List Count now at: 5
Line 877: SelectSubUnits 1001390 3. IR/Bde Sahr added, List Count now at: 6
Line 877: SelectSubUnits 1001389 2. IR/Bde Sahr added, List Count now at: 7
Line 877: SelectSubUnits 1001388 1. IR/Bde Sahr added, List Count now at: 8
Line 877: SelectSubUnits 1001386 2. Leger Saxon added, List Count now at: 9
Line 877: SelectSubUnits 1001384 Rgt Gardes du Corps added, List Count now at: 10
Line 877: SelectSubUnits 1001394 4. Cie/ Rgt Art. Pied Saxon (6) added, List Count now at: 11
Line 877: SelectSubUnits 1001392 3. Cie/ Rgt Art. Pied Saxon (6) added, List Count now at: 12
Line 877: SelectSubUnits 1001396 Gablenz added, List Count now at: 13
Line 877: SelectSubUnits 1001401 2. Chevauleger Saxon added, List Count now at: 14
Line 877: SelectSubUnits 1001400 1. Chevauleger Saxon added, List Count now at: 15
Line 877: SelectSubUnits 1001398 1. Husaren Saxon added, List Count now at: 16
Line 877: SelectSubUnits 1001405 2. Bie Che. Saxon added, List Count now at: 17
Line 877: SelectSubUnits 1001403 1. Bie Che. Saxon added, List Count now at: 18
Line 877: SelectSubUnits finished Regions Selected: 1 SubUnits Selected: 18
Line 878: AlterCuSubUnit Probability set to: 45
Line 878: AlterCuSubUnit Attempts set to: 10
Line 878: RemoveCuSubUnit, operation done on 1. Btn Ldw Rgt. Tougau Unit: LwR Torgau Group: Stadtgarnison Torgau Faction: French Empire in region: Torgau
Line 878: RemoveCuSubUnit, operation done on 1. Chevauleger Saxon Unit: 26e Bde Leger Group: Thielmann Column Faction: French Empire in region: Torgau
Line 878: RemoveCuSubUnit, operation done on 2. Bat Unit: Stadt Art. Torgau Group: Stadtgarnison Torgau Faction: French Empire in region: Torgau
Line 878: RemoveCuSubUnit, operation done on 2. Bie Che. Saxon Unit: 26e Bde Leger Group: Thielmann Column Faction: French Empire in region: Torgau
Line 878: RemoveCuSubUnit, operation done on Rgt Gardes du Corps Unit: 25e Division Group: Thielmann Column Faction: French Empire in region: Torgau
Line 878: AlterCuSubUnit All Attempts done, breaking loop
Line 880: Finished processing event: evt_nam_FRA_TorgauThielmann_b
Line 880: ------------------------------
[color="RoyalBlue"]Line 882: SelectFactions, 1 Faction selected: Coalition
Line 884: SelectFactions, 1 Faction selected: Coalition
Line 885: Started processing event: evt_nam_COA_TorgauThielmann_b
Line 885: Event already referenced, current occurences 0 Max allowed: 1 <<Active>>
Line 888: Min date evaluated: 1813/04/22 converted to turn 3040 current turn 3041 True
Line 889: EvalEvent evaluated: Checking evt_nam_FRA_TorgauThielmann_b 1 equal to 1 True
Line 891: Entering triggered actions for event evt_nam_COA_TorgauThielmann_b
Line 894: Finished processing event: evt_nam_COA_TorgauThielmann_b[/color]
Line 894: ------------------------------


Conditions; NULL
MinDate; 1813/04/22
EvalEvent; evt_nam_FRA_TorgauThielmann_b|=|1
Actions; NULL
[color="Red"]DescEvent; evt_desc_COA_TorgauThielmann_b[/color]
EndEvent; NULL

What's going wrong?
Why I have not notification as per [color="Red"]DescEvent; evt_desc_COA_TorgauThielmann_b[/color] ?

Notice, this is not first time I meet such king of troubles!
.....Of course evt_nam_COA_TorgauThielmann_b textual notification was properly encoded in LocalString files!

Thanks in advance for attention and clarifications

JastaV
Attachments

[The extension xls has been deactivated and can no longer be displayed.]

Ney: The army will not move!
Napoleon: The army will obey me!
Ney: The army will obey to its Generals’ orders!

[SIZE="1"]Fontainebleau, April 1814[/size]

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Mon Dec 15, 2008 4:47 pm

you won't get any notification if there is no region set in the first line of the event I believe.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

Mon Dec 15, 2008 6:15 pm

Pocus wrote:you won't get any notification if there is no region set in the first line of the event I believe.


That's true but it was, as you could see from attached EXL sheet:
A13; evt_nam_COA_TorgauThielmann_b; StartEvent; 1; ; [color="Red"]Line[/color]; NULL; NULL; [color="red"]$Torgau[/color]; NULL; NULL

I was expecting a line notification centered over Tougau region!

What is very odd and confusing me is the fact I edited tons of events like that... most of them works, some one not at all!
I cannot see a reason for that!
Ney: The army will not move!

Napoleon: The army will obey me!

Ney: The army will obey to its Generals’ orders!



[SIZE="1"]Fontainebleau, April 1814[/size]

User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

Tue Dec 16, 2008 1:42 pm

Here is an editing update to Events I'm checking: see attached file.
I have addded to evt_nam_COA_TorgauThielmann_b actions a ChgVPCount so to be able to check event beeing processed!

[CENTER]A13; NULL; ChgVPCount; 2[/CENTER]

Down here abstract from ScriptReport:

Line 882: SelectFactions, 1 Faction selected: Coalition
Line 884: SelectFactions, 1 Faction selected: Coalition
Line 885: Started processing event: evt_nam_COA_TorgauThielmann_b
Line 885: Event already referenced, current occurences 0 Max allowed: 1 <<Active>>
Line 888: Min date evaluated: 1813/04/22 converted to turn 3040 current turn 3044 True
Line 889: EvalEvent evaluated: Checking evt_nam_FRA_TorgauThielmann_b 1 equal to 1 True
Line 891: [color="Purple"]Entering triggered actions for event [/color]evt_nam_COA_TorgauThielmann_b
Line 893: ChangeVPCount: Coalition new value: 229
Line 895: Finished processing event: evt_nam_COA_TorgauThielmann_b

Although I have proof the event is actually processed, and noticed the change in VP, notification is till missing! :(

It's strange, all look okay in the event strings!

BTW, this kind of silent troubles are a menace for game testing: testers will not notice or report troubles in so far they do not know of event existence! :(
The only one could notice them is the scenario editor! :blink:
Attachments

[The extension xls has been deactivated and can no longer be displayed.]

Ney: The army will not move!

Napoleon: The army will obey me!

Ney: The army will obey to its Generals’ orders!



[SIZE="1"]Fontainebleau, April 1814[/size]

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Tue Dec 16, 2008 1:58 pm

Use GenMsg
[ATTACH]5280[/ATTACH]
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]
[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]

[CENTER]Rules for new members[/CENTER]
[CENTER]Forum Rules[/CENTER]

[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Tue Dec 16, 2008 2:03 pm

jastaV wrote:That's true but it was, as you could see from attached EXL sheet:
A13; evt_nam_COA_TorgauThielmann_b; StartEvent; 1; ; [color="Red"]Line[/color]; NULL; NULL; [color="red"]$Torgau[/color]; NULL; NULL

I was expecting a line notification centered over Tougau region!

What is very odd and confusing me is the fact I edited tons of events like that... most of them works, some one not at all!
I cannot see a reason for that!


blank value after the "1"
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]

[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]



[CENTER]Rules for new members[/CENTER]

[CENTER]Forum Rules[/CENTER]



[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Tue Dec 16, 2008 3:24 pm

Right, Lodirighty.

There are so many things to do with your nick, it is amazing! :wacko:
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

E Column

Tue Dec 16, 2008 4:22 pm

lodilefty wrote:blank value after the "1"


Blank value after the "1" matches the E Column of the Events sheet!
E column is the so called "§Notes - Comments" column, commonly having a mess of blank value cells!
:(

It was used in all NCP EXL files: I have mess of events with such a blank value perfectely working!
The trouble is to be elsewhere! :(
Ney: The army will not move!

Napoleon: The army will obey me!

Ney: The army will obey to its Generals’ orders!



[SIZE="1"]Fontainebleau, April 1814[/size]

User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

Tue Dec 16, 2008 4:25 pm

lodilefty wrote:Use GenMsg
[ATTACH]5280[/ATTACH]


I'll try GenMsg as you suggested, but mostly for testing porpouse!
Unfortunately GenMsg does not allow to center map over event location: that the main reason I prefer DescEvent! :cool:
Ney: The army will not move!

Napoleon: The army will obey me!

Ney: The army will obey to its Generals’ orders!



[SIZE="1"]Fontainebleau, April 1814[/size]

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Tue Dec 16, 2008 4:25 pm

a NULL is not a blank. A blank shift data, ... if there are no data, as with 99% of the commands after the blank, it's not a problem. If there are, like for a StartEvent line, then this can be the cause of your trouble.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Tue Dec 16, 2008 4:30 pm

Pocus wrote:a NULL is not a blank. A blank shift data, ... if there are no data, as with 99% of the commands after the blank, it's not a problem. If there are, like for a StartEvent line, then this can be the cause of your trouble.


So, al the empty cells in notes must be NULL. Wasted an evening figuring that out long ago.... :bonk:
Or move notes to the last column on right so it doesn't matter. :D
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]

[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]



[CENTER]Rules for new members[/CENTER]

[CENTER]Forum Rules[/CENTER]



[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

Tue Dec 16, 2008 5:12 pm

Going after Lodilefty's suggestion I added "NULL" to all blanck cells from Column E.

NOW, I have no more notification of any scripted events!!!!
NOT AT ALL!
:(

Good, may be I learned something: I will try something defferent! :wacko:
Ney: The army will not move!

Napoleon: The army will obey me!

Ney: The army will obey to its Generals’ orders!



[SIZE="1"]Fontainebleau, April 1814[/size]

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Tue Dec 16, 2008 5:27 pm

Does the header of the column still have the § symbol?

be safe: move the %^#^%$@#$^ notes column to the far right, or delete it before extracting csv file
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]

[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]



[CENTER]Rules for new members[/CENTER]

[CENTER]Forum Rules[/CENTER]



[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

Tue Dec 16, 2008 5:29 pm

Yup!

Have the explanation and the solution!

[SIZE="3"]Column E, Events sheet[/size]

Okay all blank cells! :p ompom: :p ompom:

No scripted event notification working when NULL filling all blank cells! :(

No scripted event notification working when textual note was added to first line of an event! :(

I removed my notes from Column E and it's all okay :neener: !

Now, the question!
Where to move the damn, but so usefull, Notes?
BTW, guess it's not wise to delete the full Column E! :wacko:
Ney: The army will not move!

Napoleon: The army will obey me!

Ney: The army will obey to its Generals’ orders!



[SIZE="1"]Fontainebleau, April 1814[/size]

User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

Tue Dec 16, 2008 5:34 pm

lodilefty wrote:Does the header of the column still have the § symbol?

be safe: move the %^#^%$@#$^ notes column to the far right, or delete it before extracting csv file



Column E head: §Notes - Comments

Indeed I got same results with or without §Notes - Comments!

I suspecta trouble with CSVSplitter: my presently used version: 14 Ago. 2008, 17.06.20 last mod. time!
Is there a newer one?

Yes is there!
Going to CSVSplitter 12 Nov. 2008 from last NCP_DB!
Ney: The army will not move!

Napoleon: The army will obey me!

Ney: The army will obey to its Generals’ orders!



[SIZE="1"]Fontainebleau, April 1814[/size]

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Tue Dec 16, 2008 5:43 pm

jastaV wrote:Yup!


Now, the question!
Where to move the damn, but so usefull, Notes?
BTW, guess it's not wise to delete the full Column E! :wacko:


If you choose to ignore what I've already suggested, I'l stop bothering you.
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]

[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]



[CENTER]Rules for new members[/CENTER]

[CENTER]Forum Rules[/CENTER]



[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

Tue Dec 16, 2008 6:04 pm

lodilefty wrote:If you choose to ignore what I've already suggested, I'l stop bothering you.



You helped me a lot, moving me to try all possible editing ways!
Please do not stop! :love:

Here are my last findings, using most recent CSVSplitter version I have at hand.

Column E!

Presence or not of §..... at column head is uninfluent.
All blank cells in column E is Okay!
Throubles when notes are added in column E at very first line of an event.
Okay when Notes are added to other column E cell lines: example at the line hosting the DescEvent command.
At this point, AFAIK, no need to delete or move Column E, before CSVSplitting processing EXL files, but need to check presence of notes in first line of any event.

To have a common standard into EXL files editing we could also commonly move Comment column to the rightmost edge of the docs. :neener:
Of course we should do that will all old EXL files.... A mess just in NCP_DB!
Deleting E column before processing EXL files is okay too! But we need to do that any time a new file goes processed!

Expect Pocus will clarify best way to go on for future!
Big thank to Lodilefty for assistance: Now I know how to fix my missing notification trubles! :neener:
Ney: The army will not move!

Napoleon: The army will obey me!

Ney: The army will obey to its Generals’ orders!



[SIZE="1"]Fontainebleau, April 1814[/size]

Return to “Modding AGE engine games”

Who is online

Users browsing this forum: No registered users and 22 guests