Page 1 of 1

Bug thread 1.04.5

Posted: Mon Jul 24, 2017 9:51 pm
by pvpp303
Hi,

A thread to centralize bugs found in version 1.04.5.

I think it should help either the devs or the community to find solutions.

______

I have a bug/issue/problem with the "no children work" decree. I banned children work last turn (decree voted) but I can still purchase/repurchase it. I play Russia, Got a screen if needed.

Re: Bug thread 1.04.5

Posted: Mon Jul 24, 2017 10:24 pm
by loki100
worth checking the turn log - it might have been refused'/not implemented. If so it returns to the pool and can be used in the next turn

Re: Bug thread 1.04.5

Posted: Tue Jul 25, 2017 12:08 am
by pvpp303
As I said, the decree has been voted. Here is the link of the screen : http://steamcommunity.com/sharedfiles/filedetails/?id=1089014059. The log says "Russia has banned children work".

Re: Bug thread 1.04.5

Posted: Tue Jul 25, 2017 11:26 am
by loki100
ok, but then to contradict your report - I'm not seeing this. If one of these cards sticks then it disappears for a period as before - and I'm doing a Russia game at the moment

Re: Bug thread 1.04.5

Posted: Tue Jul 25, 2017 4:34 pm
by pvpp303
Interesting, but your campaign is not a new campaign, is it?

I played around 10 more turns and I can still purchase/repurchase the no children work decree. Strange.

Re: Bug thread 1.04.5

Posted: Tue Jul 25, 2017 5:58 pm
by loki100
Just done a test with a fresh game and you are right.

Here's another minor issue - some factory images have gone missing

Image

Re: Bug thread 1.04.5

Posted: Tue Jul 25, 2017 11:33 pm
by pvpp303
Problem solved.

Here is the RUS no children work reform source code :

SelectFaction = $RUS
SelectRegion = $Petersburg
StartEvent = evt_nam_RUS_NoChildrenWork_VoteAccepted|999|0|NULL|NULL|$Petersburg|NULL

Conditions
CheckOption = $gmaOptionSoc;RUS_NoChildrenWork;=;1

Actions

SelectFaction = $CMN
GenTextMsg = opt_notify_RUS_NoChildrenWork;1;NULL;NULL;NULL

SelectFaction = $RUS
ChgPopMilitancyEx = 0;-4;-10;-1;10;5;ALL
ChgPopContentEx = 0;10;10;5;-5;0;ALL
ChangeResStock = $merMoney;-200
ChangeLoyaltyFac = $Theater_Russia;5

SelectFaction = $REB
ChangeLoyaltyFac = $Theater_Russia;-5
ChangeActorPool = $gmaOptionSoc;MaxUse;0;SubType;RUS_NoChildrenWork
SetEvtOccurs = evt_nam_RUS_NoChildrenWorkTracker;CuOccurs;1

EndEvent


The heart of the problem is the "changeactorpool" and "setevtoccurs" lines in the rebel part instead of the Russian part. Just need to cut & paste them in the Russian part.

loki100 wrote:Just done a test with a fresh game and you are right.

Here's another minor issue - some factory images have gone missing

Image


Hmm, I don't have the missing images problem. If you use Steam maybe should you verify integrity of the game.

Re: Bug thread 1.04.5

Posted: Wed Jul 26, 2017 3:10 pm
by Husaria
I am missing those two images also.

I believe, however, that they were missing before I upgraded to 1.04.5.

Re: Bug thread 1.04.5

Posted: Wed Jul 26, 2017 3:29 pm
by vaalen
loki100 wrote:Just done a test with a fresh game and you are right.

Here's another minor issue - some factory images have gone missing

Image


I have seen the exact same bug in my English game.

Re: Bug thread 1.04.5

Posted: Wed Jul 26, 2017 4:24 pm
by loki100
pvpp303 wrote:Problem solved.

Here is the RUS no children work reform source code :

SelectFaction = $RUS
SelectRegion = $Petersburg
StartEvent = evt_nam_RUS_NoChildrenWork_VoteAccepted|999|0|NULL|NULL|$Petersburg|NULL

Conditions
CheckOption = $gmaOptionSoc;RUS_NoChildrenWork;=;1

Actions

SelectFaction = $CMN
GenTextMsg = opt_notify_RUS_NoChildrenWork;1;NULL;NULL;NULL

SelectFaction = $RUS
ChgPopMilitancyEx = 0;-4;-10;-1;10;5;ALL
ChgPopContentEx = 0;10;10;5;-5;0;ALL
ChangeResStock = $merMoney;-200
ChangeLoyaltyFac = $Theater_Russia;5

SelectFaction = $REB
ChangeLoyaltyFac = $Theater_Russia;-5
ChangeActorPool = $gmaOptionSoc;MaxUse;0;SubType;RUS_NoChildrenWork
SetEvtOccurs = evt_nam_RUS_NoChildrenWorkTracker;CuOccurs;1

EndEvent


The heart of the problem is the "changeactorpool" and "setevtoccurs" lines in the rebel part instead of the Russian part. Just need to cut & paste them in the Russian part.

.....


whats odd is that has sat in the game since 2011, also its only Russia that has the code to reduce loyalty to rebels, all the rest simply have the positive part of the script. I guess its not been picked up as £200 is expensive for Russia so you tend to rely on the martial law pair and use this one sparingly.

In any case the solution works, just overwrite the event in Rus Laws and Reforms in the events directory

