Script file Issue
Posted: Wed Jul 08, 2020 5:22 am
I created a script file with rules I want to play with and the script gives error itemRes::operator[0] but the error file is blank. Idk what to do honestly.
I'm playing on the post-release version and using the new rules for the Banking and Finance DLC.
Here is the Script file:
[HEADER]
Title=Holding Company Co.
Description=Rules for a Holding Company Co. game.
[ENVIRONMENT]
Your Start-up Capital Amount=10000
Random Events=Occasional
Game Starting Year=1900
Retail Store Type=Many
Technology Disruption=Yes
Stock Market=Yes
Alternative Stock Sim=No
Boom-Bust Cycle Volatility=Moderate
Macro Economy Realism=High
Inflation=Off
Number of AI Persons=100
Private Company=No
Retail Store Floors=Multiple
[COMPETITORS]
Number of Competitors=20
Competitor Start-up Capital=Very Low
AI Expansion Aggressiveness=Moderate
AI Pricing Aggressiveness=Moderate
AI Expertise Level=High
AI Tech Head Start=None
Show Competitor Trade Secrets=Yes
AI Friendly Merger=Yes
Competence of Local Competitors=Moderator
AI Private Companies Percent=0
[PRODUCTS]
Industrial Goods Seaports=2
Import Quality=Low
Constant Import Supply=No
Random Product Reinvention=100
[CITIES]
Popuation=300000
Real Wage Rate=45
[SPECIAL RULES]
Factory Capacity Modifier=300
Anti-exploitation Game Rules=On
[PLAYER EXPERTISE]
Retailing=100
Farming=100
Manufacturing=100
Research and Development=100
Raw Material Production=100
Marketing=100
Training=100
[DIGITAL AGE DLC]
E-Commerce=Yes
AI Tech Companies GO IPO=1
Max AI software and Internet companies=None
More Talents=500
Disruption to Traditional Media=Moderate
[Banking and Finance DLC]
Number of AI Companies Focused on Banking=None
Number of AI Companies Focused on Insurance=None
Warehouse Floors=Multiple
Thanks,
Rocketstone.
EDIT: Updated to the lastest Version 6.5.10 but now I get this in the error log:
Error: the following lines cannot be recognized by the script system.
line 33: Industrial Goods Seaports=2
line 34: Import Quality=Low
line 35: Constant Import Supply=No
line 36: Random Product Reinvention=100
but those lines are under [PRODUCTS] as they should be and the values + wording is correct. Even copy/pasted from script guide on the website and still gave me the same error.
I'm playing on the post-release version and using the new rules for the Banking and Finance DLC.
Here is the Script file:
[HEADER]
Title=Holding Company Co.
Description=Rules for a Holding Company Co. game.
[ENVIRONMENT]
Your Start-up Capital Amount=10000
Random Events=Occasional
Game Starting Year=1900
Retail Store Type=Many
Technology Disruption=Yes
Stock Market=Yes
Alternative Stock Sim=No
Boom-Bust Cycle Volatility=Moderate
Macro Economy Realism=High
Inflation=Off
Number of AI Persons=100
Private Company=No
Retail Store Floors=Multiple
[COMPETITORS]
Number of Competitors=20
Competitor Start-up Capital=Very Low
AI Expansion Aggressiveness=Moderate
AI Pricing Aggressiveness=Moderate
AI Expertise Level=High
AI Tech Head Start=None
Show Competitor Trade Secrets=Yes
AI Friendly Merger=Yes
Competence of Local Competitors=Moderator
AI Private Companies Percent=0
[PRODUCTS]
Industrial Goods Seaports=2
Import Quality=Low
Constant Import Supply=No
Random Product Reinvention=100
[CITIES]
Popuation=300000
Real Wage Rate=45
[SPECIAL RULES]
Factory Capacity Modifier=300
Anti-exploitation Game Rules=On
[PLAYER EXPERTISE]
Retailing=100
Farming=100
Manufacturing=100
Research and Development=100
Raw Material Production=100
Marketing=100
Training=100
[DIGITAL AGE DLC]
E-Commerce=Yes
AI Tech Companies GO IPO=1
Max AI software and Internet companies=None
More Talents=500
Disruption to Traditional Media=Moderate
[Banking and Finance DLC]
Number of AI Companies Focused on Banking=None
Number of AI Companies Focused on Insurance=None
Warehouse Floors=Multiple
Thanks,
Rocketstone.
EDIT: Updated to the lastest Version 6.5.10 but now I get this in the error log:
Error: the following lines cannot be recognized by the script system.
line 33: Industrial Goods Seaports=2
line 34: Import Quality=Low
line 35: Constant Import Supply=No
line 36: Random Product Reinvention=100
but those lines are under [PRODUCTS] as they should be and the values + wording is correct. Even copy/pasted from script guide on the website and still gave me the same error.