Versions: Host: build 2024-07-28.6c6a58b + Client: patched build of 2024-09-02.85e9cd9 (patch only affected UI)
Later tested on a local multiplayer game with both the host and other client being on the patched build of 2024-09-02.85e9cd9
A quick drity hacky patch that I created to be able to update my turn without having to unturn enables the "annex" button on all planets after turning for the first time, allowing me to press it and then update my turn. By trying to annex a neutral planet this way the planet actually get annexed regardles of your IP stockpile and it's cost is subtracted from the stockpile (getting you into negative stockpile)
This exploit only works on neutral planets but not planets owned by empires (or at least their capitals), it also requires you to have +ve ip stockpile
Steps to reproduce:
- Start a game with more than one human empire where the cheater joins with the patched client
- Press the "Turn" button with the cheater before the other empires turn (note: with the patched client the UI won't change after you turn and the "Revise" button won't replace the "Turn" button)
- Selecte a neutral planet that has all the annexation conditions fulfulled but require more IP than the cheaters IP stockpile
- Press the "Turn" button again
- wait for other players to turn
Patch (available under GPLv2):
Later tested on a local multiplayer game with both the host and other client being on the patched build of 2024-09-02.85e9cd9
A quick drity hacky patch that I created to be able to update my turn without having to unturn enables the "annex" button on all planets after turning for the first time, allowing me to press it and then update my turn. By trying to annex a neutral planet this way the planet actually get annexed regardles of your IP stockpile and it's cost is subtracted from the stockpile (getting you into negative stockpile)
This exploit only works on neutral planets but not planets owned by empires (or at least their capitals), it also requires you to have +ve ip stockpile
Steps to reproduce:
- Start a game with more than one human empire where the cheater joins with the patched client
- Press the "Turn" button with the cheater before the other empires turn (note: with the patched client the UI won't change after you turn and the "Revise" button won't replace the "Turn" button)
- Selecte a neutral planet that has all the annexation conditions fulfulled but require more IP than the cheaters IP stockpile
- Press the "Turn" button again
- wait for other players to turn
Patch (available under GPLv2):
Code:
diff --git a/UI/MapWnd.cpp b/UI/MapWnd.cppindex 31238de8d..c3dbdf218 100644--- a/UI/MapWnd.cpp+++ b/UI/MapWnd.cpp@@ -2794,7 +2794,7 @@ void MapWnd::EnableOrderIssuing(bool enable) { } m_moderator_wnd->EnableActions(enable && moderator);- m_ready_turn = !enable;+ m_ready_turn = false; const auto& button_label = (!app) ? UserString("ERROR") : (!moderator && !observer && m_ready_turn && !app->SinglePlayerGame()) ?@@ -2803,12 +2803,12 @@ void MapWnd::EnableOrderIssuing(bool enable) { m_btn_turn->SetText(boost::io::str(FlexibleFormat(button_label) % std::to_string(app ? app->CurrentTurn() : 0))); RefreshTurnButtonTooltip();- m_side_panel->EnableOrderIssuing(enable);- m_production_wnd->EnableOrderIssuing(enable);- m_research_wnd->EnableOrderIssuing(enable);- m_design_wnd->EnableOrderIssuing(enable);- m_government_wnd->EnableOrderIssuing(enable);- FleetUIManager::GetFleetUIManager().EnableOrderIssuing(enable);+ m_side_panel->EnableOrderIssuing(true);+ m_production_wnd->EnableOrderIssuing(true);+ m_research_wnd->EnableOrderIssuing(true);+ m_design_wnd->EnableOrderIssuing(true);+ m_government_wnd->EnableOrderIssuing(true);+ FleetUIManager::GetFleetUIManager().EnableOrderIssuing(true); } void MapWnd::InitTurn(ScriptingContext& context) {
Statistics: Posted by Skyflare — Fri Oct 11, 2024 10:05 pm