Re: Bug thread 1.04.5

Posted: Wed Jul 26, 2017 5:24 pm
by pvpp303
@Husaria & @vaalen: are you running a pre-1.04.5 or a post-1.04.5 campaign? Is the problem still here with a new campaign?

@loki100 : however there are posts about it dated of 2012 (http://www.ageod-forum.com/viewtopic.php?p=253388#p253388 and http://www.ageod-forum.com/viewtopic.php?p=239279#p239279).

P.S.: I already modified the RUS events, it works.

Re: Bug thread 1.04.5

Posted: Thu Jul 27, 2017 6:41 am
by Francois Xavier
Cross posting just in case it goes missing:

Francois Xavier wrote:Hi,

I'm getting a number of bugs in the 1880 start as Japan:

-The Japanese Representation building in Seoul is dismantled after the first turn.
-A building in Edo called Bauding baudoi or something like that is disbanded after the first turn, as there is supposedly already a building similar in use.
-The colonial decision for Chinese concession, only has a placeholder name and placeholder txt describing what it is. Once enacted an event for it pops up in the status bar, but just uses a placeholder name. The building for it also has a placeholder name.
-The decision for building an Embassy also is totally bugged. If built it frequently just says cannot build as there is already a similar building in use even when there isnt. AI Countries seem to keep using it on themselves. As Japan, I tried to use it on China but the chinese took it as a production building due to having poor relations with me. Other times, it just fails to build due to having the there is already a similar building in use bug.
-Also, a number of units and Factories have missing images. Some units that you can build do have it initially, but after you build it it is blank.

I will post more if encountered.

Thanks!


Also, the other buildings function as if they were tradeposts for some reason, so if it is valid still they send back resources, not sure if WAD.

Re: Bug thread 1.04.5

Posted: Mon Jul 31, 2017 6:36 pm
by Husaria
pvpp303:

I'm running a campaign I started before upgrading to 1.04.5, although I have since upgraded.

Re: Bug thread 1.04.5

Posted: Mon Jul 31, 2017 10:15 pm
by vaalen
pvpp303 wrote:@Husaria & @vaalen: are you running a pre-1.04.5 or a post-1.04.5 campaign? Is the problem still here with a new campaign?

@loki100 : however there are posts about it dated of 2012 (http://www.ageod-forum.com/viewtopic.php?p=253388#p253388 and http://www.ageod-forum.com/viewtopic.php?p=239279#p239279).

P.S.: I already modified the RUS events, it works.


I am running a pre 1.04.5 game, that has been patched to 1.04.5. I did not see this issue until the latest patch.

Re: Bug thread 1.04.5

Posted: Tue Aug 01, 2017 12:39 am
by JWW
I noted the missing factory image bug, too, with a game I started pre 1.04.5 and updated. I did not notice missing images before.

Re: Bug thread 1.04.5

Posted: Sun Feb 25, 2018 4:06 pm
by Jekolmy
To keep bugs in the same thread I am having issues with Prussia in 1850/51 where my warscore will not go over 100 points in total. Previous versions I could have my troops sit there and rack up warscore to annex my objectives.

Is this WAD or do I possibly have some other issues going on?

Re: Bug thread 1.04.5

Posted: Tue May 15, 2018 6:13 pm
by TPK666
Prussian laws file has a similar error to bug mentioned above russian file bug, which will allow indefinitely take one of their laws.

Elsass-Lorraine and Austrian-victory Nikolsburg province transfer event are bugged (Lushun written instead of proper regions).

Italian unification event which transfer Nizza and another region are bugged too (target regions is not set).

2 russia-chinese province transfer events are bugged (Aigun and Peking accords), 1 region in each is not transferred.

Re: Bug thread 1.04.5

Posted: Wed Jun 14, 2023 7:37 am
by andrzej
Download the my mod that adds a landscape filter to Pride Of Nations.

Image

download

(download-unzip and add to the game folder with replacement).

Replaces filter 7 - Weather Zones

Re: Bug thread 1.04.5

Posted: Sun Sep 03, 2023 8:54 am
by andrzej
I was recently contacted by a person asking for help with fixing a PON game crash when playing as Japan. From the analysis of the logs, I found out the cause and corrected it:
- the error was in the Events folder, in the RUS Events.sct file, replace the line:

EvalEvent = evt_nam_RUS_Portsmouth;1905;=;1

Image

to the correct one:

EvalEvent = evt_nam_RUS_Portsmouth1905;=;1

Re: Bug thread 1.04.5

Posted: Sun Sep 03, 2023 12:51 pm
by Nikel
Uff, so playing as Japan, a Russian revolution event and British Portsmouth in 1905!?

For some reason coding, Ageod or any other, is too much for my brain :wacko:

Kudos to you, Bohemond, Loki, the original Ageod team, or to anyone able to understand it.


Edit: oh, at least I understand the historical and logical reason now :)

https://en.wikipedia.org/wiki/Treaty_of_Portsmouth


Is this ; problem, what Lafrite python tool was useful for?

Re: Bug thread 1.04.5

Posted: Sun Sep 03, 2023 2:24 pm
by andrzej
Nikel wrote:Uff, so playing as Japan, a Russian revolution event and British Portsmouth in 1905!?

For some reason coding, Ageod or any other, is too much for my brain :wacko:


I can't understand it either - how a mistake in the Russian event about the events of 1905 (or rather even 1917) causes a crash in a single player game for Japan in 1855 (!!??). But it is - and my correction helped the person.