1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00
vcmi/lib
Ivan Savenko 35954dc41b Simple workaround to fix vcmiserver shutdown procedure
At the moment, vcmilobby *requires* async writes in order to handle
multiple connections with different speeds and at optimal performance,
without hanging if one player is too slow and can't eat all data server
sent to him at once.

However server (and potentially - client) can not handle this mode and
may shutdown either socket or entire asio service too early, before all
writes are performed, leading to weird freeze on ending scenario where
client would not receive notifications about end of game.
2024-05-14 19:40:20 +00:00
..
battle Fixed calculation of retaliation damage 2024-05-10 19:40:14 +00:00
bonuses Tweaks 2024-04-26 19:33:26 +02:00
campaign Fix crash on selecting scenario with "start with strongest hero from 2024-04-06 15:59:08 +03:00
constants Do not check for guards when teleporting using means other than DD 2024-05-07 20:05:23 +00:00
events Replace redundant types with auto for the lvalues of template factory functions for smart pointers 2024-01-17 12:50:00 +00:00
filesystem Improve performance of parsing of map headers for map list 2024-05-10 14:30:39 +00:00
gameState Add better crash message for zero-length battlefield list 2024-05-13 21:03:06 +00:00
json Avoid crash if configs file is missing, e.g. broken version of mod 2024-05-11 13:19:07 +00:00
logging NKAI: graph add battle layer 2024-03-02 15:54:05 +02:00
mapObjectConstructors Provide more information in thrown exceptions for unfixed crashes 2024-04-22 16:40:43 +03:00
mapObjects Fix hero order for giving bonuses in town to match H3. 2024-05-11 20:21:02 +02:00
mapping Merge pull request #3926 from IvanSavenko/optimize_map_list_load 2024-05-11 21:56:58 +03:00
minizip Merge pull request #3674 from 678098/patch-2 2024-03-28 11:33:54 +01:00
modding Fix save compatibility with 1.4 that was broken by artifact costumes 2024-04-28 20:54:33 +03:00
network Simple workaround to fix vcmiserver shutdown procedure 2024-05-14 19:40:20 +00:00
networkPacks Attempt to track crashes with unclear cause 2024-05-14 09:44:40 +00:00
pathfinder #3876 - allow to embark after battle for AI pathfinder 2024-05-05 13:52:57 +03:00
registerTypes Guest can also use & renaming 2024-05-01 15:58:22 +02:00
rewardable Fixed possible crash on having selectable reward with no visual image 2024-04-25 14:04:45 +03:00
rmg Merge pull request #3973 from vcmi/master 2024-05-14 16:59:10 +03:00
serializer Add workaround for visiting Altar of Sacrifice on 1.4 saves 2024-05-11 13:19:07 +00:00
spells Do not check for guards when teleporting using means other than DD 2024-05-07 20:05:23 +00:00
vstd Fix: licenses, pragma guards, StdInc 2024-03-29 07:48:52 +02:00
AI_Base.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
ArtifactUtils.cpp Switching costume 2024-04-27 21:35:37 +03:00
ArtifactUtils.h Switching costume 2024-04-27 21:35:37 +03:00
BasicTypes.cpp Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
BattleFieldHandler.cpp Moved bonus parsing to a new file 2024-02-14 15:48:06 +02:00
BattleFieldHandler.h Remove more redundant virtual specifiers 2024-02-13 15:21:30 +01:00
CAndroidVMHelper.cpp
CAndroidVMHelper.h
CArtHandler.cpp Handle corrupted H3 data - show message box instead of silent crash 2024-05-13 15:41:47 +00:00
CArtHandler.h class CArtifactsOfHeroMain : public CKeyShortcut 2024-04-27 21:35:38 +03:00
CArtifactInstance.cpp split getBonusLocalFirst into two distinct method: 2024-01-19 13:56:06 +02:00
CArtifactInstance.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
CBonusTypeHandler.cpp Register vcmi-only strings as part of 'vcmi' mod instead of 'core' 2024-04-08 13:16:54 +03:00
CBonusTypeHandler.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
CBuildingHandler.cpp Minor fixes 2023-11-03 16:03:29 +02:00
CBuildingHandler.h Minor fixes 2023-11-03 16:03:29 +02:00
CConfigHandler.cpp Rename toJson to toString/toCompactString for consistency 2024-02-26 12:55:49 +02:00
CConfigHandler.h Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
CConsoleHandler.cpp Remove no longer needed workaround 2024-02-19 13:45:50 +02:00
CConsoleHandler.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
CCreatureHandler.cpp biography to description 2024-04-27 18:41:21 +02:00
CCreatureHandler.h biography to description 2024-04-27 18:41:21 +02:00
CCreatureSet.cpp Merge pull request #3473 from IvanSavenko/const_lib 2024-01-20 19:22:46 +02:00
CCreatureSet.h Remove more redundant virtual specifiers 2024-02-13 15:21:30 +01:00
CGameInfoCallback.cpp Small refactoring of adventure map spell casting: 2024-04-10 20:04:08 +03:00
CGameInfoCallback.h Small refactoring of adventure map spell casting: 2024-04-10 20:04:08 +03:00
CGameInterface.cpp Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
CGameInterface.h Add handling for yes/no dialogs that can be safely skipped by player 2024-04-17 01:08:27 +02:00
CGeneralTextHandler.cpp Fixed loading of text strings for hota quests 2024-04-22 13:49:17 +03:00
CGeneralTextHandler.h Replaced 'convert txt' command with more convenient 'translate' and 2024-04-08 13:16:23 +03:00
CHeroHandler.cpp Renamed JsonNode::meta to more logical modScope. Member is now private 2024-02-26 12:55:49 +02:00
CHeroHandler.h Added range checks to values read from h3m. 2024-02-05 21:27:55 +02:00
CMakeLists.txt Handle corrupted H3 data - show message box instead of silent crash 2024-05-13 15:41:47 +00:00
Color.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
CondSh.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
ConstTransitivePtr.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
CPlayerState.cpp Slight simplification of bonus system node class 2024-01-19 13:54:49 +02:00
CPlayerState.h Fix save compatibility with 1.4 that was broken by artifact costumes 2024-04-28 20:54:33 +03:00
CRandomGenerator.cpp Replaced assertions with exceptions for invalid input in RNG 2024-02-19 00:35:21 +02:00
CRandomGenerator.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
CScriptingModule.cpp
CScriptingModule.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
CSkillHandler.cpp Fix formatting of luck/morale bonuses 2024-04-09 16:13:30 +03:00
CSkillHandler.h Removed remaining usages of std::vector<bool> 2023-11-15 15:55:18 +02:00
CSoundBase.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
CStack.cpp Attempt to make constant bonus system nodes (CCreature / CArtifact) 2024-01-19 13:54:49 +02:00
CStack.h Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
CStopWatch.h Define each identifier in a dedicated statement 2024-01-10 00:22:23 +00:00
CThreadHelper.cpp Added changing thread name for FreeBSD 2024-05-12 15:10:29 +00:00
CThreadHelper.h Show human-readable thread name in log 2024-02-11 17:55:02 +02:00
CTownHandler.cpp creature/town biography/description 2024-04-12 23:35:39 +02:00
CTownHandler.h creature/town biography/description 2024-04-12 23:35:39 +02:00
ExceptionsCommon.h Handle corrupted H3 data - show message box instead of silent crash 2024-05-13 15:41:47 +00:00
ExtraOptionsInfo.cpp moved to gameconfig 2024-01-20 17:54:15 +01:00
ExtraOptionsInfo.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
FunctionList.h
GameCallbackHolder.h Stabilization 2024-01-19 13:55:22 +02:00
GameConstants.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
GameSettings.cpp Small refactoring of adventure map spell casting: 2024-04-10 20:04:08 +03:00
GameSettings.h Small refactoring of adventure map spell casting: 2024-04-10 20:04:08 +03:00
IBonusTypeHandler.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
IGameCallback.cpp Merge remote-tracking branch 'vcmi/develop' into lobby 2024-02-03 21:11:34 +02:00
IGameCallback.h Do not check for guards when teleporting using means other than DD 2024-05-07 20:05:23 +00:00
IGameEventsReceiver.h Split off some netpack structures into separate files 2023-10-23 13:59:15 +03:00
IHandlerBase.cpp IdentifierStorage is now separate handler in VLC 2023-09-04 18:56:16 +03:00
IHandlerBase.h Removed most of non-const static fields in lib. Reduced header includes. 2024-01-19 13:55:22 +02:00
int3.h Fix SonarCloud issues 2024-03-02 14:08:03 +01:00
Languages.h Implement various todo's and review suggestions 2024-03-27 13:10:55 +02:00
LoadProgress.cpp Fix issues introduced by automated replacement of redundant types 2024-01-17 20:12:57 +00:00
LoadProgress.h Fixes 2024-03-29 12:28:14 +02:00
LogicalExpression.cpp
LogicalExpression.h Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
MetaString.cpp Attempt to track crashes with unclear cause 2024-05-14 09:44:40 +00:00
MetaString.h Fix Grail digging success message 2024-02-01 18:22:11 +02:00
ObstacleHandler.cpp Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
ObstacleHandler.h Define each identifier in a dedicated statement 2024-01-10 00:22:23 +00:00
Point.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
Rect.cpp convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
Rect.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
ResourceSet.cpp Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
ResourceSet.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
RiverHandler.cpp Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
RiverHandler.h Remove more redundant virtual specifiers 2024-02-13 15:21:30 +01:00
RoadHandler.cpp Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
RoadHandler.h Remove more redundant virtual specifiers 2024-02-13 15:21:30 +01:00
ScopeGuard.h Fix undefined behavior 2024-02-12 12:33:09 +02:00
ScriptHandler.cpp Replace redundant types with auto for the lvalues of template factory functions for smart pointers 2024-01-17 12:50:00 +00:00
ScriptHandler.h Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
StartInfo.cpp Implemented join room dialog 2024-04-23 17:15:59 +03:00
StartInfo.h AI will only ignore garrisons in 'Steadwick Fall' mission (H3 logic) 2024-04-22 11:14:58 +03:00
StdInc.cpp Fix: licenses, pragma guards, StdInc 2024-03-29 07:48:52 +02:00
StdInc.h Fix: licenses, pragma guards, StdInc 2024-03-29 07:48:52 +02:00
TerrainHandler.cpp Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
TerrainHandler.h Remove more redundant virtual specifiers 2024-02-13 15:21:30 +01:00
TextOperations.cpp Implement various todo's and review suggestions 2024-03-27 13:10:55 +02:00
TextOperations.h Implement various todo's and review suggestions 2024-03-27 13:10:55 +02:00
TurnTimerInfo.cpp Reworked timer widget to show timers for all players 2023-12-22 18:40:28 +02:00
TurnTimerInfo.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
UnlockGuard.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
vcmi_endian.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
VCMI_lib.cbp new approach 2023-09-15 15:26:14 +02:00
VCMI_Lib.cpp Proof of concept with OH3 obstacles 2024-04-04 21:39:01 +02:00
VCMI_Lib.h Proof of concept with OH3 obstacles 2024-04-04 21:39:01 +02:00
VCMI_lib.vcxproj new approach 2023-09-15 15:26:14 +02:00
VCMI_lib.vcxproj.filters new approach 2023-09-15 15:26:14 +02:00
VCMIDirs.cpp Fix handling of 'developmentMode' for lobby-only builds 2024-03-30 10:24:54 +02:00
VCMIDirs.h