Commit Graph

902 Commits (59cb31e0a788c8a9b7071a63d321da29fbb72ffd)

Author SHA1 Message Date
David Cernat a379d12529 [General] Turn Utils::printVersion() into Utils::getVersionInfo() 4 years ago
David Cernat f2331904ba [Server] Turn SetRecordVolume() into an accessible script function 4 years ago
David Cernat 1a4b817b31 [General] Rework ObjectDialogueChoice for multilingual compatibility
Use a different system for sending and applying ObjectDialogueChoice packets.
4 years ago
David Cernat 1dccd75238 [Server] Return signed int for GetSpellsActiveEffectArg() 4 years ago
David Cernat dd171420ca [Server] Move rare arg to end of AddSpellActiveEffect() argument list 4 years ago
David Cernat 7f435ceeac Add OpenMW commits up to 1 Nov 2020
# Conflicts:
#   CMakeLists.txt
#   apps/openmw/main.cpp
#   apps/openmw/mwclass/container.hpp
#   apps/openmw/mwclass/creature.hpp
#   apps/openmw/mwclass/npc.hpp
#   apps/openmw/mwdialogue/dialoguemanagerimp.hpp
#   apps/openmw/mwdialogue/journalimp.hpp
#   apps/openmw/mwgui/container.cpp
#   apps/openmw/mwgui/dialogue.hpp
#   apps/openmw/mwgui/mainmenu.cpp
#   apps/openmw/mwgui/windowmanagerimp.hpp
#   apps/openmw/mwmechanics/aiactivate.hpp
#   apps/openmw/mwmechanics/mechanicsmanagerimp.hpp
#   apps/openmw/mwscript/containerextensions.cpp
#   apps/openmw/mwscript/interpretercontext.hpp
#   components/CMakeLists.txt
4 years ago
David Cernat e100ed7b63 [Server] Add server functions for getting & setting dialogue choices
Fix typo in description for SetObjectSoul()
4 years ago
David Cernat 9dcb0f4c32 [General] Implement ObjectDialogueChoice packet 4 years ago
David Cernat ea2ea4d382 [Server] Add script function for setting Container subactions 4 years ago
David Cernat 3c4d78e496 [Server] Send ActorAuthority packets to all clients 4 years ago
David Cernat fc26e9bbc1 [Client] Remove urm's broken (by his own admission) cell reset attempt 4 years ago
David Cernat 4560267298 [General] Track the client scripts that Object packets originate from 4 years ago
David Cernat c56cd7c221 [General] Implement PlayerSpellsActive packet, part 1
Additions and removals of the local player's active spells can now be saved to and loaded from the server.
5 years ago
David Cernat 3a8831dc15 [Server] Add server functions for reading equipment change indexes 5 years ago
David Cernat 6d10906832 [Server] Fix crashes related to reading actor lists in unloaded cells 5 years ago
David Cernat fbc23a3b57 [Server] Fix warnings in server functions for class and gender 5 years ago
David Cernat 7caaec1aea [Server] Use clearer log messages for ID_GAME_PREINIT 5 years ago
David Cernat 922f54e208 [Server] Add server functions for handling client script local variables
Remove outdated server functions for client scripts.
5 years ago
David Cernat 5e6218ad6d [General] Modernize handling of client script local variables in packets
Disable placeholder handling of client script member variables.
5 years ago
David Cernat 3e95034b57 [Server] Fix small typos in script functions 5 years ago
David Cernat 3c51f1c23a [General] Include last gold restock time in ObjectMiscellaneous packets 5 years ago
David Cernat 7833ae9a3f [Server] Add script functions for getting, setting & sending gold pools 5 years ago
David Cernat 23ff7b9610 [General] Synchronize gold pools for traders via ObjectMiscellaneous 5 years ago
David Cernat 297a254210 [General] Rename unused ScriptMemberFloat packet to ObjectMiscellaneous 5 years ago
David Cernat f8c557fbc0 [General] Read and use weapon quantity in RecordDynamic packets 5 years ago
David Cernat 509f03ca52 [General] Use flags instead of autoCalc for enchantment dynamic records
This brings the handling of dynamic records in multiplayer up-to-date with ad333e88fe
5 years ago
David Cernat 0acf6f0242 Merge branch '0.7.1-sound-records' into 0.7.1 5 years ago
uramer f46f028754 [General] Sound custom records 5 years ago
uramer e0aaa7ee40 [Server] Remove duplicate includes 5 years ago
uramer 758ec17a6e [Server] Include handleInput.cpp correctly 5 years ago
uramer 09ea1ab585 [Server] SetObjectSound 5 years ago
uramer 2b71cbb8fc [Server] Handle backspace input if the current line is empty 5 years ago
uramer 59693abc74 [Server] Handle backspace in the server window 5 years ago
uramer 4e6bcf02d2 [Server] Pass stdin to a Lua event, fix Ctrl+C on Windows 5 years ago
David Cernat 06a3604f9e Merge remote-tracking branch 'uramer/0.7.1-game-settings' into 0.7.1 5 years ago
David Cernat 27d35d73a2 [General] Implement OnObjectSound packet
Many interactions between players and objects now have their sounds sent to other players.
5 years ago
uramer bb8182663f [General] Set any settings from the Game category with the GAME_SETTINGS packet 5 years ago
David Cernat 1a7060c5c5 [Server] Add server functions for handling the droppedByPlayer boolean 5 years ago
David Cernat e78503d5f3 [General] Include potion quantity in RecordDynamic packets
Don't spam the server with one RecordDynamic packet per potion created when brewing multiple potions at once. Instead, send a single RecordDynamic packet with the potion quantity included in it.

