Page 1 of 1
Bug playing as Japan
Posted: Sat Apr 07, 2012 8:11 pm
by Mikhs
Hi there!
I was playing the great campaign as Japan, and i found several bugs after installing the patch 1.02b.
First, the already told bug about loyalty on objectives cities.
The second thing i noticed is a really wierd behaviour of the great powers in terms of colonialism, they keep using the same decisions in the same regions, like using treaties on regions that at 35% of colonial penetration, and not using on the other regions of the colonial area in order to get a protectorade or colony.
The third one, and main reason that i'm posting here, is a bug that i found after the event of the Boshin war.
It was june 1868 when the Boshin war started, it took my arround 4 months to end the war, and then the event changing the capital to Edo happened.
After that i decided to build some new railroads but the game was saying that the region in wich i wanted to build it "was not enought colonized".
Then i paid attention to the F6 menu and i realized that from the 4 cities that became rebel during the Boshin war, all the others but Edo became colonies, and the greater part of Japan is disconected from my capital, and because of that, they are no longer national territory.
Any guess on what just happened?
If is necessary i will upload the saved game later, right now i'm in other computer.
Posted: Sat Apr 07, 2012 10:43 pm
by yellow ribbon
For the Boshin War,
i am quite confident you got a bug back in game, which was sorted out in August 2011. Dont worry.
Posted: Sun Apr 08, 2012 11:47 am
by Mikhs
I was checking old post from August 2011 and you are right, as they were saying, the 3 cities became non-japanesse, marked in the F6 menu as colonies, and then the other non conected regions to my capital became claimed regions, but no national territories.
There isn't any fix for that yet?
Quite anoying that after 19 years of game waiting for starting the "funny" colonization and expansionist game, half my country becomes non-national :/
Posted: Sun Apr 08, 2012 12:34 pm
by yellow ribbon
Mikhs wrote:I was checking old post from August 2011 and you are right, as they were saying, the 3 cities became non-japanesse, marked in the F6 menu as colonies, and then the other non conected regions to my capital became claimed regions, but no national territories.
There isn't any fix for that yet?
Quite anoying that after 19 years of game waiting for starting the "funny" colonization and expansionist game, half my country becomes non-national :/
well, IT WAS FIXED in the 1.02 patch (OFFICIAL), even in the beta patches
so, it looks like there is another case of bad synchronization,
a fresh installation and loading the save under 1.02 might do it.
you should make a additional save to test it with the next unofficial hotfix Pocus supposed to be available soon either, but no guarantees in here.
Or roll back to a older save (pos1/home in the submenu of saved games) and stick with 1.02
Posted: Sat Apr 14, 2012 5:21 pm
by tux
The Boshin war seems to be buggy until now. When starting the war, the northern part of Japan becomes a claimed area (striped) and the south stays homeland. Why? When ending the war, the two sides switches (north becomes homeland and south claimed area. Why??? I didn't see anything about this in the event file. At last I skipped this war out of the event file, because it doesn't make sense. You can easily win the war but get a buggy nation.
Posted: Mon Apr 16, 2012 8:38 am
by PhilThib
Could you post a save here so I can take a look at the issue. Possibly with the turn right before the war included as well
Posted: Mon Apr 16, 2012 2:41 pm
by Mikhs
Well, the problem is that i noticed the issue some turns later, i didn´t pay attention before, so my save is from december of 1868, can´t go back any more.
And the previous save is from 1863... so also is useless.
I think this is the save that you are asking for.
Many thanks in advance
http://www.filedropper.com/japansave
Posted: Mon Apr 16, 2012 2:51 pm
by PhilThib
Thanks, will have a look
Posted: Sun Apr 22, 2012 8:25 pm
by Mikhs
Nothing new about how to solve this issue? :/
Posted: Mon Apr 23, 2012 6:33 am
by PhilThib
Not yet, I did not have time to look into this until now. Will try to do this week
Posted: Mon May 07, 2012 1:08 pm
by Mikhs
Seems that there is no solution yet? :/
Almost 1 month waiting for playing again
Posted: Thu May 10, 2012 9:13 am
by Pocus
We have identified the problem. It comes from the fact that it seems the old Boshin event was used, not the 1.02 one. In the old one, Rebels got some regions and converted them into a kind of 'no status' state... When Japan get them back, they are not national anymore to him, but only claimed.
We are preparing an event that you'll run that will fix that. That's a very simple event, in case you don't want to wait. You need to have Japan gets an event that will fix all the regions you want to be national. For each buggy region, you write
SetColonialPen = 101
SetColStatus = $colNational
And this will fix the region. We will try to do that before Monday.
Posted: Thu May 10, 2012 9:33 am
by PhilThib
In order tpo gain time about that, please post here the list of regions you would like to get fixed...

Posted: Thu May 10, 2012 2:40 pm
by Mikhs
The regions afected by colonial status, that should not be are:
-Nagoya
-Toyama
-Hokaido
Then the other regions from the south west part of Japan are neither colonial or national, i guess that they will become national again after fixing the issue.
What i´m not sure is about Hakodate, if that region (and Hokaido) was considered national region of Japan or not.
Posted: Thu May 10, 2012 2:45 pm
by PhilThib
It should be....all of the Japanese islands except the Ryukyus should be national...
Posted: Thu May 10, 2012 3:22 pm
by Mikhs
I tried to do that event, didn´t know how to so i put this but didn´t work:
StartEvent = Bug_fix_1
Conditions
MinDate = 1869/01/01
MaxDate = 1869/02/01
Probability = 100
Actions
SelectFaction = $JAP
SelectRegion = $Nagoya
SetColonialPen = 101
SetColStatus = $colNational
Posted: Thu May 10, 2012 3:25 pm
by PhilThib
Try with
SelectFaction = JAP
I'll have a look into it over the weekend.
Posted: Fri May 11, 2012 1:52 pm
by sagji
Try
Code: Select all
StartEvent = Bug_fix_1|1|1|Bug fix|NULL|NULL|NULL
Conditions
Actions
SelectFaction = $JAP
SelectRegion = $Nagoya
SetColonialPen = 101
SetColStatus = $colNational
EndEvent
If it doesn't work then post the relevant part of the script report from the scripts directory (not the whole file).
Posted: Sat May 12, 2012 3:32 am
by Mikhs
I introduced that Code and it worked perfectly, now all the regions of the Japanesse island are national again

Many thanks

Hope it will help also for the others that had the same problem.
Now to continue enjoying this great game ^^
Posted: Sat May 12, 2012 8:45 am
by PhilThib
Bravo....so you don't need my intervention anymore, right

Posted: Wed Jul 31, 2013 10:02 am
by DaLlaw
Did you make any changes at all. I am new to this game and the modding of it. I tried the exact same sequence to no avail. I also tried several variations based upon other scripts I found in the event file all to no avail. I have version 3.0
(I have now figured it out )