Commit graph

17947 commits

Author SHA1 Message Date
Tim Felgentreff
a00db769c6 new idea for player order pref 2022-03-07 22:45:36 +01:00
Tim Felgentreff
e265b6cdda fix server setup message size 2022-03-07 20:53:04 +01:00
Tim Felgentreff
f9fed10bc9 dirty expansion to multiplayer random placement option 2022-03-07 20:53:04 +01:00
alyokhin
afada1bceb fix compile error for gcc version >9.3.0 2022-03-07 00:47:41 +03:00
Tim Felgentreff
0802cd1cff fixed another assert problem when game is cleaning up 2022-03-06 14:36:45 +01:00
Tim Felgentreff
4f6095ae0b fix wrong assert 2022-03-06 14:25:25 +01:00
Tim Felgentreff
b154e98a16 always use network command queue, even in single player, for replays to work 2022-03-04 00:45:06 +01:00
Tim Felgentreff
ab03f5ae1d don't autosave during replay 2022-03-03 22:51:45 +01:00
Tim Felgentreff
083a52fe65 AiChecksDependencies is now synced across network clients 2022-03-03 22:50:14 +01:00
Tim Felgentreff
980adaff5b Revert "always use vendored lua"
This reverts commit b8c8ee0d33.
2022-03-03 22:43:31 +01:00
Tim Felgentreff
d5ac1f0115 ensure we store team preferences in replay and always re-init GameSettings with user preferences where applicable 2022-03-03 22:43:07 +01:00
Tim Felgentreff
7677bf10c4 give games the opportunity to store custom settings in GameSettings that get synced across the network 2022-03-03 22:43:07 +01:00
Tim Felgentreff
fe8aa30ab6 debugprint game settings, fix sign of some settings 2022-03-03 22:43:07 +01:00
Tim Felgentreff
8b1ee58a6b move sync-relevant preferences into GameSettings 2022-03-03 22:43:07 +01:00
Tim Felgentreff
1976266edb since FoV is relevant for sync, make it part of GameSettings 2022-03-03 22:43:07 +01:00
Tim Felgentreff
bd60335b14 make changes work with tolua++, trying to be backwards compatible 2022-03-03 22:43:07 +01:00
Tim Felgentreff
f56179a421 cleanups 2022-03-03 22:43:07 +01:00
Tim Felgentreff
b8c8ee0d33 always use vendored lua 2022-03-03 22:43:07 +01:00
Tim Felgentreff
2b10b273fd don't use enum class until we remove tolua++ 2022-03-03 22:43:07 +01:00
Tim Felgentreff
b3b3f87cfb fix build issues on linux 2022-03-03 22:43:07 +01:00
Tim Felgentreff
8e1405a023 fix team assignments again 2022-03-03 22:43:07 +01:00
Tim Felgentreff
fb6e084920 fix replay refactpring 2022-03-03 22:43:07 +01:00
Tim Felgentreff
32859f79bc more room for backtrace 2022-03-03 22:43:07 +01:00
Tim Felgentreff
6d59f33ecb fix SettingsPresets#Init 2022-03-03 22:43:07 +01:00
Tim Felgentreff
8425934c31 doc update for SetPlayerData 2022-03-03 22:43:07 +01:00
Tim Felgentreff
991c5c988d WIP: start unifying all GameSettings 2022-03-03 22:43:07 +01:00
Tim Felgentreff
a00256e6da delete metaserver 2022-03-03 22:43:07 +01:00
Tim Felgentreff
05f6b251f7 reuse game structures in replay types 2022-03-03 22:43:07 +01:00
alyokhin
9d8ecfb0b1 Merge branch 'master' of https://github.com/Wargus/stratagus 2022-03-03 23:49:42 +03:00
Tim Felgentreff
c29919f31d
Merge pull request #387 from sviscapi/master
Changed boolean into bool in online_service.cpp
2022-02-26 16:55:31 +01:00
sviscapi
b2b81207d2
Changed boolean into bool in online_service.cpp
It fixes https://github.com/Wargus/stratagus/issues/386 for me
2022-02-26 12:40:15 +01:00
Tim Felgentreff
e75958d2ef
Merge pull request #385 from Wargus/tim/desync-debugging
desync debugging
2022-02-20 14:52:03 +01:00
Tim Felgentreff
5a978d7bac disable a bit of the extra much logging again 2022-02-20 14:08:58 +01:00
Tim Felgentreff
cd611a2f7f add disabled astar overlay 2022-02-20 13:56:26 +01:00
Tim Felgentreff
02b70a362b port depot finder change from Wyrmgus that searches from outside mine 2022-02-20 08:39:10 +01:00
Tim Felgentreff
f454ad3227 workaround for not finding depot from mine 2022-02-20 00:12:57 +01:00
Tim Felgentreff
9bfcc11a39 sort the CUnit::Init variables as in the header 2022-02-19 22:13:42 +01:00
Tim Felgentreff
39c65eeaab more debugging and sync hashing 2022-02-19 20:42:55 +01:00
Tim Felgentreff
770a5a98bd dump unit debug in dev launch 2022-02-19 13:28:07 +01:00
Tim Felgentreff
c1f56293c7 reduce backtrace size 2022-02-19 13:27:56 +01:00
Tim Felgentreff
9fb2eb492c ask for port for easy multiplayer debugging 2022-02-19 13:02:26 +01:00
Tim Felgentreff
5e84ec5c42 SyncHash change logging 2022-02-19 13:02:10 +01:00
Tim Felgentreff
01ae1b763d improve logging of network out of sync 2022-02-19 12:49:24 +01:00
Tim Felgentreff
662a3abea6 improve UnitDump logging 2022-02-19 12:49:09 +01:00
Tim Felgentreff
738cbaa84b pause game when network is out of sync 2022-02-19 10:30:45 +01:00
Tim Felgentreff
36a699ef73 make free workers icon clickable and hideable when no free workers available 2022-02-17 22:10:02 +01:00
alyokhin
3f7e07b361 Merge branch 'master' of https://github.com/Wargus/stratagus 2022-02-17 11:19:24 +03:00
Tim Felgentreff
3750f86d07 Add FindNextResource lua function 2022-02-16 21:25:55 +01:00
Tim Felgentreff
6b3ea99e4a better random for random maps 2022-02-16 10:04:42 +01:00
Tim Felgentreff
9df43cc3d0 Revert "Revert "improve astar cleanup performance. thanks @Andrettin""
This reverts commit 740701089f.
2022-02-16 08:52:08 +01:00