User avatar
Montbrun
Major
Posts: 249
Joined: Sun May 06, 2007 9:27 pm
Location: Raleigh, NC

Thu Dec 10, 2015 7:54 pm

Confirmed - the "Treaty of Pressburg" Event triggers, but is not implemented.

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

Thu Dec 10, 2015 7:56 pm

Montbrun wrote:Confirmed - the "Treaty of Pressburg" Event triggers, but is not implemented.


Even after the conference and 3 more turns???

Please post the contents of your Scripts subfolder [in zip or rar format]
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
Montbrun
Major
Posts: 249
Joined: Sun May 06, 2007 9:27 pm
Location: Raleigh, NC

Fri Dec 11, 2015 6:46 am

Playing as the French, August, 1805 Campaign. On my Turn 14, the "Treaty of Pressburg" Event triggered:

[ATTACH]36179[/ATTACH]

I then played for 6 more turns, but nothing happened. I backed up to my Turn 15, and loaded the save as the Austrians, and accepted the "Treaty of Pressburg" Event:

[ATTACH]36180[/ATTACH]

On the next turn, Turn 16, playing as French, I received the message that the "Treaty of Pressburg" had been accepted by the Austrians:

[ATTACH]36181[/ATTACH]

The AI had attempted to move French forces out of Austrian territory, but Bavaria remained "occupied," and Tyrol was not handed over to the Bavarians:

[ATTACH]36182[/ATTACH]
Attachments
PressburgD.jpg
PressburgC.jpg
PressburgB.jpg
PressburgA.jpg

User avatar
PhilThib
Posts: 13705
Joined: Tue Oct 18, 2005 5:21 pm
Location: Meylan (France)

Fri Dec 11, 2015 10:01 am

In the Vanilla version, Tirol becomes Bavarian 3 turns after Austrian acceptance of the treaty (tested and working)
However, there is a "bug" in the August scenario, because of the 'diplomatic engine'...in August, Bavaria starts half occupied and for the engine, the part occupied by the Austrians is.....austrian...and therefore not "returned" to Bavaria as it should...that is an engine limitation, as we can trace 'history' of who owned what here...

