1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 15:19:55 +00:00
Commit graph

892 commits

Author SHA1 Message Date
David Cernat
fc26e9bbc1 [Client] Remove urm's broken (by his own admission) cell reset attempt 2020-08-11 16:12:49 +02:00
David Cernat
4560267298 [General] Track the client scripts that Object packets originate from 2020-07-27 09:17:22 +02:00
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.
2020-07-10 02:09:11 +02:00
David Cernat
3a8831dc15 [Server] Add server functions for reading equipment change indexes 2020-07-07 15:41:03 +02:00
David Cernat
6d10906832 [Server] Fix crashes related to reading actor lists in unloaded cells 2020-06-23 01:05:39 +03:00
David Cernat
fbc23a3b57 [Server] Fix warnings in server functions for class and gender 2020-06-23 01:03:03 +03:00
David Cernat
7caaec1aea [Server] Use clearer log messages for ID_GAME_PREINIT 2020-06-18 17:18:22 +02:00
David Cernat
922f54e208 [Server] Add server functions for handling client script local variables
Remove outdated server functions for client scripts.
2020-06-06 14:15:01 +02:00
David Cernat
5e6218ad6d [General] Modernize handling of client script local variables in packets
Disable placeholder handling of client script member variables.
2020-06-06 13:58:51 +02:00
David Cernat
3e95034b57 [Server] Fix small typos in script functions 2020-05-26 01:10:22 +02:00
David Cernat
3c51f1c23a [General] Include last gold restock time in ObjectMiscellaneous packets 2020-05-16 19:10:11 +03:00
David Cernat
7833ae9a3f [Server] Add script functions for getting, setting & sending gold pools 2020-05-16 05:23:41 +03:00
David Cernat
23ff7b9610 [General] Synchronize gold pools for traders via ObjectMiscellaneous 2020-05-16 02:51:11 +03:00
David Cernat
297a254210 [General] Rename unused ScriptMemberFloat packet to ObjectMiscellaneous 2020-05-15 13:29:30 +03:00
David Cernat
f8c557fbc0 [General] Read and use weapon quantity in RecordDynamic packets 2020-04-19 23:17:09 +03:00
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
2020-04-14 02:15:24 +03:00
David Cernat
0acf6f0242 Merge branch '0.7.1-sound-records' into 0.7.1 2020-03-16 23:08:00 +02:00
uramer
f46f028754 [General] Sound custom records 2020-03-15 19:17:00 +01:00
uramer
e0aaa7ee40 [Server] Remove duplicate includes 2020-03-15 17:30:00 +01:00
uramer
758ec17a6e [Server] Include handleInput.cpp correctly 2020-03-15 17:18:00 +01:00
uramer
09ea1ab585 [Server] SetObjectSound 2020-03-14 19:17:00 +01:00
uramer
2b71cbb8fc [Server] Handle backspace input if the current line is empty 2020-03-02 14:40:00 +01:00
uramer
59693abc74 [Server] Handle backspace in the server window 2020-03-02 14:19:00 +01:00
uramer
4e6bcf02d2 [Server] Pass stdin to a Lua event, fix Ctrl+C on Windows 2020-03-01 18:30:00 +01:00
David Cernat
06a3604f9e Merge remote-tracking branch 'uramer/0.7.1-game-settings' into 0.7.1 2020-03-01 01:58:01 +02:00
David Cernat
27d35d73a2 [General] Implement OnObjectSound packet
Many interactions between players and objects now have their sounds sent to other players.
2020-02-29 18:15:41 +02:00
uramer
bb8182663f [General] Set any settings from the Game category with the GAME_SETTINGS packet 2020-02-28 00:40:00 +01:00
David Cernat
1a7060c5c5 [Server] Add server functions for handling the droppedByPlayer boolean 2020-02-27 14:53:03 +02:00
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.
2020-02-22 21:21:30 +02:00
David Cernat
678a308269 Merge remote-tracking branch 'Veenkar/0.7.1-credentials-hashing-fix' into 0.7.1 2020-02-21 21:47:29 +02:00
David Cernat
8db396d10a [General] Distinguish between shorts & longs in ClientScriptGlobal
Adjust ClientScriptLocal so it refers to its previously handled integers as shorts.
2020-02-17 18:19:03 +02:00
Michal Marchewka
bf7041b067 [Server] Fix credentials generation. Used static variable as a workaround. 2020-02-16 12:34:05 +01:00
David Cernat
ffead444db [Server] Use consistent order for WorldstateFunctions 2020-02-14 11:51:31 +02:00
David Cernat
76f3805e16 [Server] Fix Windows build by not using sigaction on Windows 2020-02-11 19:16:26 +02:00
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
2020-02-11 15:41:38 +02:00
David Cernat
fb3514c8c3 Merge remote-tracking branch 'nalal/patch-1' into 0.7.1 2020-02-10 10:00:30 +02:00
David Cernat
abd18745df [General] Include ScriptLocalFloat as part of ClientScriptLocal 2020-02-10 07:58:35 +02:00
David Cernat
4841c1ad4c [General] Rename ScriptLocalShort into ClientScriptLocal 2020-02-05 17:41:48 +02:00
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.
2020-01-23 12:50:34 +02:00
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.
2020-01-04 09:56:37 +02:00
David Cernat
c9b3ec1ca4 [Server] Use consistent ordering for kills & map worldstate functions 2020-01-03 02:00:21 +02:00
David Cernat
32c7406eda [General] Implement OnObjectHit packet, part 3
Include damage, block states and knockdown states in ObjectHit packets about successful hits. Add serverside script functions for reading that information.
2019-12-19 13:53:18 +02:00
David Cernat
bc093c8596 [General] Implement OnObjectHit packet, part 2
ObjectHit is now also sent when local actors succeed or fail in hitting other actors with melee attacks, with the packet including the success state of their attack.

It is also sent when creatures hit a non-actor object.
2019-12-13 14:00:51 +02:00
David Cernat
2973cc4f4d [General] Implement OnObjectHit packet, part 1
ObjectHit is now sent when an NPC hits a non-actor object.
2019-12-08 16:14:01 +02:00
David Cernat
0e0ac7a60f [Server] Add OnConsoleCommand event and associated script function 2019-12-07 10:13:10 +02:00
David Cernat
980edac942 [General] Rename PlayerTeam into PlayerAlly
Considering that you can be allies with someone without being allied to their allies, changing the name makes the system more intuitive.
2019-12-05 19:15:11 +02:00
David Cernat
a383b7b612 [General] Include death animations in ActorDeath packets 2019-12-05 13:27:55 +02:00
David Cernat
ecf00af548 [General] Implement WorldDestinationOverride packet, part 1
Destinations for doors with cell transitions are now overridden.
2019-12-04 16:43:56 +02:00
David Cernat
21c8821d05 [General] Ignore carriage returns in resources/version file 2019-12-03 13:21:10 +02:00
David Cernat
753e310dd4 [General] Implement PlayerTeam packet 2019-12-02 19:08:03 +02:00