Add serverside script functions for getting the potion quantity.
5 years ago
David Cernat 678a308269 Merge remote-tracking branch 'Veenkar/0.7.1-credentials-hashing-fix' into 0.7.1 5 years ago
David Cernat 8db396d10a [General] Distinguish between shorts & longs in ClientScriptGlobal
Adjust ClientScriptLocal so it refers to its previously handled integers as shorts.
5 years ago
Michal Marchewka bf7041b067 [Server] Fix credentials generation. Used static variable as a workaround. 5 years ago
David Cernat ffead444db [Server] Use consistent order for WorldstateFunctions 5 years ago
David Cernat 76f3805e16 [Server] Fix Windows build by not using sigaction on Windows 5 years ago
David Cernat a13cef9913 Merge branch '0.7.0reset' of https://github.com/uramer/openmw into 0.7.1
# Conflicts:
#	apps/openmw-mp/Script/Functions/Worldstate.cpp
#	apps/openmw-mp/Script/Functions/Worldstate.hpp
#	apps/openmw/mwbase/world.hpp
#	apps/openmw/mwmp/CellController.cpp
#	apps/openmw/mwworld/cellstore.cpp
#	apps/openmw/mwworld/worldimp.cpp
#	apps/openmw/mwworld/worldimp.hpp
5 years ago
David Cernat fb3514c8c3 Merge remote-tracking branch 'nalal/patch-1' into 0.7.1 5 years ago
David Cernat abd18745df [General] Include ScriptLocalFloat as part of ClientScriptLocal 5 years ago
David Cernat 4841c1ad4c [General] Rename ScriptLocalShort into ClientScriptLocal 5 years ago
David Cernat 975797c09b [General] Implement ObjectRestock packet
Restocking object containers via trading now requires the server to send back an ObjectRestock packet before it can happen.

The unused packet ID ID_SCRIPT_GLOBAL_FLOAT has been replaced with ID_OBJECT_RESTOCK.
5 years ago
David Cernat e6c626f127 [General] Move handling of client globals to ClientScriptGlobal packet
ClientScriptGlobal is a new Worldstate packet that handles short, long and float values for global variables in clientside scripts.

Previously, short values were handled by the ScriptGlobalShort packet, while a partially implemented ScriptGlobalFloat packet also existed, but both of those packets were Object packets because they were added near the end of 2016 when only Player and Object packets existed (with the latter actually being called WorldEvent packets at the time). Both ScriptGlobalShort and ScriptGlobalFloat have now been removed.

The serverside script functions previously used to interact with ScriptGlobalShort have, however, been kept so they can be adjusted to work with local variables in clientside scripts instead in a future commit.
5 years ago