Kaiserreich / Kaiserreich-4-Bug-Reports

Issue tracker for Kaiserreich for Hearts of Iron 4
110 stars 40 forks source link

SZC/TIB - Tibet peace offer event firing repeatedly, is broken #5391

Closed ReiVL closed 5 years ago

ReiVL commented 5 years ago

Quick questions Kaiserreich version: Dev (11/11)

Explanation of the issue:

When the peace offer from Tibet fires, upon rejecting or accepting the peace event the day it fires you'l have the event firing at least twice. Also accepting the peace causes you to outright annex Tibet rather than white peace them out in exchange for the claimed clay, which seems to go against the event's actual writing. Either way, the fact that I can annex them via event and then get another 50PP for my trouble on top of that is definitely not WAD.

Steps to reproduce:

  1. Play as Sichuan, intervene in the Northern War.
  2. Beat up Tibet Enough to get the peace event to fire.
  3. Accept or decline the same day it fires.

I'm underscoring the third bit because if I just waited 24 hours before accepting the event didn't fire again and functioned as normal. This avoids the bug whether you accept or reject the peace offer or not.

Possible cause: Relevant part of the log: [14:22:41][effectbase.cpp:1847]: [14:24:10][effectbase.cpp:1842]: 19:00, 24 June, 1937: Combined Syndicates of America: Decision ACW_recruit_minnesota [14:24:10][effectbase.cpp:1847]: [14:24:10][effectbase.cpp:1842]: 19:00, 24 June, 1937 Papal State: add idea limited_conscription [14:24:10][effectbase.cpp:1847]: [14:24:10][effectbase.cpp:1842]: 19:00, 24 June, 1937 Yunnan Clique: add idea limited_conscription [14:24:10][effectbase.cpp:1847]: [14:24:10][effectbase.cpp:1842]: 19:00, 24 June, 1937 Princely Federation: add idea limited_conscription [14:24:10][effectbase.cpp:1847]: [14:24:13][effectbase.cpp:1842]: 19:00, 24 June, 1937 Sichuan Clique on_state_control_changed OLD CONTROLLER: Tibet STATE: Tibet [14:24:13][effectbase.cpp:1847]: [14:24:13][effectbase.cpp:1842]: 19:00, 24 June, 1937: Tibet: event sichuan.8 [14:24:13][effectbase.cpp:1847]: [14:24:13][effectbase.cpp:1842]: 19:00, 24 June, 1937: Sichuan Clique: on_peace [14:24:13][effectbase.cpp:1847]: [14:24:13][effectbase.cpp:1842]: 19:00, 24 June, 1937 Sichuan Clique has annexed Tibet [14:24:13][effectbase.cpp:1847]: [14:24:14][effectbase.cpp:1842]: 20:00, 24 June, 1937 Sichuan Clique has annexed Tibet [14:24:14][effectbase.cpp:1847]: [14:24:14][effectbase.cpp:1842]: 20:00, 24 June, 1937 Sichuan Clique (ROOT) on_peaceconference_ended Tibet (FROM) [14:24:14][effectbase.cpp:1847]: [14:24:16][effectbase.cpp:1842]: 24:00, 24 June, 1937: German Empire: event mittel.46 [14:24:16][effectbase.cpp:1847]: [14:24:16][effectbase.cpp:1842]: 1:00, 25 June, 1937: Sichuan Clique: event sichuan.9 [14:24:16][effectbase.cpp:1847]: [14:24:16][effectbase.cpp:1842]: 1:00, 25 June, 1937: CNT-FAI: event sprc.210 [14:24:16][effectbase.cpp:1847]: [14:24:16][effectbase.cpp:1842]: 1:00, 25 June, 1937: Norway: add tech concentrated_industry2 [14:24:16][effectbase.cpp:1847]: [14:24:16][effectbase.cpp:1842]: 1:00, 25 June, 1937: Xinjiang Clique: add tech improved_machine_tools [14:24:16][effectbase.cpp:1847]: [14:24:16][effectbase.cpp:1842]: 1:00, 25 June, 1937: Dominion of India: add tech concentrated_industry2 [14:24:16][effectbase.cpp:1847]: [14:24:17][effectbase.cpp:1842]: 1:00, 25 June, 1937: Chile: add tech concentrated_industry2 [14:24:17][effectbase.cpp:1847]: [14:24:17][effectbase.cpp:1842]: 1:00, 25 June, 1937: Peru: event pru.30 [14:24:17][effectbase.cpp:1847]: [14:24:17][effectbase.cpp:1842]: 1:00, 25 June, 1937: Suriname: add tech concentrated_industry [14:24:17][effectbase.cpp:1847]: [14:24:17][effectbase.cpp:1842]: 1:00, 25 June, 1937: Suriname: add tech improved_machine_tools [14:24:17][effectbase.cpp:1847]: [14:25:12][effectbase.cpp:1842]: 10:00, 25 June, 1937: Combined Syndicates of America: event amcivwar.36 [14:25:12][effectbase.cpp:1847]: [14:25:15][effectbase.cpp:1842]: 23:00, 25 June, 1937 Turkestan Khanate on_state_control_changed OLD CONTROLLER: Alash Orda STATE: Pishpek [14:25:15][effectbase.cpp:1847]: [14:25:16][effectbase.cpp:1842]: 24:00, 25 June, 1937: Mittelafrika: event mittel.47 [14:25:16][effectbase.cpp:1847]: [14:25:16][effectbase.cpp:1842]: 1:00, 26 June, 1937: Commune of Hawaii: add tech electronic_mechanical_engineering [14:25:16][effectbase.cpp:1847]:

Dunno if there's any relevance to the fact that my game log says that it's only firing once. Either way, Sichuan.9 may have problems.

Screenshots: image image image image

Alpinia commented 5 years ago

Fixed.