I did in the next patch a trick for circonvening the issue: the whole of Bavaria is returned to Bavaria at peace (i.e. won't be seen in January, but in august scenario the occupied lands will be freed)
Image

TC271
Sergeant
Posts: 80
Joined: Mon Oct 01, 2012 1:58 pm

Fri Dec 11, 2015 11:22 am

PhilThib wrote:In the Vanilla version, Tirol becomes Bavarian 3 turns after Austrian acceptance of the treaty (tested and working)
However, there is a "bug" in the August scenario, because of the 'diplomatic engine'...in August, Bavaria starts half occupied and for the engine, the part occupied by the Austrians is.....austrian...and therefore not "returned" to Bavaria as it should...that is an engine limitation, as we can trace 'history' of who owned what here...

I did in the next patch a trick for circonvening the issue: the whole of Bavaria is returned to Bavaria at peace (i.e. won't be seen in January, but in august scenario the occupied lands will be freed)


Any chance ou could release this fix now ahead of the patch so those of us who are stuck at this point can proceed with the game?

User avatar
PhilThib
Posts: 13705
Joined: Tue Oct 18, 2005 5:21 pm
Location: Meylan (France)

Fri Dec 11, 2015 1:20 pm

Copy-paste those events inside the Events folder of the game, it should help (although not sure all the texts fixes will be here). Also not sure it will help if you have already triggered the chain of events.

At worst you can always force the event via the console
Attachments
Peace_Events.rar
(6.43 KiB) Downloaded 251 times
Image

TC271
Sergeant
Posts: 80
Joined: Mon Oct 01, 2012 1:58 pm

Fri Dec 11, 2015 3:32 pm

PhilThib wrote:Copy-paste those events inside the Events folder of the game, it should help (although not sure all the texts fixes will be here). Also not sure it will help if you have already triggered the chain of events.

At worst you can always force the event via the console


Thanks for you continued active support.

I have a save just before I sent the treaty so I will test this tomight

veji1
AGEod Guard of Honor
Posts: 1271
Joined: Fri Dec 08, 2006 6:27 pm

Fri Dec 11, 2015 6:10 pm

This issue is becoming a big problem.

I manually fired the Pressburg event (went to the Austrian side to accept it) in the first december turn. 3 turns later, we have been at peace 3 turns and not only the relevant province and money transfers haven't taken place, but worse still, the return of the troops towards France is if not turning into the russian retreat, into quite a painful ride home.

So I have a simple question : Is anything specific organised for troop movement back home after a peace ??? Like teleportation or non attrition or something ? Because otherwise a very very very very very important lesson is to never make peace in the winter !! Because suddenly you lose control of the provinces and cities you have occupied, you take big hits and lack supply. It just sucks !

So is there anything there to be done or should one just accept that when you sign peace after trashing Austria while some of your troops are in Krakaw or Pesc, you are in for a painful ride home with lots of attrition ??

TC271
Sergeant
Posts: 80
Joined: Mon Oct 01, 2012 1:58 pm

Fri Dec 11, 2015 11:02 pm

1. With the new script the event works properly however you still need to manually select Austria and choose the option........

2. However the succeeding script (Disband HRE) does not work - I select it and pay the EPs but nothing happens the next turn and the option is back in the F4 menu.

3. Agree with above post that getting the Grand Armee dumped into Bavaria in the middle of winter needs fixing - they should be returned to France so you can supply them.

In conclusion at this point the grand campaign is unplayable due to none of the scripts working....anticipating the patch!

vicberg
AGEod Grognard
Posts: 968
Joined: Mon Dec 29, 2008 3:18 am

Sat Dec 12, 2015 6:58 am

I'm following the gist of the scripting language. I went to the AGEOD Wiki to lookup mindate. Says the condition is fulfilled if the actual date is this date or later (greater than or equal to).

If this is all true, then this is most likely the problem with your Pressburg events

StartEvent = evt_nam_AUS_PeaceOfPressburg|1|0|NULL|NULL|$Wien|NULL

Conditions
MinDate = 1805/10/01

What if I start firing the event before October 1st?

Fantassin
Civilian
Posts: 4
Joined: Sat Dec 12, 2015 7:30 am

Sat Dec 12, 2015 7:48 am

Hi,

I have the same problem with treaty of Pressburg. Three turns after sending this option in F4, Nothing. Austria seems not accept the treaty.

User avatar
PhilThib
Posts: 13705
Joined: Tue Oct 18, 2005 5:21 pm
Location: Meylan (France)

Sat Dec 12, 2015 11:11 am

vicberg wrote:Conditions
MinDate = 1805/10/01

What if I start firing the event before October 1st?


WAD, the event cannot occur before October (to avoid exploits), and that restriction applies only on the possibility of offering it or not...It has no impact on the rendering of the effects once the treaty is accepted (because to get acceptance, you must first send the offer, which works, and that will be from October)
Image

veji1
AGEod Guard of Honor
Posts: 1271
Joined: Fri Dec 08, 2006 6:27 pm

Sat Dec 12, 2015 2:48 pm

PhilThib wrote:WAD, the event cannot occur before October (to avoid exploits), and that restriction applies only on the possibility of offering it or not...It has no impact on the rendering of the effects once the treaty is accepted (because to get acceptance, you must first send the offer, which works, and that will be from October)


PhilThib,

Could you please explain to us how supplies and movement work for one's units when you are still in ennemy territory after a piece treaty ? Can my french troops deep in Austrian territory near Pecs or Karkaw have supply enough for the whole winter if they stay there if the Pressburg peace just took place in mid december or must I bring them back manually to allied territory with all the attrition losses it entails ? This is a big problem right now because I fear wrecking the army with what would be an absurd "victorious russian retreat" !!

User avatar
PhilThib
Posts: 13705
Joined: Tue Oct 18, 2005 5:21 pm
Location: Meylan (France)

Sat Dec 12, 2015 5:40 pm

According to Pocus, France and Austria are using what the engine calls "white peace", effecitive during Pressburg peace, equivalent to a 12 months free passage rights through Austrian lands for French units...I suppose this allows supply too...If not, then we would have to script that.
Image

vicberg
AGEod Grognard
Posts: 968
Joined: Mon Dec 29, 2008 3:18 am

Sat Dec 12, 2015 5:51 pm

Nope. It's giving diGivePassageRight when it needs diForeignAccessGiven (or something similar). Should also give foreign access to all allies. Especially KOI.

User avatar
PhilThib
Posts: 13705
Joined: Tue Oct 18, 2005 5:21 pm
Location: Meylan (France)

Sat Dec 12, 2015 5:54 pm

BAV and KOI have the same peace level as France. We'll need to wait for Pocus on what "white peace" provides exactly.
Image

vicberg
AGEod Grognard
Posts: 968
Joined: Mon Dec 29, 2008 3:18 am

Sat Dec 12, 2015 5:59 pm

Pressberg is working fine. It just takes time. 3 turns after Pressberg is accepted by Austria the events are firing.

It's a 5 turn process once Wein is taken.
1) France offers peace.
2) Austria accepts peace, which starts a timer
3) 3 turns later, Tyrol and Vienna control are transferred

