Marketing pays less; the forecast and the highscore know the new rules

Seen in a career on level 4, international marketing brought more than its
budget after two months: a point of reach is now worth 900 euros in the
first league instead of 1600 (lower leagues accordingly). The monthly
forecast of the advertising page includes the stadium sponsor, marketing,
rents and the further stages, and the highscore counts the four further
properties.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-17 19:36:23 +01:00
1 parent af677a735d
commit ff8068ea11
7 files changed
+26 -13

No files matched your search

+1
View File
@@ -54,6 +54,7 @@ describe deliberate changes; they are not a list of every known compatibility li
- [src/modern/game/month.cpp](../src/modern/game/month.cpp): in Modern every manager receives the monthly dividend of his own shares; the price product is kept in 64 bits until the division.
- [src/modern/game/estates.cpp](../src/modern/game/estates.cpp): Modern adds four properties to the bank whose prices move monthly and which pay a monthly rent.
- [src/modern/game/expansions.cpp](../src/modern/game/expansions.cpp): in Modern the V.I.P. lounge, the shopping centre, the clubhouse, the car park and the restaurant can be extended in further stages, which cost money and time and bring a monthly income.
- [src/modern/game/highscore.cpp](../src/modern/game/highscore.cpp): Modern's four further properties count among the assets at today's prices.
- [src/modern/game/marketing.cpp](../src/modern/game/marketing.cpp): in Modern a monthly budget for international marketing builds up reach abroad, which brings monthly income by league and prestige.
- [src/modern/game/naming_rights.cpp](../src/modern/game/naming_rights.cpp): in Modern a manager names his stadium and can sell the name to a sponsor for one to five years; the sponsor pays monthly and the name is fixed until the contract ends.
- [src/modern/game/season.cpp](../src/modern/game/season.cpp): retains the enhanced academy player-generation strength bands with monthly youth budgets.
-1
View File
@@ -42,7 +42,6 @@ Preisgrenzen über fünfzig Jahre.
## Offen
- Die Highscore-Wertung zählt die vier Immobilien nicht mit.
- `accounts.investments` des Reads `bank` nennt weiter nur die Anlagen des Originals.
- Die Miete steht in der Bilanz unter „Mieten, Zinsen+Tilgung“; Kauf und Verkauf sind wie
bei den übrigen Anlagen keine Bilanzposten.
+6 -5
View File
@@ -15,13 +15,13 @@ je Monatswechsel:
Reichweite über dem Ziel: − (Reichweite − Ziel) / 4, mindestens 1
Einnahme = wirksam × Wert × (60 + Ansehen × 4/5) %
wirksam = Reichweite − Reichweite² / 2000 (die volle Reichweite zählt halb)
Wert = 1600 / 700 / 300 / 120 / 120 Euro je Punkt (1. bis 5. Liga)
Wert = 900 / 400 / 170 / 70 / 70 Euro je Punkt (1. bis 5. Liga)
```
- Die Reichweite wächst über etwa ein bis zwei Jahre an und fällt schneller, wenn das Budget
gekürzt wird.
- In der ersten Liga trägt sich ein mittleres Budget deutlich (200 000 Euro Budget bringen
am Ziel rund 510 000 Euro im Monat bei mittlerem Ansehen); in der zweiten nur ein kleines,
am Ziel rund 290 000 Euro im Monat bei mittlerem Ansehen); in der zweiten nur bei hohem Ansehen,
darunter gar nicht. Jeder weitere Punkt Reichweite ist weniger wert.
- Keine Zufallszahl. Die Regel läuft als zweiter Schritt von `month_change`
(`modern::marketing_month`).
@@ -46,7 +46,8 @@ unbezahlter Monat.
## Offen
- In der Bilanz steht das Budget unter „PR-Arbeit“, die Einnahme unter „Sonstiges“. Die
Monatsprognose der Werbeseite enthält beides noch nicht.
- Die Wirkung auf die Wirtschaft über mehrere Saisons ist nicht in einem Langlauf gemessen;
die Sätze sind ein erster Ansatz.
Monatsprognose der Werbeseite rechnet beides mit.
- Die Sätze wurden am 17. November 2026 nach einer Karriere auf Stufe 4 gesenkt (vorher 1600
Euro je Punkt in der ersten Liga: nach zwei Monaten schon über dem Budget). Über mehrere
Saisons sind sie nicht gemessen.
- Auf der leichtesten Stufe bucht das Spiel kein Geld; die Reichweite wächst dort trotzdem.
+11 -2
View File
@@ -9605,8 +9605,17 @@ cli::Json ModernSession::ui_read(const cli::Json& request, uint64_t revision) co
{"teamId", modern::ui_team_id(g_, team)}, {"boards", std::move(boards)},
{"shirt", contract(a.shirt, "ad:shirt", 14)}, {"television", contract(a.television, "ad:tv", 15)},
{"budgets", std::move(budgets)},
{"preview", O{{"income", modern::ui_money(a.finance_preview.income)}, {"expenses", modern::ui_money(a.finance_preview.expenses)},
{"balance", modern::ui_money(a.finance_preview.balance)}}}});
{"preview", [&] {
// the month as the original forecasts it, with what Modern's own rules pay and cost a month:
// the stadium sponsor, marketing, rents and the further stages
int64_t more = 0, less = 0;
if (const auto* ground = modern::stadium_entry(g_, manager); ground && ground->months > 0) more += ground->monthly;
if (size_t(manager) < g_.marketing.size()) more += modern::marketing_income(g_, manager, g_.marketing[size_t(manager)].reach), less += g_.marketing[size_t(manager)].budget;
for (int k = 0; k < modern::kEstates; ++k) more += int64_t(modern::estates_held(g_, manager, k)) * modern::estate_rent(g_, k);
for (int k = 0; k < modern::kExpansions; ++k) more += modern::expansion_income(g_, manager, modern::Expansion(k));
return O{{"income", modern::ui_money(int64_t(a.finance_preview.income) + more)}, {"expenses", modern::ui_money(int64_t(a.finance_preview.expenses) + less)},
{"balance", modern::ui_money(int64_t(a.finance_preview.balance) + more - less)}};
}()}});
}
if (kind == "contracts") {
// per player: remaining months, monthly salary, insurance, the team bonuses; the open quote
+3
View File
@@ -2,6 +2,7 @@
#include "formats/executable_layout.hpp"
#include "modern/game/modern_state.hpp"
#include "modern/game/highscore.hpp"
#include "modern/game/estates.hpp"
#include "formats/native_state.hpp"
#include "formats/native_file.hpp"
@@ -56,6 +57,8 @@ int32_t net_assets(const ModernState& g, int m) {
}
for (uint32_t k = 0; k < 5; ++k)
sum -= g.memory.u32(::bmh::layout::Analytics_SourceAssetMaskE_RuntimeField + uint32_t(m) * 0x78 + k * 0x18);
// OpenBMH deviates from the original: Modern's four further properties count among the assets at today's prices.
sum += uint32_t(estates_value(g, m));
return signed32(sum);
}
uint32_t read32(const uint8_t* p) {
+1 -1
View File
@@ -27,7 +27,7 @@ int32_t marketing_income(const ModernState& g, int manager, int reach) {
const int team = league_club(g, manager);
if (team < 0 || reach <= 0) return 0;
// euros a month for a point of reach, by league
static constexpr int kValue[5] = {1600, 700, 300, 120, 120};
static constexpr int kValue[5] = {900, 400, 170, 70, 70};
reach = std::min(reach, kMarketingReachMax);
// every further point is worth less: the full reach counts as half of its points
const int64_t effective = reach - int64_t(reach) * reach / (2 * kMarketingReachMax);
+4 -4
View File
@@ -44,13 +44,13 @@ int main() {
check(!set_marketing_budget(g, 0, -1000) && !set_marketing_budget(g, 0, 501000) && !set_marketing_budget(g, 0, 1500) && !set_marketing_budget(g, 1, 1000) &&
g.marketing.at(0).budget == 200000,
"a negative, too high or uneven budget and a missing manager are refused");
// first league, prestige 50: 1600 euros a point, the full reach counts as half its points
check(marketing_income(g, 0, 0) == 0 && marketing_income(g, 0, 200) == 180 * 1600 && marketing_income(g, 0, 1000) == 500 * 1600,
// first league, prestige 50: 900 euros a point, the full reach counts as half its points
check(marketing_income(g, 0, 0) == 0 && marketing_income(g, 0, 200) == 180 * 900 && marketing_income(g, 0, 1000) == 500 * 900,
"income by reach: every further point is worth less");
check(marketing_income(world(20), 0, 200) == 180 * 700 && marketing_income(world(60), 0, 200) == 180 * 120, "lower leagues earn much less");
check(marketing_income(world(20), 0, 200) == 180 * 400 && marketing_income(world(60), 0, 200) == 180 * 70, "lower leagues earn much less");
ModernState famous = world();
famous.manager_records[0x211] = 100;
check(marketing_income(famous, 0, 200) == 180 * 1600 * 140 / 100, "prestige raises the income");
check(marketing_income(famous, 0, 200) == 180 * 900 * 140 / 100, "prestige raises the income");
const int32_t before = cash(g);
marketing_month(g);