Don Stone
Conscript
Posts: 10
Joined: Fri Jul 06, 2007 7:14 pm

Bug: The American Congress moves back to Philadelphia

Sun Jan 16, 2011 2:29 am

1.08rc11

In the 1775/1776 campaigns, if the Americans recapture Philadelphia, the "American Congress moves back to Philadelphia" event fires each turn. Harmless (I think) but annoying. Simple fix:

File: 1776 Campaign.sct
Event: evt_nam_CapitaltoPhilly_reset

[INDENT]ChgEvtOccurs = evt_nam_CapitaltoPhilly;MaxOccurs;0[/INDENT]

should be

[INDENT]ChgEvtOccurs = evt_nam_CapitaltoPhilly;MaxOccurs;-1[/INDENT]

simovitch
Corporal
Posts: 51
Joined: Mon Aug 13, 2007 4:54 pm

Sun Jan 16, 2011 4:53 pm

I get this message every turn as well; I hope this fixes it.

But also, If the British re-capture Philadelphia I get the "...Congress has left Philadelphia..." message every turn thereafter. Will this edit fix that?

Don Stone
Conscript
Posts: 10
Joined: Fri Jul 06, 2007 7:14 pm

Sun Jan 16, 2011 9:26 pm

I believe (but am not completely certain) that it *will* fix that.

(I don't have any real experience with the event scripting language -- it looks to me like the event counter for that event would go down by 1 every turn after the Americans re-captured Philadelphia -- so it would become a negative number -- and that would cause the "leave Philadelphia" event to fire many times, but not forever, after re-re-capture of Philadelphia by the Brits)

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

Wed Aug 31, 2011 3:12 pm

Just found this! :blink:

Better fix is to use:
http://www.ageod.net/agewiki/SetEvtOccurs

Will fix in upcoming patch. :thumbsup:
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]

Return to “Help to improve WIA”

Who is online

Users browsing this forum: No registered users and 14 guests