-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathnotes.txt
149 lines (126 loc) · 5.36 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
==========================================================================================
Notes
==========================================================================================
==========================================================================================
Goals
==========================================================================================
HIGH PRIORITY
MEDIUM PRIORITY
LOW PRIORITY
Balance: Buff Socialism
BALANCE: Army Prices Or Overhaul
UI: Carry images across accounts, default
UI: Make clear no money means no support
FEATURE: World auto delete if goes unused
MECHANIC: New Treaty Ally/Right of Passage
PERFORMANCE: thousands of markers
BUG: Hide capitol on normal account update
FEATURE: Fort (always has militia)
NO PRIORITY
PERFORMANCE: polling
PERFORMANCE: settlement_income_collect
PERFORMANCE: industry_income_collect
BUG: Naming world same as key of another world
UI: Admin icon in chat
UI: Better user validation
FEATURE: Global messages
TWEAK: Constantly updating diplomacy account list UI
FEATURE: World config for some constants
FEATURE: Leaderboard always show main stats
FEATURE: Leaderboard show sum world stats
FEATURE: Winner List
BUG: projections need get_account_budget() calc settlement & industry separately for accuracy
FEATURE: Show when settlement, terrain, upfront, is insufficient
FEATURE: Base settlement
BUG: White nations are invisible
SYS: account migration
SETTLEMENT: national park
TWEAK: min tax rates
BALANCE: Airforce get double bonus
MECHANIC: Tanks and Airforce requiring industry
SYS: world backup
TWEAK: abstract market table per world
MECHANIC: Conceal units except for allies and naval
UI: Default capitol name
UI: shortages more clear
BUG: On landgrab.sql run, supply_industry_lookup didn't seed
MECHANIC: pollution win condition
MECHANIC: nuclear win condition
MECHANIC: nuke
MECHANIC: spy
MECHANIC: pandemic
MECHANIC: energy resets to 0
MECHANIC: trade every cycle
PERFORMANCE: don't get empty ocean tiles on map init to save bandwidth
TWEAK: Reject active trade requests when war starts
UI: Being attacked UI
UI: notices when trade request accepted
UI: disable enlist options when not enough cash exists
UI: capitols show laws of that nation, wars and rights of passage
UI: population projection
UI: units UI for red–green color blindness
MECHANIC: Defeating nation gives you their supplies
UI: Market graph
==========================================================================================
Next Release Notes
==========================================================================================
==========================================================================================
Code
==========================================================================================
every_cycle CRON -
start_crons | 5.50746917725E-5
zero_negative_account_supply | 0.0116600990295
update_market_prices | 0.00456786155701
grow_population | 0.147217035294
census_population | 0.0236461162567
consume_gdp_bonus_supplies | 0.00547409057617
resource_output | 0.218626976013
settlement_output | 0.252439975739
township_input | 0.360234022141
industry_input | 0.220499992371
industry_output | 0.23835515976
shrink_population | 0.439944982529
downgrade_townships | 0.00213098526001
settlement_income_collect | 7.09139990807
industry_income_collect | 6.20040202141
punish_negative_money | 0.0279071331024
reject_expired_trade_requests | 0.00216221809387
==========================================================================================
Closet
==========================================================================================
==========================================================================================
Documentation
==========================================================================================
Full screen
https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API
Tile considerations
How it looks in street views (Avoiding incorrect labeling)
How it looks from afar when most players use it (Avoiding line terrain tiles)
Population density (Considering max settlement for the square)
Overlap between other tiles (coastal mountain, do I want to allow farming on this square?)
Unit Colors
own: #739E82
enemy: #AD343E
ally: #2541B2
neutral: #E0E0CE
Live Server Instance
Change database connection in config/database.php
Change encryption_key in config/config.php
Change CRON token in config/constants.php and cron.php
Modified column needs to be varchar during sql dumps because it is actually using MariaDB as stand-in, and has one timestamp column limitation
Set crons for crons folder
coord_slug
coord_slug is top right corner of box
Map Size
12x12 = 400
6x6 = 2,000
4x4 = 4,000
3x3 = 7,000
2x2 = 15,000
==========================================================================================
Links
==========================================================================================
Google Maps Polygons
https://developers.google.com/maps/documentation/javascript/examples/polygon-simple
Custom Map Landscapes
https://developers.google.com/maps/documentation/javascript/examples/maptype-image