joe
Lieutenant
Posts: 127
Joined: Tue Mar 20, 2007 3:16 pm

Chinese transportation efficiency

Thu Sep 11, 2014 1:31 am

As the Chinese player I added railroads in several regions. I don't know when it happened but the transportation efficiency is now 10% in all the regions with railroads. Those regions with roads are normal, 60% for a major road. I have plenty of capital and coal,etc.
I'm at a loss for what happened.

joe
Lieutenant
Posts: 127
Joined: Tue Mar 20, 2007 3:16 pm

Sat Sep 13, 2014 1:06 am

I'm at the point of wanting to remove the few railroads I built and go back to roads. I tried to write an event that would change the transport level back to road. It didn't work. I hope someone can tell me what I've done wrong. I picked Shanghai as an example:

SelectFaction = $CHI
SelectRegion = $Shanghai
StartEvent = Road|1|1|NULL|NULL|$Shanghai|NULL
Actions
ChgTrsptLevel = 2
EndEvent

Thanks

User avatar
loki100
AGEod Guard of Honor
Posts: 2401
Joined: Sun Aug 14, 2011 4:15 pm
Location: Caithness
Contact: Website Twitter

Sat Sep 13, 2014 8:43 am

below actions, at the least you need to tell it which province this applies to. The reference to Shanghai at the top is effectively simply bookkeeping (I'm not even sure what that line really does).
AJE The Hero, The Traitor and The Barbarian
PoN Manufacturing Italy; A clear bright sun
RoP The Mightiest Empires Fall
WIA Burning down the Houses; Wars in America; The Tea Wars

joe
Lieutenant
Posts: 127
Joined: Tue Mar 20, 2007 3:16 pm

Sat Sep 13, 2014 9:17 am

loki100 wrote:below actions, at the least you need to tell it which province this applies to. The reference to Shanghai at the top is effectively simply bookkeeping (I'm not even sure what that line really does).


Thanks Loki for your help. I added this below the action line:
SelectFaction = $CHI
SelectionRegion = $ Shanghai

The event did fire but the railroad still remains, no road. Sorry to trouble you with this but do you have any other suggestions?

Thanks

User avatar
loki100
AGEod Guard of Honor
Posts: 2401
Joined: Sun Aug 14, 2011 4:15 pm
Location: Caithness
Contact: Website Twitter

Sat Sep 13, 2014 11:39 am

I think you need something like:

Actions
SelectFaction = $CHI
SelectionRegion = $ Shanghai
RemoveStructure = $Railroad1;ALL;ALL

EndEvent


This assumes that your railroad is the simple first generation, not the 'advanced' type. In that case use Railroad2 as the structure type.

You *may* then need to run your script to reset the road.

Roger
AJE The Hero, The Traitor and The Barbarian
PoN Manufacturing Italy; A clear bright sun
RoP The Mightiest Empires Fall
WIA Burning down the Houses; Wars in America; The Tea Wars

czert2
Brigadier General
Posts: 427
Joined: Sun May 06, 2012 1:33 am

Sat Sep 13, 2014 12:23 pm

loki100 wrote:below actions, at the least you need to tell it which province this applies to. The reference to Shanghai at the top is effectively simply bookkeeping (I'm not even sure what that line really does).


I think first one is to tell you at which region to look when you click on event line when event is fired and that under actions is to tell to which region to apply effects.

joe
Lieutenant
Posts: 127
Joined: Tue Mar 20, 2007 3:16 pm

Sat Sep 13, 2014 2:28 pm

loki100 wrote:I think you need something like:



This assumes that your railroad is the simple first generation, not the 'advanced' type. In that case use Railroad2 as the structure type.

You *may* then need to run your script to reset the road.

Roger


The event did fire but the first generation railroad remains. I doubled checked my typing and re-ran the turn several times with the same result.
Thank you again for your time.

Joe

axyarthur
Conscript
Posts: 16
Joined: Mon Sep 30, 2013 8:42 am

Sat Sep 13, 2014 11:26 pm

I have the same problem in my game. As the US, I built some rice paddies and railroads in thailand, but after some time the regions show only 10% transport efficiency. This is purely a guess, but I suspect what's happening is that thailand does not have enough coal stockpile to maintain the railroads. I don't know that for sure because I cannot see how much coal thailand has. But in your case, do you have enough coal stockpile (higher than the maintenance cost of railroads /ships)?

joe
Lieutenant
Posts: 127
Joined: Tue Mar 20, 2007 3:16 pm

Sun Sep 14, 2014 12:20 am

axyarthur wrote:I have the same problem in my game. As the US, I built some rice paddies and railroads in thailand, but after some time the regions show only 10% transport efficiency. This is purely a guess, but I suspect what's happening is that thailand does not have enough coal stockpile to maintain the railroads. I don't know that for sure because I cannot see how much coal thailand has. But in your case, do you have enough coal stockpile (higher than the maintenance cost of railroads /ships)?


Thank you for your input. China has plenty of coal to maintain the railroads. We both have similar situations, transport efficiency appears normal then something changes to make it drop to 10%. Oddly, in my last turn Japan took a Chinese region with a railroad that was at 10%, once the Japanese controlled the region it went to 100% efficiency.

czert2
Brigadier General
Posts: 427
Joined: Sun May 06, 2012 1:33 am

Sun Sep 14, 2014 12:40 am

Mayby it is event related ? goverment type ? what was state of your state at 100% and now at 10% (i mean organized, type of byrocracy...etc). Otherwise i have no idea.
And just readed manual about paing of running cost - you have pracitaly no reson to fear, because if you dont have coal to use, it will still run at 100% efficincy, but it will use in coresponding order until run out - busnismen money (dolar), state money (gold), prestige.

joe
Lieutenant
Posts: 127
Joined: Tue Mar 20, 2007 3:16 pm

Sun Sep 14, 2014 2:59 am

czert2 wrote:Mayby it is event related ? goverment type ? what was state of your state at 100% and now at 10% (i mean organized, type of byrocracy...etc). Otherwise i have no idea.
And just readed manual about paing of running cost - you have pracitaly no reson to fear, because if you dont have coal to use, it will still run at 100% efficincy, but it will use in coresponding order until run out - busnismen money (dolar), state money (gold), prestige.


I checked for events and could not find anything. Government type; state of the state..I don't know, I was not expecting the drop to 10%.

User avatar
loki100
AGEod Guard of Honor
Posts: 2401
Joined: Sun Aug 14, 2011 4:15 pm
Location: Caithness
Contact: Website Twitter

Sun Sep 14, 2014 7:42 am

joe wrote:The event did fire but the first generation railroad remains. I doubled checked my typing and re-ran the turn several times with the same result.
Thank you again for your time.

Joe


ok

sorry about this - one problem I have at the moment is that my laptop is on its last legs and if I try to play PoN it just falls over (overheating I think), so I can't test anything.

The other solution is to amend the save files (you may need to do this both in the .hst and the .trn files). Find the province, and beneath that you will have a list of structures. You'll see blocks of code like:

{Structure}
1000254
4
15
0
1000001
0
1
1
0
76
0
0
Harbor

{/Structure}


Delete all that sequence and the structure will be removed. Of course, its a very good idea to make backups before doing this. Its inelegant but should work.

The reasons why province productivity may be low are the lack of rails, lack of sufficient population for all the structures and local unrest. I realise that the second may sound silly for China but its not just raw numbers, its the type and you may be short of skilled workers. Have a look at the province (use the industry screen) and see if when you hover over a factory/structure, there are enough people to make it work.
AJE The Hero, The Traitor and The Barbarian
PoN Manufacturing Italy; A clear bright sun
RoP The Mightiest Empires Fall
WIA Burning down the Houses; Wars in America; The Tea Wars

joe
Lieutenant
Posts: 127
Joined: Tue Mar 20, 2007 3:16 pm

Sun Sep 14, 2014 4:21 pm

loki100 wrote:ok

sorry about this - one problem I have at the moment is that my laptop is on its last legs and if I try to play PoN it just falls over (overheating I think), so I can't test anything.

The other solution is to amend the save files (you may need to do this both in the .hst and the .trn files). Find the province, and beneath that you will have a list of structures. You'll see blocks of code like:



Delete all that sequence and the structure will be removed. Of course, its a very good idea to make backups before doing this. Its inelegant but should work.

The reasons why province productivity may be low are the lack of rails, lack of sufficient population for all the structures and local unrest. I realise that the second may sound silly for China but its not just raw numbers, its the type and you may be short of skilled workers. Have a look at the province (use the industry screen) and see if when you hover over a factory/structure, there are enough people to make it work.


Sorry about your computer , that has to be frustrating. I checked the areas you suggested without any success. There is plenty of steel (for rails), plenty of the appropriate type of workers(none of the other factories showed any shortfall in workers), and no militancy and high contentment of the population.

I was also unable to find the completed railroad structure in the save files. I did find railroads(structure #15) under construction but I was unable to identify completed railroads. I could find all other structures in the region, harbors, different types of factories, etc.

Again, thanks.

czert2
Brigadier General
Posts: 427
Joined: Sun May 06, 2012 1:33 am

Sun Sep 14, 2014 8:29 pm

loki100 wrote:ok

sorry about this - one problem I have at the moment is that my laptop is on its last legs and if I try to play PoN it just falls over (overheating I think), so I can't test anything.

The other solution is to amend the save files (you may need to do this both in the .hst and the .trn files). Find the province, and beneath that you will have a list of structures. You'll see blocks of code like:



Delete all that sequence and the structure will be removed. Of course, its a very good idea to make backups before doing this. Its inelegant but should work.

The reasons why province productivity may be low are the lack of rails, lack of sufficient population for all the structures and local unrest. I realise that the second may sound silly for China but its not just raw numbers, its the type and you may be short of skilled workers. Have a look at the province (use the industry screen) and see if when you hover over a factory/structure, there are enough people to make it work.


i didnt loked at rr now, but from memory it dont use any pop to be at working order, only coal, so it should run at 100% efficiency all time. And for population happines - i think it only affect building which use workforce, not all buildings.
And he can easily check for happiness....and pop bad mood dosnt explain quck jump from 10% to 100% eff, once ocupied by japanese.

I think finding where problem lies will not be easy. Mayby Pocus can have some idea.

User avatar
loki100
AGEod Guard of Honor
Posts: 2401
Joined: Sun Aug 14, 2011 4:15 pm
Location: Caithness
Contact: Website Twitter

Sun Sep 14, 2014 8:54 pm

joe wrote:Sorry about your computer , that has to be frustrating. I checked the areas you suggested without any success. There is plenty of steel (for rails), plenty of the appropriate type of workers(none of the other factories showed any shortfall in workers), and no militancy and high contentment of the population.

I was also unable to find the completed railroad structure in the save files. I did find railroads(structure #15) under construction but I was unable to identify completed railroads. I could find all other structures in the region, harbors, different types of factories, etc.

Again, thanks.


ok this sounds like a bug of some sort. I had duplicate records for some provinces in my game (mostly colonial), where I had to find and remove the erroneous version. I'd suggest you put it as a report in tech support. If you want to send a save game, I'll try and have a look (just pm it to me, and indicate the province number that is the issue) as a last resort before taking that step - I can't promise much but I'll do my best to at least check for duplicates etc.

R
AJE The Hero, The Traitor and The Barbarian
PoN Manufacturing Italy; A clear bright sun
RoP The Mightiest Empires Fall
WIA Burning down the Houses; Wars in America; The Tea Wars

joe
Lieutenant
Posts: 127
Joined: Tue Mar 20, 2007 3:16 pm

Mon Sep 15, 2014 12:23 am

loki100 wrote:ok this sounds like a bug of some sort. I had duplicate records for some provinces in my game (mostly colonial), where I had to find and remove the erroneous version. I'd suggest you put it as a report in tech support. If you want to send a save game, I'll try and have a look (just pm it to me, and indicate the province number that is the issue) as a last resort before taking that step - I can't promise much but I'll do my best to at least check for duplicates etc.

R


I could not figure out how to attach a file to a pm so I attached the files to a post in tech support. Hope that's what you need. The region is Shanghai 1318. Thanks

User avatar
loki100
AGEod Guard of Honor
Posts: 2401
Joined: Sun Aug 14, 2011 4:15 pm
Location: Caithness
Contact: Website Twitter

Mon Sep 15, 2014 9:25 pm

joe wrote:I could not figure out how to attach a file to a pm so I attached the files to a post in tech support. Hope that's what you need. The region is Shanghai 1318. Thanks


ok, I've had a look both at the saves and loaded the game.

I think I have a better grasp. For a start, clearly railroads are not coded as structures in the province part of the save, this may have some bearing on why they are so damn hard to delete by script. If I'm right (& this is a guess), they are in the code sequence called global regional data, viz:

{GlobalRegionData}
1318
0
0
-1
1
0
3
170
1169
0
0
0
0
0
0
0
8
90
Shanghai
4440
0
39
164
540
1001
2696
0
3
3|100|
35|100|
24|5|34|2|47|2|
91
24|4|34|1|47|2|
180|0|173|0|0|0|0|0|0|0|0|0
NULL
1000010
PH37
PH38
PH39
PH40
PH41
PH42
PH43
PH44
PH45
{/GlobalRegionData}


I think the number above Shanghai is your transport level (90), so you try and manually alter that as a test if I am right. Reason for saying this is I think I have some *good* news is I think I understand the basic problem. Its to do with the interaction of your notional development level (90 in Shanghai). Now that is being filtered via one of more of your national characteristics (& as China, you've got some dire ones) so the production value is only 10% (not the 90% your development level suggests). You have this 10% in all your regions that I could find had a structure so I think its WAD - its not just a construct of having a railroad.

Have a look at that Japanese enclave near Beijing and they have 120% for the same level of transportation.

To check, I've gone back to 1850 to have a look at a new start, oddly there the same value is 60%. Other things are the same - the 101% CP and so on. So my suspicion (& I could well be writing nonsense) is that your national stats have taken a hit at some stage (probably due to a change of your ruler for the worse). This is the best I can offer, you might try to pm SirGarnet, he's played China and he may have an explanation.
AJE The Hero, The Traitor and The Barbarian
PoN Manufacturing Italy; A clear bright sun
RoP The Mightiest Empires Fall
WIA Burning down the Houses; Wars in America; The Tea Wars

joe
Lieutenant
Posts: 127
Joined: Tue Mar 20, 2007 3:16 pm

Tue Sep 16, 2014 12:33 am

loki100 wrote:ok, I've had a look both at the saves and loaded the game.

I think I have a better grasp. For a start, clearly railroads are not coded as structures in the province part of the save, this may have some bearing on why they are so damn hard to delete by script. If I'm right (& this is a guess), they are in the code sequence called global regional data, viz:



I think the number above Shanghai is your transport level (90), so you try and manually alter that as a test if I am right. Reason for saying this is I think I have some *good* news is I think I understand the basic problem. Its to do with the interaction of your notional development level (90 in Shanghai). Now that is being filtered via one of more of your national characteristics (& as China, you've got some dire ones) so the production value is only 10% (not the 90% your development level suggests). You have this 10% in all your regions that I could find had a structure so I think its WAD - its not just a construct of having a railroad.

Have a look at that Japanese enclave near Beijing and they have 120% for the same level of transportation.

To check, I've gone back to 1850 to have a look at a new start, oddly there the same value is 60%. Other things are the same - the 101% CP and so on. So my suspicion (& I could well be writing nonsense) is that your national stats have taken a hit at some stage (probably due to a change of your ruler for the worse). This is the best I can offer, you might try to pm SirGarnet, he's played China and he may have an explanation.


I changed the 90 to 60 and ran the turn. Nothing actually changed. I went to the save file and it had been changed back to 90. I wonder if it was because the railroad is still there. I noticed there are two 3's under the global regional data, could one of those be the transportation level, railroad being level 3. I probably need to find a region with a major road and see if there is a 2 in its data list and then compare to the Shanghai list.

I see what you mean by poor national characteristics of the current leadership.

Thanks

Edit: I did find the first 3 was for a railroad. I changed it to 2 and it went back to a major road. Thanks for putting me on the right path!

czert2
Brigadier General
Posts: 427
Joined: Sun May 06, 2012 1:33 am

Sat Sep 27, 2014 2:41 pm

did you finded out which was causing that behavior ?

joe
Lieutenant
Posts: 127
Joined: Tue Mar 20, 2007 3:16 pm

Sat Sep 27, 2014 5:57 pm

czert2 wrote:did you finded out which was causing that behavior ?


No I didn't. I have a request in tech support for help.

Return to “Pride of Nations”

Who is online

Users browsing this forum: No registered users and 10 guests