Austria makes peace with everyone. National Morales is dropped. Relationships are adjusted. Passage rights only currently given to France (only). Needs to include French Allies.

veji1
AGEod Guard of Honor
Posts: 1271
Joined: Fri Dec 08, 2006 6:27 pm

Sat Dec 12, 2015 6:03 pm

Thanks Philtib for the work your small team does, and thanks Vicberg for your very methodogical input. You look like an optimzing beast, I would be trashed playing against you, but it's great being a fan of a game you invest your optimizing skills into !!

vicberg
AGEod Grognard
Posts: 968
Joined: Mon Dec 29, 2008 3:18 am

Sat Dec 12, 2015 6:13 pm

PhilThib wrote:According to Pocus, France and Austria are using what the engine calls "white peace", effecitive during Pressburg peace, equivalent to a 12 months free passage rights through Austrian lands for French units...I suppose this allows supply too...If not, then we would have to script that.


No idea what "White Peace" means.

This is in the script

SelectFaction = FRA
SelectFaction = FRA
AddDiploItem = AUS;$diPeace;CURRENT
RemDiploItem = AUS;$diFullWar

Austria is making peace with everyone. $diPeace is probably what's doing that.

electFaction = AUS
AddDiploItem = FRA;$diGivePassageRight;CURRENT

Above code changes from diGivePassageRight to diForeignAccessGiven and FRA changes to NAP$diAllianceMembership

For anyone wanting to fix Pressberg prior to patch
1) go to c:\program files (x86)\matrix games\wars of napoleon\ngc\events
2) open aus_peaces.sct with notepad
3) search for evt_nam_AUS_PeaceOfPressburg_PeaceSigned
4) make above changes
5) Save
6) Restart

vicberg
AGEod Grognard
Posts: 968
Joined: Mon Dec 29, 2008 3:18 am

Sat Dec 12, 2015 6:16 pm

26 years of technology and I was known for my debugging, probably because I created so many bugs.

I start smelling blood around defects. Can't help myself.

vicberg
AGEod Grognard
Posts: 968
Joined: Mon Dec 29, 2008 3:18 am

Sat Dec 12, 2015 6:27 pm

FYI, putting that min date of 1805/10/1 to prevent "exploits" won't work in multi-player starting from January.

I'm not entirely sure what exploits you are trying to prevent, but if France decides to invade Austria early, say March or April, you are going to get another set of bug reports. My suggestion is to set all related Pressburg events to 1805/01/01.

vicberg
AGEod Grognard
Posts: 968
Joined: Mon Dec 29, 2008 3:18 am

Sat Dec 12, 2015 7:38 pm

Treaty of Pressburg change is tested and working.

veji1
AGEod Guard of Honor
Posts: 1271
Joined: Fri Dec 08, 2006 6:27 pm

Sun Dec 13, 2015 1:04 pm

Man some things are messy. I have been playing the August grand campaign again and to make sure the Pressburg sequence works well, I went to the austrian side to accept the proposal, and went straight back to the french before ending the turn. Well when I load the next turn Autria accepts peace (yay). Next turn my troops who where in Linz or Wien all board transports (!!!) and teleport to Regensfurff or something (just north of the Donau in Bavaria) BUT the fricking army of Italy (now named grande armée because of bug, why not..) disappears with its corps and I get the message that "due to a lack of transport Armée d'Italie, Flanc gauche, Flanc droit and all those were destroyed."

What the hell ?

veji1
AGEod Guard of Honor
Posts: 1271
Joined: Fri Dec 08, 2006 6:27 pm

Sun Dec 13, 2015 1:39 pm

Guys, I think I'll give this game a bit of rest. Am getting sick of either Pressburg not happening unless I go to the Austrian side to make them accept the peace (it looks like the EP spending AI is broken as they have tons of EP unspent....) but then making my italian army disappear because "it lacks transports" as the AI tries to teleport my troops back home... It's just bonkers.

I can't believe stuff like this, happening in the first year of game time, hasn't been properly tested again and again.

It's just ridiculous.

This game has great potential, it looks nice and all but it just can't seem to be able to handle somethings... I mean What the hell is that teleport function ??? either you teleport or you don't, you don't just teleport part of the troops and spontaneously combust the rest !!

vicberg
AGEod Grognard
Posts: 968
Joined: Mon Dec 29, 2008 3:18 am

Sun Dec 13, 2015 2:32 pm

Whoa there.......don't leave, at least just yet.

KOI (Kingdom of Italy) wasn't being given any access to Austria after Pressburg. I just fixed that. Probable reason for why Army of Italy was getting destroyed...it had NO access to Austria. Now it is. So did this happen AFTER you applied the Pressburg fix?

User avatar
Montbrun
Major
Posts: 249
Joined: Sun May 06, 2007 9:27 pm
Location: Raleigh, NC

Sun Dec 13, 2015 10:51 pm

One more Treaty of Pressburg issue. I was besieging Vienna, and the garrison surrendered, giving me control of Vienna. I played for several more turns, but the "Treaty of Pressburg" Event didn't fire. Apparently, it will only fire if Vienna is taken by force.

TC271
Sergeant
Posts: 80
Joined: Mon Oct 01, 2012 1:58 pm

Mon Dec 14, 2015 1:10 am

Still not working peace event fires but Ulm goes back to Austria and then never changes hands - Bavaria gets no land back.

Extremely frustrating cant we just have a script that enforces all the territory changes and diplomacy changes in one turn regardless as long as I have occupied Vinna and Austrian moral is low enough?

vicberg
AGEod Grognard
Posts: 968
Joined: Mon Dec 29, 2008 3:18 am

Mon Dec 14, 2015 2:09 am

It's working. Takes 3 full turns AFTER event if offered and accepted.

Event requires
EvalIsAtWarWith = FRA
EvalMorale =<;75
EvalMorale =<;FRA
SelectSubUnits = Area $Theater_Austria;$Land;Enemy;
EvalSubUnitCount = >=;75
SelectFaction = AUS

Austria at war with France. Morale < 75. Morale < French Morale and French > 75 elements.

vicberg
AGEod Grognard
Posts: 968
Joined: Mon Dec 29, 2008 3:18 am

Mon Dec 14, 2015 4:30 am

Re-posting this from Temporary Fixes thread....

I spent pretty much all day on Pressburg.

Post treaty, Russia still had access, supply rights and able to persecute the war on France on Austrian soil. I doubt that Nappy was amenable to that. Also, Austria continued to be in the Coalition and since they surrendered to France, doubt that was ok either. So I removed all of that. Easy to put back in if I'm wrong.

Based on coding, sometimes the engine would move units in Austria to closest friendly location. In other situations, those units might be destroyed. I gave France foreign access rights and that worked. However, the French units were still deep in Austrian territory and even with supply rights, not getting enough supply and taking horrendous attrition and supply related hits moving back to France during winter. Not sure if building up depots and turning those over to Austrians would have improved the supply situation. Didn't have time to test that.

So I found commands that would select multiple units and then move those units. This is where things got very painful. In the game data, Austrian regions are part of 13+ different "areas". There isn't one area called Austria. So selecting all French units meant finding all the areas associated with regions. Painful. Next challenge was how to select those units. I could select Nappy, but if Nappy gets injured, it won't work. So I'm select FRA faction units and moving all in northern Austria to Strasbourg and all in Southern Austria to Mantova. Then I realized, same issue with Russians. So I did the same thing and bounce them to Brest-Litovsk. Then I realized that some captured units aren't getting the FRA faction tag. Nada I can about that. There may be a few left behind.

There's a new AUS_Peaces.zip file at top of temporary fixes thread. I'm not sure if everything I've done is "historically" correct. Was Russia allowed to continue the war against Nappy on Austrian Soil? Should I move all these russian and french units out of these countries? Should we just leave the French in Austria and let them winter there, though there isn't supply flowing in? Would build depots, that will revert to Bavarian or Austrian control upon peace fix the supply situation?

Anyway, try it out if you want to see how it's working. Please provide feedback if this is the right direction and it might be picked up in next patch.

veji1
AGEod Guard of Honor
Posts: 1271
Joined: Fri Dec 08, 2006 6:27 pm

Mon Dec 14, 2015 11:02 am

vicberg wrote:Re-posting this from Temporary Fixes thread....

I spent pretty much all day on Pressburg.

Post treaty, Russia still had access, supply rights and able to persecute the war on France on Austrian soil. I doubt that Nappy was amenable to that. Also, Austria continued to be in the Coalition and since they surrendered to France, doubt that was ok either. So I removed all of that. Easy to put back in if I'm wrong.

Based on coding, sometimes the engine would move units in Austria to closest friendly location. In other situations, those units might be destroyed. I gave France foreign access rights and that worked. However, the French units were still deep in Austrian territory and even with supply rights, not getting enough supply and taking horrendous attrition and supply related hits moving back to France during winter. Not sure if building up depots and turning those over to Austrians would have improved the supply situation. Didn't have time to test that.

So I found commands that would select multiple units and then move those units. This is where things got very painful. In the game data, Austrian regions are part of 13+ different "areas". There isn't one area called Austria. So selecting all French units meant finding all the areas associated with regions. Painful. Next challenge was how to select those units. I could select Nappy, but if Nappy gets injured, it won't work. So I'm select FRA faction units and moving all in northern Austria to Strasbourg and all in Southern Austria to Mantova. Then I realized, same issue with Russians. So I did the same thing and bounce them to Brest-Litovsk. Then I realized that some captured units aren't getting the FRA faction tag. Nada I can about that. There may be a few left behind.

There's a new AUS_Peaces.zip file at top of temporary fixes thread. I'm not sure if everything I've done is "historically" correct. Was Russia allowed to continue the war against Nappy on Austrian Soil? Should I move all these russian and french units out of these countries? Should we just leave the French in Austria and let them winter there, though there isn't supply flowing in? Would build depots, that will revert to Bavarian or Austrian control upon peace fix the supply situation?

Anyway, try it out if you want to see how it's working. Please provide feedback if this is the right direction and it might be picked up in next patch.


Thanks for all your work, I won't be able to test it since my "weekend of lots of free time to play because the GF was away" is over and am now in "work week + present GF means no time to play" mode, but that might be a solution.

Now your fix is for the Pressburg situation but I really think that long term the game for game playability and replayability, a proper "peace settlement module" needs to be set up as a corollary to the diplomatic engine. The solution you propose re moving french troops back makes sense to some extent, but since this is a war of coalitions, moving troops back to the nearest "big coalition city" would make more sense.

For example in a peace like the Pressburg one (say war between the french coalition and the Uk coalition of which Austria is a part and where Austria is knocked off the coalition and forced into peace), the Game should at the moment of peace settlement look for the nearest friendly coalition "big enough" city and teleport units back there in 2 turns for example : So in this case the engine would teleport french units back to Mantova or Munich (closest biggish french coalition cities) rather than Strasburg. In a peace between France and Spain, the french troops would get teleported back to Bayonne / Perpignan for example, a piece between France and Prussia where France owns Hannover and is allied with Bavaria, depending on where the units were at the end they would teleport to Bremen or Hannover, or Würzburg or Regensburg.

But this might lead to painful sideeffects, say you are at war with Prussia and Russia, just trashed Prussia and are sitting in eastern Prussia / Western Russia and foolishly sign peace with Prussia and fine your troops in Prussia teleported all the way back to Hannover while the troops just to provinces east of that (in Russia) stay there but suddenly isolated...

So really it's very touchy.. A better situation might be a "cheat" where in case of a peace treaty between two countries forces in each other's territory can move out of the territory with no attrition, cohesion nor supply losses, a sort of "safe move mode" for the troops.

So in the Pressburg (or just peace with Austria example), the French could just move theit troops back from Vienna/Pressburg to Bavaria or Graz/Pecs to Mantova with no attrition/cohesion/supply penalty. it would just take some time to move through, that's it.

If this was possible it migjt be the bestish type of solution : a safe mode that allows a player to evacuate ennemy territory without harm. Either that or the supply mechanism needs to work properly.

Return to “Wars of Napoleon”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest